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
206c878b
Unverified
Commit
206c878b
authored
May 29, 2021
by
kharade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IE Network Instance encoding fix
parent
0162e7a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
src/pfcp/3gpp_29.244.hpp
src/pfcp/3gpp_29.244.hpp
+4
-0
src/pfcp/CMakeLists.txt
src/pfcp/CMakeLists.txt
+1
-0
No files found.
src/pfcp/3gpp_29.244.hpp
View file @
206c878b
...
...
@@ -33,6 +33,7 @@
#include "logger.hpp"
#include "msg_pfcp.hpp"
#include "serializable.hpp"
#include "string.hpp"
#include <arpa/inet.h>
#include <cstring>
...
...
@@ -868,11 +869,14 @@ class pfcp_fteid_ie : public pfcp_ie {
class
pfcp_network_instance_ie
:
public
pfcp_ie
{
public:
std
::
string
network_instance
;
std
::
string
network_instance_dotted
;
//--------
explicit
pfcp_network_instance_ie
(
const
pfcp
::
network_instance_t
&
b
)
:
pfcp_ie
(
PFCP_IE_NETWORK_INSTANCE
)
{
network_instance
=
b
.
network_instance
;
util
::
string_to_dotted
(
network_instance
,
network_instance_dotted
);
network_instance
=
network_instance_dotted
;
tlv
.
set_length
(
network_instance
.
size
());
}
//--------
...
...
src/pfcp/CMakeLists.txt
View file @
206c878b
...
...
@@ -23,6 +23,7 @@ include_directories(${SRC_TOP_DIR}/common)
include_directories
(
${
SRC_TOP_DIR
}
/itti
)
include_directories
(
${
SRC_TOP_DIR
}
/common/msg
)
include_directories
(
${
SRC_TOP_DIR
}
/common/utils
)
include_directories
(
${
SRC_TOP_DIR
}
/common/utils/bstr
)
include_directories
(
${
SRC_TOP_DIR
}
/oai_smf
)
include_directories
(
${
SRC_TOP_DIR
}
/pfcp
)
include_directories
(
${
SRC_TOP_DIR
}
/udp
)
...
...
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