Home
last modified time | relevance | path

Searched refs:ns3 (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/hsr/
Dhsr_ping.sh36 do_ping "$ns3" 100.64.0.1
41 do_ping "$ns3" 100.64.0.2
47 do_ping "$ns3" dead:beef:1::1
48 do_ping "$ns3" dead:beef:1::2
84 do_ping_long "$ns3" 100.64.0.1
85 do_ping_long "$ns3" dead:beef:1::1
86 do_ping_long "$ns3" 100.64.0.2
87 do_ping_long "$ns3" dead:beef:1::2
94 ip -net "$ns3" link set ns3eth1 down
97 ip -net "$ns3" link set ns3eth1 up
[all …]
Dhsr_redbox.sh18 do_ping "${ns3}" 100.64.0.1
32 do_ping_long "${ns3}" 100.64.0.1
77 ip link add ns2eth3 netns "${ns2}" type veth peer name ns3eth1 netns "${ns3}"
78 ip link add ns3eth2 netns "${ns3}" type veth peer name ns4eth1 netns "${ns4}"
79 ip link add ns3eth3 netns "${ns3}" type veth peer name ns5eth1 netns "${ns5}"
90 ip -n "${ns3}" link add name ns3br1 type bridge
91 ip -n "${ns3}" link set ns3br1 up
92 ip -n "${ns3}" link set ns3eth1 master ns3br1 up
93 ip -n "${ns3}" link set ns3eth2 master ns3br1 up
94 ip -n "${ns3}" link set ns3eth3 master ns3br1 up
[all …]
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dsimult_flows.sh13 ns3=""
45 mptcp_lib_ns_exit "${ns1}" "${ns2}" "${ns3}"
71 mptcp_lib_ns_init ns1 ns2 ns3
75 ip link add ns2eth3 netns "$ns2" type veth peer name ns3eth1 netns "$ns3"
106 ip -net "$ns3" addr add 10.0.3.3/24 dev ns3eth1
107 ip -net "$ns3" addr add dead:beef:3::3/64 dev ns3eth1 nodad
108 ip -net "$ns3" link set ns3eth1 up mtu 1500
109 ip -net "$ns3" route add default via 10.0.3.2
110 ip -net "$ns3" route add default via dead:beef:3::2
112 mptcp_lib_pm_nl_set_limits "${ns3}" 1 1
[all …]
Dmptcp_connect.sh131 ns3=""
145 mptcp_lib_ns_exit "${ns1}" "${ns2}" "${ns3}" "${ns4}"
161 mptcp_lib_ns_init ns1 ns2 ns3 ns4
169 ip link add ns2eth3 netns "$ns2" type veth peer name ns3eth2 netns "$ns3"
170 ip link add ns3eth4 netns "$ns3" type veth peer name ns4eth3 netns "$ns4"
191 ip -net "$ns3" addr add 10.0.2.2/24 dev ns3eth2
192 ip -net "$ns3" addr add dead:beef:2::2/64 dev ns3eth2 nodad
193 ip -net "$ns3" link set ns3eth2 up
195 ip -net "$ns3" addr add 10.0.3.2/24 dev ns3eth4
196 ip -net "$ns3" addr add dead:beef:3::2/64 dev ns3eth4 nodad
[all …]
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dnft_tproxy_udp.sh36 ip netns pids "$ns3" | xargs kill 2>/dev/null
46 setup_ns ns1 ns2 ns3 nsrouter
53 ip link add veth2 netns "$nsrouter" type veth peer name eth0 netns "$ns3"
69 ip -net "$ns3" link set eth0 up
81 ip -net "$ns3" addr add 10.0.3.99/24 dev eth0
82 ip -net "$ns3" addr add dead:3::99/64 dev eth0 nodad
83 ip -net "$ns3" route add default via 10.0.3.1
84 ip -net "$ns3" route add default via dead:3::1
199 …timeout "$timeout" ip netns exec "$ns3" socat "$socat_ipproto" udp-listen:8080,fork SYSTEM:"echo P…
204 busywait "$BUSYWAIT_TIMEOUT" listener_ready "$ns3" 8080 "-u"
Dnft_tproxy_tcp.sh36 ip netns pids "$ns3" | xargs kill 2>/dev/null
46 setup_ns ns1 ns2 ns3 nsrouter
53 ip link add veth2 netns "$nsrouter" type veth peer name eth0 netns "$ns3"
69 ip -net "$ns3" link set eth0 up
81 ip -net "$ns3" addr add 10.0.3.99/24 dev eth0
82 ip -net "$ns3" addr add dead:3::99/64 dev eth0 nodad
83 ip -net "$ns3" route add default via 10.0.3.1
84 ip -net "$ns3" route add default via dead:3::1
225 …timeout "$timeout" ip netns exec "$ns3" socat "$socat_ipproto" tcp-listen:8080,fork SYSTEM:"echo P…
230 busywait "$BUSYWAIT_TIMEOUT" listener_ready "$ns3" 8080 "-t"
Dbr_netfilter.sh22 setup_ns ns0 ns1 ns2 ns3 ns4
66 ip link add veth3 netns "$ns0" type veth peer name eth0 netns "$ns3"
147 ip -net "$ns3" addr add 10.23.0.13/24 dev eth0
152 do_ping "$ns3" 10.23.0.1
158 bcast_ping "$ns3" 10.23.0.255
Dnft_queue.sh34 setup_ns ns1 ns2 ns3 nsrouter
51 ip link add veth2 netns "$nsrouter" type veth peer name eth0 netns "$ns3"
67 ip -net "$ns3" link set eth0 up
79 ip -net "$ns3" addr add 10.0.3.99/24 dev eth0
80 ip -net "$ns3" addr add dead:3::99/64 dev eth0 nodad
81 ip -net "$ns3" route add default via 10.0.3.1
82 ip -net "$ns3" route add default via dead:3::1
518 timeout 10 ip netns exec "$ns3" socat UDP-LISTEN:12345,fork OPEN:"$TMPFILE2",trunc &
525 busywait "$BUSYWAIT_TIMEOUT" udp_listener_ready "$ns3"
/linux-6.12.1/tools/testing/selftests/clone3/
Dclone3_set_tid.c151 pid_t pid, ns1, ns2, ns3, ns_pid; in main() local
378 &ns3, &ns2, &ns1); in main()
383 ns1 = ns2 = ns3 = 0; in main()
409 ksft_print_msg("Have PIDs in namespaces: %d, %d, %d\n", ns3, ns2, ns1); in main()
410 ksft_test_result(ns3 == pid && ns2 == 42 && ns1 == 1, in main()
/linux-6.12.1/tools/testing/selftests/net/
Dxfrm_policy.sh349 setup_ns ns1 ns2 ns3 ns4
352 ns[3]=$ns3
406 cleanup_ns $ns1 $ns2 $ns3 $ns4
484 cleanup_ns $ns1 $ns2 $ns3 $ns4
Dbareudp.sh116 readonly NS3=$(mktemp -u ns3-XXXXXXXX)