1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_ATMSAP_H
13 #define _LINUX_ATMSAP_H
15 #include <linux/atmapi.h>
18 #define ATM_L2_ISO1745 0x01
19 #define ATM_L2_Q291 0x02
20 #define ATM_L2_X25_LL 0x06
21 #define ATM_L2_X25_ML 0x07
22 #define ATM_L2_LAPB 0x08
23 #define ATM_L2_HDLC_ARM 0x09
24 #define ATM_L2_HDLC_NRM 0x0a
25 #define ATM_L2_HDLC_ABM 0x0b
26 #define ATM_L2_ISO8802 0x0c
27 #define ATM_L2_X75 0x0d
28 #define ATM_L2_Q922 0x0e
29 #define ATM_L2_USER 0x10
30 #define ATM_L2_ISO7776 0x11
33 #define ATM_L3_X25 0x06
34 #define ATM_L3_ISO8208 0x07
35 #define ATM_L3_X223 0x08
36 #define ATM_L3_ISO8473 0x09
37 #define ATM_L3_T70 0x0a
38 #define ATM_L3_TR9577 0x0b
39 #define ATM_L3_H310 0x0c
40 #define ATM_L3_H321 0x0d
41 #define ATM_L3_USER 0x10
44 #define ATM_HL_ISO 0x01
45 #define ATM_HL_USER 0x02
46 #define ATM_HL_HLP 0x03
47 #define ATM_HL_VENDOR 0x04
49 #define ATM_IMD_NONE 0
50 #define ATM_IMD_NORMAL 1
51 #define ATM_IMD_EXTENDED 2
60 #define ATM_MC_TS_FEC 2
62 #define ATM_MC_PS_FEC 4
68 unsigned char l2_proto;
77 unsigned char l3_proto;
82 unsigned char def_size;
88 unsigned char term_type;
89 unsigned char fw_mpx_cap;
91 unsigned char bw_mpx_cap;
96 unsigned char snap[5];
103 unsigned char hl_type;
104 unsigned char hl_length;
106 unsigned char hl_info[ATM_MAX_HLI];
109 #define ATM_MAX_BLLI 3
112 struct atm_bhli bhli;
113 struct atm_blli blli[ATM_MAX_BLLI] __ATM_API_ALIGN;