Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
utils.c File Reference
#include <linux/netdevice.h>
#include <linux/module.h>
#include <brcmu_utils.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 MODULE_AUTHOR ("Broadcom Corporation")
 
 MODULE_DESCRIPTION ("Broadcom 802.11n wireless LAN driver utilities.")
 
 MODULE_SUPPORTED_DEVICE ("Broadcom 802.11n WLAN cards")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
struct sk_buffbrcmu_pkt_buf_get_skb (uint len)
 
 EXPORT_SYMBOL (brcmu_pkt_buf_get_skb)
 
void brcmu_pkt_buf_free_skb (struct sk_buff *skb)
 
 EXPORT_SYMBOL (brcmu_pkt_buf_free_skb)
 
struct sk_buffbrcmu_pktq_penq (struct pktq *pq, int prec, struct sk_buff *p)
 
 EXPORT_SYMBOL (brcmu_pktq_penq)
 
struct sk_buffbrcmu_pktq_penq_head (struct pktq *pq, int prec, struct sk_buff *p)
 
 EXPORT_SYMBOL (brcmu_pktq_penq_head)
 
struct sk_buffbrcmu_pktq_pdeq (struct pktq *pq, int prec)
 
 EXPORT_SYMBOL (brcmu_pktq_pdeq)
 
struct sk_buffbrcmu_pktq_pdeq_tail (struct pktq *pq, int prec)
 
 EXPORT_SYMBOL (brcmu_pktq_pdeq_tail)
 
void brcmu_pktq_pflush (struct pktq *pq, int prec, bool dir, bool(*fn)(struct sk_buff *, void *), void *arg)
 
 EXPORT_SYMBOL (brcmu_pktq_pflush)
 
void brcmu_pktq_flush (struct pktq *pq, bool dir, bool(*fn)(struct sk_buff *, void *), void *arg)
 
 EXPORT_SYMBOL (brcmu_pktq_flush)
 
void brcmu_pktq_init (struct pktq *pq, int num_prec, int max_len)
 
 EXPORT_SYMBOL (brcmu_pktq_init)
 
struct sk_buffbrcmu_pktq_peek_tail (struct pktq *pq, int *prec_out)
 
 EXPORT_SYMBOL (brcmu_pktq_peek_tail)
 
int brcmu_pktq_mlen (struct pktq *pq, uint prec_bmp)
 
 EXPORT_SYMBOL (brcmu_pktq_mlen)
 
struct sk_buffbrcmu_pktq_mdeq (struct pktq *pq, uint prec_bmp, int *prec_out)
 
 EXPORT_SYMBOL (brcmu_pktq_mdeq)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 17 of file utils.c.

Function Documentation

void brcmu_pkt_buf_free_skb ( struct sk_buff skb)

Definition at line 44 of file utils.c.

struct sk_buff* brcmu_pkt_buf_get_skb ( uint  len)
read

Definition at line 29 of file utils.c.

void brcmu_pktq_flush ( struct pktq pq,
bool  dir,
bool(*)(struct sk_buff *, void *)  fn,
void arg 
)

Definition at line 152 of file utils.c.

void brcmu_pktq_init ( struct pktq pq,
int  num_prec,
int  max_len 
)

Definition at line 161 of file utils.c.

struct sk_buff* brcmu_pktq_mdeq ( struct pktq pq,
uint  prec_bmp,
int prec_out 
)
read

Definition at line 214 of file utils.c.

int brcmu_pktq_mlen ( struct pktq pq,
uint  prec_bmp 
)

Definition at line 199 of file utils.c.

struct sk_buff* brcmu_pktq_pdeq ( struct pktq pq,
int  prec 
)
read

Definition at line 104 of file utils.c.

struct sk_buff* brcmu_pktq_pdeq_tail ( struct pktq pq,
int  prec 
)
read

Definition at line 119 of file utils.c.

struct sk_buff* brcmu_pktq_peek_tail ( struct pktq pq,
int prec_out 
)
read

Definition at line 180 of file utils.c.

struct sk_buff* brcmu_pktq_penq ( struct pktq pq,
int  prec,
struct sk_buff p 
)
read

Definition at line 66 of file utils.c.

struct sk_buff* brcmu_pktq_penq_head ( struct pktq pq,
int  prec,
struct sk_buff p 
)
read

Definition at line 85 of file utils.c.

void brcmu_pktq_pflush ( struct pktq pq,
int  prec,
bool  dir,
bool(*)(struct sk_buff *, void *)  fn,
void arg 
)

Definition at line 135 of file utils.c.

EXPORT_SYMBOL ( brcmu_pkt_buf_get_skb  )
EXPORT_SYMBOL ( brcmu_pkt_buf_free_skb  )
EXPORT_SYMBOL ( brcmu_pktq_penq  )
EXPORT_SYMBOL ( brcmu_pktq_penq_head  )
EXPORT_SYMBOL ( brcmu_pktq_pdeq  )
EXPORT_SYMBOL ( brcmu_pktq_pdeq_tail  )
EXPORT_SYMBOL ( brcmu_pktq_pflush  )
EXPORT_SYMBOL ( brcmu_pktq_flush  )
EXPORT_SYMBOL ( brcmu_pktq_init  )
EXPORT_SYMBOL ( brcmu_pktq_peek_tail  )
EXPORT_SYMBOL ( brcmu_pktq_mlen  )
EXPORT_SYMBOL ( brcmu_pktq_mdeq  )
MODULE_AUTHOR ( "Broadcom Corporation"  )
MODULE_DESCRIPTION ( "Broadcom 802.11n wireless LAN driver utilities."  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
MODULE_SUPPORTED_DEVICE ( "Broadcom 802.11n WLAN cards"  )