Lines Matching refs:SERVER_NS
11 SERVER_NS=$(mktemp -u server-XXXXXXXX)
29 ip netns add $SERVER_NS
32 ip -net $ROUTER_NS link add link2 type veth peer name link3 netns $SERVER_NS
69 ip -net $SERVER_NS link set link3 up
70 ip -net $SERVER_NS addr add $SERVER_IP4/24 dev link3
71 ip -net $SERVER_NS addr add $SERVER_IP6/64 dev link3 nodad
72 ip -net $SERVER_NS route add $CLIENT_IP4 dev link3 via $SERVER_GW4
73 ip -net $SERVER_NS route add $CLIENT_IP6 dev link3 via $SERVER_GW6
74 ip -net $SERVER_NS link set dev link3 \
76 ip -net $SERVER_NS link set dev link3 \
78 ip net exec $SERVER_NS sysctl -wq net.ipv4.tcp_window_scaling=10
79 ip net exec $SERVER_NS netserver 2>&1 >/dev/null
83 ip net exec $SERVER_NS pkill netserver
87 ip netns del "$SERVER_NS"
140 ip net exec $SERVER_NS ethtool -K link3 gro $ser_gro
143 start_counter link3 $SERVER_NS
147 check_counter link3 $SERVER_NS || ret="FAIL_on_link3"
153 stop_counter link3 $SERVER_NS