ieee80211_get_hdrlen_from_skb

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

ieee80211_get_hdrlen_from_skb - get header length from data

SYNOPSIS

int ieee80211_get_hdrlen_from_skb(const struct sk_buff * skb);

ARGUMENTS

skb

the frame

DESCRIPTION

Given an skb with a raw 802.11 header at the data pointer this function returns the 802.11 header length in bytes (not including encryption headers). If the data in the sk_buff is too short to contain a valid 802.11 header the function returns 0.

AUTHOR

Johannes Berg <johannes@sipsolutions.net>

Author.