blob: 15585a1952e5d46b424bc3ef1818fa111e098dbb [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 Cheng655a7c02013-10-16 16:09:24 -07007#ifndef LINUX_ATM_NICSTAR_H
8#define LINUX_ATM_NICSTAR_H
9#include <linux/atmapi.h>
10#include <linux/atmioc.h>
Tao Baod7db5942015-01-28 10:07:51 -080011#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)
14typedef struct buf_nr {
Tao Baod7db5942015-01-28 10:07:51 -080015 unsigned min;
16 unsigned init;
17 unsigned max;
18} buf_nr;
Tao Baod7db5942015-01-28 10:07:51 -080019typedef struct pool_levels {
20 int buftype;
21 int count;
22 buf_nr level;
Ben Cheng655a7c02013-10-16 16:09:24 -070023} pool_levels;
24#define NS_BUFTYPE_SMALL 1
Ben Cheng655a7c02013-10-16 16:09:24 -070025#define NS_BUFTYPE_LARGE 2
26#define NS_BUFTYPE_HUGE 3
27#define NS_BUFTYPE_IOVEC 4
Nick Kralevicha67e4de2013-01-14 11:28:26 -080028#endif