Mercurial > hg > freeDiameter
comparison extensions/dict_dcca_3gpp/add_avps.c @ 1507:f5b1c2e2827f
Add 3GPP TS 29.337 V15.0.0 (2018-06)
Add AVPs:
- SM-Delivery-Outcome-T4, Enumerated, code 3200, section 6.3.1
- Absent-Subscriber-Diagnostic-T4, Enumerated, code 3201, section 6.3.2
- Trigger-Action, Unsigned32, code 3202, section 6.3.6
- MTC-Error-Diagnostic, Unsigned32, code 3203, section 6.3.7
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Fri, 03 Apr 2020 17:15:15 +1100 |
parents | b382cbd1a710 |
children | eb19aa48829f |
comparison
equal
deleted
inserted
replaced
1506:2ab9d941bad5 | 1507:f5b1c2e2827f |
---|---|
11848 }; | 11848 }; |
11849 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | 11849 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); |
11850 }; | 11850 }; |
11851 | 11851 |
11852 /*==================================================================*/ | 11852 /*==================================================================*/ |
11853 /* 3GPP TS 29.337 V15.0.0 (2018-06) */ | |
11854 /* Diameter-based T4 interface for communications with packet */ | |
11855 /* data networks and applications */ | |
11856 /* */ | |
11857 /* From 3GPP 29337-f00.doc */ | |
11858 /*==================================================================*/ | |
11859 | |
11860 /*==================================================================*/ | |
11861 /* 3GPP TS 29.337 Table 6.3.1/1: T4 specific Diameter AVPs */ | |
11862 /*==================================================================*/ | |
11863 | |
11864 /* SM-Delivery-Outcome-T4, Enumerated, code 3200, section 6.3.1 */ | |
11865 { | |
11866 struct dict_avp_data data = { | |
11867 3200, /* Code */ | |
11868 10415, /* Vendor */ | |
11869 "SM-Delivery-Outcome-T4", /* Name */ | |
11870 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11871 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11872 AVP_TYPE_INTEGER32 /* base type of data */ | |
11873 }; | |
11874 struct dict_object *type; | |
11875 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/SM-Delivery-Outcome-T4)", NULL, NULL, NULL }; | |
11876 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | |
11877 CHECK_dict_new(DICT_AVP, &data, type, NULL); | |
11878 }; | |
11879 | |
11880 /* Absent-Subscriber-Diagnostic-T4, Enumerated, code 3201, section 6.3.2 */ | |
11881 { | |
11882 struct dict_avp_data data = { | |
11883 3201, /* Code */ | |
11884 10415, /* Vendor */ | |
11885 "Absent-Subscriber-Diagnostic-T4", /* Name */ | |
11886 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11887 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11888 AVP_TYPE_INTEGER32 /* base type of data */ | |
11889 }; | |
11890 struct dict_object *type; | |
11891 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Absent-Subscriber-Diagnostic-T4)", NULL, NULL, NULL }; | |
11892 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); | |
11893 CHECK_dict_new(DICT_AVP, &data, type, NULL); | |
11894 }; | |
11895 | |
11896 /* Trigger-Action, Unsigned32, code 3202, section 6.3.6 */ | |
11897 { | |
11898 struct dict_avp_data data = { | |
11899 3202, /* Code */ | |
11900 10415, /* Vendor */ | |
11901 "Trigger-Action", /* Name */ | |
11902 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11903 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
11904 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11905 }; | |
11906 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11907 }; | |
11908 | |
11909 /* MTC-Error-Diagnostic, Unsigned32, code 3203, section 6.3.7 */ | |
11910 { | |
11911 struct dict_avp_data data = { | |
11912 3203, /* Code */ | |
11913 10415, /* Vendor */ | |
11914 "MTC-Error-Diagnostic", /* Name */ | |
11915 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11916 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
11917 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11918 }; | |
11919 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11920 }; | |
11921 | |
11922 /*==================================================================*/ | |
11853 /* 3GPP TS 29.338 V15.1.0 (2018-12) */ | 11923 /* 3GPP TS 29.338 V15.1.0 (2018-12) */ |
11854 /* Diameter based protocols to support */ | 11924 /* Diameter based protocols to support */ |
11855 /* Short Message Service (SMS) capable */ | 11925 /* Short Message Service (SMS) capable */ |
11856 /* Mobile Management Entities (MMEs) */ | 11926 /* Mobile Management Entities (MMEs) */ |
11857 /* */ | 11927 /* */ |