Searched refs:veth (Results 26 - 50 of 145) sorted by relevance

123456

/linux-master/tools/testing/selftests/bpf/
H A Dtest_skb_cgroup_id.sh26 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
H A Dtest_lwt_seg6local.sh71 ip link add veth1 type veth peer name veth2
72 ip link add veth3 type veth peer name veth4
73 ip link add veth5 type veth peer name veth6
74 ip link add veth7 type veth peer name veth8
75 ip link add veth9 type veth peer name veth10
/linux-master/tools/testing/selftests/net/
H A Dbind_bhash.sh40 ip -netns "${NETNS}" link add veth0 type veth peer name veth1
H A Dvlan_hw_filter.sh21 ip netns exec ${NETNS} ip link add bond_slave_1 type veth peer veth2
H A Dsetup_veth.sh23 ip link add name server type veth peer name client
H A Dfib_nexthop_nongw.sh76 ip -n $h1 link add name veth0 type veth peer name veth1 netns $h2
H A Dicmp.sh44 ip -netns $NS1 link add veth0 type veth peer name veth0 netns $NS2
H A Dvrf_route_leaking.sh226 ip -netns $h1 link add eth0 type veth peer name r1h1
229 ip -netns $h2 link add eth0 type veth peer name r1h2
304 ip -netns $h1 link add eth0 type veth peer name r1h1
307 ip -netns $h1 link add eth1 type veth peer name r2h1
310 ip -netns $h2 link add eth0 type veth peer name r1h2
313 ip -netns $h2 link add eth1 type veth peer name r2h2
H A Damt.sh120 ip link add l_gw type veth peer name gw_l
121 ip link add gw_relay type veth peer name relay_gw
122 ip link add relay_src type veth peer name src_relay
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dsetup.c148 const char veth_name[] = "ktst-veth";
157 static void link_init(const char *veth, int family, uint8_t prefix, argument
160 if (link_set_up(veth))
162 if (ip_addr_add(veth, family, addr, prefix))
164 if (ip_route_add(veth, family, addr, dest))
251 test_error("Failed to add veth");
/linux-master/tools/testing/selftests/net/netfilter/
H A Dbr_netfilter.sh60 if ! ip link add veth1 netns "$ns0" type veth peer name eth0 netns "$ns1"; then
61 echo "SKIP: Can't create veth device"
65 ip link add veth2 netns "$ns0" type veth peer name eth0 netns "$ns2"
66 ip link add veth3 netns "$ns0" type veth peer name eth0 netns "$ns3"
67 ip link add veth4 netns "$ns0" type veth peer name eth0 netns "$ns4"
70 ip -net "$ns0" link set "veth$i" up
80 ip -net "$ns0" link set "veth$i" master br0
H A Dconntrack_ipip_mtu.sh81 ip link add veth0 netns "$r_a" type veth peer name veth0 netns "$r_w"
82 ip link add veth1 netns "$r_a" type veth peer name veth0 netns "$c_a"
111 ip link add veth0 netns "$r_b" type veth peer name veth1 netns "$r_w"
112 ip link add veth1 netns "$r_b" type veth peer name veth0 netns "$c_b"
H A Dbridge_brouter.sh27 if ! ip link add veth0 netns "$nsbr" type veth peer name eth0 netns "$ns1"; then
28 echo "SKIP: Can't create veth device"
31 ip link add veth1 netns "$nsbr" type veth peer name eth0 netns "$ns2"
H A Dconntrack_sctp_collision.sh29 ip -n "$SERVER_NS" link add link0 type veth peer name link1 netns "$ROUTER_NS"
30 ip -n "$CLIENT_NS" link add link3 type veth peer name link2 netns "$ROUTER_NS"
H A Dnft_synproxy.sh24 ip link add veth0 netns "$nsr" type veth peer name eth0 netns "$ns1"
25 ip link add veth1 netns "$nsr" type veth peer name eth0 netns "$ns2"
H A Dnft_nat_zones.sh64 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv"
79 if ! ip link add veth"$i" netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1;then
89 echo netns exec "$gw" ip link set "veth$i" up
90 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth"$i".arp_ignore=2
91 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth"$i".rp_filter=0
100 echo netns exec "$gw" ip addr add 10.1.0.2/24 dev "veth$i"
101 echo netns exec "$gw" ip addr add dead:1::2/64 dev "veth$i" nodad
104 echo netns exec "$gw" ip route add 10.1.0.0/24 dev "veth$i" table $((1000+i))
105 echo netns exec "$gw" ip route add dead:1::0/64 dev "veth
[all...]
H A Dipvs.sh61 ip link add veth01 netns "${ns0}" type veth peer name veth10 netns "${ns1}"
62 ip link add veth02 netns "${ns0}" type veth peer name veth20 netns "${ns2}"
63 ip link add veth12 netns "${ns1}" type veth peer name veth21 netns "${ns2}"
/linux-master/net/netfilter/
H A Dnft_inner.c59 struct vlan_ethhdr *veth, _veth; local
74 veth = skb_header_pointer(pkt->skb, off, sizeof(_veth), &_veth);
75 if (!veth)
78 outer_llproto = veth->h_vlan_encapsulated_proto;
79 llproto = veth->h_vlan_proto;
/linux-master/samples/bpf/
H A Dlwt_len_hist.sh23 ip link add $VETH0 type veth peer name $VETH1
/linux-master/tools/testing/selftests/drivers/net/bonding/
H A Dbond-arp-interval-causes-panic.sh27 ip -n client link add eth0 type veth peer name eth0 netns server
/linux-master/tools/testing/selftests/net/hsr/
H A Dhsr_ping.sh138 ip link add ns1eth1 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
139 ip link add ns1eth2 netns "$ns1" type veth peer name ns3eth1 netns "$ns3"
140 ip link add ns3eth2 netns "$ns3" type veth peer name ns2eth2 netns "$ns2"
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c6 * Sets up two bonded veth pairs between two fresh namespaces
146 SYS(fail, "ip link add veth1_1 type veth peer name veth2_1 netns ns_dst");
147 SYS(fail, "ip link add veth1_2 type veth peer name veth2_2 netns ns_dst");
173 /* Load a dummy program on sending side as with veth peer needs to have a
384 int veth, bond, err; local
386 if (!ASSERT_OK(system("ip link add veth type veth"), "add veth"))
391 veth = if_nametoindex("veth");
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dq_in_vni_ipv6.sh42 # | + v1 (veth) + v3 (veth) |
47 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) |
62 # | | + w1 (veth) | | | | + w1 (veth) | |
68 # | | + w2 (veth) | | | | + w2 (veth) | |
225 ip link add name w1 type veth peer name w2
299 ip link add name v1 type veth pee
[all...]
H A Dq_in_vni.sh42 # | + v1 (veth) + v3 (veth) |
47 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) |
62 # | | + w1 (veth) | | | | + w1 (veth) | |
68 # | | + w2 (veth) | | | | + w2 (veth) | |
226 ip link add name w1 type veth peer name w2
300 ip link add name v1 type veth pee
[all...]
/linux-master/tools/testing/selftests/net/mptcp/
H A Dsimult_flows.sh73 ip link add ns1eth1 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
74 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth2 netns "$ns2"
75 ip link add ns2eth3 netns "$ns2" type veth peer name ns3eth1 netns "$ns3"

Completed in 212 milliseconds

123456