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
07e71ded
Commit
07e71ded
authored
Apr 25, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning for RHEL8
parent
f750f1ab
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
6 deletions
+13
-6
src/common/3gpp_29.244.h
src/common/3gpp_29.244.h
+2
-1
src/common/3gpp_29.502.h
src/common/3gpp_29.502.h
+1
-0
src/common/smf.h
src/common/smf.h
+3
-3
src/nas/mm/msg/mm_msg.c
src/nas/mm/msg/mm_msg.c
+2
-2
src/smf_app/smf_app.cpp
src/smf_app/smf_app.cpp
+2
-0
src/smf_app/smf_profile.hpp
src/smf_app/smf_profile.hpp
+3
-0
No files found.
src/common/3gpp_29.244.h
View file @
07e71ded
...
...
@@ -445,7 +445,7 @@ struct fteid_s {
(
v4
==
f
.
v4
)
and
(
v6
==
f
.
v6
);
}
bool
operator
=
(
const
struct
fteid_s
&
f
)
{
fteid_s
&
operator
=
(
const
struct
fteid_s
&
f
)
{
v4
=
f
.
v4
;
v6
=
f
.
v6
;
chid
=
f
.
chid
;
...
...
@@ -458,6 +458,7 @@ struct fteid_s {
// ipv6_address.s6_addr32[1] = f.ipv6_address.s6_addr32[1];
// ipv6_address.s6_addr32[2] = f.ipv6_address.s6_addr32[2];
// ipv6_address.s6_addr32[3] = f.ipv6_address.s6_addr32[3];
return
*
this
;
}
std
::
string
toString
()
const
{
...
...
src/common/3gpp_29.502.h
View file @
07e71ded
...
...
@@ -98,6 +98,7 @@ static const std::vector<std::string> pdu_session_application_error_e2str = {
// 6.1.6.3.12 Enumeration: N2SmInfoType @3GPP TS 29.502 V16.0.0
enum
class
n2_sm_info_type_e
{
UNKNOWN_TYPE
=
0
,
PDU_RES_SETUP_REQ
=
1
,
// PDU Session Resource Setup Request Transfer
PDU_RES_SETUP_RSP
=
2
,
// PDU Session Resource Setup Response Transfer
PDU_RES_SETUP_FAIL
=
3
,
// PDU Session Resource Setup Unsuccessful Transfer
...
...
src/common/smf.h
View file @
07e71ded
...
...
@@ -233,6 +233,7 @@ typedef struct nf_service_version_s {
nf_service_version_s
&
operator
=
(
const
nf_service_version_s
&
s
)
{
api_version_in_uri
=
s
.
api_version_in_uri
;
api_full_version
=
s
.
api_full_version
;
return
*
this
;
}
std
::
string
to_string
()
const
{
...
...
@@ -248,7 +249,7 @@ typedef struct nf_service_version_s {
}
nf_service_version_t
;
typedef
struct
ip_endpoint_s
{
//struct in6_addr ipv6_address;
//
struct in6_addr ipv6_address;
struct
in_addr
ipv4_address
;
std
::
string
transport
;
// TCP
unsigned
int
port
;
...
...
@@ -323,8 +324,7 @@ typedef struct patch_item_s {
}
}
patch_item_t
;
//TODO: move to 23.003
// TODO: move to 23.003
typedef
struct
guami_5g_s
{
plmn_t
plmn
;
std
::
string
amf_id
;
...
...
src/nas/mm/msg/mm_msg.c
View file @
07e71ded
...
...
@@ -46,8 +46,8 @@ static int _fivegmm_msg_encode_header(
*/
int
fivegmm_msg_encode
(
MM_msg
*
msg
,
uint8_t
*
buffer
,
uint32_t
len
)
{
// OAILOG_FUNC_IN (LOG_NAS_EMM);
int
header_result
;
int
encode_result
;
int
header_result
=
0
;
int
encode_result
=
0
;
/*
* First encode the EMM message header
...
...
src/smf_app/smf_app.cpp
View file @
07e71ded
...
...
@@ -1271,6 +1271,7 @@ evsub_id_t smf_app::handle_event_exposure_subscription(
ss
.
get
()
->
ev_type
=
i
.
smf_event
;
add_event_subscription
(
evsub_id
,
i
.
smf_event
,
ss
);
}
return
evsub_id
;
}
//------------------------------------------------------------------------------
...
...
@@ -1634,6 +1635,7 @@ n2_sm_info_type_e smf_app::n2_sm_info_type_str2e(
return
static_cast
<
n2_sm_info_type_e
>
(
i
);
}
}
return
n2_sm_info_type_e
::
UNKNOWN_TYPE
;
}
//---------------------------------------------------------------------------------------------
...
...
src/smf_app/smf_profile.hpp
View file @
07e71ded
...
...
@@ -80,6 +80,7 @@ class nf_profile : public std::enable_shared_from_this<nf_profile> {
nf_type
=
s
.
nf_type
;
nf_instance_name
=
s
.
nf_instance_name
;
nf_status
=
s
.
nf_status
;
return
*
this
;
}
// nf_profile(nf_profile &b) = delete;
...
...
@@ -317,6 +318,7 @@ class smf_profile : public nf_profile {
custom_info
=
s
.
custom_info
;
smf_info
=
s
.
smf_info
;
nf_services
=
s
.
nf_services
;
return
*
this
;
}
// smf_profile(smf_profile &b) = delete;
...
...
@@ -435,6 +437,7 @@ class upf_profile : public nf_profile {
nf_status
=
s
.
nf_status
;
// custom_info = s.custom_info;
upf_info
=
s
.
upf_info
;
return
*
this
;
}
// upf_profile(upf_profile &b) = delete;
...
...
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