Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
4d60d6c2
Commit
4d60d6c2
authored
Jun 03, 2021
by
Tien-Thinh Nguyen
Browse files
Merge branch 'nwi_decoding' into 'develop'
IE Network Instance encoding fix See merge request
!68
parents
401bf13b
206c878b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/pfcp/3gpp_29.244.hpp
View file @
4d60d6c2
...
...
@@ -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 @
4d60d6c2
...
...
@@ -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