Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 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 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef LINUX_ATM_NICSTAR_H |
| 8 | #define LINUX_ATM_NICSTAR_H |
| 9 | #include <linux/atmapi.h> |
| 10 | #include <linux/atmioc.h> |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 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 { |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 15 | unsigned min; |
| 16 | unsigned init; |
| 17 | unsigned max; |
| 18 | } buf_nr; |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 19 | typedef struct pool_levels { |
| 20 | int buftype; |
| 21 | int count; |
| 22 | buf_nr level; |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | } pool_levels; |
| 24 | #define NS_BUFTYPE_SMALL 1 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 25 | #define NS_BUFTYPE_LARGE 2 |
| 26 | #define NS_BUFTYPE_HUGE 3 |
| 27 | #define NS_BUFTYPE_IOVEC 4 |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 28 | #endif |