Searched refs:skb_mac_header (Results 1 – 6 of 6) sorted by relevance
255 skb_mac_header(skb)) < IEEE802154_FC_LEN)) in ieee802154_get_fc_from_skb()258 memcpy(&fc, skb_mac_header(skb), IEEE802154_FC_LEN); in ieee802154_get_fc_from_skb()278 dst_pan = skb_mac_header(skb) + in ieee802154_skb_dst_pan()317 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()322 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()329 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()
9 return (struct ebt_802_3_hdr *)skb_mac_header(skb); in ebt_802_3_hdr()
28 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
63 return (struct vlan_ethhdr *)skb_mac_header(skb); in vlan_eth_hdr()
2167 static inline unsigned char *skb_mac_header(const struct sk_buff *skb) in skb_mac_header() function2209 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild()2212 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild()3715 return (skb_mac_header(inner_skb) - inner_skb->head) - in skb_tnl_header_len()
188 __entry->mac_header = skb_mac_header(skb) - skb->data;