Searched refs:veth (Results 1 – 9 of 9) sorted by relevance
298 struct vlan_ethhdr *veth; in __vlan_insert_tag() local303 veth = (struct vlan_ethhdr *)skb_push(skb, VLAN_HLEN); in __vlan_insert_tag()310 veth->h_vlan_proto = vlan_proto; in __vlan_insert_tag()313 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_tag()425 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb->data; in __vlan_get_tag() local427 if (veth->h_vlan_proto != htons(ETH_P_8021Q) && in __vlan_get_tag()428 veth->h_vlan_proto != htons(ETH_P_8021AD)) in __vlan_get_tag()431 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
828 } veth; in macvtap_put_user() local829 veth.h_vlan_proto = skb->vlan_proto; in macvtap_put_user()830 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in macvtap_put_user()839 ret = copy_to_iter(&veth, sizeof(veth), iter); in macvtap_put_user()840 if (ret != sizeof(veth) || !iov_iter_count(iter)) in macvtap_put_user()
23 obj-$(CONFIG_VETH) += veth.o
1322 } veth; in tun_put_user() local1324 veth.h_vlan_proto = skb->vlan_proto; in tun_put_user()1325 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in tun_put_user()1333 ret = copy_to_iter(&veth, sizeof(veth), iter); in tun_put_user()1334 if (ret != sizeof(veth) || !iov_iter_count(iter)) in tun_put_user()
746 struct vlan_ethhdr *veth; in gelic_put_vlan_tag() local757 veth = (struct vlan_ethhdr *)skb_push(skb, VLAN_HLEN); in gelic_put_vlan_tag()762 veth->h_vlan_proto = cpu_to_be16(ETH_P_8021Q); in gelic_put_vlan_tag()763 veth->h_vlan_TCI = htons(tag); in gelic_put_vlan_tag()
107 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_dev_hard_start_xmit() local116 if (veth->h_vlan_proto != vlan->vlan_proto || in vlan_dev_hard_start_xmit()
1326 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)eth_hdr(skb); in i40e_fcoe_set_skb_header() local1328 protocol = veth->h_vlan_encapsulated_proto; in i40e_fcoe_set_skb_header()
258 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb_mac_header(skb); in qeth_l2_fill_header() local275 if (veth->h_vlan_proto == __constant_htons(ETH_P_8021Q)) { in qeth_l2_fill_header()277 hdr->hdr.l2.vlan_id = ntohs(veth->h_vlan_TCI); in qeth_l2_fill_header()
424 header-y += veth.h