Lines Matching refs:ns1
56 ip netns del ns1 2> /dev/null
126 ip netns del ns1 2> /dev/null
144 ip netns add ns1
154 ip link set veth1 netns ns1
162 ip netns exec ns1 ethtool -K veth1 rxvlan off
167 ip netns exec ns1 ethtool -K veth1 txvlan off
173 ip netns exec ns1 ip addr add ${IPADDR1}/24 dev veth1
174 ip netns exec ns1 ip link set veth1 up
185 ip netns exec ns1 ip link set lo up
202 ip netns exec ns1 ip link set $DEVNS1 $XDP_MODE object $FILE section $XDP_PROG
208 ip netns exec ns1 tc qdisc add dev $DEVNS1 clsact
209 ip netns exec ns1 tc filter add dev $DEVNS1 egress \
214 ip netns exec ns1 ping -i 0.2 -W 2 -c 2 $IPADDR2
223 ip netns exec ns1 ip link set $DEVNS1 $XDP_MODE off
224 ip netns exec ns1 ip link set $DEVNS1 $XDP_MODE object $FILE section $XDP_PROG
228 ip netns exec ns1 ping -i 0.2 -W 2 -c 2 $IPADDR2