Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gdm_qos.h File Reference
#include <linux/types.h>
#include <linux/usb.h>
#include <linux/list.h>

Go to the source code of this file.

Data Structures

struct  gdm_wimax_csr_s
 
struct  qos_entry_s
 
struct  qos_cb_s
 

Macros

#define BOOLEAN   u8
 
#define QOS_MAX   16
 
#define IPTYPEOFSERVICE   0x8000
 
#define PROTOCOL   0x4000
 
#define IPMASKEDSRCADDRESS   0x2000
 
#define IPMASKEDDSTADDRESS   0x1000
 
#define PROTOCOLSRCPORTRANGE   0x800
 
#define PROTOCOLDSTPORTRANGE   0x400
 
#define DSTMACADDR   0x200
 
#define SRCMACADDR   0x100
 
#define ETHERTYPE   0x80
 
#define IEEE802_1DUSERPRIORITY   0x40
 
#define IEEE802_1QVLANID   0x10
 

Functions

void gdm_qos_init (void *nic_ptr)
 
void gdm_qos_release_list (void *nic_ptr)
 
int gdm_qos_send_hci_pkt (struct sk_buff *skb, struct net_device *dev)
 
void gdm_recv_qos_hci_packet (void *nic_ptr, u8 *buf, int size)
 

Macro Definition Documentation

#define BOOLEAN   u8

Definition at line 21 of file gdm_qos.h.

#define DSTMACADDR   0x200

Definition at line 30 of file gdm_qos.h.

#define ETHERTYPE   0x80

Definition at line 32 of file gdm_qos.h.

#define IEEE802_1DUSERPRIORITY   0x40

Definition at line 33 of file gdm_qos.h.

#define IEEE802_1QVLANID   0x10

Definition at line 34 of file gdm_qos.h.

#define IPMASKEDDSTADDRESS   0x1000

Definition at line 27 of file gdm_qos.h.

#define IPMASKEDSRCADDRESS   0x2000

Definition at line 26 of file gdm_qos.h.

#define IPTYPEOFSERVICE   0x8000

Definition at line 24 of file gdm_qos.h.

#define PROTOCOL   0x4000

Definition at line 25 of file gdm_qos.h.

#define PROTOCOLDSTPORTRANGE   0x400

Definition at line 29 of file gdm_qos.h.

#define PROTOCOLSRCPORTRANGE   0x800

Definition at line 28 of file gdm_qos.h.

#define QOS_MAX   16

Definition at line 23 of file gdm_qos.h.

#define SRCMACADDR   0x100

Definition at line 31 of file gdm_qos.h.

Function Documentation

void gdm_qos_init ( void nic_ptr)

Definition at line 101 of file gdm_qos.c.

void gdm_qos_release_list ( void nic_ptr)

Definition at line 122 of file gdm_qos.c.

int gdm_qos_send_hci_pkt ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 263 of file gdm_qos.c.

void gdm_recv_qos_hci_packet ( void nic_ptr,
u8 buf,
int  size 
)

Definition at line 339 of file gdm_qos.c.