Home
last modified time | relevance | path

Searched refs:testns (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/tools/testing/selftests/netfilter/
Dnft_trans_stress.sh12 testns=testns-$(mktemp -u "XXXXXXXX")
21 ip netns pids "$testns" | xargs kill 2>/dev/null
22 ip netns del "$testns"
77 ip netns add "$testns"
78 ip -netns "$testns" link set lo up
84 ip netns exec "$testns" taskset $mask ping -4 127.0.0.1 -fq > /dev/null &
85 ip netns exec "$testns" taskset $mask ping -6 ::1 -fq > /dev/null &
90 ip netns exec "$testns" nft -f "$tmp"
91 for i in $(seq 1 10) ; do ip netns exec "$testns" nft -f "$tmp" & done
96 ip netns exec "$testns" nft delete table inet $table
[all …]
/Linux-v6.6/tools/testing/selftests/net/
Drtnetlink.sh456 testns="$1"
458 ip -netns "$testns" link add "$vxlan" type vxlan id 42 group 239.1.1.1 \
466 ip -netns "$testns" addr add 10.2.11.49/24 dev "$vxlan"
469 ip -netns "$testns" link set up dev "$vxlan"
472 ip -netns "$testns" link add link "$vxlan" name "$vlan" type vlan id 1
476 ip -netns "$testns" link set dev "$vxlan" type vxlan vni 43 2>/dev/null
479 ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy" 2>/dev/null
482 ip -netns "$testns" link set dev "$vxlan" type vxlan ttl inherit 2>/dev/null
485 ip -netns "$testns" link set dev "$vxlan" type vxlan ttl 64
488 ip -netns "$testns" link set dev "$vxlan" type vxlan nolearning
[all …]
Dvrf_strict_mode_test.sh250 ip netns add testns
251 ip netns exec testns ip link set lo up
256 ip netns del testns 2>/dev/null
301 vrf_strict_mode_check_support testns
303 strict_mode_check_default testns
305 enable_strict_mode_and_check testns
307 add_vrf_and_check testns vrf100 100
308 config_vrf_and_check testns 10.0.100.1/24 vrf100
310 add_vrf_and_check_fail testns vrf101 100
312 add_vrf_and_check_fail testns vrf102 100
[all …]
Dfib_rule_tests.sh87 ip netns add testns
101 ip netns del testns
111 ip link add name veth0 netns testns type veth \
273 nettest -q -6 -B -t 5 -N testns -O peerns -U -D \
277 nettest -q -6 -B -t 5 -N testns -O peerns -Q "${dsfield}" \
340 ip netns exec testns sysctl -qw net.ipv4.ip_forward=1
341 ip netns exec testns sysctl -qw net.ipv4.conf.$DEV.rp_filter=0
344 ip netns exec testns sysctl -qw net.ipv4.ip_forward=0
410 nettest -q -B -t 5 -N testns -O peerns -D -U -Q "${dsfield}" \
414 nettest -q -B -t 5 -N testns -O peerns -Q "${dsfield}" \
Dtest_vxlan_vnifiltering.sh308 ip link add veth-host type veth peer name veth-testns
309 ip netns add testns
310 ip link set veth-testns netns testns
316 ip netns del testns 2>/dev/null || true