• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef LINUX_ATM_NICSTAR_H
7 #define LINUX_ATM_NICSTAR_H
8 #include <linux/atmapi.h>
9 #include <linux/atmioc.h>
10 #define NS_GETPSTAT	_IOWR('a',ATMIOC_SARPRV+1,struct atmif_sioc)
11 
12 #define NS_SETBUFLEV	_IOW('a',ATMIOC_SARPRV+2,struct atmif_sioc)
13 
14 #define NS_ADJBUFLEV	_IO('a',ATMIOC_SARPRV+3)
15 
16 typedef struct buf_nr
17 {
18    unsigned min;
19    unsigned init;
20    unsigned max;
21 }buf_nr;
22 typedef struct pool_levels
23 {
24    int buftype;
25    int count;
26    buf_nr level;
27 } pool_levels;
28 #define NS_BUFTYPE_SMALL 1
29 #define NS_BUFTYPE_LARGE 2
30 #define NS_BUFTYPE_HUGE 3
31 #define NS_BUFTYPE_IOVEC 4
32 #endif
33