From 77d94c0301c0b49d7437f2d8a622e03fb0d562d6 Mon Sep 17 00:00:00 2001 From: Emanuele Di Pascale Date: Thu, 11 Jan 2024 12:14:01 +0100 Subject: [PATCH] lib/diameter/s6a: add EPS-User-State and the MME-related children --- lib/diameter/s6a/message.c | 6 ++++++ lib/diameter/s6a/message.h | 3 +++ 2 files changed, 9 insertions(+) diff --git a/lib/diameter/s6a/message.c b/lib/diameter/s6a/message.c index 1f725dfc0..c498f3b95 100644 --- a/lib/diameter/s6a/message.c +++ b/lib/diameter/s6a/message.c @@ -78,6 +78,9 @@ struct dict_object *ogs_diam_s6a_pdn_gw_allocation_type = NULL; struct dict_object *ogs_diam_s6a_vplmn_dynamic_address_allowed = NULL; struct dict_object *ogs_diam_s6a_eps_location_information = NULL; struct dict_object *ogs_diam_s6a_mme_location_information = NULL; +struct dict_object *ogs_diam_s6a_eps_user_state = NULL; +struct dict_object *ogs_diam_s6a_mme_user_state = NULL; +struct dict_object *ogs_diam_s6a_user_state = NULL; struct dict_object *ogs_diam_s6a_e_utran_cell_global_identity = NULL; struct dict_object *ogs_diam_s6a_tracking_area_identity = NULL; struct dict_object *ogs_diam_s6a_age_of_location_information = NULL; @@ -159,6 +162,9 @@ int ogs_diam_s6a_init(void) CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "EPS-Location-Information", &ogs_diam_s6a_eps_location_information); CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "MME-Location-Information", &ogs_diam_s6a_mme_location_information); + CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "EPS-User-State", &ogs_diam_s6a_eps_user_state); + CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "MME-User-State", &ogs_diam_s6a_mme_user_state); + CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "User-State", &ogs_diam_s6a_user_state); CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "E-UTRAN-Cell-Global-Identity", &ogs_diam_s6a_e_utran_cell_global_identity); CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Tracking-Area-Identity", &ogs_diam_s6a_tracking_area_identity); CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Age-Of-Location-Information", &ogs_diam_s6a_age_of_location_information); diff --git a/lib/diameter/s6a/message.h b/lib/diameter/s6a/message.h index 8adf9628d..28d8fa984 100644 --- a/lib/diameter/s6a/message.h +++ b/lib/diameter/s6a/message.h @@ -144,6 +144,9 @@ extern struct dict_object *ogs_diam_s6a_pdn_gw_allocation_type; extern struct dict_object *ogs_diam_s6a_vplmn_dynamic_address_allowed; extern struct dict_object *ogs_diam_s6a_eps_location_information; extern struct dict_object *ogs_diam_s6a_mme_location_information; +extern struct dict_object *ogs_diam_s6a_eps_user_state; +extern struct dict_object *ogs_diam_s6a_mme_user_state; +extern struct dict_object *ogs_diam_s6a_user_state; extern struct dict_object *ogs_diam_s6a_e_utran_cell_global_identity; extern struct dict_object *ogs_diam_s6a_tracking_area_identity; extern struct dict_object *ogs_diam_s6a_age_of_location_information;