mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 07:08:11 +00:00
86 lines
3.2 KiB
C
86 lines
3.2 KiB
C
#ifndef __RX_DICT_H__
|
|
#define __RX_DICT_H__
|
|
|
|
#include "freeDiameter/freeDiameter-host.h"
|
|
#include "freeDiameter/libfdcore.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
#define RX_APPLICATION_ID 16777236
|
|
|
|
extern struct dict_object *rx_application;
|
|
|
|
extern struct dict_object *rx_cmd_aar;
|
|
extern struct dict_object *rx_cmd_aaa;
|
|
|
|
extern struct dict_object *rx_media_component_description;
|
|
extern struct dict_object *rx_media_component_number;
|
|
#define RX_MEDIA_TYPE_AUDIO 0
|
|
#define RX_MEDIA_TYPE_VIDEO 1
|
|
#define RX_MEDIA_TYPE_DATA 2
|
|
#define RX_MEDIA_TYPE_APPLICATION 3
|
|
#define RX_MEDIA_TYPE_CONTROL 4
|
|
#define RX_MEDIA_TYPE_TEXT 5
|
|
#define RX_MEDIA_TYPE_MESSAGE 6
|
|
#define RX_MEDIA_TYPE_OTHER 0xFFFFFFFF
|
|
extern struct dict_object *rx_media_type;
|
|
extern struct dict_object *rx_max_requested_bandwidth_ul;
|
|
extern struct dict_object *rx_max_requested_bandwidth_dl;
|
|
extern struct dict_object *rx_min_requested_bandwidth_ul;
|
|
extern struct dict_object *rx_min_requested_bandwidth_dl;
|
|
extern struct dict_object *rx_rr_bandwidth;
|
|
extern struct dict_object *rx_rs_bandwidth;
|
|
#define RX_FLOW_STATUS_ENABLED_UPLINK 0
|
|
#define RX_FLOW_STATUS_ENABLED_DOWNLINK 1
|
|
#define RX_FLOW_STATUS_ENABLED 2
|
|
#define RX_FLOW_STATUS_DISABLED 3
|
|
extern struct dict_object *rx_flow_status;
|
|
extern struct dict_object *rx_codec_data;
|
|
extern struct dict_object *rx_media_sub_component;
|
|
extern struct dict_object *rx_flow_number;
|
|
#define RX_FLOW_USAGE_NO_INFORMATION 0
|
|
#define RX_FLOW_USAGE_RTCP 1
|
|
#define RX_FLOW_USAGE_AF_SIGNALLING 2
|
|
extern struct dict_object *rx_flow_usage;
|
|
extern struct dict_object *rx_flow_description;
|
|
extern struct dict_object *rx_subscription_id;
|
|
#define RX_SUBSCRIPTION_ID_TYPE_END_USER_E164 0
|
|
#define RX_SUBSCRIPTION_ID_TYPE_END_USER_IMSI 1
|
|
#define RX_SUBSCRIPTION_ID_TYPE_END_USER_SIP_URI 2
|
|
#define RX_SUBSCRIPTION_ID_TYPE_END_USER_NAI 3
|
|
extern struct dict_object *rx_subscription_id_type;
|
|
extern struct dict_object *rx_subscription_id_data;
|
|
extern struct dict_object *rx_specific_action;
|
|
extern struct dict_object *rx_framed_ip_address;
|
|
extern struct dict_object *rx_framed_ipv6_prefix;
|
|
#define RX_IP_CAN_TYPE_3GPP_GPRS 0
|
|
#define RX_IP_CAN_TYPE_DOCSIS 1
|
|
#define RX_IP_CAN_TYPE_xDSL 2
|
|
#define RX_IP_CAN_TYPE_WiMAX 3
|
|
#define RX_IP_CAN_TYPE_3GPP2 4
|
|
#define RX_IP_CAN_TYPE_3GPP_EPS 5
|
|
#define RX_IP_CAN_TYPE_Non_3GPP_EPS 6
|
|
extern struct dict_object *rx_ip_can_type;
|
|
#define RX_RAT_TYPE_WLAN 0
|
|
#define RX_RAT_TYPE_VIRTUAL 1
|
|
#define RX_RAT_TYPE_UTRAN 1000
|
|
#define RX_RAT_TYPE_GERAN 1001
|
|
#define RX_RAT_TYPE_GAN 1002
|
|
#define RX_RAT_TYPE_HSPA_EVOLUTION 1003
|
|
#define RX_RAT_TYPE_EUTRAN 1004
|
|
#define RX_RAT_TYPE_EUTRAN_NB_IoT 1005
|
|
#define RX_RAT_TYPE_CDMA2000_1X 2000
|
|
#define RX_RAT_TYPE_HRPD 2001
|
|
#define RX_RAT_TYPE_UMB 2002
|
|
#define RX_RAT_TYPE_EHRPD 2003
|
|
extern struct dict_object *rx_rat_type;
|
|
|
|
int rx_dict_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __RX_DICT_H__ */
|