Searched refs:vhdr (Results 1 - 8 of 8) sorted by relevance

/net/netfilter/
H A Dnfnetlink_queue_core.c880 struct nfqnl_msg_verdict_hdr *vhdr; local
886 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]);
887 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK;
890 return vhdr;
906 struct nfqnl_msg_verdict_hdr *vhdr; local
919 vhdr = verdicthdr_get(nfqa);
920 if (!vhdr)
923 verdict = ntohl(vhdr->verdict);
924 maxid = ntohl(vhdr->id);
956 struct nfqnl_msg_verdict_hdr *vhdr; local
[all...]
/net/batman-adv/
H A Dmain.c309 struct vlan_ethhdr *vhdr, vhdr_tmp; local
322 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr),
323 sizeof(*vhdr), &vhdr_tmp);
324 if (!vhdr)
326 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK;
1183 struct vlan_ethhdr *vhdr; local
1192 vhdr = (struct vlan_ethhdr *)(skb->data + header_len);
1193 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK;
H A Dsoft-interface.c166 struct vlan_ethhdr *vhdr; local
186 vhdr = vlan_eth_hdr(skb);
188 if (vhdr->h_vlan_encapsulated_proto != ethertype)
356 struct vlan_ethhdr *vhdr; local
381 vhdr = (struct vlan_ethhdr *)skb->data;
383 if (vhdr->h_vlan_encapsulated_proto != ethertype)
H A Dgateway_client.c679 struct vlan_ethhdr *vhdr; local
697 vhdr = vlan_eth_hdr(skb);
698 proto = vhdr->h_vlan_encapsulated_proto;
H A Dbridge_loop_avoidance.c866 struct vlan_hdr *vhdr, vhdr_buf; local
890 vhdr = skb_header_pointer(skb, headlen, VLAN_HLEN,
892 if (!vhdr)
895 proto = vhdr->h_vlan_encapsulated_proto;
/net/8021q/
H A Dvlan_dev.c86 struct vlan_hdr *vhdr; local
92 vhdr = (struct vlan_hdr *) skb_push(skb, VLAN_HLEN);
96 vhdr->h_vlan_TCI = htons(vlan_tci);
103 vhdr->h_vlan_encapsulated_proto = htons(type);
105 vhdr->h_vlan_encapsulated_proto = htons(len);
/net/openvswitch/
H A Dactions.c124 struct vlan_hdr *vhdr; local
135 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN);
136 *current_tci = vhdr->h_vlan_TCI;
141 vlan_set_encap_proto(skb, vhdr);
/net/core/
H A Dskbuff.c4095 struct vlan_hdr *vhdr; local
4110 vhdr = (struct vlan_hdr *)skb->data;
4111 vlan_tci = ntohs(vhdr->h_vlan_TCI);
4115 vlan_set_encap_proto(skb, vhdr);

Completed in 145 milliseconds