Lines Matching refs:mac
114 for mac in none mpls eth ; do
115 echo "ip gre $mac"
116 $0 ipv4 gre $mac 100
118 echo "ip6 gre $mac"
119 $0 ipv6 ip6gre $mac 100
121 echo "ip gre $mac gso"
122 $0 ipv4 gre $mac 2000
124 echo "ip6 gre $mac gso"
125 $0 ipv6 ip6gre $mac 2000
127 echo "ip udp $mac"
128 $0 ipv4 udp $mac 100
130 echo "ip6 udp $mac"
131 $0 ipv6 ip6udp $mac 100
133 echo "ip udp $mac gso"
134 $0 ipv4 udp $mac 2000
136 echo "ip6 udp $mac gso"
137 $0 ipv6 ip6udp $mac 2000
180 readonly mac=$3
183 echo "encap ${addr1} to ${addr2}, type ${tuntype}, mac ${mac} len ${datalen}"
200 section "encap_${tuntype}_${mac}"
211 if [[ "$mac" == "mpls" ]]; then
221 elif [[ "$tuntype" =~ "gre" && "$mac" == "eth" ]]; then
223 elif [[ "$tuntype" =~ "vxlan" && "$mac" == "eth" ]]; then
248 if [[ "$tuntype" == "ip6udp" && "$mac" == "mpls" ]]; then
251 elif [[ "$tuntype" =~ "udp" && "$mac" == "eth" ]]; then
254 elif [[ "$tuntype" =~ (gre|vxlan) && "$mac" == "eth" ]]; then
259 elif [[ "$mac" == "mpls" ]]; then