comparison cdg-hybrid/cdginc/p_tcpip.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_tcpip.h |
5 | SOURCE : "sap\tcpip.pdf" |
6 | LastModified : "2003-09-05" |
7 | IdAndVersion : "8462.000.03.005" |
8 | SrcFileTime : "Thu Nov 29 09:55:14 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_TCPIP_H
24 #define P_TCPIP_H
25
26
27 #define CDG_ENTER__P_TCPIP_H
28
29 #define CDG_ENTER__FILENAME _P_TCPIP_H
30 #define CDG_ENTER__P_TCPIP_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_TCPIP_H__LAST_MODIFIED _2003_09_05
32 #define CDG_ENTER__P_TCPIP_H__ID_AND_VERSION _8462_000_03_005
33
34 #define CDG_ENTER__P_TCPIP_H__SRC_FILE_TIME _Thu_Nov_29_09_55_14_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_TCPIP_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_tcpip.val"
44
45
46 /*
47 * End of substructure section, begin of primitive definition section
48 */
49
50 #ifndef __T_TCPIP_INITIALIZE_REQ__
51 #define __T_TCPIP_INITIALIZE_REQ__
52 /*
53 *
54 * CCDGEN:WriteStruct_Count==1186
55 */
56 typedef struct
57 {
58 U8 dummy; /*< 0: 1> no parameters */
59 } T_TCPIP_INITIALIZE_REQ;
60 #endif
61
62 #ifndef __T_TCPIP_INITIALIZE_CNF__
63 #define __T_TCPIP_INITIALIZE_CNF__
64 /*
65 *
66 * CCDGEN:WriteStruct_Count==1187
67 */
68 typedef struct
69 {
70 U8 result; /*< 0: 1> Result code */
71 U8 _align0; /*< 1: 1> alignment */
72 U8 _align1; /*< 2: 1> alignment */
73 U8 _align2; /*< 3: 1> alignment */
74 } T_TCPIP_INITIALIZE_CNF;
75 #endif
76
77 #ifndef __T_TCPIP_SHUTDOWN_REQ__
78 #define __T_TCPIP_SHUTDOWN_REQ__
79 /*
80 *
81 * CCDGEN:WriteStruct_Count==1188
82 */
83 typedef struct
84 {
85 U8 dummy; /*< 0: 1> no parameters */
86 } T_TCPIP_SHUTDOWN_REQ;
87 #endif
88
89 #ifndef __T_TCPIP_SHUTDOWN_CNF__
90 #define __T_TCPIP_SHUTDOWN_CNF__
91 /*
92 *
93 * CCDGEN:WriteStruct_Count==1189
94 */
95 typedef struct
96 {
97 U8 result; /*< 0: 1> Result code */
98 U8 _align0; /*< 1: 1> alignment */
99 U8 _align1; /*< 2: 1> alignment */
100 U8 _align2; /*< 3: 1> alignment */
101 } T_TCPIP_SHUTDOWN_CNF;
102 #endif
103
104 #ifndef __T_TCPIP_IFCONFIG_REQ__
105 #define __T_TCPIP_IFCONFIG_REQ__
106 /*
107 *
108 * CCDGEN:WriteStruct_Count==1190
109 */
110 typedef struct
111 {
112 U8 if_up; /*< 0: 1> Interface Configuration direction */
113 U8 _align0; /*< 1: 1> alignment */
114 U16 mtu_size; /*< 2: 2> MTU size */
115 U32 ipaddr; /*< 4: 4> IP address */
116 U32 dnsaddr1; /*< 8: 4> IP address of first DNS server */
117 U32 dnsaddr2; /*< 12: 4> IP address of second DNS server */
118 } T_TCPIP_IFCONFIG_REQ;
119 #endif
120
121 #ifndef __T_TCPIP_IFCONFIG_CNF__
122 #define __T_TCPIP_IFCONFIG_CNF__
123 /*
124 *
125 * CCDGEN:WriteStruct_Count==1191
126 */
127 typedef struct
128 {
129 U8 result; /*< 0: 1> Result code */
130 U8 _align0; /*< 1: 1> alignment */
131 U8 _align1; /*< 2: 1> alignment */
132 U8 _align2; /*< 3: 1> alignment */
133 } T_TCPIP_IFCONFIG_CNF;
134 #endif
135
136 #ifndef __T_TCPIP_DTI_REQ__
137 #define __T_TCPIP_DTI_REQ__
138 /*
139 *
140 * CCDGEN:WriteStruct_Count==1192
141 */
142 typedef struct
143 {
144 U8 dti_conn; /*< 0: 1> Indicates to connect or disconnect DTI link */
145 U8 _align0; /*< 1: 1> alignment */
146 U8 _align1; /*< 2: 1> alignment */
147 U8 _align2; /*< 3: 1> alignment */
148 U32 entity_name; /*< 4: 4> DTI neighbor entity name */
149 U32 link_id; /*< 8: 4> DTI link identifier */
150 U8 dti_direction; /*< 12: 1> Direction of DTI connection */
151 U8 _align3; /*< 13: 1> alignment */
152 U8 _align4; /*< 14: 1> alignment */
153 U8 _align5; /*< 15: 1> alignment */
154 } T_TCPIP_DTI_REQ;
155 #endif
156
157 #ifndef __T_TCPIP_DTI_CNF__
158 #define __T_TCPIP_DTI_CNF__
159 /*
160 *
161 * CCDGEN:WriteStruct_Count==1193
162 */
163 typedef struct
164 {
165 U8 dti_conn; /*< 0: 1> Indicates to connect or disconnect DTI link */
166 U8 _align0; /*< 1: 1> alignment */
167 U8 _align1; /*< 2: 1> alignment */
168 U8 _align2; /*< 3: 1> alignment */
169 U32 link_id; /*< 4: 4> DTI link identifier */
170 } T_TCPIP_DTI_CNF;
171 #endif
172
173 #ifndef __T_TCPIP_CREATE_REQ__
174 #define __T_TCPIP_CREATE_REQ__
175 /*
176 *
177 * CCDGEN:WriteStruct_Count==1194
178 */
179 typedef struct
180 {
181 U32 app_handle; /*< 0: 4> Application communication handle */
182 U8 ipproto; /*< 4: 1> IP protocol identifier */
183 U8 _align0; /*< 5: 1> alignment */
184 U8 _align1; /*< 6: 1> alignment */
185 U8 _align2; /*< 7: 1> alignment */
186 U32 request_id; /*< 8: 4> Request ID */
187 } T_TCPIP_CREATE_REQ;
188 #endif
189
190 #ifndef __T_TCPIP_CREATE_CNF__
191 #define __T_TCPIP_CREATE_CNF__
192 /*
193 *
194 * CCDGEN:WriteStruct_Count==1195
195 */
196 typedef struct
197 {
198 U32 event_type; /*< 0: 4> Type of the event */
199 U8 result; /*< 4: 1> Result code */
200 U8 _align0; /*< 5: 1> alignment */
201 U8 _align1; /*< 6: 1> alignment */
202 U8 _align2; /*< 7: 1> alignment */
203 U32 socket; /*< 8: 4> Socket descriptor */
204 U32 request_id; /*< 12: 4> Request ID */
205 } T_TCPIP_CREATE_CNF;
206 #endif
207
208 #ifndef __T_TCPIP_CLOSE_REQ__
209 #define __T_TCPIP_CLOSE_REQ__
210 /*
211 *
212 * CCDGEN:WriteStruct_Count==1196
213 */
214 typedef struct
215 {
216 U32 app_handle; /*< 0: 4> Application communication handle */
217 U32 socket; /*< 4: 4> Socket descriptor */
218 } T_TCPIP_CLOSE_REQ;
219 #endif
220
221 #ifndef __T_TCPIP_CLOSE_CNF__
222 #define __T_TCPIP_CLOSE_CNF__
223 /*
224 *
225 * CCDGEN:WriteStruct_Count==1197
226 */
227 typedef struct
228 {
229 U32 event_type; /*< 0: 4> Type of the event */
230 U8 result; /*< 4: 1> Result code */
231 U8 _align0; /*< 5: 1> alignment */
232 U8 _align1; /*< 6: 1> alignment */
233 U8 _align2; /*< 7: 1> alignment */
234 U32 socket; /*< 8: 4> Socket descriptor */
235 } T_TCPIP_CLOSE_CNF;
236 #endif
237
238 #ifndef __T_TCPIP_BIND_REQ__
239 #define __T_TCPIP_BIND_REQ__
240 /*
241 *
242 * CCDGEN:WriteStruct_Count==1198
243 */
244 typedef struct
245 {
246 U32 app_handle; /*< 0: 4> Application communication handle */
247 U32 socket; /*< 4: 4> Socket descriptor */
248 U16 port; /*< 8: 2> Port number */
249 U8 _align0; /*< 10: 1> alignment */
250 U8 _align1; /*< 11: 1> alignment */
251 } T_TCPIP_BIND_REQ;
252 #endif
253
254 #ifndef __T_TCPIP_BIND_CNF__
255 #define __T_TCPIP_BIND_CNF__
256 /*
257 *
258 * CCDGEN:WriteStruct_Count==1199
259 */
260 typedef struct
261 {
262 U32 event_type; /*< 0: 4> Type of the event */
263 U8 result; /*< 4: 1> Result code */
264 U8 _align0; /*< 5: 1> alignment */
265 U8 _align1; /*< 6: 1> alignment */
266 U8 _align2; /*< 7: 1> alignment */
267 U32 socket; /*< 8: 4> Socket descriptor */
268 } T_TCPIP_BIND_CNF;
269 #endif
270
271 #ifndef __T_TCPIP_LISTEN_REQ__
272 #define __T_TCPIP_LISTEN_REQ__
273 /*
274 *
275 * CCDGEN:WriteStruct_Count==1200
276 */
277 typedef struct
278 {
279 U32 app_handle; /*< 0: 4> Application communication handle */
280 U32 socket; /*< 4: 4> Socket descriptor */
281 } T_TCPIP_LISTEN_REQ;
282 #endif
283
284 #ifndef __T_TCPIP_LISTEN_CNF__
285 #define __T_TCPIP_LISTEN_CNF__
286 /*
287 *
288 * CCDGEN:WriteStruct_Count==1201
289 */
290 typedef struct
291 {
292 U32 event_type; /*< 0: 4> Type of the event */
293 U8 result; /*< 4: 1> Result code */
294 U8 _align0; /*< 5: 1> alignment */
295 U8 _align1; /*< 6: 1> alignment */
296 U8 _align2; /*< 7: 1> alignment */
297 U32 socket; /*< 8: 4> Socket descriptor */
298 } T_TCPIP_LISTEN_CNF;
299 #endif
300
301 #ifndef __T_TCPIP_CONNECT_REQ__
302 #define __T_TCPIP_CONNECT_REQ__
303 /*
304 *
305 * CCDGEN:WriteStruct_Count==1202
306 */
307 typedef struct
308 {
309 U32 app_handle; /*< 0: 4> Application communication handle */
310 U32 socket; /*< 4: 4> Socket descriptor */
311 U32 ipaddr; /*< 8: 4> IP address */
312 U16 port; /*< 12: 2> Port number */
313 U8 _align0; /*< 14: 1> alignment */
314 U8 _align1; /*< 15: 1> alignment */
315 } T_TCPIP_CONNECT_REQ;
316 #endif
317
318 #ifndef __T_TCPIP_CONNECT_CNF__
319 #define __T_TCPIP_CONNECT_CNF__
320 /*
321 *
322 * CCDGEN:WriteStruct_Count==1203
323 */
324 typedef struct
325 {
326 U32 event_type; /*< 0: 4> Type of the event */
327 U8 result; /*< 4: 1> Result code */
328 U8 _align0; /*< 5: 1> alignment */
329 U8 _align1; /*< 6: 1> alignment */
330 U8 _align2; /*< 7: 1> alignment */
331 U32 socket; /*< 8: 4> Socket descriptor */
332 } T_TCPIP_CONNECT_CNF;
333 #endif
334
335 #ifndef __T_TCPIP_DATA_REQ__
336 #define __T_TCPIP_DATA_REQ__
337 /*
338 *
339 * CCDGEN:WriteStruct_Count==1204
340 */
341 typedef struct
342 {
343 U32 app_handle; /*< 0: 4> Application communication handle */
344 U32 socket; /*< 4: 4> Socket descriptor */
345 U32 ipaddr; /*< 8: 4> IP address */
346 U16 port; /*< 12: 2> Port number */
347 U16 buflen; /*< 14: 2> Data buffer length */
348 U32 data; /*< 16: 4> Address of payload data */
349 } T_TCPIP_DATA_REQ;
350 #endif
351
352 #ifndef __T_TCPIP_DATA_CNF__
353 #define __T_TCPIP_DATA_CNF__
354 /*
355 *
356 * CCDGEN:WriteStruct_Count==1205
357 */
358 typedef struct
359 {
360 U32 event_type; /*< 0: 4> Type of the event */
361 U8 result; /*< 4: 1> Result code */
362 U8 _align0; /*< 5: 1> alignment */
363 U8 _align1; /*< 6: 1> alignment */
364 U8 _align2; /*< 7: 1> alignment */
365 U32 socket; /*< 8: 4> Socket descriptor */
366 U32 window; /*< 12: 4> Flow control window size */
367 } T_TCPIP_DATA_CNF;
368 #endif
369
370 #ifndef __T_TCPIP_DATA_IND__
371 #define __T_TCPIP_DATA_IND__
372 /*
373 *
374 * CCDGEN:WriteStruct_Count==1206
375 */
376 typedef struct
377 {
378 U32 event_type; /*< 0: 4> Type of the event */
379 U8 result; /*< 4: 1> Result code */
380 U8 _align0; /*< 5: 1> alignment */
381 U8 _align1; /*< 6: 1> alignment */
382 U8 _align2; /*< 7: 1> alignment */
383 U32 socket; /*< 8: 4> Socket descriptor */
384 U32 ipaddr; /*< 12: 4> IP address */
385 U16 port; /*< 16: 2> Port number */
386 U16 buflen; /*< 18: 2> Data buffer length */
387 U32 data; /*< 20: 4> Address of payload data */
388 } T_TCPIP_DATA_IND;
389 #endif
390
391 #ifndef __T_TCPIP_DATA_RES__
392 #define __T_TCPIP_DATA_RES__
393 /*
394 *
395 * CCDGEN:WriteStruct_Count==1207
396 */
397 typedef struct
398 {
399 U32 app_handle; /*< 0: 4> Application communication handle */
400 U32 socket; /*< 4: 4> Socket descriptor */
401 U32 window; /*< 8: 4> Flow control window size */
402 } T_TCPIP_DATA_RES;
403 #endif
404
405 #ifndef __T_TCPIP_SOCKNAME_REQ__
406 #define __T_TCPIP_SOCKNAME_REQ__
407 /*
408 *
409 * CCDGEN:WriteStruct_Count==1208
410 */
411 typedef struct
412 {
413 U32 app_handle; /*< 0: 4> Application communication handle */
414 U32 socket; /*< 4: 4> Socket descriptor */
415 } T_TCPIP_SOCKNAME_REQ;
416 #endif
417
418 #ifndef __T_TCPIP_SOCKNAME_CNF__
419 #define __T_TCPIP_SOCKNAME_CNF__
420 /*
421 *
422 * CCDGEN:WriteStruct_Count==1209
423 */
424 typedef struct
425 {
426 U32 event_type; /*< 0: 4> Type of the event */
427 U8 result; /*< 4: 1> Result code */
428 U8 _align0; /*< 5: 1> alignment */
429 U8 _align1; /*< 6: 1> alignment */
430 U8 _align2; /*< 7: 1> alignment */
431 U32 socket; /*< 8: 4> Socket descriptor */
432 U32 ipaddr; /*< 12: 4> IP address */
433 U16 port; /*< 16: 2> Port number */
434 U8 _align3; /*< 18: 1> alignment */
435 U8 _align4; /*< 19: 1> alignment */
436 } T_TCPIP_SOCKNAME_CNF;
437 #endif
438
439 #ifndef __T_TCPIP_PEERNAME_REQ__
440 #define __T_TCPIP_PEERNAME_REQ__
441 /*
442 *
443 * CCDGEN:WriteStruct_Count==1210
444 */
445 typedef struct
446 {
447 U32 app_handle; /*< 0: 4> Application communication handle */
448 U32 socket; /*< 4: 4> Socket descriptor */
449 } T_TCPIP_PEERNAME_REQ;
450 #endif
451
452 #ifndef __T_TCPIP_PEERNAME_CNF__
453 #define __T_TCPIP_PEERNAME_CNF__
454 /*
455 *
456 * CCDGEN:WriteStruct_Count==1211
457 */
458 typedef struct
459 {
460 U32 event_type; /*< 0: 4> Type of the event */
461 U8 result; /*< 4: 1> Result code */
462 U8 _align0; /*< 5: 1> alignment */
463 U8 _align1; /*< 6: 1> alignment */
464 U8 _align2; /*< 7: 1> alignment */
465 U32 socket; /*< 8: 4> Socket descriptor */
466 U32 ipaddr; /*< 12: 4> IP address */
467 U16 port; /*< 16: 2> Port number */
468 U8 _align3; /*< 18: 1> alignment */
469 U8 _align4; /*< 19: 1> alignment */
470 } T_TCPIP_PEERNAME_CNF;
471 #endif
472
473 #ifndef __T_TCPIP_HOSTINFO_REQ__
474 #define __T_TCPIP_HOSTINFO_REQ__
475 /*
476 *
477 * CCDGEN:WriteStruct_Count==1212
478 */
479 typedef struct
480 {
481 U32 app_handle; /*< 0: 4> Application communication handle */
482 U32 ipaddr; /*< 4: 4> IP address */
483 U8 hostname[TCPIP_HNAMELEN]; /*< 8:256> Name of the host */
484 U32 request_id; /*<264: 4> Request ID */
485 } T_TCPIP_HOSTINFO_REQ;
486 #endif
487
488 #ifndef __T_TCPIP_HOSTINFO_CNF__
489 #define __T_TCPIP_HOSTINFO_CNF__
490 /*
491 *
492 * CCDGEN:WriteStruct_Count==1213
493 */
494 typedef struct
495 {
496 U32 event_type; /*< 0: 4> Type of the event */
497 U8 result; /*< 4: 1> Result code */
498 U8 _align0; /*< 5: 1> alignment */
499 U8 _align1; /*< 6: 1> alignment */
500 U8 _align2; /*< 7: 1> alignment */
501 U32 socket; /*< 8: 4> Socket descriptor */
502 U8 hostname[TCPIP_HNAMELEN]; /*< 12:256> Name of the host */
503 U32 ipaddr; /*<268: 4> IP address */
504 U32 request_id; /*<272: 4> Request ID */
505 } T_TCPIP_HOSTINFO_CNF;
506 #endif
507
508 #ifndef __T_TCPIP_MTU_SIZE_REQ__
509 #define __T_TCPIP_MTU_SIZE_REQ__
510 /*
511 *
512 * CCDGEN:WriteStruct_Count==1214
513 */
514 typedef struct
515 {
516 U32 app_handle; /*< 0: 4> Application communication handle */
517 U32 socket; /*< 4: 4> Socket descriptor */
518 } T_TCPIP_MTU_SIZE_REQ;
519 #endif
520
521 #ifndef __T_TCPIP_MTU_SIZE_CNF__
522 #define __T_TCPIP_MTU_SIZE_CNF__
523 /*
524 *
525 * CCDGEN:WriteStruct_Count==1215
526 */
527 typedef struct
528 {
529 U32 event_type; /*< 0: 4> Type of the event */
530 U8 result; /*< 4: 1> Result code */
531 U8 _align0; /*< 5: 1> alignment */
532 U8 _align1; /*< 6: 1> alignment */
533 U8 _align2; /*< 7: 1> alignment */
534 U32 socket; /*< 8: 4> Socket descriptor */
535 U16 mtu_size; /*< 12: 2> MTU size */
536 U8 _align3; /*< 14: 1> alignment */
537 U8 _align4; /*< 15: 1> alignment */
538 } T_TCPIP_MTU_SIZE_CNF;
539 #endif
540
541 #ifndef __T_TCPIP_CONNECT_IND__
542 #define __T_TCPIP_CONNECT_IND__
543 /*
544 *
545 * CCDGEN:WriteStruct_Count==1216
546 */
547 typedef struct
548 {
549 U32 event_type; /*< 0: 4> Type of the event */
550 U8 result; /*< 4: 1> Result code */
551 U8 _align0; /*< 5: 1> alignment */
552 U8 _align1; /*< 6: 1> alignment */
553 U8 _align2; /*< 7: 1> alignment */
554 U32 socket; /*< 8: 4> Socket descriptor */
555 U32 new_socket; /*< 12: 4> Socket descriptor */
556 U32 ipaddr; /*< 16: 4> IP address */
557 U16 port; /*< 20: 2> Port number */
558 U8 _align3; /*< 22: 1> alignment */
559 U8 _align4; /*< 23: 1> alignment */
560 } T_TCPIP_CONNECT_IND;
561 #endif
562
563 #ifndef __T_TCPIP_CONN_CLOSED_IND__
564 #define __T_TCPIP_CONN_CLOSED_IND__
565 /*
566 *
567 * CCDGEN:WriteStruct_Count==1217
568 */
569 typedef struct
570 {
571 U32 event_type; /*< 0: 4> Type of the event */
572 U8 result; /*< 4: 1> Result code */
573 U8 _align0; /*< 5: 1> alignment */
574 U8 _align1; /*< 6: 1> alignment */
575 U8 _align2; /*< 7: 1> alignment */
576 U32 socket; /*< 8: 4> Socket descriptor */
577 } T_TCPIP_CONN_CLOSED_IND;
578 #endif
579
580 #ifndef __T_TCPIP_ERROR_IND__
581 #define __T_TCPIP_ERROR_IND__
582 /*
583 *
584 * CCDGEN:WriteStruct_Count==1218
585 */
586 typedef struct
587 {
588 U32 event_type; /*< 0: 4> Type of the event */
589 U8 result; /*< 4: 1> Result code */
590 U8 _align0; /*< 5: 1> alignment */
591 U8 _align1; /*< 6: 1> alignment */
592 U8 _align2; /*< 7: 1> alignment */
593 U32 socket; /*< 8: 4> Socket descriptor */
594 } T_TCPIP_ERROR_IND;
595 #endif
596
597 #ifndef __T_TCPIP_INTERNAL_IND__
598 #define __T_TCPIP_INTERNAL_IND__
599 /*
600 *
601 * CCDGEN:WriteStruct_Count==1219
602 */
603 typedef struct
604 {
605 U32 msg_p; /*< 0: 4> Message pointer */
606 U32 msg_id; /*< 4: 4> Message ID */
607 } T_TCPIP_INTERNAL_IND;
608 #endif
609
610
611 #include "CDG_LEAVE.h"
612
613
614 #endif