comparison extensions/dict_dcca_3gpp/dict_dcca_3gpp.c @ 1485:a0ca9ac32a3a

dict_dcca_3gpp: more comment improvements Don't bother with comments for AVPs in tables that are referenced from other sources. Add comment explicitly describing AVP renames.
author Luke Mewburn <luke@mewburn.net>
date Fri, 27 Mar 2020 10:05:54 +1100
parents 3bf80555f00a
children eeb5706333c3
comparison
equal deleted inserted replaced
1484:3bf80555f00a 1485:a0ca9ac32a3a
1405 /* From 3GPP 29140-700.doc */ 1405 /* From 3GPP 29140-700.doc */
1406 /*==================================================================*/ 1406 /*==================================================================*/
1407 1407
1408 /*==================================================================*/ 1408 /*==================================================================*/
1409 /* 3GPP TS 29.140 Table 6.3.1: Diameter MM10 Application AVPs */ 1409 /* 3GPP TS 29.140 Table 6.3.1: Diameter MM10 Application AVPs */
1410 /* */
1411 /* Note: AVPs referenced from other sources are not added here. */
1410 /*==================================================================*/ 1412 /*==================================================================*/
1411 1413
1412 /* Served-User-Identity, Grouped, code 1100, section 6.3.1 */ 1414 /* Served-User-Identity, Grouped, code 1100, section 6.3.1 */
1413 { 1415 {
1414 struct dict_avp_data data = { 1416 struct dict_avp_data data = {
1420 AVP_TYPE_GROUPED /* base type of data */ 1422 AVP_TYPE_GROUPED /* base type of data */
1421 }; 1423 };
1422 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 1424 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1423 }; 1425 };
1424 1426
1425 /* Note: Uses 3GPP TS 29.329 MSISDN (701). */
1426
1427 /* VASP-ID, UTF8String, code 1101, section 6.3.3 */ 1427 /* VASP-ID, UTF8String, code 1101, section 6.3.3 */
1428 { 1428 {
1429 struct dict_avp_data data = { 1429 struct dict_avp_data data = {
1430 1101, /* Code */ 1430 1101, /* Code */
1431 10415, /* Vendor */ 1431 10415, /* Vendor */
1464 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Trigger-Event)", NULL, NULL, NULL }; 1464 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Trigger-Event)", NULL, NULL, NULL };
1465 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 1465 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
1466 CHECK_dict_new(DICT_AVP, &data, type, NULL); 1466 CHECK_dict_new(DICT_AVP, &data, type, NULL);
1467 }; 1467 };
1468 1468
1469 /* Note: Uses 3GPP TS 29.061 3GPP-IMSI (1). */
1470
1471 /* Sender-Address, UTF8String, code 1104, section 6.3.7 */ 1469 /* Sender-Address, UTF8String, code 1104, section 6.3.7 */
1472 { 1470 {
1473 struct dict_avp_data data = { 1471 struct dict_avp_data data = {
1474 1104, /* Code */ 1472 1104, /* Code */
1475 10415, /* Vendor */ 1473 10415, /* Vendor */
1506 }; 1504 };
1507 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 1505 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1508 }; 1506 };
1509 1507
1510 /* Note: Name conflict with 3GPP TS 32.329 Sequence-Number (716). */ 1508 /* Note: Name conflict with 3GPP TS 32.329 Sequence-Number (716). */
1509 /* Sequence-Number (1107) renamed to Sequence-Number-29.140 (1107). */
1511 /* Sequence-Number-29.140, Unsigned32, code 1107, section 6.3.10 */ 1510 /* Sequence-Number-29.140, Unsigned32, code 1107, section 6.3.10 */
1512 { 1511 {
1513 struct dict_avp_data data = { 1512 struct dict_avp_data data = {
1514 1107, /* Code */ 1513 1107, /* Code */
1515 10415, /* Vendor */ 1514 10415, /* Vendor */
1520 }; 1519 };
1521 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 1520 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1522 }; 1521 };
1523 1522
1524 /* Note: Name conflict with 3GPP TS 32.299 Recipient-Address (1201). */ 1523 /* Note: Name conflict with 3GPP TS 32.299 Recipient-Address (1201). */
1524 /* Recipient-Address (1108) renamed to Recipient-Address-29.140 (1108). */
1525 /* Recipient-Address-29.140, UTF8String, code 1108, section 6.3.11 */ 1525 /* Recipient-Address-29.140, UTF8String, code 1108, section 6.3.11 */
1526 { 1526 {
1527 struct dict_avp_data data = { 1527 struct dict_avp_data data = {
1528 1108, /* Code */ 1528 1108, /* Code */
1529 10415, /* Vendor */ 1529 10415, /* Vendor */
"Welcome to our mercurial repository"