Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF-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-AMF-Simple
Commits
d446e563
Commit
d446e563
authored
Oct 08, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleanup
parent
c768dba0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
17 deletions
+2
-17
src/amf-app/amf_n11.cpp
src/amf-app/amf_n11.cpp
+2
-14
src/amf-app/amf_n11.hpp
src/amf-app/amf_n11.hpp
+0
-1
src/itti/itti_msg.hpp
src/itti/itti_msg.hpp
+0
-1
src/ngap/ngap_app/ngap_message_callback.hpp
src/ngap/ngap_app/ngap_message_callback.hpp
+0
-1
No files found.
src/amf-app/amf_n11.cpp
View file @
d446e563
...
@@ -55,8 +55,6 @@ using namespace web;
...
@@ -55,8 +55,6 @@ using namespace web;
using
namespace
web
::
http
;
using
namespace
web
::
http
;
// Common features like URIs.
// Common features like URIs.
using
namespace
web
::
http
::
client
;
using
namespace
web
::
http
::
client
;
// Common HTTP functionality
using
namespace
config
;
using
namespace
config
;
using
namespace
amf_application
;
using
namespace
amf_application
;
extern
itti_mw
*
itti_inst
;
extern
itti_mw
*
itti_inst
;
...
@@ -121,14 +119,10 @@ void amf_n11_task(void*) {
...
@@ -121,14 +119,10 @@ void amf_n11_task(void*) {
amf_n11_inst
->
handle_itti_message
(
ref
(
*
m
));
amf_n11_inst
->
handle_itti_message
(
ref
(
*
m
));
}
}
break
;
break
;
case
PDU_SESS_RES_SET_RESP
:
{
default
:
{
Logger
::
amf_n1
().
info
(
Logger
::
amf_n1
().
info
(
"Receive PDU Session Resource Setup Response, handling ..."
);
"Receive unknown message type %d"
,
msg
->
msg_type
);
itti_pdu_session_resource_setup_response
*
m
=
dynamic_cast
<
itti_pdu_session_resource_setup_response
*>
(
msg
);
amf_n11_inst
->
handle_itti_message
(
ref
(
*
m
));
}
}
break
;
}
}
}
while
(
true
);
}
while
(
true
);
}
}
...
@@ -147,12 +141,6 @@ amf_n11::amf_n11() {
...
@@ -147,12 +141,6 @@ amf_n11::amf_n11() {
amf_n11
::~
amf_n11
()
{
amf_n11
::~
amf_n11
()
{
}
}
// itti message handlers
//------------------------------------------------------------------------------
void
amf_n11
::
handle_itti_message
(
itti_pdu_session_resource_setup_response
&
itti_msg
)
{
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
void
amf_n11
::
handle_itti_message
(
void
amf_n11
::
handle_itti_message
(
itti_nsmf_pdusession_update_sm_context
&
itti_msg
)
{
itti_nsmf_pdusession_update_sm_context
&
itti_msg
)
{
...
...
src/amf-app/amf_n11.hpp
View file @
d446e563
...
@@ -47,7 +47,6 @@ class amf_n11 {
...
@@ -47,7 +47,6 @@ class amf_n11 {
void
handle_pdu_session_initial_request
(
void
handle_pdu_session_initial_request
(
std
::
string
supi
,
std
::
shared_ptr
<
pdu_session_context
>
psc
,
std
::
string
supi
,
std
::
shared_ptr
<
pdu_session_context
>
psc
,
std
::
string
smf_addr
,
bstring
sm_msg
,
std
::
string
dnn
);
std
::
string
smf_addr
,
bstring
sm_msg
,
std
::
string
dnn
);
void
handle_itti_message
(
itti_pdu_session_resource_setup_response
&
itti_msg
);
void
handle_itti_message
(
itti_nsmf_pdusession_update_sm_context
&
itti_msg
);
void
handle_itti_message
(
itti_nsmf_pdusession_update_sm_context
&
itti_msg
);
void
send_pdu_session_update_sm_context_request
(
void
send_pdu_session_update_sm_context_request
(
std
::
string
supi
,
std
::
shared_ptr
<
pdu_session_context
>
psc
,
std
::
string
supi
,
std
::
shared_ptr
<
pdu_session_context
>
psc
,
...
...
src/itti/itti_msg.hpp
View file @
d446e563
...
@@ -75,7 +75,6 @@ typedef enum {
...
@@ -75,7 +75,6 @@ typedef enum {
N1N2_MESSAGE_TRANSFER_REQ
,
N1N2_MESSAGE_TRANSFER_REQ
,
SMF_SERVICES_CONSUMER
,
SMF_SERVICES_CONSUMER
,
NSMF_PDU_SESSION_UPDATE_SM_CTX
,
NSMF_PDU_SESSION_UPDATE_SM_CTX
,
PDU_SESS_RES_SET_RESP
,
TIME_OUT
,
TIME_OUT
,
HEALTH_PING
,
HEALTH_PING
,
TERMINATE
,
TERMINATE
,
...
...
src/ngap/ngap_app/ngap_message_callback.hpp
View file @
d446e563
...
@@ -282,7 +282,6 @@ int ngap_amf_handle_pdu_session_resource_release_response(
...
@@ -282,7 +282,6 @@ int ngap_amf_handle_pdu_session_resource_release_response(
}
}
return
0
;
return
0
;
}
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
...
...
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