Commit c47c7d80 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

correct indentation

parent cf56f0fe
...@@ -84,12 +84,12 @@ ...@@ -84,12 +84,12 @@
typedef struct{ typedef struct{
uint8_t uint; uint8_t uint;
uint16_t value; uint16_t value;
}GFBROrMFBR_UpLinkOrDownLink; } GFBROrMFBR_UpLinkOrDownLink;
typedef struct{ typedef struct{
uint8_t uplinkinmilliseconds; uint8_t uplinkinmilliseconds;
uint8_t downlinkinmilliseconds; uint8_t downlinkinmilliseconds;
}AveragingWindow; } AveragingWindow;
typedef struct{ typedef struct{
uint8_t parameteridentifier; uint8_t parameteridentifier;
...@@ -100,7 +100,7 @@ typedef struct{ ...@@ -100,7 +100,7 @@ typedef struct{
AveragingWindow averagingwindow; AveragingWindow averagingwindow;
uint8_t epsbeareridentity:4; uint8_t epsbeareridentity:4;
}parametercontents; }parametercontents;
}ParametersList; } ParametersList;
typedef struct{ typedef struct{
uint8_t qfi:6; uint8_t qfi:6;
...@@ -108,12 +108,12 @@ typedef struct{ ...@@ -108,12 +108,12 @@ typedef struct{
uint8_t e:1; uint8_t e:1;
uint8_t numberofparameters:6; uint8_t numberofparameters:6;
ParametersList *parameterslist; ParametersList *parameterslist;
}QOSFlowDescriptionsContents; } QOSFlowDescriptionsContents;
typedef struct{ typedef struct{
uint16_t qosflowdescriptionsnumber; //Custom variables are protocol independent uint16_t qosflowdescriptionsnumber; //Custom variables are protocol independent
QOSFlowDescriptionsContents *qosflowdescriptionscontents; QOSFlowDescriptionsContents *qosflowdescriptionscontents;
}QOSFlowDescriptions; } QOSFlowDescriptions;
int encode_qos_flow_descriptions ( QOSFlowDescriptions qosflowdescriptions, uint8_t iei, uint8_t * buffer, uint32_t len ) ; int encode_qos_flow_descriptions ( QOSFlowDescriptions qosflowdescriptions, uint8_t iei, uint8_t * buffer, uint32_t len ) ;
......
...@@ -59,7 +59,6 @@ ...@@ -59,7 +59,6 @@
extern "C"{ extern "C"{
#include "nas_message.h" #include "nas_message.h"
#include "mmData.h"
} }
#define BUF_LEN 512 #define BUF_LEN 512
......
...@@ -30,6 +30,12 @@ ...@@ -30,6 +30,12 @@
#ifndef FILE_SMF_N1_N2_HPP_SEEN #ifndef FILE_SMF_N1_N2_HPP_SEEN
#define FILE_SMF_N1_N2_HPP_SEEN #define FILE_SMF_N1_N2_HPP_SEEN
#include <map>
#include <set>
#include <shared_mutex>
#include <string>
#include <thread>
#include "pistache/endpoint.h" #include "pistache/endpoint.h"
#include "pistache/http.h" #include "pistache/http.h"
#include "pistache/router.h" #include "pistache/router.h"
...@@ -47,18 +53,11 @@ ...@@ -47,18 +53,11 @@
extern "C"{ extern "C"{
#include "nas_message.h" #include "nas_message.h"
#include "mmData.h"
#include "Ngap_NGAP-PDU.h" #include "Ngap_NGAP-PDU.h"
#include "Ngap_PDUSessionResourceSetupResponseTransfer.h" #include "Ngap_PDUSessionResourceSetupResponseTransfer.h"
#include "Ngap_PDUSessionResourceModifyResponseTransfer.h" #include "Ngap_PDUSessionResourceModifyResponseTransfer.h"
} }
#include <map>
#include <set>
#include <shared_mutex>
#include <string>
#include <thread>
namespace smf { namespace smf {
class smf_n1_n2 { class smf_n1_n2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment