1IEEE80211_GET_HDRLEN(9) Utility functions IEEE80211_GET_HDRLEN(9)
2
3
4
6 ieee80211_get_hdrlen_from_skb - get header length from data
7
9 unsigned int ieee80211_get_hdrlen_from_skb(const struct sk_buff * skb);
10
12 skb
13 the frame
14
16 Given an skb with a raw 802.11 header at the data pointer this function
17 returns the 802.11 header length.
18
20 The 802.11 header length in bytes (not including encryption headers).
21 Or 0 if the data in the sk_buff is too short to contain a valid 802.11
22 header.
23
25 Johannes Berg <johannes@sipsolutions.net>
26 Author.
27
29Kernel Hackers Manual 3.10 June 2019 IEEE80211_GET_HDRLEN(9)