FreeCalypso > hg > fc-magnetite
comparison cdg3/cdginc-locosto/p_ppp.h @ 16:c15047b3d00d
cdg3: import from freecalypso-citrine/cdg
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 27 Sep 2016 16:27:34 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:c8bdae60fcb1 | 16:c15047b3d00d |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_ppp.h | | |
5 | SOURCE : "sap\ppp.pdf" | | |
6 | LastModified : "2002-10-21" | | |
7 | IdAndVersion : "8441.116.99.016" | | |
8 | SrcFileTime : "Thu Nov 29 09:51:00 2007" | | |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 | | |
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_PPP_H | |
24 #define P_PPP_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_PPP_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_PPP_H | |
30 #define CDG_ENTER__P_PPP_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_PPP_H__LAST_MODIFIED _2002_10_21 | |
32 #define CDG_ENTER__P_PPP_H__ID_AND_VERSION _8441_116_99_016 | |
33 | |
34 #define CDG_ENTER__P_PPP_H__SRC_FILE_TIME _Thu_Nov_29_09_51_00_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_PPP_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_ppp.val" | |
44 | |
45 #ifndef __T_peer_channel__ | |
46 #define __T_peer_channel__ | |
47 /* | |
48 * PPP-peer communication channel name | |
49 * CCDGEN:WriteStruct_Count==2323 | |
50 */ | |
51 typedef struct | |
52 { | |
53 U8 peer_entity[6]; /*< 0: 6> PPP-peer communication channel name value */ | |
54 U8 _align0; /*< 6: 1> alignment */ | |
55 U8 _align1; /*< 7: 1> alignment */ | |
56 } T_peer_channel; | |
57 #endif | |
58 | |
59 #ifndef __T_protocol_channel__ | |
60 #define __T_protocol_channel__ | |
61 /* | |
62 * network protocol communication channel name | |
63 * CCDGEN:WriteStruct_Count==2324 | |
64 */ | |
65 typedef struct | |
66 { | |
67 U8 protocol_entity[6]; /*< 0: 6> network protocol communication channel name value */ | |
68 U8 _align0; /*< 6: 1> alignment */ | |
69 U8 _align1; /*< 7: 1> alignment */ | |
70 } T_protocol_channel; | |
71 #endif | |
72 | |
73 #ifndef __T_login__ | |
74 #define __T_login__ | |
75 /* | |
76 * authentication values | |
77 * CCDGEN:WriteStruct_Count==2325 | |
78 */ | |
79 typedef struct | |
80 { | |
81 U8 name_len; /*< 0: 1> length of name */ | |
82 U8 name[PPP_LOGIN_NAME_LENGTH]; /*< 1: 33> login name */ | |
83 U8 password_len; /*< 34: 1> length of password */ | |
84 U8 password[PPP_PASSWORD_LENGTH]; /*< 35: 25> login password */ | |
85 } T_login; | |
86 #endif | |
87 | |
88 | |
89 /* | |
90 * End of substructure section, begin of primitive definition section | |
91 */ | |
92 | |
93 #ifndef __T_PPP_ESTABLISH_REQ__ | |
94 #define __T_PPP_ESTABLISH_REQ__ | |
95 /* | |
96 * | |
97 * CCDGEN:WriteStruct_Count==2328 | |
98 */ | |
99 typedef struct | |
100 { | |
101 U8 mode; /*< 0: 1> working mode */ | |
102 U8 _align0; /*< 1: 1> alignment */ | |
103 U16 mru; /*< 2: 2> maximum receive unit */ | |
104 U8 ap; /*< 4: 1> authentication protocol */ | |
105 U8 _align1; /*< 5: 1> alignment */ | |
106 U8 _align2; /*< 6: 1> alignment */ | |
107 U8 _align3; /*< 7: 1> alignment */ | |
108 T_login login; /*< 8: 60> authentication values */ | |
109 U32 accm; /*< 68: 4> async control character map */ | |
110 U8 rt; /*< 72: 1> restart timer */ | |
111 U8 mc; /*< 73: 1> max configure */ | |
112 U8 mt; /*< 74: 1> max terminate */ | |
113 U8 mf; /*< 75: 1> max failure */ | |
114 U8 ppp_hc; /*< 76: 1> header compression of PPP connection */ | |
115 U8 _align4; /*< 77: 1> alignment */ | |
116 U8 _align5; /*< 78: 1> alignment */ | |
117 U8 _align6; /*< 79: 1> alignment */ | |
118 U32 ip; /*< 80: 4> Internet Protocol address */ | |
119 U32 dns1; /*< 84: 4> primary DNS server address */ | |
120 U32 dns2; /*< 88: 4> secondary DNS server address */ | |
121 T_peer_channel peer_channel; /*< 92: 8> PPP-peer communication channel name */ | |
122 T_protocol_channel protocol_channel; /*<100: 8> network protocol communication channel name */ | |
123 U8 peer_direction; /*<108: 1> Direction for the Peer Layer */ | |
124 U8 prot_direction; /*<109: 1> Direction for the Protocol Layer */ | |
125 U8 _align7; /*<110: 1> alignment */ | |
126 U8 _align8; /*<111: 1> alignment */ | |
127 U32 peer_link_id; /*<112: 4> Link Id to Peer Layer */ | |
128 U32 prot_link_id; /*<116: 4> Link Id to Protocol Layer */ | |
129 } T_PPP_ESTABLISH_REQ; | |
130 #endif | |
131 | |
132 #ifndef __T_PPP_ESTABLISH_CNF__ | |
133 #define __T_PPP_ESTABLISH_CNF__ | |
134 /* | |
135 * | |
136 * CCDGEN:WriteStruct_Count==2329 | |
137 */ | |
138 typedef struct | |
139 { | |
140 U16 mru; /*< 0: 2> maximum receive unit */ | |
141 U8 ppp_hc; /*< 2: 1> header compression of PPP connection */ | |
142 U8 msid; /*< 3: 1> max slot identifier */ | |
143 U32 ip; /*< 4: 4> Internet Protocol address */ | |
144 U32 dns1; /*< 8: 4> primary DNS server address */ | |
145 U32 dns2; /*< 12: 4> secondary DNS server address */ | |
146 } T_PPP_ESTABLISH_CNF; | |
147 #endif | |
148 | |
149 #ifndef __T_PPP_TERMINATE_REQ__ | |
150 #define __T_PPP_TERMINATE_REQ__ | |
151 /* | |
152 * | |
153 * CCDGEN:WriteStruct_Count==2330 | |
154 */ | |
155 typedef struct | |
156 { | |
157 U8 lower_layer; /*< 0: 1> status of lower layer */ | |
158 U8 _align0; /*< 1: 1> alignment */ | |
159 U8 _align1; /*< 2: 1> alignment */ | |
160 U8 _align2; /*< 3: 1> alignment */ | |
161 } T_PPP_TERMINATE_REQ; | |
162 #endif | |
163 | |
164 #ifndef __T_PPP_TERMINATE_IND__ | |
165 #define __T_PPP_TERMINATE_IND__ | |
166 /* | |
167 * | |
168 * CCDGEN:WriteStruct_Count==2331 | |
169 */ | |
170 typedef struct | |
171 { | |
172 U16 ppp_cause; /*< 0: 2> PPP error cause */ | |
173 U8 _align0; /*< 2: 1> alignment */ | |
174 U8 _align1; /*< 3: 1> alignment */ | |
175 } T_PPP_TERMINATE_IND; | |
176 #endif | |
177 | |
178 #ifndef __T_PPP_PDP_ACTIVATE_IND__ | |
179 #define __T_PPP_PDP_ACTIVATE_IND__ | |
180 /* | |
181 * | |
182 * CCDGEN:WriteStruct_Count==2332 | |
183 */ | |
184 typedef struct | |
185 { | |
186 U8 ppp_hc; /*< 0: 1> header compression of PPP connection */ | |
187 U8 msid; /*< 1: 1> max slot identifier */ | |
188 U8 _align0; /*< 2: 1> alignment */ | |
189 U8 _align1; /*< 3: 1> alignment */ | |
190 T_sdu sdu; /*< 4: ? > list of protocol configuration options */ | |
191 } T_PPP_PDP_ACTIVATE_IND; | |
192 #endif | |
193 | |
194 #ifndef __T_PPP_PDP_ACTIVATE_RES__ | |
195 #define __T_PPP_PDP_ACTIVATE_RES__ | |
196 /* | |
197 * | |
198 * CCDGEN:WriteStruct_Count==2333 | |
199 */ | |
200 typedef struct | |
201 { | |
202 U8 ppp_hc; /*< 0: 1> header compression of PPP connection */ | |
203 U8 msid; /*< 1: 1> max slot identifier */ | |
204 U8 _align0; /*< 2: 1> alignment */ | |
205 U8 _align1; /*< 3: 1> alignment */ | |
206 U32 ip; /*< 4: 4> Internet Protocol address */ | |
207 T_sdu sdu; /*< 8: ? > list of protocol configuration options */ | |
208 } T_PPP_PDP_ACTIVATE_RES; | |
209 #endif | |
210 | |
211 #ifndef __T_PPP_PDP_ACTIVATE_REJ__ | |
212 #define __T_PPP_PDP_ACTIVATE_REJ__ | |
213 /* | |
214 * | |
215 * CCDGEN:WriteStruct_Count==2334 | |
216 */ | |
217 typedef struct | |
218 { | |
219 U16 ppp_cause; /*< 0: 2> PPP error cause */ | |
220 U8 _align0; /*< 2: 1> alignment */ | |
221 U8 _align1; /*< 3: 1> alignment */ | |
222 } T_PPP_PDP_ACTIVATE_REJ; | |
223 #endif | |
224 | |
225 #ifndef __T_PPP_MODIFICATION_REQ__ | |
226 #define __T_PPP_MODIFICATION_REQ__ | |
227 /* | |
228 * | |
229 * CCDGEN:WriteStruct_Count==2335 | |
230 */ | |
231 typedef struct | |
232 { | |
233 U8 ppp_hc; /*< 0: 1> header compression of PPP connection */ | |
234 U8 msid; /*< 1: 1> max slot identifier */ | |
235 U8 _align0; /*< 2: 1> alignment */ | |
236 U8 _align1; /*< 3: 1> alignment */ | |
237 } T_PPP_MODIFICATION_REQ; | |
238 #endif | |
239 | |
240 #ifndef __T_PPP_MODIFICATION_CNF__ | |
241 #define __T_PPP_MODIFICATION_CNF__ | |
242 /* | |
243 * | |
244 * CCDGEN:WriteStruct_Count==2336 | |
245 */ | |
246 typedef struct | |
247 { | |
248 U8 ppp_hc; /*< 0: 1> header compression of PPP connection */ | |
249 U8 msid; /*< 1: 1> max slot identifier */ | |
250 U8 _align0; /*< 2: 1> alignment */ | |
251 U8 _align1; /*< 3: 1> alignment */ | |
252 } T_PPP_MODIFICATION_CNF; | |
253 #endif | |
254 | |
255 #ifndef __T_PPP_DTI_CONNECTED_IND__ | |
256 #define __T_PPP_DTI_CONNECTED_IND__ | |
257 /* | |
258 * | |
259 * CCDGEN:WriteStruct_Count==2337 | |
260 */ | |
261 typedef struct | |
262 { | |
263 U8 connected_direction; /*< 0: 1> DTI direction */ | |
264 U8 _align0; /*< 1: 1> alignment */ | |
265 U8 _align1; /*< 2: 1> alignment */ | |
266 U8 _align2; /*< 3: 1> alignment */ | |
267 } T_PPP_DTI_CONNECTED_IND; | |
268 #endif | |
269 | |
270 #ifndef __T_NEW_POWER_STATUS__ | |
271 #define __T_NEW_POWER_STATUS__ | |
272 /* | |
273 * | |
274 * CCDGEN:WriteStruct_Count==2338 | |
275 */ | |
276 typedef struct | |
277 { | |
278 U8 dummy; /*< 0: 1> no parameters */ | |
279 } T_NEW_POWER_STATUS; | |
280 #endif | |
281 | |
282 | |
283 #include "CDG_LEAVE.h" | |
284 | |
285 | |
286 #endif |