/Linux-v4.19/net/netfilter/ |
D | nf_tables_trace.c | 66 struct vlan_ethhdr veth; in nf_trace_fill_ll_header() local 69 BUILD_BUG_ON(sizeof(veth) > NFT_TRACETYPE_LL_HSIZE); in nf_trace_fill_ll_header() 75 if (skb_copy_bits(skb, off, &veth, ETH_HLEN)) in nf_trace_fill_ll_header() 78 veth.h_vlan_proto = skb->vlan_proto; in nf_trace_fill_ll_header() 79 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_trace_fill_ll_header() 80 veth.h_vlan_encapsulated_proto = skb->protocol; in nf_trace_fill_ll_header() 82 return nla_put(nlskb, NFTA_TRACE_LL_HEADER, sizeof(veth), &veth); in nf_trace_fill_ll_header()
|
D | nft_payload.c | 32 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-v4.19/include/linux/ |
D | if_vlan.h | 342 struct vlan_ethhdr *veth; in __vlan_insert_inner_tag() local 354 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag() 361 veth->h_vlan_proto = vlan_proto; in __vlan_insert_inner_tag() 366 veth->h_vlan_encapsulated_proto = skb->protocol; in __vlan_insert_inner_tag() 370 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_inner_tag() 506 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb->data; in __vlan_get_tag() local 508 if (!eth_type_vlan(veth->h_vlan_proto)) in __vlan_get_tag() 511 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | arm-realview-eb-bbrevd.dtsi | 25 veth: fixedregulator@0 { label 27 regulator-name = "veth"; 43 vdd33a-supply = <&veth>; 44 vddvario-supply = <&veth>;
|
D | arm-realview-pb1176.dts | 56 veth: fixedregulator@0 { label 58 regulator-name = "veth"; 152 vdd33a-supply = <&veth>; 153 vddvario-supply = <&veth>;
|
D | arm-realview-pbx.dtsi | 55 veth: fixedregulator@0 { label 57 regulator-name = "veth"; 152 vdd33a-supply = <&veth>; 153 vddvario-supply = <&veth>;
|
D | arm-realview-pb11mp.dts | 156 veth: fixedregulator@0 { label 158 regulator-name = "veth"; 698 vdd33a-supply = <&veth>; 699 vddvario-supply = <&veth>;
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_xdp_redirect.sh | 40 ip link add veth1 index 111 type veth peer name veth11 41 ip link add veth2 index 222 type veth peer name veth22
|
D | test_lwt_seg6local.sh | 64 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
|
D | test_sock_addr.sh | 28 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
|
D | test_skb_cgroup_id.sh | 26 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
|
D | test_xdp_meta.sh | 29 ip link add veth1 type veth peer name veth2
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | ip6_gre_headroom.sh | 9 ip link add h1 type veth peer name swp1 10 ip link add h3 type veth peer name swp3
|
D | pmtu.sh | 103 ${ns_a} ip link add veth_a type veth peer name veth_b || return 1 233 setup namespaces veth vti4 xfrm4 || return 2 272 setup namespaces veth vti6 xfrm6 || return 2 307 setup namespaces veth vti4 || return 2 319 setup namespaces veth vti6 || return 2
|
D | fib-onlink-tests.sh | 174 ip li add ${NETIFS[p1]} type veth peer name ${NETIFS[p2]} 175 ip li add ${NETIFS[p3]} type veth peer name ${NETIFS[p4]} 176 ip li add ${NETIFS[p5]} type veth peer name ${NETIFS[p6]} 177 ip li add ${NETIFS[p7]} type veth peer name ${NETIFS[p8]}
|
D | msg_zerocopy.sh | 88 ip link add "${DEV}" mtu "${DEV_MTU}" netns "${NS1}" type veth \
|
/Linux-v4.19/tools/testing/selftests/net/forwarding/ |
D | forwarding.config.sample | 33 NETIF_TYPE=veth
|
/Linux-v4.19/samples/bpf/ |
D | test_cls_bpf.sh | 31 ip link add name $IFC type veth peer name pair_$IFC
|
D | test_ipip.sh | 8 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
|
D | lwt_len_hist.sh | 21 ip link add $VETH0 type veth peer name $VETH1
|
D | test_cgrp2_sock2.sh | 6 ip link add veth0 type veth peer name veth0b
|
D | tc_l2_redirect.sh | 18 $IP link add ve1 type veth peer name vens1 19 $IP link add ve2 type veth peer name vens2
|
D | test_cgrp2_tc.sh | 74 $IP link add $HOST_IFC type veth peer name $NS_IFC || return $?
|
/Linux-v4.19/drivers/net/ |
D | tap.c | 802 } veth; in tap_put_user() local 803 veth.h_vlan_proto = skb->vlan_proto; in tap_put_user() 804 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in tap_put_user() 813 ret = copy_to_iter(&veth, sizeof(veth), iter); in tap_put_user() 814 if (ret != sizeof(veth) || !iov_iter_count(iter)) in tap_put_user()
|
D | Makefile | 27 obj-$(CONFIG_VETH) += veth.o
|