Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
c47c7d80
Commit
c47c7d80
authored
Apr 09, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct indentation
parent
cf56f0fe
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
src/nas/ies/QOSFlowDescriptions.h
src/nas/ies/QOSFlowDescriptions.h
+5
-5
src/smf_app/smf_app.cpp
src/smf_app/smf_app.cpp
+0
-1
src/smf_app/smf_n1_n2.hpp
src/smf_app/smf_n1_n2.hpp
+6
-7
No files found.
src/nas/ies/QOSFlowDescriptions.h
View file @
c47c7d80
...
@@ -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
)
;
...
...
src/smf_app/smf_app.cpp
View file @
c47c7d80
...
@@ -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
...
...
src/smf_app/smf_n1_n2.hpp
View file @
c47c7d80
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment