FreeCalypso > hg > fc-magnetite
annotate cdg211/cdginc/p_ppp.h @ 516:1ed9de6c90bd
src/g23m-gsm/sms/sms_for.c: bogus malloc removed
The new error handling code that was not present in TCS211 blob version
contains a malloc call that is bogus for 3 reasons:
1) The memory allocation in question is not needed in the first place;
2) libc malloc is used instead of one of the firmware's proper ways;
3) The memory allocation is made inside a function and then never freed,
i.e., a memory leak.
This bug was caught in gcc-built FreeCalypso fw projects (Citrine
and Selenite) because our gcc environment does not allow any use of
libc malloc (any reference to malloc produces a link failure),
but this code from TCS3.2 is wrong even for Magnetite: if this code
path is executed repeatedly over a long time, the many small allocations
made by this malloc call without a subsequent free will eventually
exhaust the malloc heap provided by the TMS470 environment, malloc will
start returning NULL, and the bogus code will treat it as an error.
Because the memory allocation in question is not needed at all,
the fix entails simply removing it.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 22 Jul 2018 06:04:49 +0000 |
parents | 56abf6cf8a0b |
children |
rev | line source |
---|---|
4
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 +--------------------------------------------------------------------------+ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 | PROJECT : PROTOCOL STACK | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 | FILE : p_ppp.h | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 | SOURCE : "__out__\g23m_dfile\prim\ppp.pdf" | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 | LastModified : "2002-10-21" | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 | IdAndVersion : "8441.116.99.016" | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 | SrcFileTime : "Mon Nov 24 15:50:56 2003" | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:16 2007 | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 +--------------------------------------------------------------------------+ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 /* PRAGMAS |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 * PREFIX : NONE |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 * ALWAYS_ENUM_IN_VAL_FILE: NO |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 * ENABLE_GROUP: NO |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 * CAPITALIZE_TYPENAME: NO |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 #ifndef P_PPP_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 #define P_PPP_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 #define CDG_ENTER__P_PPP_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 #define CDG_ENTER__FILENAME _P_PPP_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 #define CDG_ENTER__P_PPP_H__FILE_TYPE CDGINC |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 #define CDG_ENTER__P_PPP_H__LAST_MODIFIED _2002_10_21 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 #define CDG_ENTER__P_PPP_H__ID_AND_VERSION _8441_116_99_016 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 #define CDG_ENTER__P_PPP_H__SRC_FILE_TIME _Mon_Nov_24_15_50_56_2003 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 #include "CDG_ENTER.h" |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 #undef CDG_ENTER__P_PPP_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 #undef CDG_ENTER__FILENAME |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 #include "p_ppp.val" |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 #ifndef __T_peer_channel__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 #define __T_peer_channel__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 * PPP-peer communication channel name |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 * CCDGEN:WriteStruct_Count==1876 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 U8 peer_entity[6]; /*< 0: 6> PPP-peer communication channel name value */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 U8 _align0; /*< 6: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 U8 _align1; /*< 7: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 } T_peer_channel; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 #ifndef __T_protocol_channel__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 #define __T_protocol_channel__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 * network protocol communication channel name |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 * CCDGEN:WriteStruct_Count==1877 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 U8 protocol_entity[6]; /*< 0: 6> network protocol communication channel name value */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 U8 _align0; /*< 6: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 U8 _align1; /*< 7: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 } T_protocol_channel; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 #ifndef __T_login__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 #define __T_login__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 * authentication values |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 * CCDGEN:WriteStruct_Count==1878 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 U8 name_len; /*< 0: 1> length of name */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 U8 name[PPP_LOGIN_NAME_LENGTH]; /*< 1: 25> login name */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 U8 password_len; /*< 26: 1> length of password */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 U8 password[PPP_LOGIN_NAME_LENGTH]; /*< 27: 25> login password */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 } T_login; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 * End of substructure section, begin of primitive definition section |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 #ifndef __T_PPP_ESTABLISH_REQ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 #define __T_PPP_ESTABLISH_REQ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 * CCDGEN:WriteStruct_Count==1881 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 U8 mode; /*< 0: 1> working mode */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 U8 _align0; /*< 1: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 U16 mru; /*< 2: 2> maximum receive unit */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 U8 ap; /*< 4: 1> authentication protocol */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 U8 _align1; /*< 5: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 U8 _align2; /*< 6: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 U8 _align3; /*< 7: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 T_login login; /*< 8: 52> authentication values */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 U32 accm; /*< 60: 4> async control character map */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 U8 rt; /*< 64: 1> restart timer */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 U8 mc; /*< 65: 1> max configure */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 U8 mt; /*< 66: 1> max terminate */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 U8 mf; /*< 67: 1> max failure */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 U8 ppp_hc; /*< 68: 1> header compression of PPP connection */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 U8 _align4; /*< 69: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 U8 _align5; /*< 70: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 U8 _align6; /*< 71: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 U32 ip; /*< 72: 4> Internet Protocol address */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 U32 dns1; /*< 76: 4> primary DNS server address */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 U32 dns2; /*< 80: 4> secondary DNS server address */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 T_peer_channel peer_channel; /*< 84: 8> PPP-peer communication channel name */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 T_protocol_channel protocol_channel; /*< 92: 8> network protocol communication channel name */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 U8 peer_direction; /*<100: 1> Direction for the Peer Layer */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 U8 prot_direction; /*<101: 1> Direction for the Protocol Layer */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 U8 _align7; /*<102: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 U8 _align8; /*<103: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 U32 peer_link_id; /*<104: 4> Link Id to Peer Layer */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 U32 prot_link_id; /*<108: 4> Link Id to Protocol Layer */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 } T_PPP_ESTABLISH_REQ; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 #ifndef __T_PPP_ESTABLISH_CNF__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 #define __T_PPP_ESTABLISH_CNF__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 * CCDGEN:WriteStruct_Count==1882 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 U16 mru; /*< 0: 2> maximum receive unit */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 U8 ppp_hc; /*< 2: 1> header compression of PPP connection */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 U8 msid; /*< 3: 1> max slot identifier */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 U32 ip; /*< 4: 4> Internet Protocol address */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 U32 dns1; /*< 8: 4> primary DNS server address */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 U32 dns2; /*< 12: 4> secondary DNS server address */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 } T_PPP_ESTABLISH_CNF; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 #ifndef __T_PPP_TERMINATE_REQ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 #define __T_PPP_TERMINATE_REQ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 * CCDGEN:WriteStruct_Count==1883 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 U8 lower_layer; /*< 0: 1> status of lower layer */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 U8 _align0; /*< 1: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 U8 _align1; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 U8 _align2; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 } T_PPP_TERMINATE_REQ; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
163 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
164 #ifndef __T_PPP_TERMINATE_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 #define __T_PPP_TERMINATE_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
166 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 * CCDGEN:WriteStruct_Count==1884 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
170 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
171 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 U16 ppp_cause; /*< 0: 2> PPP error cause */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
173 U8 _align0; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
174 U8 _align1; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
175 } T_PPP_TERMINATE_IND; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
176 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
177 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
178 #ifndef __T_PPP_PDP_ACTIVATE_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
179 #define __T_PPP_PDP_ACTIVATE_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
180 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
181 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
182 * CCDGEN:WriteStruct_Count==1885 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
183 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
184 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
185 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
186 U8 ppp_hc; /*< 0: 1> header compression of PPP connection */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
187 U8 msid; /*< 1: 1> max slot identifier */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
188 U8 _align0; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
189 U8 _align1; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
190 T_sdu sdu; /*< 4: ? > list of protocol configuration options */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
191 } T_PPP_PDP_ACTIVATE_IND; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
192 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
193 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
194 #ifndef __T_PPP_PDP_ACTIVATE_RES__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
195 #define __T_PPP_PDP_ACTIVATE_RES__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
196 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
197 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
198 * CCDGEN:WriteStruct_Count==1886 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
199 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
200 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
201 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
202 U8 ppp_hc; /*< 0: 1> header compression of PPP connection */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
203 U8 msid; /*< 1: 1> max slot identifier */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
204 U8 _align0; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
205 U8 _align1; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
206 U32 ip; /*< 4: 4> Internet Protocol address */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
207 T_sdu sdu; /*< 8: ? > list of protocol configuration options */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
208 } T_PPP_PDP_ACTIVATE_RES; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
209 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
210 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
211 #ifndef __T_PPP_PDP_ACTIVATE_REJ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
212 #define __T_PPP_PDP_ACTIVATE_REJ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
213 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
214 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
215 * CCDGEN:WriteStruct_Count==1887 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
216 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
217 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
218 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
219 U16 ppp_cause; /*< 0: 2> PPP error cause */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
220 U8 _align0; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
221 U8 _align1; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
222 } T_PPP_PDP_ACTIVATE_REJ; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
223 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
224 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
225 #ifndef __T_PPP_MODIFICATION_REQ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
226 #define __T_PPP_MODIFICATION_REQ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
227 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
228 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
229 * CCDGEN:WriteStruct_Count==1888 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
230 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
231 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
232 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
233 U8 ppp_hc; /*< 0: 1> header compression of PPP connection */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
234 U8 msid; /*< 1: 1> max slot identifier */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
235 U8 _align0; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
236 U8 _align1; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
237 } T_PPP_MODIFICATION_REQ; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
238 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
239 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
240 #ifndef __T_PPP_MODIFICATION_CNF__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
241 #define __T_PPP_MODIFICATION_CNF__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
242 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
243 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
244 * CCDGEN:WriteStruct_Count==1889 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
245 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
246 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
247 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
248 U8 ppp_hc; /*< 0: 1> header compression of PPP connection */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
249 U8 msid; /*< 1: 1> max slot identifier */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
250 U8 _align0; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
251 U8 _align1; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
252 } T_PPP_MODIFICATION_CNF; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
253 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
254 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
255 #ifndef __T_PPP_DTI_CONNECTED_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
256 #define __T_PPP_DTI_CONNECTED_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
257 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
258 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
259 * CCDGEN:WriteStruct_Count==1890 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
260 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
261 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
262 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
263 U8 connected_direction; /*< 0: 1> DTI direction */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
264 U8 _align0; /*< 1: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
265 U8 _align1; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
266 U8 _align2; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
267 } T_PPP_DTI_CONNECTED_IND; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
268 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
269 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
270 #ifndef __T_NEW_POWER_STATUS__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
271 #define __T_NEW_POWER_STATUS__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
272 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
273 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
274 * CCDGEN:WriteStruct_Count==1891 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
275 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
276 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
277 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
278 U8 dummy; /*< 0: 1> no parameters */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
279 } T_NEW_POWER_STATUS; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
280 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
281 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
282 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
283 #include "CDG_LEAVE.h" |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
284 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
285 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
286 #endif |