Mercurial > hg > freeDiameter
comparison extensions/dict_dcca_3gpp/dict_dcca_3gpp.c @ 1470:b98c9de78f58
regen dict_dcca_3gpp and dict_dcca_starent
Regen from the .csv files instead of the .org files.
No change to generated dictionary.
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Wed, 18 Mar 2020 11:48:00 +1100 |
parents | 4f44d206e60d |
children | 396f789b8c29 |
comparison
equal
deleted
inserted
replaced
1469:48fa8d70e6ad | 1470:b98c9de78f58 |
---|---|
361 | 361 |
362 /*==================================================================*/ | 362 /*==================================================================*/ |
363 /* Start of generated data. */ | 363 /* Start of generated data. */ |
364 /* */ | 364 /* */ |
365 /* The following is created automatically with: */ | 365 /* The following is created automatically with: */ |
366 /* org_to_fd.pl -V '3GPP' -v 10415 */ | 366 /* csv_to_fd -p fdc dict_dcca_3gpp.csv */ |
367 /* Changes will be lost during the next update. */ | 367 /* Changes will be lost during the next update. */ |
368 /* Do not modify; modify the source .org file instead. */ | 368 /* Do not modify; modify the source .csv file instead. */ |
369 /*==================================================================*/ | 369 /*==================================================================*/ |
370 | 370 |
371 | 371 /*==================================================================*/ |
372 /* 3GPP 29.061-c00 (12.0.0 2012.12.20) */ | 372 /* 3GPP 29.061-c00 (12.0.0 2012.12.20) */ |
373 /* 3GPP 29.061 is not very clear and self-inconsistent about M */ | 373 /* 3GPP 29.061 is not very clear and self-inconsistent about M */ |
374 /* for this reason, other sources are assumed more trustworthy */ | 374 /* for this reason, other sources are assumed more trustworthy */ |
375 /*==================================================================*/ | |
375 | 376 |
376 /* M inconsistently specified */ | 377 /* M inconsistently specified */ |
377 /* 3GPP-IMSI, UTF8String, code 1, section 16.4.7 */ | 378 /* 3GPP-IMSI, UTF8String, code 1, section 16.4.7 */ |
378 { | 379 { |
379 struct dict_avp_data data = { | 380 struct dict_avp_data data = { |
1068 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/MBMS-HC-Indicator)", NULL, NULL, NULL }; | 1069 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/MBMS-HC-Indicator)", NULL, NULL, NULL }; |
1069 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | 1070 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); |
1070 CHECK_dict_new(DICT_AVP, &data, type, NULL); | 1071 CHECK_dict_new(DICT_AVP, &data, type, NULL); |
1071 }; | 1072 }; |
1072 | 1073 |
1073 | 1074 /*==================================================================*/ |
1074 /* 3GPP TS 29.128 V15.6.0 (2019-09) */ | 1075 /* 3GPP TS 29.128 V15.6.0 (2019-09) */ |
1075 /* From 3GPP 29128-f60.docx */ | 1076 /* From 3GPP 29128-f60.docx */ |
1077 /*==================================================================*/ | |
1076 | 1078 |
1077 /* Communication-Failure-Information, Grouped, code 4300, section 6.4.4 */ | 1079 /* Communication-Failure-Information, Grouped, code 4300, section 6.4.4 */ |
1078 { | 1080 { |
1079 struct dict_avp_data data = { | 1081 struct dict_avp_data data = { |
1080 4300, /* Code */ | 1082 4300, /* Code */ |
1399 AVP_TYPE_UNSIGNED32 /* base type of data */ | 1401 AVP_TYPE_UNSIGNED32 /* base type of data */ |
1400 }; | 1402 }; |
1401 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | 1403 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); |
1402 }; | 1404 }; |
1403 | 1405 |
1404 | 1406 /*==================================================================*/ |
1405 /* 3GPP 29.140-700 (7.0.0 2007.07.05) */ | 1407 /* 3GPP 29.140-700 (7.0.0 2007.07.05) */ |
1408 /*==================================================================*/ | |
1406 | 1409 |
1407 /* Served-User-Identity, Grouped, code 1100, section 6.3.1 */ | 1410 /* Served-User-Identity, Grouped, code 1100, section 6.3.1 */ |
1408 { | 1411 { |
1409 struct dict_avp_data data = { | 1412 struct dict_avp_data data = { |
1410 1100, /* Code */ | 1413 1100, /* Code */ |
1685 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Routeing-Address-Resolution)", NULL, NULL, NULL }; | 1688 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Routeing-Address-Resolution)", NULL, NULL, NULL }; |
1686 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | 1689 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); |
1687 CHECK_dict_new(DICT_AVP, &data, type, NULL); | 1690 CHECK_dict_new(DICT_AVP, &data, type, NULL); |
1688 }; | 1691 }; |
1689 | 1692 |
1690 | 1693 /*==================================================================*/ |
1691 /* 3GPP TS 29.173 V15.0.0 (2018-06) */ | 1694 /* 3GPP TS 29.173 V15.0.0 (2018-06) */ |
1692 /* From 3GPP 29173-f00.doc */ | 1695 /* From 3GPP 29173-f00.doc */ |
1696 /*==================================================================*/ | |
1693 | 1697 |
1694 /* LMSI, OctetString, code 2400, section 6.4.2 */ | 1698 /* LMSI, OctetString, code 2400, section 6.4.2 */ |
1695 { | 1699 { |
1696 struct dict_avp_data data = { | 1700 struct dict_avp_data data = { |
1697 2400, /* Code */ | 1701 2400, /* Code */ |
1845 AVP_TYPE_UNSIGNED32 /* base type of data */ | 1849 AVP_TYPE_UNSIGNED32 /* base type of data */ |
1846 }; | 1850 }; |
1847 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | 1851 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); |
1848 }; | 1852 }; |
1849 | 1853 |
1850 | 1854 /*==================================================================*/ |
1851 /* 3GPP 29.210-670 (6.7.0 2006-12-18) */ | 1855 /* 3GPP 29.210-670 (6.7.0 2006-12-18) */ |
1856 /*==================================================================*/ | |
1852 | 1857 |
1853 /* PDP-Session-Operation, Enumerated, code 1015, section 5.2.21 */ | 1858 /* PDP-Session-Operation, Enumerated, code 1015, section 5.2.21 */ |
1854 { | 1859 { |
1855 struct dict_avp_data data = { | 1860 struct dict_avp_data data = { |
1856 1015, /* Code */ | 1861 1015, /* Code */ |
1864 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/PDP-Session-Operation)", NULL, NULL, NULL }; | 1869 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/PDP-Session-Operation)", NULL, NULL, NULL }; |
1865 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | 1870 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); |
1866 CHECK_dict_new(DICT_AVP, &data, type, NULL); | 1871 CHECK_dict_new(DICT_AVP, &data, type, NULL); |
1867 }; | 1872 }; |
1868 | 1873 |
1869 | 1874 /*==================================================================*/ |
1870 /* 3GPP 29.212-c00 (12.0.0 2013.03.15) */ | 1875 /* 3GPP 29.212-c00 (12.0.0 2013.03.15) */ |
1876 /*==================================================================*/ | |
1871 | 1877 |
1872 /* Gx-specific */ | 1878 /* Gx-specific */ |
1873 | 1879 |
1874 /* ADC-Revalidation-Time, Time, code 2801, section 5.3.93 */ | 1880 /* ADC-Revalidation-Time, Time, code 2801, section 5.3.93 */ |
1875 { | 1881 { |
3322 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/CS-Service-QoS-Request-Operation)", NULL, NULL, NULL }; | 3328 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/CS-Service-QoS-Request-Operation)", NULL, NULL, NULL }; |
3323 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | 3329 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); |
3324 CHECK_dict_new(DICT_AVP, &data, type, NULL); | 3330 CHECK_dict_new(DICT_AVP, &data, type, NULL); |
3325 }; | 3331 }; |
3326 | 3332 |
3327 | 3333 /*==================================================================*/ |
3328 /* 3GPP TS 29.214 V15.7.0 (2019-09) */ | 3334 /* 3GPP TS 29.214 V15.7.0 (2019-09) */ |
3329 /* From 3GPP 29214-f70.doc */ | 3335 /* From 3GPP 29214-f70.doc */ |
3336 /*==================================================================*/ | |
3330 | 3337 |
3331 /* Abort-Cause, Enumerated, code 500, section 5.3.1 */ | 3338 /* Abort-Cause, Enumerated, code 500, section 5.3.1 */ |
3332 { | 3339 { |
3333 struct dict_avp_data data = { | 3340 struct dict_avp_data data = { |
3334 500, /* Code */ | 3341 500, /* Code */ |
4175 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Sponsoring-Action)", NULL, NULL, NULL }; | 4182 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Sponsoring-Action)", NULL, NULL, NULL }; |
4176 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | 4183 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); |
4177 CHECK_dict_new(DICT_AVP, &data, type, NULL); | 4184 CHECK_dict_new(DICT_AVP, &data, type, NULL); |
4178 }; | 4185 }; |
4179 | 4186 |
4180 | 4187 /*==================================================================*/ |
4181 /* 3GPP 29.229-b20 (11.2.0 2012.12.21) */ | 4188 /* 3GPP 29.229-b20 (11.2.0 2012.12.21) */ |
4189 /*==================================================================*/ | |
4182 | 4190 |
4183 /* Associated-Identities, Grouped, code 632, section 6.3.33 */ | 4191 /* Associated-Identities, Grouped, code 632, section 6.3.33 */ |
4184 { | 4192 { |
4185 struct dict_avp_data data = { | 4193 struct dict_avp_data data = { |
4186 632, /* Code */ | 4194 632, /* Code */ |
4881 AVP_TYPE_OCTETSTRING /* base type of data */ | 4889 AVP_TYPE_OCTETSTRING /* base type of data */ |
4882 }; | 4890 }; |
4883 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | 4891 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); |
4884 }; | 4892 }; |
4885 | 4893 |
4886 | 4894 /*==================================================================*/ |
4887 /* 3GPP TS 29.272 V15.10.0 (2019-12) */ | 4895 /* 3GPP TS 29.272 V15.10.0 (2019-12) */ |
4888 /* From 3GPP 29272-fa0.docx */ | 4896 /* From 3GPP 29272-fa0.docx */ |
4897 /*==================================================================*/ | |
4889 | 4898 |
4890 /* Subscription-Data, Grouped, code 1400, section 7.3.2 */ | 4899 /* Subscription-Data, Grouped, code 1400, section 7.3.2 */ |
4891 { | 4900 { |
4892 struct dict_avp_data data = { | 4901 struct dict_avp_data data = { |
4893 1400, /* Code */ | 4902 1400, /* Code */ |
7587 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Interworking-5GS-Indicator)", NULL, NULL, NULL }; | 7596 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Interworking-5GS-Indicator)", NULL, NULL, NULL }; |
7588 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | 7597 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); |
7589 CHECK_dict_new(DICT_AVP, &data, type, NULL); | 7598 CHECK_dict_new(DICT_AVP, &data, type, NULL); |
7590 }; | 7599 }; |
7591 | 7600 |
7592 | 7601 /*==================================================================*/ |
7593 /* 3GPP 29.329-b50 (11.5.0 2012.12.21) */ | 7602 /* 3GPP 29.329-b50 (11.5.0 2012.12.21) */ |
7603 /*==================================================================*/ | |
7594 | 7604 |
7595 /* User-Identity, Grouped, code 700, section 6.3.1 */ | 7605 /* User-Identity, Grouped, code 700, section 6.3.1 */ |
7596 { | 7606 { |
7597 struct dict_avp_data data = { | 7607 struct dict_avp_data data = { |
7598 700, /* Code */ | 7608 700, /* Code */ |
7873 AVP_TYPE_UNSIGNED32 /* base type of data */ | 7883 AVP_TYPE_UNSIGNED32 /* base type of data */ |
7874 }; | 7884 }; |
7875 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | 7885 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); |
7876 }; | 7886 }; |
7877 | 7887 |
7878 | 7888 /*==================================================================*/ |
7879 /* 3GPP 32.299-b80 (11.8.0 2013-07) */ | 7889 /* 3GPP 32.299-b80 (11.8.0 2013-07) */ |
7890 /*==================================================================*/ | |
7880 | 7891 |
7881 /* AF-Correlation-Information, Grouped, code 1276 */ | 7892 /* AF-Correlation-Information, Grouped, code 1276 */ |
7882 { | 7893 { |
7883 struct dict_avp_data data = { | 7894 struct dict_avp_data data = { |
7884 1276, /* Code */ | 7895 1276, /* Code */ |
11593 AVP_TYPE_OCTETSTRING /* base type of data */ | 11604 AVP_TYPE_OCTETSTRING /* base type of data */ |
11594 }; | 11605 }; |
11595 CHECK_dict_new(DICT_AVP, &data, Address_type, NULL); | 11606 CHECK_dict_new(DICT_AVP, &data, Address_type, NULL); |
11596 }; | 11607 }; |
11597 | 11608 |
11598 | 11609 /*==================================================================*/ |
11599 /* OMA DDS Charging_Data V1.0 20110201-A */ | 11610 /* OMA DDS Charging_Data V1.0 20110201-A */ |
11611 /*==================================================================*/ | |
11600 | 11612 |
11601 /* Application-Server-Id, UTF8String, code 2101, section 8.4 */ | 11613 /* Application-Server-Id, UTF8String, code 2101, section 8.4 */ |
11602 { | 11614 { |
11603 struct dict_avp_data data = { | 11615 struct dict_avp_data data = { |
11604 2101, /* Code */ | 11616 2101, /* Code */ |