FreeCalypso > hg > fc-tourmaline
comparison cdg-hybrid/cdginc/p_rlp.h @ 14:35f7a1dc9f7d
cdg-hybrid: import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 07:15:38 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:83146a4ae927 | 14:35f7a1dc9f7d |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_rlp.h | | |
5 | SOURCE : "sap\rlp.pdf" | | |
6 | LastModified : "2002-04-22" | | |
7 | IdAndVersion : "8411.101.98.115" | | |
8 | SrcFileTime : "Thu Nov 29 09:51:48 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_RLP_H | |
24 #define P_RLP_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_RLP_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_RLP_H | |
30 #define CDG_ENTER__P_RLP_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_RLP_H__LAST_MODIFIED _2002_04_22 | |
32 #define CDG_ENTER__P_RLP_H__ID_AND_VERSION _8411_101_98_115 | |
33 | |
34 #define CDG_ENTER__P_RLP_H__SRC_FILE_TIME _Thu_Nov_29_09_51_48_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_RLP_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_rlp.val" | |
44 | |
45 | |
46 /* | |
47 * End of substructure section, begin of primitive definition section | |
48 */ | |
49 | |
50 #ifndef __T_RLP_ATTACH_REQ__ | |
51 #define __T_RLP_ATTACH_REQ__ | |
52 /* | |
53 * | |
54 * CCDGEN:WriteStruct_Count==2855 | |
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 numer 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.42 bis number of possible codewords */ | |
67 U8 p2; /*< 12: 1> v.42 bis maximum encodable string length */ | |
68 U8 _align1; /*< 13: 1> alignment */ | |
69 U16 bytes_per_prim; /*< 14: 2> bytes per primitive */ | |
70 U8 rate; /*< 16: 1> transmission rate */ | |
71 U8 _align2; /*< 17: 1> alignment */ | |
72 U8 _align3; /*< 18: 1> alignment */ | |
73 U8 _align4; /*< 19: 1> alignment */ | |
74 } T_RLP_ATTACH_REQ; | |
75 #endif | |
76 | |
77 #ifndef __T_RLP_DETACH_REQ__ | |
78 #define __T_RLP_DETACH_REQ__ | |
79 /* | |
80 * | |
81 * CCDGEN:WriteStruct_Count==2856 | |
82 */ | |
83 typedef struct | |
84 { | |
85 U8 dummy; /*< 0: 1> no parameters */ | |
86 } T_RLP_DETACH_REQ; | |
87 #endif | |
88 | |
89 #ifndef __T_RLP_DETACH_CNF__ | |
90 #define __T_RLP_DETACH_CNF__ | |
91 /* | |
92 * | |
93 * CCDGEN:WriteStruct_Count==2857 | |
94 */ | |
95 typedef struct | |
96 { | |
97 U8 dummy; /*< 0: 1> no parameters */ | |
98 } T_RLP_DETACH_CNF; | |
99 #endif | |
100 | |
101 #ifndef __T_RLP_CONNECT_REQ__ | |
102 #define __T_RLP_CONNECT_REQ__ | |
103 /* | |
104 * | |
105 * CCDGEN:WriteStruct_Count==2858 | |
106 */ | |
107 typedef struct | |
108 { | |
109 U8 dummy; /*< 0: 1> no parameters */ | |
110 } T_RLP_CONNECT_REQ; | |
111 #endif | |
112 | |
113 #ifndef __T_RLP_CONNECT_IND__ | |
114 #define __T_RLP_CONNECT_IND__ | |
115 /* | |
116 * | |
117 * CCDGEN:WriteStruct_Count==2859 | |
118 */ | |
119 typedef struct | |
120 { | |
121 U8 dummy; /*< 0: 1> no parameters */ | |
122 } T_RLP_CONNECT_IND; | |
123 #endif | |
124 | |
125 #ifndef __T_RLP_CONNECT_RES__ | |
126 #define __T_RLP_CONNECT_RES__ | |
127 /* | |
128 * | |
129 * CCDGEN:WriteStruct_Count==2860 | |
130 */ | |
131 typedef struct | |
132 { | |
133 U8 ack_flg; /*< 0: 1> acknowledge flag */ | |
134 U8 _align0; /*< 1: 1> alignment */ | |
135 U8 _align1; /*< 2: 1> alignment */ | |
136 U8 _align2; /*< 3: 1> alignment */ | |
137 } T_RLP_CONNECT_RES; | |
138 #endif | |
139 | |
140 #ifndef __T_RLP_CONNECT_CNF__ | |
141 #define __T_RLP_CONNECT_CNF__ | |
142 /* | |
143 * | |
144 * CCDGEN:WriteStruct_Count==2861 | |
145 */ | |
146 typedef struct | |
147 { | |
148 U8 ack_flg; /*< 0: 1> acknowledge flag */ | |
149 U8 _align0; /*< 1: 1> alignment */ | |
150 U8 _align1; /*< 2: 1> alignment */ | |
151 U8 _align2; /*< 3: 1> alignment */ | |
152 } T_RLP_CONNECT_CNF; | |
153 #endif | |
154 | |
155 #ifndef __T_RLP_DISC_REQ__ | |
156 #define __T_RLP_DISC_REQ__ | |
157 /* | |
158 * | |
159 * CCDGEN:WriteStruct_Count==2862 | |
160 */ | |
161 typedef struct | |
162 { | |
163 U8 dummy; /*< 0: 1> no parameters */ | |
164 } T_RLP_DISC_REQ; | |
165 #endif | |
166 | |
167 #ifndef __T_RLP_DISC_IND__ | |
168 #define __T_RLP_DISC_IND__ | |
169 /* | |
170 * | |
171 * CCDGEN:WriteStruct_Count==2863 | |
172 */ | |
173 typedef struct | |
174 { | |
175 U8 dummy; /*< 0: 1> no parameters */ | |
176 } T_RLP_DISC_IND; | |
177 #endif | |
178 | |
179 #ifndef __T_RLP_DISC_CNF__ | |
180 #define __T_RLP_DISC_CNF__ | |
181 /* | |
182 * | |
183 * CCDGEN:WriteStruct_Count==2864 | |
184 */ | |
185 typedef struct | |
186 { | |
187 U8 dummy; /*< 0: 1> no parameters */ | |
188 } T_RLP_DISC_CNF; | |
189 #endif | |
190 | |
191 #ifndef __T_RLP_RESET_REQ__ | |
192 #define __T_RLP_RESET_REQ__ | |
193 /* | |
194 * | |
195 * CCDGEN:WriteStruct_Count==2865 | |
196 */ | |
197 typedef struct | |
198 { | |
199 U8 dummy; /*< 0: 1> no parameters */ | |
200 } T_RLP_RESET_REQ; | |
201 #endif | |
202 | |
203 #ifndef __T_RLP_RESET_IND__ | |
204 #define __T_RLP_RESET_IND__ | |
205 /* | |
206 * | |
207 * CCDGEN:WriteStruct_Count==2866 | |
208 */ | |
209 typedef struct | |
210 { | |
211 U8 dummy; /*< 0: 1> no parameters */ | |
212 } T_RLP_RESET_IND; | |
213 #endif | |
214 | |
215 #ifndef __T_RLP_RESET_RES__ | |
216 #define __T_RLP_RESET_RES__ | |
217 /* | |
218 * | |
219 * CCDGEN:WriteStruct_Count==2867 | |
220 */ | |
221 typedef struct | |
222 { | |
223 U8 dummy; /*< 0: 1> no parameters */ | |
224 } T_RLP_RESET_RES; | |
225 #endif | |
226 | |
227 #ifndef __T_RLP_RESET_CNF__ | |
228 #define __T_RLP_RESET_CNF__ | |
229 /* | |
230 * | |
231 * CCDGEN:WriteStruct_Count==2868 | |
232 */ | |
233 typedef struct | |
234 { | |
235 U8 dummy; /*< 0: 1> no parameters */ | |
236 } T_RLP_RESET_CNF; | |
237 #endif | |
238 | |
239 #ifndef __T_RLP_READY_IND__ | |
240 #define __T_RLP_READY_IND__ | |
241 /* | |
242 * | |
243 * CCDGEN:WriteStruct_Count==2869 | |
244 */ | |
245 typedef struct | |
246 { | |
247 U8 dummy; /*< 0: 1> no parameters */ | |
248 } T_RLP_READY_IND; | |
249 #endif | |
250 | |
251 #ifndef __T_RLP_DATA_REQ__ | |
252 #define __T_RLP_DATA_REQ__ | |
253 /* | |
254 * | |
255 * CCDGEN:WriteStruct_Count==2870 | |
256 */ | |
257 typedef struct | |
258 { | |
259 U8 reserved[4]; /*< 0: 4> Reserved */ | |
260 T_sdu sdu; /*< 4: ? > Service Data Unit */ | |
261 } T_RLP_DATA_REQ; | |
262 #endif | |
263 | |
264 #ifndef __T_RLP_GETDATA_REQ__ | |
265 #define __T_RLP_GETDATA_REQ__ | |
266 /* | |
267 * | |
268 * CCDGEN:WriteStruct_Count==2871 | |
269 */ | |
270 typedef struct | |
271 { | |
272 U8 dummy; /*< 0: 1> no parameters */ | |
273 } T_RLP_GETDATA_REQ; | |
274 #endif | |
275 | |
276 #ifndef __T_RLP_DATA_IND__ | |
277 #define __T_RLP_DATA_IND__ | |
278 /* | |
279 * | |
280 * CCDGEN:WriteStruct_Count==2872 | |
281 */ | |
282 typedef struct | |
283 { | |
284 U16 data_size; /*< 0: 2> data size */ | |
285 U8 reserved[2]; /*< 2: 2> Reserved */ | |
286 T_sdu sdu; /*< 4: ? > Service Data Unit */ | |
287 } T_RLP_DATA_IND; | |
288 #endif | |
289 | |
290 #ifndef __T_RLP_UI_REQ__ | |
291 #define __T_RLP_UI_REQ__ | |
292 /* | |
293 * | |
294 * CCDGEN:WriteStruct_Count==2873 | |
295 */ | |
296 typedef struct | |
297 { | |
298 T_sdu sdu; /*< 0: ? > Service Data Unit */ | |
299 } T_RLP_UI_REQ; | |
300 #endif | |
301 | |
302 #ifndef __T_RLP_UI_IND__ | |
303 #define __T_RLP_UI_IND__ | |
304 /* | |
305 * | |
306 * CCDGEN:WriteStruct_Count==2874 | |
307 */ | |
308 typedef struct | |
309 { | |
310 T_sdu sdu; /*< 0: ? > Service Data Unit */ | |
311 } T_RLP_UI_IND; | |
312 #endif | |
313 | |
314 #ifndef __T_RLP_XID_IND__ | |
315 #define __T_RLP_XID_IND__ | |
316 /* | |
317 * | |
318 * CCDGEN:WriteStruct_Count==2875 | |
319 */ | |
320 typedef struct | |
321 { | |
322 U8 rlp_vers; /*< 0: 1> rlp version number */ | |
323 U8 _align0; /*< 1: 1> alignment */ | |
324 U16 k_ms_iwf; /*< 2: 2> window size ms -> iwf */ | |
325 U16 k_iwf_ms; /*< 4: 2> window size iwf -> ms */ | |
326 U8 t1; /*< 6: 1> acknowledge timer */ | |
327 U8 t2; /*< 7: 1> reply delay */ | |
328 U8 n2; /*< 8: 1> maximum numer of retransmission attempts */ | |
329 U8 pt; /*< 9: 1> type of data compression */ | |
330 U8 p0; /*< 10: 1> v.42bis data compression direction */ | |
331 U8 _align1; /*< 11: 1> alignment */ | |
332 U16 p1; /*< 12: 2> v.42 bis number of possible codewords */ | |
333 U8 p2; /*< 14: 1> v.42 bis maximum encodable string length */ | |
334 U8 _align2; /*< 15: 1> alignment */ | |
335 } T_RLP_XID_IND; | |
336 #endif | |
337 | |
338 #ifndef __T_RLP_ERROR_IND__ | |
339 #define __T_RLP_ERROR_IND__ | |
340 /* | |
341 * | |
342 * CCDGEN:WriteStruct_Count==2876 | |
343 */ | |
344 typedef struct | |
345 { | |
346 U16 cause; /*< 0: 2> cause */ | |
347 U8 _align0; /*< 2: 1> alignment */ | |
348 U8 _align1; /*< 3: 1> alignment */ | |
349 } T_RLP_ERROR_IND; | |
350 #endif | |
351 | |
352 #ifndef __T_RLP_STATISTIC_IND__ | |
353 #define __T_RLP_STATISTIC_IND__ | |
354 /* | |
355 * | |
356 * CCDGEN:WriteStruct_Count==2877 | |
357 */ | |
358 typedef struct | |
359 { | |
360 U32 error_rate; /*< 0: 4> error_rate */ | |
361 } T_RLP_STATISTIC_IND; | |
362 #endif | |
363 | |
364 #ifndef __T_RLP_REMAP_REQ__ | |
365 #define __T_RLP_REMAP_REQ__ | |
366 /* | |
367 * | |
368 * CCDGEN:WriteStruct_Count==2878 | |
369 */ | |
370 typedef struct | |
371 { | |
372 U8 rate; /*< 0: 1> transmission rate */ | |
373 U8 _align0; /*< 1: 1> alignment */ | |
374 U8 _align1; /*< 2: 1> alignment */ | |
375 U8 _align2; /*< 3: 1> alignment */ | |
376 } T_RLP_REMAP_REQ; | |
377 #endif | |
378 | |
379 #ifndef __T_RLP_REMAP_CNF__ | |
380 #define __T_RLP_REMAP_CNF__ | |
381 /* | |
382 * | |
383 * CCDGEN:WriteStruct_Count==2879 | |
384 */ | |
385 typedef struct | |
386 { | |
387 U8 dummy; /*< 0: 1> no parameters */ | |
388 } T_RLP_REMAP_CNF; | |
389 #endif | |
390 | |
391 #ifndef __T_RLP_REMAP_DATA_IND__ | |
392 #define __T_RLP_REMAP_DATA_IND__ | |
393 /* | |
394 * | |
395 * CCDGEN:WriteStruct_Count==2880 | |
396 */ | |
397 typedef struct | |
398 { | |
399 U16 data_size; /*< 0: 2> data size */ | |
400 U8 reserved[2]; /*< 2: 2> Reserved */ | |
401 T_sdu sdu; /*< 4: ? > Service Data Unit */ | |
402 } T_RLP_REMAP_DATA_IND; | |
403 #endif | |
404 | |
405 #ifndef __T_RLP_REMAP_DATA_RES__ | |
406 #define __T_RLP_REMAP_DATA_RES__ | |
407 /* | |
408 * | |
409 * CCDGEN:WriteStruct_Count==2881 | |
410 */ | |
411 typedef struct | |
412 { | |
413 U8 dummy; /*< 0: 1> no parameters */ | |
414 } T_RLP_REMAP_DATA_RES; | |
415 #endif | |
416 | |
417 | |
418 #include "CDG_LEAVE.h" | |
419 | |
420 | |
421 #endif |