atm_zatm.h
01:
02:
03:
04:
05:
06:
07: #ifndef LINUX_ATM_ZATM_H
08: #define LINUX_ATM_ZATM_H
09:
10:
11:
12:
13:
14:
15: #include <linux/atmapi.h>
16: #include <linux/atmioc.h>
17:
18: #define ZATM_GETPOOL _IOW('a',ATMIOC_SARPRV+1,struct atmif_sioc)
19:
20: #define ZATM_GETPOOLZ _IOW('a',ATMIOC_SARPRV+2,struct atmif_sioc)
21:
22: #define ZATM_SETPOOL _IOW('a',ATMIOC_SARPRV+3,struct atmif_sioc)
23:
24:
25: struct zatm_pool_info {
26: int ref_count;
27: int low_water,high_water;
28: int rqa_count,rqu_count;
29: int offset,next_off;
30: int next_cnt,next_thres;
31: };
32:
33: struct zatm_pool_req {
34: int pool_num;
35: struct zatm_pool_info info;
36: };
37:
38: struct zatm_t_hist {
39: struct timeval real;
40: struct timeval expected;
41: };
42:
43:
44: #define ZATM_OAM_POOL 0
45: #define ZATM_AAL0_POOL 1
46: #define ZATM_AAL5_POOL_BASE 2
47: #define ZATM_LAST_POOL ZATM_AAL5_POOL_BASE+10
48:
49: #define ZATM_TIMER_HISTORY_SIZE 16
50:
51:
52: #endif
53:
© Andrew Scott 2006 -
2025,
All Rights Reserved