Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
p80211conv.h File Reference

Go to the source code of this file.

Data Structures

struct  p80211_rxmeta
 
struct  p80211_frmmeta
 
struct  p80211_caphdr
 
struct  p80211_metawep
 
struct  wlan_ethhdr
 
struct  wlan_llc
 
struct  wlan_snap
 

Macros

#define WLAN_ETHADDR_LEN   6
 
#define WLAN_IEEE_OUI_LEN   3
 
#define WLAN_ETHCONV_ENCAP   1
 
#define WLAN_ETHCONV_8021h   3
 
#define WLAN_ETHHDR_LEN   14
 
#define P80211CAPTURE_VERSION   0x80211001
 
#define P80211_FRMMETA_MAGIC   0x802110
 
#define P80211SKB_FRMMETA(s)
 
#define P80211SKB_RXMETA(s)
 

Typedefs

typedef void(* freebuf_method_t )(void *buf, int size)
 

Functions

void p80211skb_free (struct wlandevice *wlandev, struct sk_buff *skb)
 
int p80211skb_rxmeta_attach (struct wlandevice *wlandev, struct sk_buff *skb)
 
void p80211skb_rxmeta_detach (struct sk_buff *skb)
 
int skb_p80211_to_ether (struct wlandevice *wlandev, u32 ethconv, struct sk_buff *skb)
 
int skb_ether_to_p80211 (struct wlandevice *wlandev, u32 ethconv, struct sk_buff *skb, union p80211_hdr *p80211_hdr, struct p80211_metawep *p80211_wep)
 
int p80211_stt_findproto (u16 proto)
 

Variables

struct wlan_ethhdr __packed
 

Macro Definition Documentation

#define P80211_FRMMETA_MAGIC   0x802110

Definition at line 66 of file p80211conv.h.

#define P80211CAPTURE_VERSION   0x80211001

Definition at line 64 of file p80211conv.h.

#define P80211SKB_FRMMETA (   s)
Value:
(((((struct p80211_frmmeta *)((s)->cb))->magic) == \
((struct p80211_frmmeta *)((s)->cb)) : \
(NULL))

Definition at line 68 of file p80211conv.h.

#define P80211SKB_RXMETA (   s)
Value:
((struct p80211_rxmeta *)(NULL)))

Definition at line 74 of file p80211conv.h.

#define WLAN_ETHADDR_LEN   6

Definition at line 56 of file p80211conv.h.

#define WLAN_ETHCONV_8021h   3

Definition at line 60 of file p80211conv.h.

#define WLAN_ETHCONV_ENCAP   1

Definition at line 59 of file p80211conv.h.

#define WLAN_ETHHDR_LEN   14

Definition at line 62 of file p80211conv.h.

#define WLAN_IEEE_OUI_LEN   3

Definition at line 57 of file p80211conv.h.

Typedef Documentation

typedef void(* freebuf_method_t)(void *buf, int size)

Definition at line 124 of file p80211conv.h.

Function Documentation

int p80211_stt_findproto ( u16  proto)

Definition at line 524 of file p80211conv.c.

void p80211skb_free ( struct wlandevice wlandev,
struct sk_buff skb 
)

Definition at line 651 of file p80211conv.c.

int p80211skb_rxmeta_attach ( struct wlandevice wlandev,
struct sk_buff skb 
)

Definition at line 598 of file p80211conv.c.

void p80211skb_rxmeta_detach ( struct sk_buff skb)

Definition at line 554 of file p80211conv.c.

int skb_ether_to_p80211 ( struct wlandevice wlandev,
u32  ethconv,
struct sk_buff skb,
union p80211_hdr p80211_hdr,
struct p80211_metawep p80211_wep 
)

Definition at line 105 of file p80211conv.c.

int skb_p80211_to_ether ( struct wlandevice wlandev,
u32  ethconv,
struct sk_buff skb 
)

Definition at line 276 of file p80211conv.c.

Variable Documentation