comparison extensions/dict_dcca_3gpp/add_avps.c @ 1516:435167c2e51c

Add 3GPP TS 29.219 V15.3.0 (2019-09) Add AVPs: - Pending-Policy-Counter-Information, Grouped, code 2905, section 5.3.5 - Pending-Policy-Counter-Change-Time, Time, code 2906, section 5.3.6 - Policy-Counter-Identifier, UTF8String, code 2901, section 5.3.1 - Policy-Counter-Status, UTF8String, code 2902, section 5.3.2 - Policy-Counter-Status-Report, Grouped, code 2903, section 5.3.3 - SL-Request-Type, Enumerated, code 2904, section 5.3.4 - SN-Request-Type, Unsigned32, code 2907, section 5.3.7
author Luke Mewburn <luke@mewburn.net>
date Thu, 09 Apr 2020 00:46:20 +1000
parents 8430dabbc637
children 9e233ef0b07e
comparison
equal deleted inserted replaced
1515:8430dabbc637 1516:435167c2e51c
6642 }; 6642 };
6643 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 6643 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6644 }; 6644 };
6645 6645
6646 /*==================================================================*/ 6646 /*==================================================================*/
6647 /* 3GPP TS 29.219 V15.3.0 (2019-09) */
6648 /* Policy and Charging Control: Spending Limit Reporting over */
6649 /* Sy reference point */
6650 /* */
6651 /* From 3GPP 29219-f30.doc */
6652 /*==================================================================*/
6653
6654 /*==================================================================*/
6655 /* 3GPP TS 29.219 Table 5.3.0.1: Sy specific Diameter AVPs */
6656 /*==================================================================*/
6657
6658 /* Pending-Policy-Counter-Information, Grouped, code 2905, section 5.3.5 */
6659 {
6660 struct dict_avp_data data = {
6661 2905, /* Code */
6662 10415, /* Vendor */
6663 "Pending-Policy-Counter-Information", /* Name */
6664 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6665 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6666 AVP_TYPE_GROUPED /* base type of data */
6667 };
6668 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6669 };
6670
6671 /* Pending-Policy-Counter-Change-Time, Time, code 2906, section 5.3.6 */
6672 {
6673 struct dict_avp_data data = {
6674 2906, /* Code */
6675 10415, /* Vendor */
6676 "Pending-Policy-Counter-Change-Time", /* Name */
6677 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6678 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6679 AVP_TYPE_OCTETSTRING /* base type of data */
6680 };
6681 CHECK_dict_new(DICT_AVP, &data, Time_type, NULL);
6682 };
6683
6684 /* Policy-Counter-Identifier, UTF8String, code 2901, section 5.3.1 */
6685 {
6686 struct dict_avp_data data = {
6687 2901, /* Code */
6688 10415, /* Vendor */
6689 "Policy-Counter-Identifier", /* Name */
6690 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6691 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6692 AVP_TYPE_OCTETSTRING /* base type of data */
6693 };
6694 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
6695 };
6696
6697 /* Policy-Counter-Status, UTF8String, code 2902, section 5.3.2 */
6698 {
6699 struct dict_avp_data data = {
6700 2902, /* Code */
6701 10415, /* Vendor */
6702 "Policy-Counter-Status", /* Name */
6703 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6704 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6705 AVP_TYPE_OCTETSTRING /* base type of data */
6706 };
6707 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
6708 };
6709
6710 /* Policy-Counter-Status-Report, Grouped, code 2903, section 5.3.3 */
6711 {
6712 struct dict_avp_data data = {
6713 2903, /* Code */
6714 10415, /* Vendor */
6715 "Policy-Counter-Status-Report", /* Name */
6716 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6717 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6718 AVP_TYPE_GROUPED /* base type of data */
6719 };
6720 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6721 };
6722
6723 /* SL-Request-Type, Enumerated, code 2904, section 5.3.4 */
6724 {
6725 struct dict_avp_data data = {
6726 2904, /* Code */
6727 10415, /* Vendor */
6728 "SL-Request-Type", /* Name */
6729 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6730 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6731 AVP_TYPE_INTEGER32 /* base type of data */
6732 };
6733 struct dict_object *type;
6734 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/SL-Request-Type)", NULL, NULL, NULL };
6735 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
6736 CHECK_dict_new(DICT_AVP, &data, type, NULL);
6737 };
6738
6739 /* SN-Request-Type, Unsigned32, code 2907, section 5.3.7 */
6740 {
6741 struct dict_avp_data data = {
6742 2907, /* Code */
6743 10415, /* Vendor */
6744 "SN-Request-Type", /* Name */
6745 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6746 AVP_FLAG_VENDOR, /* Fixed flag values */
6747 AVP_TYPE_UNSIGNED32 /* base type of data */
6748 };
6749 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6750 };
6751
6752 /*==================================================================*/
6647 /* 3GPP TS 29.229 V15.2.0 (2019-09) */ 6753 /* 3GPP TS 29.229 V15.2.0 (2019-09) */
6648 /* Cx and Dx interfaces based on the Diameter protocol; */ 6754 /* Cx and Dx interfaces based on the Diameter protocol; */
6649 /* Protocol details */ 6755 /* Protocol details */
6650 /* */ 6756 /* */
6651 /* From 3GPP 29229-f20.doc */ 6757 /* From 3GPP 29229-f20.doc */
"Welcome to our mercurial repository"