Linux Kernel
3.7.1
|
#include <linux/skbuff.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/sonet.h>
#include <linux/pci.h>
Go to the source code of this file.
Data Structures | |
struct | zatm_vcc |
struct | zatm_dev |
struct | zatm_skb_prv |
Macros | |
#define | DEV_LABEL "zatm" |
#define | MAX_AAL5_PDU 10240 /* allocate for AAL5 PDUs of this size */ |
#define | MAX_RX_SIZE_LD 14 /* ceil(log2((MAX_AAL5_PDU+47)/48)) */ |
#define | LOW_MARK 12 /* start adding new buffers if less than 12 */ |
#define | HIGH_MARK 30 /* stop adding buffers after reaching 30 */ |
#define | OFF_CNG_THRES 5 /* threshold for offset changes */ |
#define | RX_SIZE 2 /* RX lookup entry size (in bytes) */ |
#define | NR_POOLS 32 /* number of free buffer pointers */ |
#define | POOL_SIZE 8 /* buffer entry size (in bytes) */ |
#define | NR_SHAPERS 16 /* number of shapers */ |
#define | SHAPER_SIZE 4 /* shaper entry size (in bytes) */ |
#define | VC_SIZE 32 /* VC dsc (TX or RX) size (in bytes) */ |
#define | RING_ENTRIES 32 /* ring entries (without back pointer) */ |
#define | RING_WORDS 4 /* ring element size */ |
#define | RING_SIZE (sizeof(unsigned long)*(RING_ENTRIES+1)*RING_WORDS) |
#define | NR_MBX 4 /* four mailboxes */ |
#define | MBX_RX_0 0 /* mailbox indices */ |
#define | MBX_RX_1 1 |
#define | MBX_TX_0 2 |
#define | MBX_TX_1 3 |
#define | ZATM_DEV(d) ((struct zatm_dev *) (d)->dev_data) |
#define | ZATM_VCC(d) ((struct zatm_vcc *) (d)->dev_data) |
#define | ZATM_PRV_DSC(skb) (((struct zatm_skb_prv *) (skb)->cb)->dsc) |
#define MAX_RX_SIZE_LD 14 /* ceil(log2((MAX_AAL5_PDU+47)/48)) */ |
#define RING_SIZE (sizeof(unsigned long)*(RING_ENTRIES+1)*RING_WORDS) |
#define ZATM_PRV_DSC | ( | skb | ) | (((struct zatm_skb_prv *) (skb)->cb)->dsc) |