Changeset 1484:3bf80555f00a in freeDiameter for extensions/dict_dcca_3gpp/dict_dcca_3gpp.c
- Timestamp:
- Mar 27, 2020, 7:55:33 AM (4 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/dict_dcca_3gpp/dict_dcca_3gpp.c
r1483 r1484 73 73 * it is Mandatory or not. The data currently in the document does not 74 74 * match what was in the previous version of the freeDiameter 75 * extension (the one that existed before I rewrote it) or what I saw75 * extension (the one that existed before I rewrote it) or what I saw 76 76 * so far. IIRC, even the table and the document contradict each 77 * other. The AVP table is also missing an entry for 78 * "External-Identifier", 28. 77 * other. 79 78 * 80 79 * 2. 29.140 has conflicting AVP names with other documents: … … 738 737 }; 739 738 740 /* added manually, missing in AVP table */ 741 /* External-Identifier, OctetString, code 28, section 16.4.7 */ 742 { 743 struct dict_avp_data data = { 744 28, /* Code */ 745 10415, /* Vendor */ 746 "External-Identifier", /* Name */ 747 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ 748 AVP_FLAG_VENDOR, /* Fixed flag values */ 749 AVP_TYPE_OCTETSTRING /* base type of data */ 750 }; 751 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 752 }; 739 /* Note: 3GPP TS 29.061 table 9a does not define */ 740 /* External-Identifier (28) for Diameter. */ 741 /* 3GPP TS 29.061 table 9b refers to 3GPP TS 29.336 */ 742 /* for External-Identifier (3111). */ 743 /* */ 744 /* External-Identifier (28) OctetString replaced by */ 745 /* External-Identifier (3111) UTF8String. */ 753 746 754 747 /* TMGI, OctetString, code 900, section 17.07.02 */ … … 8769 8762 }; 8770 8763 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 8764 }; 8765 8766 /*==================================================================*/ 8767 /* 3GPP TS 29.336 V15.7.0 (2019-09) */ 8768 /* From 3GPP 29336-f70.docx */ 8769 /*==================================================================*/ 8770 8771 /*==================================================================*/ 8772 /* 3GPP TS 29.336 Table 6.4.1/1: S6m/S6n specific Diameter AVPs */ 8773 /* */ 8774 /* Note: This is incomplete. */ 8775 /*==================================================================*/ 8776 8777 /* External-Identifier, UTF8String, code 3111, section 6.4.11 */ 8778 { 8779 struct dict_avp_data data = { 8780 3111, /* Code */ 8781 10415, /* Vendor */ 8782 "External-Identifier", /* Name */ 8783 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ 8784 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ 8785 AVP_TYPE_OCTETSTRING /* base type of data */ 8786 }; 8787 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); 8771 8788 }; 8772 8789
Note: See TracChangeset
for help on using the changeset viewer.