comparison cdg-hybrid/cdginc/p_l2r.h @ 212:e7a67accfad9

cdg-hybrid cdginc headers created
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Oct 2016 21:52:58 +0000
parents
children
comparison
equal deleted inserted replaced
211:02269c474131 212:e7a67accfad9
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_l2r.h |
5 | SOURCE : "sap\l2r.pdf" |
6 | LastModified : "2001-10-31" |
7 | IdAndVersion : "8411.102.01.124" |
8 | SrcFileTime : "Thu Nov 29 09:44:22 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_L2R_H
24 #define P_L2R_H
25
26
27 #define CDG_ENTER__P_L2R_H
28
29 #define CDG_ENTER__FILENAME _P_L2R_H
30 #define CDG_ENTER__P_L2R_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_L2R_H__LAST_MODIFIED _2001_10_31
32 #define CDG_ENTER__P_L2R_H__ID_AND_VERSION _8411_102_01_124
33
34 #define CDG_ENTER__P_L2R_H__SRC_FILE_TIME _Thu_Nov_29_09_44_22_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_L2R_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_l2r.val"
44
45
46 /*
47 * End of substructure section, begin of primitive definition section
48 */
49
50 #ifndef __T_L2R_ACTIVATE_REQ__
51 #define __T_L2R_ACTIVATE_REQ__
52 /*
53 *
54 * CCDGEN:WriteStruct_Count==1708
55 */
56 typedef struct
57 {
58 U16 k_ms_iwf; /*< 0: 2> window size ms -> iwf */
59 U16 k_iwf_ms; /*< 2: 2> window size iwf -> ms */
60 U8 t1; /*< 4: 1> acknowledge timer */
61 U8 t2; /*< 5: 1> reply delay */
62 U8 n2; /*< 6: 1> maximum number of retransmission attempts */
63 U8 pt; /*< 7: 1> type of data compression */
64 U8 p0; /*< 8: 1> v.42bis data compression direction */
65 U8 _align0; /*< 9: 1> alignment */
66 U16 p1; /*< 10: 2> v.42bis number of possible codewords */
67 U8 p2; /*< 12: 1> v.42bis maximum encodable string length */
68 U8 uil2p; /*< 13: 1> user information layer 2 protocol */
69 U16 bytes_per_prim; /*< 14: 2> bytes per primitive */
70 U16 buffer_size; /*< 16: 2> buffer size in bytes */
71 U8 rate; /*< 18: 1> transmission rate */
72 U8 _align1; /*< 19: 1> alignment */
73 } T_L2R_ACTIVATE_REQ;
74 #endif
75
76 #ifndef __T_L2R_ACTIVATE_CNF__
77 #define __T_L2R_ACTIVATE_CNF__
78 /*
79 *
80 * CCDGEN:WriteStruct_Count==1709
81 */
82 typedef struct
83 {
84 U8 ack_flg; /*< 0: 1> acknowledge flag */
85 U8 _align0; /*< 1: 1> alignment */
86 U8 _align1; /*< 2: 1> alignment */
87 U8 _align2; /*< 3: 1> alignment */
88 } T_L2R_ACTIVATE_CNF;
89 #endif
90
91 #ifndef __T_L2R_DEACTIVATE_REQ__
92 #define __T_L2R_DEACTIVATE_REQ__
93 /*
94 *
95 * CCDGEN:WriteStruct_Count==1710
96 */
97 typedef struct
98 {
99 U8 dummy; /*< 0: 1> no parameters */
100 } T_L2R_DEACTIVATE_REQ;
101 #endif
102
103 #ifndef __T_L2R_DEACTIVATE_CNF__
104 #define __T_L2R_DEACTIVATE_CNF__
105 /*
106 *
107 * CCDGEN:WriteStruct_Count==1711
108 */
109 typedef struct
110 {
111 U8 dummy; /*< 0: 1> no parameters */
112 } T_L2R_DEACTIVATE_CNF;
113 #endif
114
115 #ifndef __T_L2R_CONNECT_REQ__
116 #define __T_L2R_CONNECT_REQ__
117 /*
118 *
119 * CCDGEN:WriteStruct_Count==1712
120 */
121 typedef struct
122 {
123 U8 dummy; /*< 0: 1> no parameters */
124 } T_L2R_CONNECT_REQ;
125 #endif
126
127 #ifndef __T_L2R_CONNECT_CNF__
128 #define __T_L2R_CONNECT_CNF__
129 /*
130 *
131 * CCDGEN:WriteStruct_Count==1713
132 */
133 typedef struct
134 {
135 U8 ack_flg; /*< 0: 1> acknowledge flag */
136 U8 _align0; /*< 1: 1> alignment */
137 U8 _align1; /*< 2: 1> alignment */
138 U8 _align2; /*< 3: 1> alignment */
139 } T_L2R_CONNECT_CNF;
140 #endif
141
142 #ifndef __T_L2R_CONNECT_IND__
143 #define __T_L2R_CONNECT_IND__
144 /*
145 *
146 * CCDGEN:WriteStruct_Count==1714
147 */
148 typedef struct
149 {
150 U8 dummy; /*< 0: 1> no parameters */
151 } T_L2R_CONNECT_IND;
152 #endif
153
154 #ifndef __T_L2R_DISC_REQ__
155 #define __T_L2R_DISC_REQ__
156 /*
157 *
158 * CCDGEN:WriteStruct_Count==1715
159 */
160 typedef struct
161 {
162 U8 dummy; /*< 0: 1> no parameters */
163 } T_L2R_DISC_REQ;
164 #endif
165
166 #ifndef __T_L2R_DISC_CNF__
167 #define __T_L2R_DISC_CNF__
168 /*
169 *
170 * CCDGEN:WriteStruct_Count==1716
171 */
172 typedef struct
173 {
174 U8 dummy; /*< 0: 1> no parameters */
175 } T_L2R_DISC_CNF;
176 #endif
177
178 #ifndef __T_L2R_DISC_IND__
179 #define __T_L2R_DISC_IND__
180 /*
181 *
182 * CCDGEN:WriteStruct_Count==1717
183 */
184 typedef struct
185 {
186 U8 dummy; /*< 0: 1> no parameters */
187 } T_L2R_DISC_IND;
188 #endif
189
190 #ifndef __T_L2R_XID_IND__
191 #define __T_L2R_XID_IND__
192 /*
193 *
194 * CCDGEN:WriteStruct_Count==1718
195 */
196 typedef struct
197 {
198 U8 rlp_vers; /*< 0: 1> rlp version number */
199 U8 _align0; /*< 1: 1> alignment */
200 U16 k_ms_iwf; /*< 2: 2> window size ms -> iwf */
201 U16 k_iwf_ms; /*< 4: 2> window size iwf -> ms */
202 U8 t1; /*< 6: 1> acknowledge timer */
203 U8 t2; /*< 7: 1> reply delay */
204 U8 n2; /*< 8: 1> maximum number of retransmission attempts */
205 U8 pt; /*< 9: 1> type of data compression */
206 U8 p0; /*< 10: 1> v.42bis data compression direction */
207 U8 _align1; /*< 11: 1> alignment */
208 U16 p1; /*< 12: 2> v.42bis number of possible codewords */
209 U8 p2; /*< 14: 1> v.42bis maximum encodable string length */
210 U8 _align2; /*< 15: 1> alignment */
211 } T_L2R_XID_IND;
212 #endif
213
214 #ifndef __T_L2R_ERROR_IND__
215 #define __T_L2R_ERROR_IND__
216 /*
217 *
218 * CCDGEN:WriteStruct_Count==1719
219 */
220 typedef struct
221 {
222 U16 cause; /*< 0: 2> error cause */
223 U8 _align0; /*< 2: 1> alignment */
224 U8 _align1; /*< 3: 1> alignment */
225 } T_L2R_ERROR_IND;
226 #endif
227
228 #ifndef __T_L2R_RESET_IND__
229 #define __T_L2R_RESET_IND__
230 /*
231 *
232 * CCDGEN:WriteStruct_Count==1720
233 */
234 typedef struct
235 {
236 U8 dummy; /*< 0: 1> no parameters */
237 } T_L2R_RESET_IND;
238 #endif
239
240 #ifndef __T_L2R_STATISTIC_IND__
241 #define __T_L2R_STATISTIC_IND__
242 /*
243 *
244 * CCDGEN:WriteStruct_Count==1721
245 */
246 typedef struct
247 {
248 U32 error_rate; /*< 0: 4> error_rate */
249 } T_L2R_STATISTIC_IND;
250 #endif
251
252 #ifndef __T_L2R_DTI_REQ__
253 #define __T_L2R_DTI_REQ__
254 /*
255 *
256 * CCDGEN:WriteStruct_Count==1722
257 */
258 typedef struct
259 {
260 U8 dti_conn; /*< 0: 1> DTI connect */
261 U8 entity_name[L2R_ENTITY_NAME_LEN]; /*< 1: 6> name of an neighbour entity */
262 U8 _align0; /*< 7: 1> alignment */
263 U32 link_id; /*< 8: 4> Link identifier */
264 U8 dti_direction; /*< 12: 1> DTI direction */
265 U8 _align1; /*< 13: 1> alignment */
266 U8 _align2; /*< 14: 1> alignment */
267 U8 _align3; /*< 15: 1> alignment */
268 } T_L2R_DTI_REQ;
269 #endif
270
271 #ifndef __T_L2R_DTI_CNF__
272 #define __T_L2R_DTI_CNF__
273 /*
274 *
275 * CCDGEN:WriteStruct_Count==1723
276 */
277 typedef struct
278 {
279 U8 dti_conn; /*< 0: 1> DTI connect */
280 U8 _align0; /*< 1: 1> alignment */
281 U8 _align1; /*< 2: 1> alignment */
282 U8 _align2; /*< 3: 1> alignment */
283 U32 link_id; /*< 4: 4> Link identifier */
284 } T_L2R_DTI_CNF;
285 #endif
286
287 #ifndef __T_L2R_DTI_IND__
288 #define __T_L2R_DTI_IND__
289 /*
290 *
291 * CCDGEN:WriteStruct_Count==1724
292 */
293 typedef struct
294 {
295 U32 link_id; /*< 0: 4> Link identifier */
296 } T_L2R_DTI_IND;
297 #endif
298
299 #ifndef __T_L2R_CHANGE_RATE_REQ__
300 #define __T_L2R_CHANGE_RATE_REQ__
301 /*
302 *
303 * CCDGEN:WriteStruct_Count==1725
304 */
305 typedef struct
306 {
307 U8 rate; /*< 0: 1> transmission rate */
308 U8 _align0; /*< 1: 1> alignment */
309 U8 _align1; /*< 2: 1> alignment */
310 U8 _align2; /*< 3: 1> alignment */
311 } T_L2R_CHANGE_RATE_REQ;
312 #endif
313
314
315 #include "CDG_LEAVE.h"
316
317
318 #endif