PCRF DB interface done

This commit is contained in:
Sukchan Lee 2017-08-24 17:05:10 +09:00
parent bca462ea85
commit 995a2d2320
10 changed files with 445 additions and 14 deletions

View file

@ -13,7 +13,6 @@ extern "C" {
#define MAX_NUM_OF_PDN 8
#define MAX_NUM_OF_BEARER 8
#define MAX_NUM_OF_UE_PDN (MAX_NUM_OF_UE * MAX_NUM_OF_PDN)
#define MAX_NUM_OF_UE_BEARER (MAX_NUM_OF_UE * MAX_NUM_OF_BEARER)
#define IPV6_LEN 16
@ -141,6 +140,25 @@ typedef struct _qos_t {
bitrate_t gbr; /* Guaranteed Bit Rate (GBR) */
} qos_t;
/**********************************
* Flow Structure */
typedef struct _flow_t {
c_uint8_t direction;
#define MAX_FLOW_DESCRIPTION_LEN 255
c_uint8_t description[MAX_FLOW_DESCRIPTION_LEN+1];
} flow_t;
/**********************************
* PCC Rule Structure */
#define MAX_NUM_OF_PCC_RULE 16
typedef struct _pcc_rule_t {
#define MAX_NUM_OF_FLOW 16
flow_t flow[MAX_NUM_OF_FLOW];
int num_of_flow;
qos_t qos;
} pcc_rule_t;
/**********************************
* PDN Structure */
typedef struct _pdn_t {