Searched refs:skb_mac_header (Results 1 – 7 of 7) sorted by relevance
246 skb_mac_header(skb)) < IEEE802154_FC_LEN)) in ieee802154_get_fc_from_skb()249 memcpy(&fc, skb_mac_header(skb), IEEE802154_FC_LEN); in ieee802154_get_fc_from_skb()269 dst_pan = skb_mac_header(skb) + in ieee802154_skb_dst_pan()308 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()313 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()320 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()
525 return skb_mac_header(skb); in tcf_get_base_ptr()
24 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
62 return (struct vlan_ethhdr *)skb_mac_header(skb); in vlan_eth_hdr()
2871 static inline unsigned char *skb_mac_header(const struct sk_buff *skb) in skb_mac_header() function2879 return skb_mac_header(skb) - skb->data; in skb_mac_offset()2924 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild()2927 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild()4194 return skb_mac_header(skb); in skb_metadata_end()4853 return (skb_mac_header(inner_skb) - inner_skb->head) - in skb_tnl_header_len()
213 __entry->mac_header = skb_mac_header(skb) - skb->data;
342 proto = *((__be16 *)(skb_mac_header(skb) + ETH_HLEN + in nf_flow_pppoe_proto()