Home
last modified time | relevance | path

Searched refs:veth2 (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_xdp_meta.sh29 ip link add veth1 type veth peer name veth2
32 ip link set veth2 netns ns2
35 ip netns exec ns2 ip addr add 10.1.1.22/24 dev veth2
38 ip netns exec ns2 tc qdisc add dev veth2 clsact
41 ip netns exec ns2 tc filter add dev veth2 ingress bpf da obj test_xdp_meta.o sec t
44 ip netns exec ns2 ip link set dev veth2 xdp obj test_xdp_meta.o sec x
47 ip netns exec ns2 ip link set dev veth2 up
Dtest_xdp_redirect.sh24 ip link add veth2 index 222 type veth peer name veth22 netns ns2
27 ip link set veth2 up
38 ip link del veth2 2> /dev/null
58 ip link set dev veth2 $xdpmode obj test_xdp_redirect.o sec redirect_to_111 &> /dev/null
Dtest_tc_tunnel.sh32 peer name veth2 mtu 1500 netns "${ns2}"
37 ip -netns "${ns2}" link set veth2 up
40 ip -netns "${ns2}" -4 addr add "${ns2_v4}/24" dev veth2
42 ip -netns "${ns2}" -6 addr add "${ns2_v6}/64" dev veth2 nodad
247 ethaddr=$(ip netns exec "${ns2}" ip link show veth2 | \
288 ip netns exec "${ns2}" tc qdisc add dev veth2 clsact
289 ip netns exec "${ns2}" tc filter add dev veth2 ingress \
Dtest_xdp_vlan.sh151 ip link add veth1 type veth peer name veth2
155 ip link set veth2 netns ns2
163 ip netns exec ns2 ethtool -K veth2 rxvlan off
166 ip netns exec ns2 ethtool -K veth2 txvlan off
178 export DEVNS2=veth2
Dtest_xdp_veth.sh30 ip link del veth2 2> /dev/null
85 ip link add veth2 index 122 type veth peer name veth22 netns ns2
89 ip link set veth2 up
107 ip link set dev veth2 xdp pinned $BPF_DIR/progs/redirect_map_1
Dtest_lwt_ip_encap.sh131 ip link add veth1 type veth peer name veth2
140 ip link set veth2 netns ${NS2}
160 ip -netns ${NS2} link set veth2 vrf red
168 ip -netns ${NS2} addr add ${IPv4_2}/24 dev veth2
172 ip -netns ${NS2} -6 addr add ${IPv6_2}/128 nodad dev veth2
187 ip -netns ${NS2} link set dev veth2 up
214 ip -netns ${NS2} route add ${IPv4_1}/32 dev veth2 ${VRF}
216 ip -netns ${NS2} -6 route add ${IPv6_1}/128 dev veth2 ${VRF}
434 test_lwt_ip_encap.o sec encap_gre dev veth2 ${VRF}
436 test_lwt_ip_encap.o sec encap_gre dev veth2 ${VRF}
[all …]
Dtest_lwt_seg6local.sh64 ip link add veth1 type veth peer name veth2
71 ip link set veth2 netns ns2
82 ip netns exec ns2 ip link set dev veth2 up
96 ip netns exec ns2 ip -6 addr add fb00::21/16 dev veth2 scope link
114 …etns exec ns2 ip -6 route add fb00::6 encap bpf in obj test_lwt_seg6local.o sec encap_srh dev veth2
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
Dnetns.sh406 ip1 link add veth1 type veth peer name veth2
407 ip1 link set veth2 netns $netns2
417 ip2 addr add 10.0.0.2/24 dev veth2
418 ip2 addr add fd00:aa::2/96 dev veth2
420 ip2 link set veth2 up
422 waitiface $netns2 veth2
436 ip2 link set veth2 down
438 ip2 addr flush dev veth2
443 ip2 addr add 10.0.0.3/24 dev veth2
444 ip2 addr add fd00:aa::3/96 dev veth2
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dtest_ipip.sh10 ip link add veth2 type veth peer name veth2b
19 ip link set veth2 netns at_ns2
26 ip netns exec at_ns2 ip addr add 172.16.1.200/24 dev veth2
27 ip netns exec at_ns2 ip addr add 2401:db00::3/64 dev veth2 nodad
28 ip netns exec at_ns2 ip link set dev veth2 up
167 ip link del veth2
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dconnect4_prog.c91 char veth2[IFNAMSIZ] = "test_sock_addr2"; in bind_to_device() local
99 &veth2, sizeof(veth2))) in bind_to_device()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dfib_tests.sh452 $IP link add name veth1 type veth peer name veth2
453 $IP link set dev veth2 netns ns2
455 ip -netns ns2 address add 192.0.2.1/24 dev veth2
457 ip -netns ns2 link set dev veth2 up
462 ip -netns ns2 link set dev veth2 address 52:54:00:6a:c7:5e
467 action mirred egress redirect dev veth2
469 action mirred egress redirect dev veth2
486 ip netns exec ns2 tc qdisc add dev veth2 ingress
487 ip netns exec ns2 tc filter add dev veth2 ingress protocol arp basic \
489 ip netns exec ns2 tc filter add dev veth2 ingress protocol ip basic \
[all …]
Dfib_nexthops.sh151 $IP li add veth1 type veth peer name veth2
161 $IP li set veth2 netns peer up
162 ip -netns peer addr add 172.16.1.2/24 dev veth2
163 ip -netns peer -6 addr add 2001:db8:91::2/64 dev veth2 nodad
1076 lladdr=$(get_linklocal veth2 peer)
1213 lladdr=$(get_linklocal veth2 peer)
1536 ip -netns peer li set veth2 down
1539 ip -netns peer li set veth2 up
Dfib-onlink-tests.sh14 NETIFS[p2]=veth2
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dforwarding.config.sample10 NETIFS[p3]=veth2