ieee80211_get_hdrlen_from_skb(9)

ieee80211_get_hdrlen_from_skb9

Get header length from data

Usage

unsigned int ieee80211_get_hdrlen_from_skb(const struct sk_buff * skb);

Arguments

skb

the frame

Overview

Given an skb with a raw 802.11 header at the data pointer this function returns the 802.11 header length.

Return

The 802.11 header length in bytes (not including encryption headers). Or 0 if the data in the sk_buff is too short to contain a valid 802.11 header.

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 7
  3. 8

Author

Johannes Berg <[email protected]>

Author.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.