Searched refs:veth (Results 1 – 3 of 3) sorted by relevance
/net/netfilter/ |
D | nf_tables_trace.c | 63 struct vlan_ethhdr veth; in nf_trace_fill_ll_header() local 66 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()
|
D | nft_payload.c | 28 struct vlan_ethhdr *veth) in nft_payload_rebuild_vlan_hdr() argument 30 if (skb_copy_bits(skb, mac_off, veth, ETH_HLEN)) in nft_payload_rebuild_vlan_hdr() 33 veth->h_vlan_proto = skb->vlan_proto; in nft_payload_rebuild_vlan_hdr() 34 veth->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nft_payload_rebuild_vlan_hdr() 35 veth->h_vlan_encapsulated_proto = skb->protocol; in nft_payload_rebuild_vlan_hdr() 46 struct vlan_ethhdr veth; in nft_payload_copy_vlan() local 54 vlanh = (u8 *) &veth; in nft_payload_copy_vlan() 59 skb_copy_bits(skb, mac_off, &veth, VLAN_ETH_HLEN) < 0) in nft_payload_copy_vlan() 61 else if (!nft_payload_rebuild_vlan_hdr(skb, mac_off, &veth)) in nft_payload_copy_vlan()
|
/net/8021q/ |
D | vlan_dev.c | 102 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_dev_hard_start_xmit() local 112 veth->h_vlan_proto != vlan->vlan_proto) { in vlan_dev_hard_start_xmit()
|