Searched refs:veth (Results 101 - 125 of 145) sorted by relevance

123456

/linux-master/tools/testing/selftests/net/
H A Dfib_nexthop_multiprefix.sh112 ip -netns ${h[$i]} li add eth0 type veth peer name r1h${i}
H A Dudpgro.sh32 ip link add type veth
161 # * veth schedule napi after each xmit
162 # * segmentation happens in BH context, veth napi poll is delayed after
H A DMakefile30 TEST_PROGS += veth.sh
H A Dsrv6_end_next_csid_l3vpn_test.sh255 readonly RT2HS_DEVNAME="veth-t${VRF_TID}"
470 ip link add "veth-rt-${rt}-${neigh}" netns "${nsname}" \
471 type veth peer name "veth-rt-${neigh}-${rt}" \
503 devname="veth-rt-${rt}-${neigh}"
602 devname="veth-rt-${rt}-${neigh}"
753 ip -netns "${hsname}" link add veth0 type veth \
769 # enslave the veth interface connecting the router with the host to the
H A Dsrv6_end_x_next_csid_l3vpn_test.sh297 readonly RT2HS_DEVNAME="veth-t${VRF_TID}"
520 ip link add "veth-rt-${rt}-${neigh}" netns "${nsname}" \
521 type veth peer name "veth-rt-${neigh}-${rt}" \
553 devname="veth-rt-${rt}-${neigh}"
656 devname="veth-rt-${rt}-${neigh}"
813 ip -netns "${hsname}" link add veth0 type veth \
829 # enslave the veth interface connecting the router with the host to the
H A Dl2_tos_ttl_inherit.sh104 # Create netns NS0 and NS1 and connect them with a veth pair
107 ip link add name veth0 netns "${NS0}" type veth \
H A Dtest_bridge_neigh_suppress.sh157 ip -n $h1 link add name eth0 type veth peer name swp1 netns $sw1
158 ip -n $sw1 link add name veth0 type veth peer name veth0 netns $sw2
159 ip -n $h2 link add name eth0 type veth peer name swp1 netns $sw2
H A Dl2tp.sh101 # create veth pair to connect namespaces and apply addresses.
113 ip -netns ${ns1} li add ${ns1_dev} type veth peer name tmp
/linux-master/net/8021q/
H A Dvlan_dev.c103 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); local
113 veth->h_vlan_proto != vlan->vlan_proto) {
509 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); local
511 return __vlan_get_protocol(skb, veth->h_vlan_proto, NULL);
/linux-master/tools/testing/selftests/net/netfilter/
H A Dconntrack_tcp_unreplied.sh53 # Connect the namespace to the host using a veth pair
54 ip -net "$ns1" link add name veth1 type veth peer name veth2
H A Dconntrack_vrf.sh58 if ! ip link add veth0 netns "$ns0" type veth peer name veth0 netns "$ns1" > /dev/null 2>&1; then
59 echo "SKIP: Could not add veth device"
185 # add masq rule that gets evaluated w. outif set to veth device.
201 echo "FAIL: connect failure with masquerade + sport rewrite on veth device"
208 echo "PASS: connect with masquerade + sport rewrite on veth device"
H A Drpath.sh49 ip -net "$ns1" link add v0 type veth peer name v0 netns "$ns2"
H A Dnft_queue.sh41 if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; then
45 ip link add veth1 netns "$nsrouter" type veth peer name eth0 netns "$ns2"
/linux-master/tools/testing/selftests/wireguard/
H A Dnetns.sh316 ip0 link add vethrc type veth peer name vethc
317 ip0 link add vethrs type veth peer name veths
418 ip1 link add veth1 type veth peer name veth2
490 ip1 link add veth3 type veth peer name veth4
654 ip1 link add veth1 type veth peer name veth2
/linux-master/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c743 struct vlan_ethhdr *veth; local
754 veth = skb_push(skb, VLAN_HLEN);
759 veth->h_vlan_proto = cpu_to_be16(ETH_P_8021Q);
760 veth->h_vlan_TCI = htons(tag);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_tc_tunnel.sh32 ip link add dev veth1 mtu 1500 netns "${ns1}" type veth \
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_sockopt.sh71 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
H A Dmptcp_connect.sh168 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
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"
/linux-master/tools/testing/selftests/net/forwarding/
H A Dvxlan_symmetric.sh58 # | + v1 (veth) |
63 # | + v2 (veth) +lo NS1 (netns) |
95 # | | + w1 (veth) + w3 (veth) | |
102 # | | + w2 (veth) | | + w4 (veth) | |
420 ip link add name w1 type veth peer name w2
421 ip link add name w3 type veth peer name w4
521 ip link add name v1 type veth peer name v2
H A Dvxlan_symmetric_ipv6.sh59 # | + v1 (veth) |
64 # | + v2 (veth) +lo NS1 (netns) |
96 # | | + w1 (veth) + w3 (veth) | |
103 # | | + w2 (veth) | | + w4 (veth) | |
417 ip link add name w1 type veth peer name w2
418 ip link add name w3 type veth peer name w4
522 ip link add name v1 type veth peer name v2
H A Dvxlan_bridge_1d.sh35 # | + v1 (veth) + v3 (veth) |
40 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) |
54 # | | + w1 (veth) | | | | + w1 (veth) | |
59 # | | + w2 (veth) | | | | + w2 (veth) | |
205 ip link add name w1 type veth peer name w2
271 ip link add name v1 type veth pee
[all...]
H A Dvxlan_bridge_1q.sh43 # | + v1 (veth) + v3 (veth) |
48 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) |
70 # | | + w1 (veth) | | | | + w1 (veth) | |
76 # | | + w2 (veth) VW2 (vrf) | | | | + w2 (veth) VW2 (vrf) | |
266 ip link add name w1 type veth peer name w2
353 ip link add name v1 type veth pee
[all...]
H A Dvxlan_bridge_1d_ipv6.sh36 # | + v1 (veth) + v3 (veth) |
41 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) |
56 # | | + w1 (veth) | | | | + w1 (veth) | |
60 # | | + w2 (veth) VW2 (vrf) | | | | + w2 (veth) VW2 (vrf) | |
214 ip link add name w1 type veth peer name w2
283 ip link add name v1 type veth pee
[all...]
H A Dvxlan_bridge_1q_ipv6.sh47 # | + v1 (veth) + v3 (veth) |
52 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) |
75 # | | + w1 (veth) | | | | + w1 (veth) | |
81 # | | + w2 (veth) VW2 (vrf) | | | | + w2 (veth) VW2 (vrf) | |
285 ip link add name w1 type veth peer name w2
372 ip link add name v1 type veth pee
[all...]
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c6 #include <linux/veth.h>
143 static const char veth_type[] = "veth";

Completed in 468 milliseconds

123456