atmsvc.h
01:
02:
03:
04:
05:
06: #ifndef _LINUX_ATMSVC_H
07: #define _LINUX_ATMSVC_H
08:
09: #include <linux/atmapi.h>
10: #include <linux/atm.h>
11: #include <linux/atmioc.h>
12:
13:
14: #define ATMSIGD_CTRL _IO('a',ATMIOC_SPECIAL)
15:
16:
17: enum atmsvc_msg_type { as_catch_null, as_bind, as_connect, as_accept, as_reject,
18: as_listen, as_okay, as_error, as_indicate, as_close,
19: as_itf_notify, as_modify, as_identify, as_terminate,
20: as_addparty, as_dropparty };
21:
22: struct atmsvc_msg {
23: enum atmsvc_msg_type type;
24: atm_kptr_t vcc;
25: atm_kptr_t listen_vcc;
26: int reply;
27:
28:
29:
30:
31:
32: struct sockaddr_atmpvc pvc;
33: struct sockaddr_atmsvc local;
34: struct atm_qos qos;
35: struct atm_sap sap;
36: unsigned int session;
37: struct sockaddr_atmsvc svc;
38: } __ATM_API_ALIGN;
39:
40:
41: ftp://icaftp.epfl.ch/pub/linux/atm/docs/isp-
42:
43:
44:
45:
46:
47:
48:
49:
50:
51: #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \
52: (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \
53: (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
54:
55: #endif
56:
© Andrew Scott 2006 -
2025,
All Rights Reserved