Go to the documentation of this file.
6 #ifndef DRIVER_ATM_ZATM_H
7 #define DRIVER_ATM_ZATM_H
10 #include <linux/atm.h>
11 #include <linux/atmdev.h>
12 #include <linux/sonet.h>
13 #include <linux/pci.h>
16 #define DEV_LABEL "zatm"
18 #define MAX_AAL5_PDU 10240
19 #define MAX_RX_SIZE_LD 14
23 #define OFF_CNG_THRES 5
32 #define RING_ENTRIES 32
34 #define RING_SIZE (sizeof(unsigned long)*(RING_ENTRIES+1)*RING_WORDS)
92 #define ZATM_DEV(d) ((struct zatm_dev *) (d)->dev_data)
93 #define ZATM_VCC(d) ((struct zatm_vcc *) (d)->dev_data)
101 #define ZATM_PRV_DSC(skb) (((struct zatm_skb_prv *) (skb)->cb)->dsc)