Lines Matching refs:dev
39 ip link del dev "$devdummy"
45 dev="$1"
48 ip netconf show dev "$dev" > /dev/null
52 ip -$f netconf show dev "$dev" > /dev/null
57 echo "FAIL: ip netconf show $dev"
73 ip link set dev "$devdummy" master "$devbr"
81 ip addr add dev "$vlandev" 10.200.7.23/30
83 ip -6 addr add dev "$vlandev" dead:42::1234/64
85 ip -d link > /dev/null
87 ip r s t all > /dev/null
94 ip -6 addr del dev "$vlandev" dead:42::1234/64
97 ip link del dev "$vlandev"
99 ip link del dev "$devbr"
121 ip addr add 10.23.7.10 dev $gredev
123 ip route add 10.23.8.0/30 dev $gredev
125 ip addr add dev "$devdummy" 10.23.7.11/24
127 ip link > /dev/null
129 ip addr > /dev/null
134 ip addr del dev "$devdummy" 10.23.7.11/24
151 dev=lo
154 tc qdisc add dev "$dev" root handle 1: htb
156 tc class add dev "$dev" parent 1: classid 1:10 htb rate 1mbit
158 tc filter add dev "$dev" parent 1:0 prio 5 handle ffe: protocol ip u32 divisor 256
160 tc filter add dev "$dev" parent 1:0 prio 5 handle ffd: protocol ip u32 divisor 256
162 tc filter add dev "$dev" parent 1:0 prio 5 handle ffc: protocol ip u32 divisor 256
164 …tc filter add dev "$dev" protocol ip parent 1: prio 5 handle ffe:2:3 u32 ht ffe:2: match ip src 10…
166 …tc filter add dev "$dev" protocol ip parent 1: prio 5 handle ffe:2:2 u32 ht ffe:2: match ip src 10…
168 tc filter show dev "$dev" parent 1:0 > /dev/null
170 tc filter del dev "$dev" protocol ip parent 1: prio 5 handle ffe:2:3 u32
172 tc filter show dev "$dev" parent 1:0 > /dev/null
174 tc qdisc del dev "$dev" root handle 1: htb
190 ip route add local 0.0.0.0/0 dev lo table 100
192 ip r s t all > /dev/null
196 ip route del local 0.0.0.0/0 dev lo table 100
212 ip route get 127.0.0.1 > /dev/null
214 ip route get 127.0.0.1 dev "$devdummy" > /dev/null
216 ip route get ::1 > /dev/null
218 ip route get fe80::1 dev "$devdummy" > /dev/null
220 ip route get 127.0.0.1 from 127.0.0.1 oif lo tos 0x1 mark 0x1 > /dev/null
222 ip route get ::1 from ::1 iif lo oif lo tos 0x1 mark 0x1 > /dev/null
224 ip addr add dev "$devdummy" 10.23.7.11/24
226 ip route get 10.23.7.11 from 10.23.7.12 iif "$devdummy" > /dev/null
229 nexthop via 10.23.7.13 dev "$devdummy" \
230 nexthop via 10.23.7.14 dev "$devdummy"
233 ip route get 10.23.8.11 > /dev/null
236 ip route get 10.23.8.11 > /dev/null
241 ip addr del dev "$devdummy" 10.23.7.11/24
256 ip addr add 10.23.11.$i/32 dev "$devdummy" preferred_lft $lft valid_lft $((lft+1))
262 ip addr show dev "$devdummy" | grep "10.23.11."
280 ip -f inet addr add $IP/16 brd + dev "$devdummy"
284 ip addr flush dev "$devdummy"
295 ip addrlabel add prefix dead::/64 dev lo label 1
301 ip addrlabel del prefix dead::/64 dev lo label 1 2> /dev/null
304 ip addrlabel add prefix dead::/64 label 1 2> /dev/null
307 ip addrlabel del prefix dead::/64 label 1 2> /dev/null
312 ip addrlabel add prefix 1c3::/64 label 12345 2>/dev/null
316 ip addrlabel del prefix 1c3::/64 label 12345 2>/dev/null
321 ip addrlabel del prefix 1c3::/64 label 12345 2>/dev/null
337 ip link set dev "$devdummy" alias "$namewant"
373 ip link set dev "$devdummy" alias "$namewant"
390 ip link show type vrf 2>/dev/null
410 ip link set dev "$vrfname" up
413 ip link set dev "$devdummy" master "$vrfname"
415 ip link del dev "$vrfname"
434 dev "$devdummy" dstport 4789 2>/dev/null
441 ip -netns "$testns" addr add 10.2.11.49/24 dev "$vxlan"
444 ip -netns "$testns" link set up dev "$vxlan"
451 ip -netns "$testns" link set dev "$vxlan" type vxlan vni 43 2>/dev/null
454 ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy" 2>/dev/null
457 ip -netns "$testns" link set dev "$vxlan" type vxlan ttl inherit 2>/dev/null
460 ip -netns "$testns" link set dev "$vxlan" type vxlan ttl 64
463 ip -netns "$testns" link set dev "$vxlan" type vxlan nolearning
466 ip -netns "$testns" link set dev "$vxlan" type vxlan proxy 2>/dev/null
469 ip -netns "$testns" link set dev "$vxlan" type vxlan norsc 2>/dev/null
472 ip -netns "$testns" link set dev "$vxlan" type vxlan l2miss 2>/dev/null
475 ip -netns "$testns" link set dev "$vxlan" type vxlan l3miss 2>/dev/null
478 ip -netns "$testns" link set dev "$vxlan" type vxlan external 2>/dev/null
481 ip -netns "$testns" link set dev "$vxlan" type vxlan udpcsum 2>/dev/null
484 ip -netns "$testns" link set dev "$vxlan" type vxlan udp6zerocsumtx 2>/dev/null
487 ip -netns "$testns" link set dev "$vxlan" type vxlan udp6zerocsumrx 2>/dev/null
490 ip -netns "$testns" link set dev "$vxlan" type vxlan remcsumtx 2>/dev/null
493 ip -netns "$testns" link set dev "$vxlan" type vxlan remcsumrx 2>/dev/null
496 ip -netns "$testns" link set dev "$vxlan" type vxlan gbp 2>/dev/null
499 ip -netns "$testns" link set dev "$vxlan" type vxlan gpe 2>/dev/null
524 ip -netns "$testns" fou add port 7777 ipproto 47 2>/dev/null
533 ip -netns "$testns" fou del port 9999 2>/dev/null
600 ip macsec show > /dev/null
603 ip link del dev "$msname"
640 ip addr add $srcip dev $devdummy
648 mpid=`(ip x m > $tmpfile & echo $!) 2>/dev/null`
711 ip addr del $srcip/32 dev $devdummy
757 dev=`ls $sysfsnet`
759 ip addr add $srcip dev $dev
760 ip link set $dev up
762 echo "FAIL: ipsec_offload can't create device $dev"
785 offload dev $dev dir out
789 offload dev $dev dir in
797 lines=`ip x s list | grep -c "crypto offload parameters: dev $dev dir"`
804 ping -I $dev -c 3 -W 1 -i 0 $dstip >/dev/null
860 ip -netns "$testns" link add dev "$DEV_NS" type gretap seq \
864 ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
867 ip -netns "$testns" link set dev $DEV_NS up
874 ip -netns "$testns" link add dev "$DEV_NS" type gretap external
910 ip -netns "$testns" link add dev "$DEV_NS" type ip6gretap seq \
914 ip -netns "$testns" addr add dev "$DEV_NS" fc00:200::1/96
917 ip -netns "$testns" link set dev $DEV_NS up
924 ip -netns "$testns" link add dev "$DEV_NS" type ip6gretap external
959 ip -netns "$testns" link add dev "$DEV_NS" type erspan seq \
964 ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
967 ip -netns "$testns" link set dev $DEV_NS up
974 ip -netns "$testns" link add dev "$DEV_NS" type erspan seq \
979 ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
982 ip -netns "$testns" link set dev $DEV_NS up
989 ip -netns "$testns" link add dev "$DEV_NS" type erspan external
1024 ip -netns "$testns" link add dev "$DEV_NS" type ip6erspan seq \
1029 ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
1032 ip -netns "$testns" link set dev $DEV_NS up
1039 ip -netns "$testns" link add dev "$DEV_NS" type ip6erspan seq \
1044 ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
1047 ip -netns "$testns" link set dev $DEV_NS up
1054 ip -netns "$testns" link add dev "$DEV_NS" \
1095 dstport 4789 2>/dev/null
1097 $IP link add name "$brdev" type bridge &>/dev/null
1099 $IP link set dev "$vxlandev" master "$brdev" &>/dev/null
1101 $BRIDGE fdb add $test_mac dev "$vxlandev" master &>/dev/null
1103 $BRIDGE fdb add $test_mac dev "$vxlandev" dst $dstip self &>/dev/null
1106 $BRIDGE fdb get $test_mac brport "$vxlandev" 2>/dev/null | grep -q "dev $vxlandev master $brdev"
1108 $BRIDGE fdb get $test_mac br "$brdev" 2>/dev/null | grep -q "dev $vxlandev master $brdev"
1110 $BRIDGE fdb get $test_mac dev "$vxlandev" self 2>/dev/null | grep -q "dev $vxlandev dst $dstip"
1113 ip netns del testns &>/dev/null
1137 ip neigh add $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1139 ip neigh get $dstip dev "$devdummy" 2> /dev/null | grep -q "$dstmac"
1141 ip neigh del $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1145 ip neigh add proxy $dstip dev "$devdummy" > /dev/null
1147 ip neigh get proxy $dstip dev "$devdummy" 2>/dev/null | grep -q "$dstip"
1149 ip neigh del proxy $dstip dev "$devdummy" > /dev/null
1153 ip neigh add $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
1155 ip neigh get $dstip6 dev "$devdummy" 2> /dev/null | grep -q "$dstmac"
1157 ip neigh del $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
1161 ip neigh add proxy $dstip6 dev "$devdummy" > /dev/null
1163 ip neigh get proxy $dstip6 dev "$devdummy" 2>/dev/null | grep -q "$dstip6"
1165 ip neigh del proxy $dstip6 dev "$devdummy" > /dev/null
1215 $x -Version 2>/dev/null >/dev/null