Searched refs:veth (Results 1 – 11 of 11) sorted by relevance
27 struct vlan_ethhdr veth; in nft_payload_copy_vlan() local29 vlanh = (u8 *) &veth; in nft_payload_copy_vlan()33 if (skb_copy_bits(skb, mac_off, &veth, ETH_HLEN)) in nft_payload_copy_vlan()36 veth.h_vlan_proto = skb->vlan_proto; in nft_payload_copy_vlan()51 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nft_payload_copy_vlan()52 veth.h_vlan_encapsulated_proto = skb->protocol; in nft_payload_copy_vlan()
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()
887 } veth; in macvtap_put_user() local888 veth.h_vlan_proto = skb->vlan_proto; in macvtap_put_user()889 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in macvtap_put_user()898 ret = copy_to_iter(&veth, sizeof(veth), iter); in macvtap_put_user()899 if (ret != sizeof(veth) || !iov_iter_count(iter)) in macvtap_put_user()
23 obj-$(CONFIG_VETH) += veth.o
1376 } veth; in tun_put_user() local1378 veth.h_vlan_proto = skb->vlan_proto; in tun_put_user()1379 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in tun_put_user()1387 ret = copy_to_iter(&veth, sizeof(veth), iter); in tun_put_user()1388 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()
272 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb_mac_header(skb); in qeth_l2_fill_header() local289 if (veth->h_vlan_proto == __constant_htons(ETH_P_8021Q)) { in qeth_l2_fill_header()291 hdr->hdr.l2.vlan_id = ntohs(veth->h_vlan_TCI); in qeth_l2_fill_header()
64 leaves. Virtual devices (like e.g. lo or veth) ignore this setting and instead
432 header-y += veth.h