Searched refs:veth (Results 1 – 3 of 3) sorted by relevance
63 struct vlan_ethhdr veth; in nf_trace_fill_ll_header() local66 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()
32 struct vlan_ethhdr veth; in nft_payload_copy_vlan() local34 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()
103 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_dev_hard_start_xmit() local113 veth->h_vlan_proto != vlan->vlan_proto) { in vlan_dev_hard_start_xmit()