veth 3349 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c struct vlan_ethhdr *veth; veth 3353 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c veth = (struct vlan_ethhdr *)skb->data; veth 3354 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c vlan_proto = veth->h_vlan_proto; veth 3361 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c vlanid = ntohs(veth->h_vlan_TCI); veth 3362 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c memmove(skb->data + VLAN_HLEN, veth, ETH_ALEN * 2); veth 733 drivers/net/ethernet/toshiba/ps3_gelic_net.c struct vlan_ethhdr *veth; veth 744 drivers/net/ethernet/toshiba/ps3_gelic_net.c veth = skb_push(skb, VLAN_HLEN); veth 749 drivers/net/ethernet/toshiba/ps3_gelic_net.c veth->h_vlan_proto = cpu_to_be16(ETH_P_8021Q); veth 750 drivers/net/ethernet/toshiba/ps3_gelic_net.c veth->h_vlan_TCI = htons(tag); veth 802 drivers/net/tap.c } veth; veth 803 drivers/net/tap.c veth.h_vlan_proto = skb->vlan_proto; veth 804 drivers/net/tap.c veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); veth 813 drivers/net/tap.c ret = copy_to_iter(&veth, sizeof(veth), iter); veth 814 drivers/net/tap.c if (ret != sizeof(veth) || !iov_iter_count(iter)) veth 2141 drivers/net/tun.c struct veth veth; veth 2143 drivers/net/tun.c veth.h_vlan_proto = skb->vlan_proto; veth 2144 drivers/net/tun.c veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); veth 2152 drivers/net/tun.c ret = copy_to_iter(&veth, sizeof(veth), iter); veth 2153 drivers/net/tun.c if (ret != sizeof(veth) || !iov_iter_count(iter)) veth 1230 drivers/net/vmxnet3/vmxnet3_drv.c struct vlan_ethhdr *veth; veth 1250 drivers/net/vmxnet3/vmxnet3_drv.c hdr.veth->h_vlan_encapsulated_proto != htons(ETH_P_IP)); veth 1257 drivers/net/vmxnet3/vmxnet3_drv.c hdr.veth->h_vlan_encapsulated_proto != htons(ETH_P_IPV6)); veth 909 drivers/s390/net/qeth_core.h struct vlan_ethhdr *veth = vlan_eth_hdr(skb); veth 910 drivers/s390/net/qeth_core.h __be16 prot = veth->h_vlan_proto; veth 913 drivers/s390/net/qeth_core.h prot = veth->h_vlan_encapsulated_proto; veth 3534 drivers/s390/net/qeth_core_main.c struct vlan_ethhdr *veth = vlan_eth_hdr(skb); veth 3566 drivers/s390/net/qeth_core_main.c if (veth->h_vlan_proto == htons(ETH_P_8021Q)) veth 3567 drivers/s390/net/qeth_core_main.c return ~ntohs(veth->h_vlan_TCI) >> veth 170 drivers/s390/net/qeth_l2_main.c struct vlan_ethhdr *veth = vlan_eth_hdr(skb); veth 193 drivers/s390/net/qeth_l2_main.c if (veth->h_vlan_proto == __constant_htons(ETH_P_8021Q)) { veth 195 drivers/s390/net/qeth_l2_main.c hdr->hdr.l2.vlan_id = ntohs(veth->h_vlan_TCI); veth 1936 drivers/s390/net/qeth_l3_main.c struct vlan_ethhdr *veth = vlan_eth_hdr(skb); veth 1970 drivers/s390/net/qeth_l3_main.c } else if (veth->h_vlan_proto == htons(ETH_P_8021Q)) { veth 1972 drivers/s390/net/qeth_l3_main.c hdr->hdr.l3.vlan_id = ntohs(veth->h_vlan_TCI); veth 337 include/linux/if_vlan.h struct vlan_ethhdr *veth; veth 349 include/linux/if_vlan.h veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); veth 356 include/linux/if_vlan.h veth->h_vlan_proto = vlan_proto; veth 361 include/linux/if_vlan.h veth->h_vlan_encapsulated_proto = skb->protocol; veth 365 include/linux/if_vlan.h veth->h_vlan_TCI = htons(vlan_tci); veth 527 include/linux/if_vlan.h struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb->data; veth 529 include/linux/if_vlan.h if (!eth_type_vlan(veth->h_vlan_proto)) veth 532 include/linux/if_vlan.h *vlan_tci = ntohs(veth->h_vlan_TCI); veth 103 net/8021q/vlan_dev.c struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); veth 112 net/8021q/vlan_dev.c if (veth->h_vlan_proto != vlan->vlan_proto || veth 63 net/netfilter/nf_tables_trace.c struct vlan_ethhdr veth; veth 66 net/netfilter/nf_tables_trace.c BUILD_BUG_ON(sizeof(veth) > NFT_TRACETYPE_LL_HSIZE); veth 72 net/netfilter/nf_tables_trace.c if (skb_copy_bits(skb, off, &veth, ETH_HLEN)) veth 75 net/netfilter/nf_tables_trace.c veth.h_vlan_proto = skb->vlan_proto; veth 76 net/netfilter/nf_tables_trace.c veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); veth 77 net/netfilter/nf_tables_trace.c veth.h_vlan_encapsulated_proto = skb->protocol; veth 79 net/netfilter/nf_tables_trace.c return nla_put(nlskb, NFTA_TRACE_LL_HEADER, sizeof(veth), &veth); veth 32 net/netfilter/nft_payload.c struct vlan_ethhdr veth; veth 34 net/netfilter/nft_payload.c vlanh = (u8 *) &veth; veth 38 net/netfilter/nft_payload.c if (skb_copy_bits(skb, mac_off, &veth, ETH_HLEN)) veth 41 net/netfilter/nft_payload.c veth.h_vlan_proto = skb->vlan_proto; veth 56 net/netfilter/nft_payload.c veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); veth 57 net/netfilter/nft_payload.c veth.h_vlan_encapsulated_proto = skb->protocol;