blob: c03678c5125c03215d115e05c5fc2b156bf00f7d [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 */
Christopher Ferris7447a1c2022-10-04 18:24:44 -07007#ifndef LINUX_ATM_ZATM_H
8#define LINUX_ATM_ZATM_H
9#include <linux/atmapi.h>
10#include <linux/atmioc.h>
11#define ZATM_GETPOOL _IOW('a', ATMIOC_SARPRV + 1, struct atmif_sioc)
12#define ZATM_GETPOOLZ _IOW('a', ATMIOC_SARPRV + 2, struct atmif_sioc)
13#define ZATM_SETPOOL _IOW('a', ATMIOC_SARPRV + 3, struct atmif_sioc)
14struct zatm_pool_info {
15 int ref_count;
16 int low_water, high_water;
17 int rqa_count, rqu_count;
18 int offset, next_off;
19 int next_cnt, next_thres;
20};
21struct zatm_pool_req {
22 int pool_num;
23 struct zatm_pool_info info;
24};
25#define ZATM_OAM_POOL 0
26#define ZATM_AAL0_POOL 1
27#define ZATM_AAL5_POOL_BASE 2
28#define ZATM_LAST_POOL ZATM_AAL5_POOL_BASE + 10
29#define ZATM_TIMER_HISTORY_SIZE 16
30#endif