Home
last modified time | relevance | path

Searched refs:SERVER_NS (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/
Dsctp_vrf.sh21 setup_ns CLIENT_NS1 CLIENT_NS2 SERVER_NS
25 ip net exec $SERVER_NS sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null
27 ip -n $SERVER_NS link add veth1 type veth peer name veth1 netns $CLIENT_NS1
28 ip -n $SERVER_NS link add veth2 type veth peer name veth1 netns $CLIENT_NS2
38 ip -n $SERVER_NS link add dummy1 type dummy
39 ip -n $SERVER_NS link set dummy1 up
40 ip -n $SERVER_NS link add vrf-1 type vrf table 10
41 ip -n $SERVER_NS link add vrf-2 type vrf table 20
42 ip -n $SERVER_NS link set vrf-1 up
43 ip -n $SERVER_NS link set vrf-2 up
[all …]
Dbig_tcp.sh11 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 \
[all …]
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dconntrack_sctp_collision.sh28 setup_ns CLIENT_NS SERVER_NS ROUTER_NS
29 ip -n "$SERVER_NS" link add link0 type veth peer name link1 netns "$ROUTER_NS"
32 ip -n "$SERVER_NS" link set link0 up
33 ip -n "$SERVER_NS" addr add $SERVER_IP/24 dev link0
34 ip -n "$SERVER_NS" route add $CLIENT_IP dev link0 via $SERVER_GW
48 tc -n "$SERVER_NS" qdisc add dev link0 root handle 1: htb r2q 64
49 tc -n "$SERVER_NS" class add dev link0 parent 1: classid 1:1 htb rate 100mbit
50 tc -n "$SERVER_NS" filter add dev link0 parent 1: protocol ip u32 match ip protocol 132 \
52 if ! tc -n "$SERVER_NS" qdisc add dev link0 parent 1:1 handle 10: netem delay 1200ms; then
68 ip net exec "$SERVER_NS" pkill sctp_collision >/dev/null 2>&1
[all …]