Lines Matching refs:ip
14 local -r ns="$(ip netns list|grep $PEER_NS)"
17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
29 ip netns add "${PEER_NS}"
30 ip -netns "${PEER_NS}" link set lo up
31 ip link add type veth
32 ip link set dev veth0 up
33 ip addr add dev veth0 192.168.1.2/24
34 ip addr add dev veth0 2001:db8::2/64 nodad
36 ip link set dev veth1 netns "${PEER_NS}"
37 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
38 ip -netns "${PEER_NS}" addr add dev veth1 2001:db8::1/64 nodad
39 ip -netns "${PEER_NS}" link set dev veth1 up
40 ip netns exec "${PEER_NS}" ethtool -K veth1 rx-gro-list on
43 ip -n "${PEER_NS}" link set veth1 xdp object ${BPF_FILE} section xdp
46 tc -n "${PEER_NS}" filter add dev veth1 egress prio 4 protocol ip bpf object-file nat6to4.o section schedcls/egress4/snat4 direct-action
48 ip netns exec "${PEER_NS}" ./udpgso_bench_rx ${rx_args} -r &