atm_nicstar.h
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14: #ifndef LINUX_ATM_NICSTAR_H
15: #define LINUX_ATM_NICSTAR_H
16:
17:
18:
19:
20:
21: #include <linux/atmapi.h>
22: #include <linux/atmioc.h>
23:
24: #define NS_GETPSTAT _IOWR('a',ATMIOC_SARPRV+1,struct atmif_sioc)
25:
26: #define NS_SETBUFLEV _IOW('a',ATMIOC_SARPRV+2,struct atmif_sioc)
27:
28: #define NS_ADJBUFLEV _IO('a',ATMIOC_SARPRV+3)
29:
30:
31: typedef struct buf_nr
32: {
33: unsigned min;
34: unsigned init;
35: unsigned max;
36: }buf_nr;
37:
38:
39: typedef struct pool_levels
40: {
41: int buftype;
42: int count;
43: buf_nr level;
44: } pool_levels;
45:
46:
47: #define NS_BUFTYPE_SMALL 1
48: #define NS_BUFTYPE_LARGE 2
49: #define NS_BUFTYPE_HUGE 3
50: #define NS_BUFTYPE_IOVEC 4
51:
52:
53: #endif
54:
© Andrew Scott 2006 -
2025,
All Rights Reserved