Home
last modified time | relevance | path

Searched refs:veth (Results 1 – 25 of 69) sorted by relevance

123

/Linux-v5.4/tools/testing/selftests/net/
Dtest_vxlan_under_vrf.sh49 ip link del veth-hv-1 2>/dev/null || true
50 ip link del veth-tap 2>/dev/null || true
65 ip link add veth-hv-1 type veth peer name veth-hv-2
70 ip link set veth-hv-$hv netns hv-$hv
71 ip -netns hv-$hv link set veth-hv-$hv name veth0
98 ip link add veth-tap type veth peer name veth-hv
100 ip link set veth-tap netns hv-$id
101 ip -netns hv-$id link set veth-tap master br0
102 ip -netns hv-$id link set veth-tap up
104 ip link set veth-hv netns vm-$id
[all …]
Dip6_gre_headroom.sh9 ip link add h1 type veth peer name swp1
10 ip link add h3 type veth peer name swp3
Dfib-onlink-tests.sh189 ip li add ${NETIFS[p1]} type veth peer name ${NETIFS[p2]}
190 ip li add ${NETIFS[p3]} type veth peer name ${NETIFS[p4]}
191 ip li add ${NETIFS[p5]} type veth peer name ${NETIFS[p6]}
192 ip li add ${NETIFS[p7]} type veth peer name ${NETIFS[p8]}
Dicmp_redirect.sh192 ip -netns h1 li add eth0 type veth peer name r1h1
195 ip -netns h1 li add eth1 type veth peer name r2h1
198 ip -netns h2 li add eth0 type veth peer name r2h2
202 ip -netns r1 li add eth1 type veth peer name r2r1
/Linux-v5.4/net/netfilter/
Dnf_tables_trace.c63 struct vlan_ethhdr veth; in nf_trace_fill_ll_header() local
66 BUILD_BUG_ON(sizeof(veth) > NFT_TRACETYPE_LL_HSIZE); in nf_trace_fill_ll_header()
72 if (skb_copy_bits(skb, off, &veth, ETH_HLEN)) in nf_trace_fill_ll_header()
75 veth.h_vlan_proto = skb->vlan_proto; in nf_trace_fill_ll_header()
76 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_trace_fill_ll_header()
77 veth.h_vlan_encapsulated_proto = skb->protocol; in nf_trace_fill_ll_header()
79 return nla_put(nlskb, NFTA_TRACE_LL_HEADER, sizeof(veth), &veth); in nf_trace_fill_ll_header()
Dnft_payload.c32 struct vlan_ethhdr veth; in nft_payload_copy_vlan() local
34 vlanh = (u8 *) &veth; in nft_payload_copy_vlan()
38 if (skb_copy_bits(skb, mac_off, &veth, ETH_HLEN)) in nft_payload_copy_vlan()
41 veth.h_vlan_proto = skb->vlan_proto; in nft_payload_copy_vlan()
56 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nft_payload_copy_vlan()
57 veth.h_vlan_encapsulated_proto = skb->protocol; in nft_payload_copy_vlan()
/Linux-v5.4/include/linux/
Dif_vlan.h337 struct vlan_ethhdr *veth; in __vlan_insert_inner_tag() local
349 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag()
356 veth->h_vlan_proto = vlan_proto; in __vlan_insert_inner_tag()
361 veth->h_vlan_encapsulated_proto = skb->protocol; in __vlan_insert_inner_tag()
365 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_inner_tag()
527 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb->data; in __vlan_get_tag() local
529 if (!eth_type_vlan(veth->h_vlan_proto)) in __vlan_get_tag()
532 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
/Linux-v5.4/arch/arm/boot/dts/
Darm-realview-eb-bbrevd.dtsi25 veth: fixedregulator@0 { label
27 regulator-name = "veth";
43 vdd33a-supply = <&veth>;
44 vddvario-supply = <&veth>;
Darm-realview-pbx.dtsi57 veth: regulator-veth { label
59 regulator-name = "veth";
160 vdd33a-supply = <&veth>;
161 vddvario-supply = <&veth>;
Darm-realview-pb1176.dts58 veth: regulator-veth { label
60 regulator-name = "veth";
160 vdd33a-supply = <&veth>;
161 vddvario-supply = <&veth>;
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_xdp_veth.sh84 ip link add veth1 index 111 type veth peer name veth11 netns ns1
85 ip link add veth2 index 122 type veth peer name veth22 netns ns2
86 ip link add veth3 index 133 type veth peer name veth33 netns ns3
Dtest_xdp_redirect.sh40 ip link add veth1 index 111 type veth peer name veth11
41 ip link add veth2 index 222 type veth peer name veth22
Dtest_lwt_seg6local.sh64 ip link add veth1 type veth peer name veth2
65 ip link add veth3 type veth peer name veth4
66 ip link add veth5 type veth peer name veth6
67 ip link add veth7 type veth peer name veth8
68 ip link add veth9 type veth peer name veth10
Dtest_sock_addr.sh29 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
Dtest_skb_cgroup_id.sh26 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
Dtest_xdping.sh39 ip link add veth0 type veth peer name veth1
Dtest_lwt_ip_encap.sh115 ip link add veth1 type veth peer name veth2
116 ip link add veth3 type veth peer name veth4
117 ip link add veth5 type veth peer name veth6
118 ip link add veth7 type veth peer name veth8
/Linux-v5.4/tools/testing/selftests/netfilter/
Dbridge_brouter.sh30 ip link add veth0 netns ns0 type veth peer name eth0 netns ns1
35 ip link add veth1 netns ns0 type veth peer name eth0 netns ns2
Dconntrack_icmp_related.sh82 ip link add $DEV netns nsclient1 type veth peer name eth1 netns nsrouter1
84 ip link add $DEV netns nsclient2 type veth peer name eth1 netns nsrouter2
87 ip link add $DEV netns nsrouter1 type veth peer name eth2 netns nsrouter2
Dnft_flowtable.sh69 ip link add veth0 netns nsr1 type veth peer name eth0 netns ns1
70 ip link add veth1 netns nsr1 type veth peer name veth0 netns nsr2
72 ip link add veth1 netns nsr2 type veth peer name eth0 netns ns2
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Dforwarding.config.sample33 NETIF_TYPE=veth
/Linux-v5.4/samples/bpf/
Dtest_ipip.sh8 ip link add veth0 type veth peer name veth0b
9 ip link add veth1 type veth peer name veth1b
10 ip link add veth2 type veth peer name veth2b
Dtest_cls_bpf.sh31 ip link add name $IFC type veth peer name pair_$IFC
Dlwt_len_hist.sh21 ip link add $VETH0 type veth peer name $VETH1
Dtest_cgrp2_sock2.sh6 ip link add veth0 type veth peer name veth0b

123