1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef LINUX_ATM_NICSTAR_H
8 #define LINUX_ATM_NICSTAR_H
9 #include <linux/atmapi.h>
10 #include <linux/atmioc.h>
11 #define NS_GETPSTAT _IOWR('a', ATMIOC_SARPRV + 1, struct atmif_sioc)
12 #define NS_SETBUFLEV _IOW('a', ATMIOC_SARPRV + 2, struct atmif_sioc)
13 #define NS_ADJBUFLEV _IO('a', ATMIOC_SARPRV + 3)
14 typedef struct buf_nr {
15   unsigned min;
16   unsigned init;
17   unsigned max;
18 } buf_nr;
19 typedef struct pool_levels {
20   int buftype;
21   int count;
22   buf_nr level;
23 } pool_levels;
24 #define NS_BUFTYPE_SMALL 1
25 #define NS_BUFTYPE_LARGE 2
26 #define NS_BUFTYPE_HUGE 3
27 #define NS_BUFTYPE_IOVEC 4
28 #endif
29