Lines Matching refs:ns1
59 ip netns del ns1 2> /dev/null
129 ip netns del ns1 2> /dev/null
147 ip netns add ns1
157 ip link set veth1 netns ns1
165 ip netns exec ns1 ethtool -K veth1 rxvlan off
170 ip netns exec ns1 ethtool -K veth1 txvlan off
176 ip netns exec ns1 ip addr add ${IPADDR1}/24 dev veth1
177 ip netns exec ns1 ip link set veth1 up
188 ip netns exec ns1 ip link set lo up
205 ip netns exec ns1 ip link set $DEVNS1 $XDP_MODE object $FILE section $XDP_PROG
211 ip netns exec ns1 tc qdisc add dev $DEVNS1 clsact
212 ip netns exec ns1 tc filter add dev $DEVNS1 egress \
217 ip netns exec ns1 ping -i 0.2 -W 2 -c 2 $IPADDR2
226 ip netns exec ns1 ip link set $DEVNS1 $XDP_MODE off
227 ip netns exec ns1 ip link set $DEVNS1 $XDP_MODE object $FILE section $XDP_PROG
231 ip netns exec ns1 ping -i 0.2 -W 2 -c 2 $IPADDR2