Classes | Defines | Functions | Variables
rt_wmp.c File Reference
#include "rt_wmp.h"
Include dependency graph for kernel-3.5/rt_wmp.c:

Go to the source code of this file.

Classes

struct  rx_queue

Defines

#define WMP_PROTO   0x6969

Functions

static struct sk_buffdequeue_rx_queue (struct rx_queue *q, long timeout)
static void enqueue_rx_queue (struct rx_queue *q, struct sk_buff *skb)
 EXPORT_SYMBOL (ieee80211_rtwmp_init)
 EXPORT_SYMBOL (ieee80211_rtwmp_timed_receive)
 EXPORT_SYMBOL (ieee80211_rtwmp_timed_receive_raw)
 EXPORT_SYMBOL (ieee80211_rtwmp_finish)
 EXPORT_SYMBOL (ieee80211_rtwmp_send)
 EXPORT_SYMBOL (ieee80211_rtwmp_set_promisc)
void ieee80211_rtwmp_finish (void)
int ieee80211_rtwmp_init (char *net_dev_name)
int ieee80211_rtwmp_send (char *f, int size)
void ieee80211_rtwmp_set_promisc (int _promisc)
int ieee80211_rtwmp_timed_receive (char *buff, rxInfo *ret, int ms)
int ieee80211_rtwmp_timed_receive_raw (struct sk_buff **skb, unsigned int ms)
static void init_rx_queue (struct rx_queue *q)
static void parse_radiotap (struct ieee80211_radiotap_header *buf, int *rate, char *rssi, char *noise)
static void purge_rx_queue (struct rx_queue *q)
int rt_wmp_is_active ()
int rt_wmp_netif_receive_skb (struct sk_buff *skb, int signal)

Variables

static unsigned char dst_mac [ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
static unsigned char ethernet_frame [2500]
static struct ethhdr * ethernet_header
static int initialized = 0
static struct net_device * net_dev
static int promisc = 0
static struct rx_queue rx_rtwmp_queue
struct ieee80211_sub_if_datasdata
static unsigned char src_mac [ETH_ALEN] = { 0xea, 0x1e, 0x1e, 0xe1, 0x00, 0x00 }

Define Documentation

#define WMP_PROTO   0x6969

Definition at line 3 of file kernel-3.5/rt_wmp.c.


Function Documentation

static struct sk_buff* dequeue_rx_queue ( struct rx_queue q,
long  timeout 
) [static, read]

Definition at line 50 of file kernel-3.5/rt_wmp.c.

static void enqueue_rx_queue ( struct rx_queue q,
struct sk_buff skb 
) [static]

Definition at line 37 of file kernel-3.5/rt_wmp.c.

void ieee80211_rtwmp_finish ( void  )

Definition at line 121 of file kernel-3.5/rt_wmp.c.

int ieee80211_rtwmp_init ( char *  net_dev_name)

Definition at line 243 of file kernel-3.5/rt_wmp.c.

int ieee80211_rtwmp_send ( char *  f,
int  size 
)

Definition at line 128 of file kernel-3.5/rt_wmp.c.

void ieee80211_rtwmp_set_promisc ( int  _promisc)

Definition at line 275 of file kernel-3.5/rt_wmp.c.

int ieee80211_rtwmp_timed_receive ( char *  buff,
rxInfo ret,
int  ms 
)

Definition at line 209 of file kernel-3.5/rt_wmp.c.

int ieee80211_rtwmp_timed_receive_raw ( struct sk_buff **  skb,
unsigned int  ms 
)

Definition at line 115 of file kernel-3.5/rt_wmp.c.

static void init_rx_queue ( struct rx_queue q) [static]

Definition at line 25 of file kernel-3.5/rt_wmp.c.

static void parse_radiotap ( struct ieee80211_radiotap_header buf,
int *  rate,
char *  rssi,
char *  noise 
) [static]

Definition at line 157 of file kernel-3.5/rt_wmp.c.

static void purge_rx_queue ( struct rx_queue q) [static]

Definition at line 32 of file kernel-3.5/rt_wmp.c.

int rt_wmp_is_active ( void  )

Definition at line 74 of file kernel-3.5/rt_wmp.c.

int rt_wmp_netif_receive_skb ( struct sk_buff skb,
int  signal 
)

Definition at line 78 of file kernel-3.5/rt_wmp.c.


Variable Documentation

unsigned char dst_mac[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } [static]

Definition at line 19 of file kernel-3.5/rt_wmp.c.

unsigned char ethernet_frame[2500] [static]

Definition at line 17 of file kernel-3.5/rt_wmp.c.

struct ethhdr* ethernet_header [static]

Definition at line 18 of file kernel-3.5/rt_wmp.c.

int initialized = 0 [static]

Definition at line 9 of file kernel-3.5/rt_wmp.c.

struct net_device* net_dev [static]

Definition at line 7 of file kernel-3.5/rt_wmp.c.

int promisc = 0 [static]

Definition at line 9 of file kernel-3.5/rt_wmp.c.

struct rx_queue rx_rtwmp_queue [static]

Definition at line 8 of file kernel-3.5/rt_wmp.c.

unsigned char src_mac[ETH_ALEN] = { 0xea, 0x1e, 0x1e, 0xe1, 0x00, 0x00 } [static]

Definition at line 20 of file kernel-3.5/rt_wmp.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:58