comparison extensions/dict_dcca_starent/dict_dcca_starent.c @ 1435:4bd30996ad7f

regen dict_dcca_3gpp and dict_dcca_starent Regen with updated org_to_fd.pl. No change to generated dictionary.
author Luke Mewburn <luke@mewburn.net>
date Wed, 19 Feb 2020 18:12:45 +1100
parents 729e5074839f
children b98c9de78f58
comparison
equal deleted inserted replaced
1434:8850d29960aa 1435:4bd30996ad7f
82 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "DiameterURI", &DiameterURI_type); 82 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "DiameterURI", &DiameterURI_type);
83 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "IPFilterRule", &IPFilterRule_type); 83 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "IPFilterRule", &IPFilterRule_type);
84 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "Time", &Time_type); 84 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "Time", &Time_type);
85 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "UTF8String", &UTF8String_type); 85 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "UTF8String", &UTF8String_type);
86 86
87 /* The following is created automatically. Do not modify. */ 87 /*==================================================================*/
88 /* Changes will be lost during the next update. Modify the source org file instead. */ 88 /* Start of generated data. */
89 89 /* */
90 /* Cisco ASR 5000 Series AAA Interface */ 90 /* The following is created automatically with: */
91 /* Administration and Reference */ 91 /* org_to_fd.pl -V 'Starent' -v 8164 */
92 /* Release 8.x and 9.0 */ 92 /* Changes will be lost during the next update. */
93 /* Last Updated June 30, 2010 */ 93 /* Do not modify; modify the source .org file instead. */
94 /* updated using v15 docs from Jan 2014 */ 94 /*==================================================================*/
95 /* www.cisco.com/c/dam/en/us/td/docs/wireless/asr_5000/15-0/15-0-AAA-Reference.pdf */ 95
96 /* SN-Volume-Quota-Threshold */ 96 /* Cisco ASR 5000 Series AAA Interface */
97 /* Administration and Reference */
98 /* Release 8.x and 9.0 */
99 /* Last Updated June 30, 2010 */
100 /* updated using v15 docs from Jan 2014 */
101 /* www.cisco.com/c/dam/en/us/td/docs/wireless/asr_5000/15-0/15-0-AAA-Reference.pdf */
102 /* SN-Volume-Quota-Threshold, Unsigned32, code 501 */
97 { 103 {
98 struct dict_avp_data data = { 104 struct dict_avp_data data = {
99 501, /* Code */ 105 501, /* Code */
100 8164, /* Vendor */ 106 8164, /* Vendor */
101 "SN-Volume-Quota-Threshold", /* Name */ 107 "SN-Volume-Quota-Threshold", /* Name */
104 AVP_TYPE_UNSIGNED32 /* base type of data */ 110 AVP_TYPE_UNSIGNED32 /* base type of data */
105 }; 111 };
106 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 112 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
107 }; 113 };
108 114
109 /* SN-Unit-Quota-Threshold */ 115 /* SN-Unit-Quota-Threshold, Unsigned32, code 502 */
110 { 116 {
111 struct dict_avp_data data = { 117 struct dict_avp_data data = {
112 502, /* Code */ 118 502, /* Code */
113 8164, /* Vendor */ 119 8164, /* Vendor */
114 "SN-Unit-Quota-Threshold", /* Name */ 120 "SN-Unit-Quota-Threshold", /* Name */
117 AVP_TYPE_UNSIGNED32 /* base type of data */ 123 AVP_TYPE_UNSIGNED32 /* base type of data */
118 }; 124 };
119 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 125 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
120 }; 126 };
121 127
122 /* SN-Time-Quota-Threshold */ 128 /* SN-Time-Quota-Threshold, Unsigned32, code 503 */
123 { 129 {
124 struct dict_avp_data data = { 130 struct dict_avp_data data = {
125 503, /* Code */ 131 503, /* Code */
126 8164, /* Vendor */ 132 8164, /* Vendor */
127 "SN-Time-Quota-Threshold", /* Name */ 133 "SN-Time-Quota-Threshold", /* Name */
130 AVP_TYPE_UNSIGNED32 /* base type of data */ 136 AVP_TYPE_UNSIGNED32 /* base type of data */
131 }; 137 };
132 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 138 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
133 }; 139 };
134 140
135 /* SN-Total-Used-Service-Unit */ 141 /* SN-Total-Used-Service-Unit, Grouped, code 504 */
136 { 142 {
137 struct dict_avp_data data = { 143 struct dict_avp_data data = {
138 504, /* Code */ 144 504, /* Code */
139 8164, /* Vendor */ 145 8164, /* Vendor */
140 "SN-Total-Used-Service-Unit", /* Name */ 146 "SN-Total-Used-Service-Unit", /* Name */
143 AVP_TYPE_GROUPED /* base type of data */ 149 AVP_TYPE_GROUPED /* base type of data */
144 }; 150 };
145 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 151 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
146 }; 152 };
147 153
148 /* SN-Absolute-Validity-Time */ 154 /* SN-Absolute-Validity-Time, Time, code 505 */
149 { 155 {
150 struct dict_avp_data data = { 156 struct dict_avp_data data = {
151 505, /* Code */ 157 505, /* Code */
152 8164, /* Vendor */ 158 8164, /* Vendor */
153 "SN-Absolute-Validity-Time", /* Name */ 159 "SN-Absolute-Validity-Time", /* Name */
156 AVP_TYPE_OCTETSTRING /* base type of data */ 162 AVP_TYPE_OCTETSTRING /* base type of data */
157 }; 163 };
158 CHECK_dict_new(DICT_AVP, &data, Time_type, NULL); 164 CHECK_dict_new(DICT_AVP, &data, Time_type, NULL);
159 }; 165 };
160 166
161 /* SN-Bandwidth-Control */ 167 /* SN-Bandwidth-Control, Enumerated, code 512 */
162 { 168 {
163 struct dict_avp_data data = { 169 struct dict_avp_data data = {
164 512, /* Code */ 170 512, /* Code */
165 8164, /* Vendor */ 171 8164, /* Vendor */
166 "SN-Bandwidth-Control", /* Name */ 172 "SN-Bandwidth-Control", /* Name */
167 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ 173 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
168 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ 174 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
169 AVP_TYPE_INTEGER32 /* base type of data */ 175 AVP_TYPE_INTEGER32 /* base type of data */
170 }; 176 };
171 struct dict_object *type; 177 struct dict_object *type;
172 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Bandwidth-Control)", NULL, NULL, NULL }; 178 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Bandwidth-Control)", NULL, NULL, NULL };
173 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 179 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
174 CHECK_dict_new(DICT_AVP, &data, type, NULL); 180 CHECK_dict_new(DICT_AVP, &data, type, NULL);
175 }; 181 };
176 182
177 /* SN-Transparent-Data */ 183 /* SN-Transparent-Data, OctetString, code 513 */
178 { 184 {
179 struct dict_avp_data data = { 185 struct dict_avp_data data = {
180 513, /* Code */ 186 513, /* Code */
181 8164, /* Vendor */ 187 8164, /* Vendor */
182 "SN-Transparent-Data", /* Name */ 188 "SN-Transparent-Data", /* Name */
185 AVP_TYPE_OCTETSTRING /* base type of data */ 191 AVP_TYPE_OCTETSTRING /* base type of data */
186 }; 192 };
187 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 193 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
188 }; 194 };
189 195
190 /* SN-Traffic-Policy */ 196 /* SN-Traffic-Policy, UTF8String, code 514 */
191 { 197 {
192 struct dict_avp_data data = { 198 struct dict_avp_data data = {
193 514, /* Code */ 199 514, /* Code */
194 8164, /* Vendor */ 200 8164, /* Vendor */
195 "SN-Traffic-Policy", /* Name */ 201 "SN-Traffic-Policy", /* Name */
198 AVP_TYPE_OCTETSTRING /* base type of data */ 204 AVP_TYPE_OCTETSTRING /* base type of data */
199 }; 205 };
200 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); 206 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
201 }; 207 };
202 208
203 /* SN-Firewall-Policy */ 209 /* SN-Firewall-Policy, UTF8String, code 515 */
204 { 210 {
205 struct dict_avp_data data = { 211 struct dict_avp_data data = {
206 515, /* Code */ 212 515, /* Code */
207 8164, /* Vendor */ 213 8164, /* Vendor */
208 "SN-Firewall-Policy", /* Name */ 214 "SN-Firewall-Policy", /* Name */
211 AVP_TYPE_OCTETSTRING /* base type of data */ 217 AVP_TYPE_OCTETSTRING /* base type of data */
212 }; 218 };
213 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); 219 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
214 }; 220 };
215 221
216 /* SN-Usage-Monitoring-Control */ 222 /* SN-Usage-Monitoring-Control, Grouped, code 517 */
217 { 223 {
218 struct dict_avp_data data = { 224 struct dict_avp_data data = {
219 517, /* Code */ 225 517, /* Code */
220 8164, /* Vendor */ 226 8164, /* Vendor */
221 "SN-Usage-Monitoring-Control", /* Name */ 227 "SN-Usage-Monitoring-Control", /* Name */
224 AVP_TYPE_GROUPED /* base type of data */ 230 AVP_TYPE_GROUPED /* base type of data */
225 }; 231 };
226 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 232 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
227 }; 233 };
228 234
229 /* SN-Monitoring-Key */ 235 /* SN-Monitoring-Key, Unsigned32, code 518 */
230 { 236 {
231 struct dict_avp_data data = { 237 struct dict_avp_data data = {
232 518, /* Code */ 238 518, /* Code */
233 8164, /* Vendor */ 239 8164, /* Vendor */
234 "SN-Monitoring-Key", /* Name */ 240 "SN-Monitoring-Key", /* Name */
237 AVP_TYPE_UNSIGNED32 /* base type of data */ 243 AVP_TYPE_UNSIGNED32 /* base type of data */
238 }; 244 };
239 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 245 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
240 }; 246 };
241 247
242 /* SN-Usage-Volume */ 248 /* SN-Usage-Volume, Unsigned64, code 519 */
243 { 249 {
244 struct dict_avp_data data = { 250 struct dict_avp_data data = {
245 519, /* Code */ 251 519, /* Code */
246 8164, /* Vendor */ 252 8164, /* Vendor */
247 "SN-Usage-Volume", /* Name */ 253 "SN-Usage-Volume", /* Name */
250 AVP_TYPE_UNSIGNED64 /* base type of data */ 256 AVP_TYPE_UNSIGNED64 /* base type of data */
251 }; 257 };
252 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 258 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
253 }; 259 };
254 260
255 /* SN-Service-Flow-Detection */ 261 /* SN-Service-Flow-Detection, Enumerated, code 520 */
256 { 262 {
257 struct dict_avp_data data = { 263 struct dict_avp_data data = {
258 520, /* Code */ 264 520, /* Code */
259 8164, /* Vendor */ 265 8164, /* Vendor */
260 "SN-Service-Flow-Detection", /* Name */ 266 "SN-Service-Flow-Detection", /* Name */
261 AVP_FLAG_VENDOR, /* Fixed flags */ 267 AVP_FLAG_VENDOR, /* Fixed flags */
262 AVP_FLAG_VENDOR, /* Fixed flag values */ 268 AVP_FLAG_VENDOR, /* Fixed flag values */
263 AVP_TYPE_INTEGER32 /* base type of data */ 269 AVP_TYPE_INTEGER32 /* base type of data */
264 }; 270 };
265 struct dict_object *type; 271 struct dict_object *type;
266 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Service-Flow-Detection)", NULL, NULL, NULL }; 272 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Service-Flow-Detection)", NULL, NULL, NULL };
267 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 273 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
268 CHECK_dict_new(DICT_AVP, &data, type, NULL); 274 CHECK_dict_new(DICT_AVP, &data, type, NULL);
269 }; 275 };
270 276
271 /* SN-Usage-Monitoring */ 277 /* SN-Usage-Monitoring, Enumerated, code 521 */
272 { 278 {
273 struct dict_avp_data data = { 279 struct dict_avp_data data = {
274 521, /* Code */ 280 521, /* Code */
275 8164, /* Vendor */ 281 8164, /* Vendor */
276 "SN-Usage-Monitoring", /* Name */ 282 "SN-Usage-Monitoring", /* Name */
277 AVP_FLAG_VENDOR, /* Fixed flags */ 283 AVP_FLAG_VENDOR, /* Fixed flags */
278 AVP_FLAG_VENDOR, /* Fixed flag values */ 284 AVP_FLAG_VENDOR, /* Fixed flag values */
279 AVP_TYPE_INTEGER32 /* base type of data */ 285 AVP_TYPE_INTEGER32 /* base type of data */
280 }; 286 };
281 struct dict_object *type; 287 struct dict_object *type;
282 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Usage-Monitoring)", NULL, NULL, NULL }; 288 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Usage-Monitoring)", NULL, NULL, NULL };
283 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 289 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
284 CHECK_dict_new(DICT_AVP, &data, type, NULL); 290 CHECK_dict_new(DICT_AVP, &data, type, NULL);
285 }; 291 };
286 292
287 /* SN-Session-Start-Indicator */ 293 /* SN-Session-Start-Indicator, OctetString, code 522 */
288 { 294 {
289 struct dict_avp_data data = { 295 struct dict_avp_data data = {
290 522, /* Code */ 296 522, /* Code */
291 8164, /* Vendor */ 297 8164, /* Vendor */
292 "SN-Session-Start-Indicator", /* Name */ 298 "SN-Session-Start-Indicator", /* Name */
295 AVP_TYPE_OCTETSTRING /* base type of data */ 301 AVP_TYPE_OCTETSTRING /* base type of data */
296 }; 302 };
297 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 303 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
298 }; 304 };
299 305
300 /* SN-Phase0-PSAPName */ 306 /* SN-Phase0-PSAPName, UTF8String, code 523 */
301 { 307 {
302 struct dict_avp_data data = { 308 struct dict_avp_data data = {
303 523, /* Code */ 309 523, /* Code */
304 8164, /* Vendor */ 310 8164, /* Vendor */
305 "SN-Phase0-PSAPName", /* Name */ 311 "SN-Phase0-PSAPName", /* Name */
308 AVP_TYPE_OCTETSTRING /* base type of data */ 314 AVP_TYPE_OCTETSTRING /* base type of data */
309 }; 315 };
310 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); 316 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
311 }; 317 };
312 318
313 /* SN-Charging-Id */ 319 /* SN-Charging-Id, OctetString, code 525 */
314 { 320 {
315 struct dict_avp_data data = { 321 struct dict_avp_data data = {
316 525, /* Code */ 322 525, /* Code */
317 8164, /* Vendor */ 323 8164, /* Vendor */
318 "SN-Charging-Id", /* Name */ 324 "SN-Charging-Id", /* Name */
321 AVP_TYPE_OCTETSTRING /* base type of data */ 327 AVP_TYPE_OCTETSTRING /* base type of data */
322 }; 328 };
323 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 329 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
324 }; 330 };
325 331
326 /* SN-Remaining-Service-Unit */ 332 /* SN-Remaining-Service-Unit, Grouped, code 526 */
327 { 333 {
328 struct dict_avp_data data = { 334 struct dict_avp_data data = {
329 526, /* Code */ 335 526, /* Code */
330 8164, /* Vendor */ 336 8164, /* Vendor */
331 "SN-Remaining-Service-Unit", /* Name */ 337 "SN-Remaining-Service-Unit", /* Name */
334 AVP_TYPE_GROUPED /* base type of data */ 340 AVP_TYPE_GROUPED /* base type of data */
335 }; 341 };
336 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 342 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
337 }; 343 };
338 344
339 /* SN-Service-Start-Timestamp */ 345 /* SN-Service-Start-Timestamp, Time, code 527 */
340 { 346 {
341 struct dict_avp_data data = { 347 struct dict_avp_data data = {
342 527, /* Code */ 348 527, /* Code */
343 8164, /* Vendor */ 349 8164, /* Vendor */
344 "SN-Service-Start-Timestamp", /* Name */ 350 "SN-Service-Start-Timestamp", /* Name */
347 AVP_TYPE_OCTETSTRING /* base type of data */ 353 AVP_TYPE_OCTETSTRING /* base type of data */
348 }; 354 };
349 CHECK_dict_new(DICT_AVP, &data, Time_type, NULL); 355 CHECK_dict_new(DICT_AVP, &data, Time_type, NULL);
350 }; 356 };
351 357
352 /* SN-Rulebase-Id */ 358 /* SN-Rulebase-Id, UTF8String, code 528 */
353 { 359 {
354 struct dict_avp_data data = { 360 struct dict_avp_data data = {
355 528, /* Code */ 361 528, /* Code */
356 8164, /* Vendor */ 362 8164, /* Vendor */
357 "SN-Rulebase-Id", /* Name */ 363 "SN-Rulebase-Id", /* Name */
360 AVP_TYPE_OCTETSTRING /* base type of data */ 366 AVP_TYPE_OCTETSTRING /* base type of data */
361 }; 367 };
362 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); 368 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
363 }; 369 };
364 370
365 /* SN-CF-Policy-ID */ 371 /* SN-CF-Policy-ID, Unsigned32, code 529 */
366 { 372 {
367 struct dict_avp_data data = { 373 struct dict_avp_data data = {
368 529, /* Code */ 374 529, /* Code */
369 8164, /* Vendor */ 375 8164, /* Vendor */
370 "SN-CF-Policy-ID", /* Name */ 376 "SN-CF-Policy-ID", /* Name */
373 AVP_TYPE_UNSIGNED32 /* base type of data */ 379 AVP_TYPE_UNSIGNED32 /* base type of data */
374 }; 380 };
375 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 381 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
376 }; 382 };
377 383
378 /* SN-Charging-Collection-Function-Name */ 384 /* SN-Charging-Collection-Function-Name, UTF8String, code 530 */
379 { 385 {
380 struct dict_avp_data data = { 386 struct dict_avp_data data = {
381 530, /* Code */ 387 530, /* Code */
382 8164, /* Vendor */ 388 8164, /* Vendor */
383 "SN-Charging-Collection-Function-Name", /* Name */ 389 "SN-Charging-Collection-Function-Name", /* Name */
386 AVP_TYPE_OCTETSTRING /* base type of data */ 392 AVP_TYPE_OCTETSTRING /* base type of data */
387 }; 393 };
388 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); 394 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
389 }; 395 };
390 396
391 /* SN-Fast-Reauth-Username */ 397 /* SN-Fast-Reauth-Username, OctetString, code 11010 */
392 { 398 {
393 struct dict_avp_data data = { 399 struct dict_avp_data data = {
394 11010, /* Code */ 400 11010, /* Code */
395 8164, /* Vendor */ 401 8164, /* Vendor */
396 "SN-Fast-Reauth-Username", /* Name */ 402 "SN-Fast-Reauth-Username", /* Name */
399 AVP_TYPE_OCTETSTRING /* base type of data */ 405 AVP_TYPE_OCTETSTRING /* base type of data */
400 }; 406 };
401 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 407 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
402 }; 408 };
403 409
404 /* SN-Pseudonym-Username */ 410 /* SN-Pseudonym-Username, OctetString, code 11011 */
405 { 411 {
406 struct dict_avp_data data = { 412 struct dict_avp_data data = {
407 11011, /* Code */ 413 11011, /* Code */
408 8164, /* Vendor */ 414 8164, /* Vendor */
409 "SN-Pseudonym-Username", /* Name */ 415 "SN-Pseudonym-Username", /* Name */
412 AVP_TYPE_OCTETSTRING /* base type of data */ 418 AVP_TYPE_OCTETSTRING /* base type of data */
413 }; 419 };
414 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 420 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
415 }; 421 };
416 422
417 423 /*==================================================================*/
424 /* End of generated data. */
425 /*==================================================================*/
418 426
419 /* Rules section */ 427 /* Rules section */
420 428
421 /* SN-Remaining-Service-Unit */ 429 /* SN-Remaining-Service-Unit */
422 { 430 {
"Welcome to our mercurial repository"