Mercurial > hg > freeDiameter
comparison extensions/dict_dcca_3gpp/dict_dcca_3gpp.c @ 1488:431ad99c39fe
Add 3GPP TS 29.273 V15.4.0 (2019-09)
Add AVPs from 3GPP TS 29.273:
- 3GPP-AAA-Server-Name, DiameterIdentity, code 318, section 8.2.3.24
- Non-3GPP-User-Data, Grouped, code 1500, section 8.2.3.1
- Non-3GPP-IP-Access, Enumerated, code 1501, section 8.2.3.3
- Non-3GPP-IP-Access-APN, Enumerated, code 1502, section 8.2.3.4
- AN-Trusted, Enumerated, code 1503, section 5.2.3.9
- ANID, UTF8String, code 1504, section 5.2.3.7
- Trace-Info, Grouped, code 1505, section 8.2.3.1.3
- MIP-FA-RK, OctetString, code 1506, section 5.2.3.12
- MIP-FA-RK-SPI, Unsigned32, code 1507, section 5.2.3.13
- PPR-Flags, Unsigned32, code 1508, section 8.2.3.17
- WLAN-Identifier, Grouped, code 1509, section 5.2.3.18
- TWAN-Access-Info, Grouped, code 1510, section 8.2.3.19
- Access-Authorization-Flags, Unsigned32, code 1511, section 8.2.3.20
- TWAN-Default-APN-Context-Id, Unsigned32, code 1512, section 8.2.3.18
- Full-Network-Name, OctetString, code 1516, section 5.2.3.14
- Short-Network-Name, OctetString, code 1517, section 5.2.3.15
- AAA-Failure-Indication, Unsigned32, code 1518, section 8.2.3.21
- Transport-Access-Type, Enumerated, code 1519, section 5.2.3.19
- DER-Flags, Unsigned32, code 1520, section 5.2.3.20
- DEA-Flags, Unsigned32, code 1521, section 5.2.3.21
- RAR-Flags, Unsigned32, code 1522, section 9.2.3.1.5
- DER-S6b-Flags, Unsigned32, code 1523, section 9.2.3.7
- SSID, UTF8String, code 1524, section 5.2.3.22
- HESSID, UTF8String, code 1525, section 5.2.3.23
- Access-Network-Info, Grouped, code 1526, section 5.2.3.24
- TWAN-Connection-Mode, Unsigned32, code 1527, section 5.2.3.25
- TWAN-Connectivity-Parameters, Grouped, code 1528, section 5.2.3.26
- Connectivity-Flags, Unsigned32, code 1529, section 5.2.3.27
- TWAN-PCO, OctetString, code 1530, section 5.2.3.28
- TWAG-CP-Address, Address, code 1531, section 5.2.3.29
- TWAG-UP-Address, UTF8String, code 1532, section 5.2.3.30
- TWAN-S2a-Failure-Cause, Unsigned32, code 1533, section 5.2.3.31
- SM-Back-Off-Timer, Unsigned32, code 1534, section 5.2.3.32
- WLCP-Key, OctetString, code 1535, section 5.2.3.33
- Origination-Time-Stamp, Unsigned64, code 1536, section 9.2.3.2.6
- Maximum-Wait-Time, Unsigned32, code 1537, section 9.2.3.2.7
- Emergency-Services, Unsigned32, code 1538, section 7.2.3.4
- AAR-Flags, Unsigned32, code 1539, section 7.2.3.5
- IMEI-Check-In-VPLMN-Result, Unsigned32, code 1540, section 5.2.3.35
- ERP-Authorization, Unsigned32, code 1541, section 8.2.3.27
Not adding Trust-Relationship-Update (1515) because that was
only present in one published version: 3GPP TS 29.273 V11.3.0 (2012-09)
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Fri, 27 Mar 2020 16:58:02 +1100 |
parents | eeb5706333c3 |
children | 0210b996b8fa |
comparison
equal
deleted
inserted
replaced
1487:5c2d061a8c8e | 1488:431ad99c39fe |
---|---|
8641 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | 8641 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); |
8642 CHECK_dict_new(DICT_AVP, &data, type, NULL); | 8642 CHECK_dict_new(DICT_AVP, &data, type, NULL); |
8643 }; | 8643 }; |
8644 | 8644 |
8645 /*==================================================================*/ | 8645 /*==================================================================*/ |
8646 /* 3GPP TS 29.273 V15.4.0 (2019-09) */ | |
8647 /*==================================================================*/ | |
8648 | |
8649 /*==================================================================*/ | |
8650 /* 3GPP TS 29.273 Table 5.2.3.1/1: Diameter STa AVPs */ | |
8651 /* */ | |
8652 /* Note: AVPs referenced from other sources are not added here. */ | |
8653 /*==================================================================*/ | |
8654 | |
8655 /* ANID, UTF8String, code 1504, section 5.2.3.7 */ | |
8656 { | |
8657 struct dict_avp_data data = { | |
8658 1504, /* Code */ | |
8659 10415, /* Vendor */ | |
8660 "ANID", /* Name */ | |
8661 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8662 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
8663 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8664 }; | |
8665 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
8666 }; | |
8667 | |
8668 /* AN-Trusted, Enumerated, code 1503, section 5.2.3.9 */ | |
8669 { | |
8670 struct dict_avp_data data = { | |
8671 1503, /* Code */ | |
8672 10415, /* Vendor */ | |
8673 "AN-Trusted", /* Name */ | |
8674 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8675 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
8676 AVP_TYPE_INTEGER32 /* base type of data */ | |
8677 }; | |
8678 struct dict_object *type; | |
8679 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/AN-Trusted)", NULL, NULL, NULL }; | |
8680 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | |
8681 CHECK_dict_new(DICT_AVP, &data, type, NULL); | |
8682 }; | |
8683 | |
8684 /* MIP-FA-RK, OctetString, code 1506, section 5.2.3.12 */ | |
8685 { | |
8686 struct dict_avp_data data = { | |
8687 1506, /* Code */ | |
8688 10415, /* Vendor */ | |
8689 "MIP-FA-RK", /* Name */ | |
8690 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8691 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
8692 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8693 }; | |
8694 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8695 }; | |
8696 | |
8697 /* MIP-FA-RK-SPI, Unsigned32, code 1507, section 5.2.3.13 */ | |
8698 { | |
8699 struct dict_avp_data data = { | |
8700 1507, /* Code */ | |
8701 10415, /* Vendor */ | |
8702 "MIP-FA-RK-SPI", /* Name */ | |
8703 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8704 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
8705 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8706 }; | |
8707 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8708 }; | |
8709 | |
8710 /* Full-Network-Name, OctetString, code 1516, section 5.2.3.14 */ | |
8711 { | |
8712 struct dict_avp_data data = { | |
8713 1516, /* Code */ | |
8714 10415, /* Vendor */ | |
8715 "Full-Network-Name", /* Name */ | |
8716 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8717 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8718 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8719 }; | |
8720 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8721 }; | |
8722 | |
8723 /* Short-Network-Name, OctetString, code 1517, section 5.2.3.15 */ | |
8724 { | |
8725 struct dict_avp_data data = { | |
8726 1517, /* Code */ | |
8727 10415, /* Vendor */ | |
8728 "Short-Network-Name", /* Name */ | |
8729 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8730 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8731 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8732 }; | |
8733 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8734 }; | |
8735 | |
8736 /* WLAN-Identifier, Grouped, code 1509, section 5.2.3.18 */ | |
8737 { | |
8738 struct dict_avp_data data = { | |
8739 1509, /* Code */ | |
8740 10415, /* Vendor */ | |
8741 "WLAN-Identifier", /* Name */ | |
8742 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8743 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8744 AVP_TYPE_GROUPED /* base type of data */ | |
8745 }; | |
8746 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8747 }; | |
8748 | |
8749 /* AAA-Failure-Indication, Unsigned32, code 1518, section 8.2.3.21 */ | |
8750 { | |
8751 struct dict_avp_data data = { | |
8752 1518, /* Code */ | |
8753 10415, /* Vendor */ | |
8754 "AAA-Failure-Indication", /* Name */ | |
8755 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8756 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8757 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8758 }; | |
8759 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8760 }; | |
8761 | |
8762 /* Transport-Access-Type, Enumerated, code 1519, section 5.2.3.19 */ | |
8763 { | |
8764 struct dict_avp_data data = { | |
8765 1519, /* Code */ | |
8766 10415, /* Vendor */ | |
8767 "Transport-Access-Type", /* Name */ | |
8768 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8769 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8770 AVP_TYPE_INTEGER32 /* base type of data */ | |
8771 }; | |
8772 struct dict_object *type; | |
8773 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Transport-Access-Type)", NULL, NULL, NULL }; | |
8774 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | |
8775 CHECK_dict_new(DICT_AVP, &data, type, NULL); | |
8776 }; | |
8777 | |
8778 /* DER-Flags, Unsigned32, code 1520, section 5.2.3.20 */ | |
8779 { | |
8780 struct dict_avp_data data = { | |
8781 1520, /* Code */ | |
8782 10415, /* Vendor */ | |
8783 "DER-Flags", /* Name */ | |
8784 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8785 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8786 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8787 }; | |
8788 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8789 }; | |
8790 | |
8791 /* DEA-Flags, Unsigned32, code 1521, section 5.2.3.21 */ | |
8792 { | |
8793 struct dict_avp_data data = { | |
8794 1521, /* Code */ | |
8795 10415, /* Vendor */ | |
8796 "DEA-Flags", /* Name */ | |
8797 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8798 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8799 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8800 }; | |
8801 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8802 }; | |
8803 | |
8804 /* SSID, UTF8String, code 1524, section 5.2.3.22 */ | |
8805 { | |
8806 struct dict_avp_data data = { | |
8807 1524, /* Code */ | |
8808 10415, /* Vendor */ | |
8809 "SSID", /* Name */ | |
8810 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8811 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8812 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8813 }; | |
8814 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
8815 }; | |
8816 | |
8817 /* HESSID, UTF8String, code 1525, section 5.2.3.23 */ | |
8818 { | |
8819 struct dict_avp_data data = { | |
8820 1525, /* Code */ | |
8821 10415, /* Vendor */ | |
8822 "HESSID", /* Name */ | |
8823 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8824 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8825 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8826 }; | |
8827 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
8828 }; | |
8829 | |
8830 /* Access-Network-Info, Grouped, code 1526, section 5.2.3.24 */ | |
8831 { | |
8832 struct dict_avp_data data = { | |
8833 1526, /* Code */ | |
8834 10415, /* Vendor */ | |
8835 "Access-Network-Info", /* Name */ | |
8836 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8837 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8838 AVP_TYPE_GROUPED /* base type of data */ | |
8839 }; | |
8840 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8841 }; | |
8842 | |
8843 /* TWAN-Connection-Mode, Unsigned32, code 1527, section 5.2.3.25 */ | |
8844 { | |
8845 struct dict_avp_data data = { | |
8846 1527, /* Code */ | |
8847 10415, /* Vendor */ | |
8848 "TWAN-Connection-Mode", /* Name */ | |
8849 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8850 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8851 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8852 }; | |
8853 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8854 }; | |
8855 | |
8856 /* TWAN-Connectivity-Parameters, Grouped, code 1528, section 5.2.3.26 */ | |
8857 { | |
8858 struct dict_avp_data data = { | |
8859 1528, /* Code */ | |
8860 10415, /* Vendor */ | |
8861 "TWAN-Connectivity-Parameters", /* Name */ | |
8862 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8863 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8864 AVP_TYPE_GROUPED /* base type of data */ | |
8865 }; | |
8866 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8867 }; | |
8868 | |
8869 /* Connectivity-Flags, Unsigned32, code 1529, section 5.2.3.27 */ | |
8870 { | |
8871 struct dict_avp_data data = { | |
8872 1529, /* Code */ | |
8873 10415, /* Vendor */ | |
8874 "Connectivity-Flags", /* Name */ | |
8875 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8876 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8877 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8878 }; | |
8879 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8880 }; | |
8881 | |
8882 /* TWAN-PCO, OctetString, code 1530, section 5.2.3.28 */ | |
8883 { | |
8884 struct dict_avp_data data = { | |
8885 1530, /* Code */ | |
8886 10415, /* Vendor */ | |
8887 "TWAN-PCO", /* Name */ | |
8888 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8889 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8890 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8891 }; | |
8892 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8893 }; | |
8894 | |
8895 /* TWAG-CP-Address, Address, code 1531, section 5.2.3.29 */ | |
8896 { | |
8897 struct dict_avp_data data = { | |
8898 1531, /* Code */ | |
8899 10415, /* Vendor */ | |
8900 "TWAG-CP-Address", /* Name */ | |
8901 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8902 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8903 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8904 }; | |
8905 CHECK_dict_new(DICT_AVP, &data, Address_type, NULL); | |
8906 }; | |
8907 | |
8908 /* TWAG-UP-Address, UTF8String, code 1532, section 5.2.3.30 */ | |
8909 { | |
8910 struct dict_avp_data data = { | |
8911 1532, /* Code */ | |
8912 10415, /* Vendor */ | |
8913 "TWAG-UP-Address", /* Name */ | |
8914 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8915 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8916 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8917 }; | |
8918 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
8919 }; | |
8920 | |
8921 /* TWAN-S2a-Failure-Cause, Unsigned32, code 1533, section 5.2.3.31 */ | |
8922 { | |
8923 struct dict_avp_data data = { | |
8924 1533, /* Code */ | |
8925 10415, /* Vendor */ | |
8926 "TWAN-S2a-Failure-Cause", /* Name */ | |
8927 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8928 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8929 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8930 }; | |
8931 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8932 }; | |
8933 | |
8934 /* SM-Back-Off-Timer, Unsigned32, code 1534, section 5.2.3.32 */ | |
8935 { | |
8936 struct dict_avp_data data = { | |
8937 1534, /* Code */ | |
8938 10415, /* Vendor */ | |
8939 "SM-Back-Off-Timer", /* Name */ | |
8940 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8941 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8942 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8943 }; | |
8944 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8945 }; | |
8946 | |
8947 /* WLCP-Key, OctetString, code 1535, section 5.2.3.33 */ | |
8948 { | |
8949 struct dict_avp_data data = { | |
8950 1535, /* Code */ | |
8951 10415, /* Vendor */ | |
8952 "WLCP-Key", /* Name */ | |
8953 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8954 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8955 AVP_TYPE_OCTETSTRING /* base type of data */ | |
8956 }; | |
8957 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8958 }; | |
8959 | |
8960 /* Emergency-Services, Unsigned32, code 1538, section 7.2.3.4 */ | |
8961 { | |
8962 struct dict_avp_data data = { | |
8963 1538, /* Code */ | |
8964 10415, /* Vendor */ | |
8965 "Emergency-Services", /* Name */ | |
8966 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8967 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8968 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8969 }; | |
8970 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8971 }; | |
8972 | |
8973 /* IMEI-Check-In-VPLMN-Result, Unsigned32, code 1540, section 5.2.3.35 */ | |
8974 { | |
8975 struct dict_avp_data data = { | |
8976 1540, /* Code */ | |
8977 10415, /* Vendor */ | |
8978 "IMEI-Check-In-VPLMN-Result", /* Name */ | |
8979 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
8980 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
8981 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
8982 }; | |
8983 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
8984 }; | |
8985 | |
8986 | |
8987 /*==================================================================*/ | |
8988 /* 3GPP TS 29.273 Table 6.2.3.1/1: Diameter SWd AVPs */ | |
8989 /* */ | |
8990 /* Note: No AVPs are first defined in this table. */ | |
8991 /*==================================================================*/ | |
8992 | |
8993 /*==================================================================*/ | |
8994 /* 3GPP TS 29.273 Table 7.2.3.1/1: Diameter SWm AVPs */ | |
8995 /* */ | |
8996 /* Note: AVPs referenced from other sources are not added here. */ | |
8997 /*==================================================================*/ | |
8998 | |
8999 /* Trace-Info, Grouped, code 1505, section 8.2.3.1.3 */ | |
9000 { | |
9001 struct dict_avp_data data = { | |
9002 1505, /* Code */ | |
9003 10415, /* Vendor */ | |
9004 "Trace-Info", /* Name */ | |
9005 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9006 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9007 AVP_TYPE_GROUPED /* base type of data */ | |
9008 }; | |
9009 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9010 }; | |
9011 | |
9012 /* AAR-Flags, Unsigned32, code 1539, section 7.2.3.5 */ | |
9013 { | |
9014 struct dict_avp_data data = { | |
9015 1539, /* Code */ | |
9016 10415, /* Vendor */ | |
9017 "AAR-Flags", /* Name */ | |
9018 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9019 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9020 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
9021 }; | |
9022 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9023 }; | |
9024 | |
9025 | |
9026 /*==================================================================*/ | |
9027 /* 3GPP TS 29.273 Table 8.2.3.0/1: Diameter SWx AVPs */ | |
9028 /* */ | |
9029 /* Note: AVPs referenced from other sources are not added here. */ | |
9030 /*==================================================================*/ | |
9031 | |
9032 /* Non-3GPP-User-Data, Grouped, code 1500, section 8.2.3.1 */ | |
9033 { | |
9034 struct dict_avp_data data = { | |
9035 1500, /* Code */ | |
9036 10415, /* Vendor */ | |
9037 "Non-3GPP-User-Data", /* Name */ | |
9038 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9039 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
9040 AVP_TYPE_GROUPED /* base type of data */ | |
9041 }; | |
9042 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9043 }; | |
9044 | |
9045 /* Non-3GPP-IP-Access, Enumerated, code 1501, section 8.2.3.3 */ | |
9046 { | |
9047 struct dict_avp_data data = { | |
9048 1501, /* Code */ | |
9049 10415, /* Vendor */ | |
9050 "Non-3GPP-IP-Access", /* Name */ | |
9051 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9052 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
9053 AVP_TYPE_INTEGER32 /* base type of data */ | |
9054 }; | |
9055 struct dict_object *type; | |
9056 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Non-3GPP-IP-Access)", NULL, NULL, NULL }; | |
9057 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | |
9058 CHECK_dict_new(DICT_AVP, &data, type, NULL); | |
9059 }; | |
9060 | |
9061 /* Non-3GPP-IP-Access-APN, Enumerated, code 1502, section 8.2.3.4 */ | |
9062 { | |
9063 struct dict_avp_data data = { | |
9064 1502, /* Code */ | |
9065 10415, /* Vendor */ | |
9066 "Non-3GPP-IP-Access-APN", /* Name */ | |
9067 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9068 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
9069 AVP_TYPE_INTEGER32 /* base type of data */ | |
9070 }; | |
9071 struct dict_object *type; | |
9072 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Non-3GPP-IP-Access-APN)", NULL, NULL, NULL }; | |
9073 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | |
9074 CHECK_dict_new(DICT_AVP, &data, type, NULL); | |
9075 }; | |
9076 | |
9077 /* PPR-Flags, Unsigned32, code 1508, section 8.2.3.17 */ | |
9078 { | |
9079 struct dict_avp_data data = { | |
9080 1508, /* Code */ | |
9081 10415, /* Vendor */ | |
9082 "PPR-Flags", /* Name */ | |
9083 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9084 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9085 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
9086 }; | |
9087 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9088 }; | |
9089 | |
9090 /* TWAN-Default-APN-Context-Id, Unsigned32, code 1512, section 8.2.3.18 */ | |
9091 { | |
9092 struct dict_avp_data data = { | |
9093 1512, /* Code */ | |
9094 10415, /* Vendor */ | |
9095 "TWAN-Default-APN-Context-Id", /* Name */ | |
9096 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9097 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9098 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
9099 }; | |
9100 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9101 }; | |
9102 | |
9103 /* TWAN-Access-Info, Grouped, code 1510, section 8.2.3.19 */ | |
9104 { | |
9105 struct dict_avp_data data = { | |
9106 1510, /* Code */ | |
9107 10415, /* Vendor */ | |
9108 "TWAN-Access-Info", /* Name */ | |
9109 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9110 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9111 AVP_TYPE_GROUPED /* base type of data */ | |
9112 }; | |
9113 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9114 }; | |
9115 | |
9116 /* Access-Authorization-Flags, Unsigned32, code 1511, section 8.2.3.20 */ | |
9117 { | |
9118 struct dict_avp_data data = { | |
9119 1511, /* Code */ | |
9120 10415, /* Vendor */ | |
9121 "Access-Authorization-Flags", /* Name */ | |
9122 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9123 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9124 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
9125 }; | |
9126 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9127 }; | |
9128 | |
9129 /* 3GPP-AAA-Server-Name, DiameterIdentity, code 318, section 8.2.3.24 */ | |
9130 { | |
9131 struct dict_avp_data data = { | |
9132 318, /* Code */ | |
9133 10415, /* Vendor */ | |
9134 "3GPP-AAA-Server-Name", /* Name */ | |
9135 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9136 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
9137 AVP_TYPE_OCTETSTRING /* base type of data */ | |
9138 }; | |
9139 CHECK_dict_new(DICT_AVP, &data, DiameterIdentity_type, NULL); | |
9140 }; | |
9141 | |
9142 /* ERP-Authorization, Unsigned32, code 1541, section 8.2.3.27 */ | |
9143 { | |
9144 struct dict_avp_data data = { | |
9145 1541, /* Code */ | |
9146 10415, /* Vendor */ | |
9147 "ERP-Authorization", /* Name */ | |
9148 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9149 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9150 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
9151 }; | |
9152 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9153 }; | |
9154 | |
9155 | |
9156 /*==================================================================*/ | |
9157 /* 3GPP TS 29.273 Table 9.2.3.1.1/1: Diameter S6b AVPs for DSMIPv6 */ | |
9158 /* */ | |
9159 /* Note: AVPs referenced from other sources are not added here. */ | |
9160 /*==================================================================*/ | |
9161 | |
9162 /* RAR-Flags, Unsigned32, code 1522, section 9.2.3.1.5 */ | |
9163 { | |
9164 struct dict_avp_data data = { | |
9165 1522, /* Code */ | |
9166 10415, /* Vendor */ | |
9167 "RAR-Flags", /* Name */ | |
9168 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9169 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9170 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
9171 }; | |
9172 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9173 }; | |
9174 | |
9175 /* Note: Trust-Relationship-Update (1515) only present in */ | |
9176 /* 3GPP TS 29.273 V11.3.0 (2012-09) before being deprecated. */ | |
9177 /* Trust-Relationship-Update (1515) not provided. */ | |
9178 | |
9179 /* DER-S6b-Flags, Unsigned32, code 1523, section 9.2.3.7 */ | |
9180 { | |
9181 struct dict_avp_data data = { | |
9182 1523, /* Code */ | |
9183 10415, /* Vendor */ | |
9184 "DER-S6b-Flags", /* Name */ | |
9185 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9186 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9187 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
9188 }; | |
9189 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9190 }; | |
9191 | |
9192 | |
9193 /*==================================================================*/ | |
9194 /* 3GPP TS 29.273 Table 9.2.3.2.1/1: Diameter S6b AVPs for PMIPv6 or GTPv2 */ | |
9195 /* */ | |
9196 /* Note: AVPs referenced from other sources are not added here. */ | |
9197 /*==================================================================*/ | |
9198 | |
9199 /* Origination-Time-Stamp, Unsigned64, code 1536, section 9.2.3.2.6 */ | |
9200 { | |
9201 struct dict_avp_data data = { | |
9202 1536, /* Code */ | |
9203 10415, /* Vendor */ | |
9204 "Origination-Time-Stamp", /* Name */ | |
9205 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9206 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9207 AVP_TYPE_UNSIGNED64 /* base type of data */ | |
9208 }; | |
9209 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9210 }; | |
9211 | |
9212 /* Maximum-Wait-Time, Unsigned32, code 1537, section 9.2.3.2.7 */ | |
9213 { | |
9214 struct dict_avp_data data = { | |
9215 1537, /* Code */ | |
9216 10415, /* Vendor */ | |
9217 "Maximum-Wait-Time", /* Name */ | |
9218 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
9219 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
9220 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
9221 }; | |
9222 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
9223 }; | |
9224 | |
9225 | |
9226 /*==================================================================*/ | |
9227 /* 3GPP TS 29.273 Table 9.2.3.6.1/1: Diameter S6b AVPs for MIPv4 FACoA */ | |
9228 /* */ | |
9229 /* Note: No AVPs are first defined in this table. */ | |
9230 /*==================================================================*/ | |
9231 | |
9232 /*==================================================================*/ | |
8646 /* 3GPP TS 29.329 V15.2.0 (2019-09) */ | 9233 /* 3GPP TS 29.329 V15.2.0 (2019-09) */ |
8647 /* From 3GPP 29329-f20.doc */ | 9234 /* From 3GPP 29329-f20.doc */ |
8648 /*==================================================================*/ | 9235 /*==================================================================*/ |
8649 | 9236 |
8650 /*==================================================================*/ | 9237 /*==================================================================*/ |