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-Simple
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
CommunityXG
OpenXG-SMF-Simple
Commits
ccce0744
Commit
ccce0744
authored
Dec 15, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleanup for smf context
parent
c293b6d8
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
167 additions
and
10 deletions
+167
-10
src/api-server/CMakeLists.txt
src/api-server/CMakeLists.txt
+4
-0
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+160
-10
src/smf_app/smf_context.hpp
src/smf_app/smf_context.hpp
+3
-0
No files found.
src/api-server/CMakeLists.txt
View file @
ccce0744
...
@@ -33,8 +33,12 @@ include_directories(${SRC_TOP_DIR}/common/utils)
...
@@ -33,8 +33,12 @@ include_directories(${SRC_TOP_DIR}/common/utils)
include_directories
(
${
SRC_TOP_DIR
}
/common/utils/bstr
)
include_directories
(
${
SRC_TOP_DIR
}
/common/utils/bstr
)
include_directories
(
${
SRC_TOP_DIR
}
/common/nas
)
include_directories
(
${
SRC_TOP_DIR
}
/common/nas
)
include_directories
(
${
SRC_TOP_DIR
}
/pfcp
)
include_directories
(
${
SRC_TOP_DIR
}
/pfcp
)
include_directories
(
${
SRC_TOP_DIR
}
/nas
)
include_directories
(
${
SRC_TOP_DIR
}
/nas/ies
)
include_directories
(
${
SRC_TOP_DIR
}
/nas/ies
)
include_directories
(
${
SRC_TOP_DIR
}
/nas/sm
)
include_directories
(
${
SRC_TOP_DIR
}
/nas/sm/msg
)
include_directories
(
${
SRC_TOP_DIR
}
/nas/sm/msg
)
include_directories
(
${
SRC_TOP_DIR
}
/nas/mm
)
include_directories
(
${
SRC_TOP_DIR
}
/nas/mm/msg
)
include_directories
(
${
SRC_TOP_DIR
}
/ngap/asn1c
)
include_directories
(
${
SRC_TOP_DIR
}
/ngap/asn1c
)
include_directories
(
${
SRC_TOP_DIR
}
/ngap/ies
)
include_directories
(
${
SRC_TOP_DIR
}
/ngap/ies
)
include_directories
(
${
SRC_TOP_DIR
}
/udp
)
include_directories
(
${
SRC_TOP_DIR
}
/udp
)
...
...
src/smf_app/smf_context.cpp
View file @
ccce0744
This diff is collapsed.
Click to expand it.
src/smf_app/smf_context.hpp
View file @
ccce0744
...
@@ -59,6 +59,7 @@ extern "C" {
...
@@ -59,6 +59,7 @@ extern "C" {
#include "PDUSessionEstablishmentAccept.h"
#include "PDUSessionEstablishmentAccept.h"
#include "QOSFlowDescriptions.h"
#include "QOSFlowDescriptions.h"
#include "QOSRules.h"
#include "QOSRules.h"
#include "nas_message.h"
}
}
namespace
smf
{
namespace
smf
{
...
@@ -848,6 +849,8 @@ class smf_context : public std::enable_shared_from_this<smf_context> {
...
@@ -848,6 +849,8 @@ class smf_context : public std::enable_shared_from_this<smf_context> {
pdu_session_id_t
pdu_session_id
,
pdu_session_id_t
pdu_session_id
,
uint8_t
http_version
);
uint8_t
http_version
);
void
update_qos_info
(
std
::
shared_ptr
<
smf_pdu_session
>
&
sp
,
smf
::
pdu_session_update_sm_context_response
&
res
,
const
nas_message_t
&
nas_msg
);
private:
private:
std
::
vector
<
std
::
shared_ptr
<
dnn_context
>>
dnns
;
std
::
vector
<
std
::
shared_ptr
<
dnn_context
>>
dnns
;
std
::
vector
<
std
::
shared_ptr
<
smf_procedure
>>
pending_procedures
;
std
::
vector
<
std
::
shared_ptr
<
smf_procedure
>>
pending_procedures
;
...
...
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