Searched refs:skb_mac_header (Results 1 – 6 of 6) 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()
466 return skb_mac_header(skb); in tcf_get_base_ptr()
24 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
58 return (struct vlan_ethhdr *)skb_mac_header(skb); in vlan_eth_hdr()
2491 static inline unsigned char *skb_mac_header(const struct sk_buff *skb) in skb_mac_header() function2498 return skb_mac_header(skb) - skb->data; in skb_mac_offset()2542 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild()2545 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild()3698 return skb_mac_header(skb); in skb_metadata_end()4338 return (skb_mac_header(inner_skb) - inner_skb->head) - in skb_tnl_header_len()
212 __entry->mac_header = skb_mac_header(skb) - skb->data;