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_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) 14 struct 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 }; 21 struct 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 31