Home
last modified time | relevance | path

Searched refs:NS_DST (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dveth.sh11 readonly NS_DST=$BASE$DST
27 for ns in $NS_SRC $NS_DST; do
37 for ns in $NS_SRC $NS_DST; do
177 ip netns exec $NS_DST ./udpgso_bench_rx &
252 ip -n $NS_DST link set dev veth$DST down
258 ip -n $NS_DST link set dev veth$DST up
324 ip -n $NS_DST link set dev veth$DST down
330 ip -n $NS_DST link set dev veth$DST xdp off
341 ip -n $NS_DST link set dev veth$DST up
348 ip -n $NS_DST link set dev veth$DST down
[all …]
H A Dudpgro_fwd.sh12 readonly NS_DST=$BASE$DST
28 for ns in $NS_SRC $NS_DST; do
39 for ns in $NS_SRC $NS_DST; do
130 ip netns exec $NS_DST $ipt -A INPUT -p udp --dport 4789
131 ip netns exec $NS_DST $ipt -A INPUT -p udp --dport 8000
134 wait_local_port_listen "$NS_DST" 8000 udp
183 wait_local_port_listen "$NS_DST" 8000 udp
220 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
229 ip -n $NS_DST addr add dev veth$DST $BM_NET$DST_NAT/$SUFFIX
243 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_tc_edt.sh24 readonly NS_DST="ns-dst-$(mktemp -u XXXXXX)"
32 ip netns del ${NS_DST}
40 ip netns add "${NS_DST}"
43 ip link set veth_dst netns ${NS_DST}
46 ip -netns ${NS_DST} addr add ${IP_DST}/24 dev veth_dst
49 ip -netns ${NS_DST} link set dev veth_dst up
52 ip -netns ${NS_DST} route add ${IP_SRC}/32 dev veth_dst
62 ip netns exec ${NS_DST} bash -c \
71 declare -ir RX_BYTES_START=$( ip netns exec ${NS_DST} \
79 declare -ir RX_BYTES_END=$( ip netns exec ${NS_DST} \
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c38 #define NS_DST "ns_dst" macro
69 static const char * const namespaces[] = {NS_SRC, NS_FWD, NS_DST, NULL};
184 SYS(fail, "ip link set dst netns " NS_DST); in netns_setup_links_and_routes()
237 nstoken = open_netns(NS_DST); in netns_setup_links_and_routes()
349 nstoken = open_netns(NS_DST); in test_tcp()
482 nstoken = open_netns(NS_DST); in wait_netstamp_needed_key()
564 nstoken = open_netns(NS_DST); in test_inet_dtime()
645 nstoken = open_netns(NS_DST); in netns_load_dtime_bpf()
646 if (!ASSERT_OK_PTR(nstoken, "setns " NS_DST)) in netns_load_dtime_bpf()
1173 SYS(fail, "ip -netns " NS_DST " route add " IP4_TUN_SRC "/32 dev dst scope global"); in test_tc_redirect_peer_l3()
[all …]