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
6085c2b1
Commit
6085c2b1
authored
Dec 12, 2023
by
liuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
context
parent
0304b108
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+2
-2
src/udp/cooudp.cpp
src/udp/cooudp.cpp
+6
-1
No files found.
src/smf_app/smf_context.cpp
View file @
6085c2b1
...
...
@@ -4998,14 +4998,14 @@ void smf_context::send_pdu_session_create_response(
udpsmfcontext
[
"pdu_session_id"
]
=
resp
->
res
.
get_pdu_session_id
();
udpsmfcontext
[
"dnn"
]
=
resp
->
res
.
get_dnn
();
udpsmfcontext
[
"snssai"
]
=
resp
->
res
.
get_snssai
().
toString
();
udpsmfcontext
[
"pdu_session_type"
]
=
0
;
udpsmfcontext
[
"pdu_session_type"
]
=
1
;
supi64_t
supi64
=
smf_supi_to_u64
(
resp
->
res
.
get_supi
());
std
::
shared_ptr
<
smf_context
>
sc
=
{};
sc
=
smf_app_inst
->
supi_2_smf_context
(
supi64
);
std
::
shared_ptr
<
smf_pdu_session
>
sp
=
{};
sc
.
get
()
->
find_pdu_session
(
resp
->
res
.
get_pdu_session_id
(),
sp
);
udpsmfcontext
[
"
seid"
]
=
sp
.
get
()
->
seid
;
udpsmfcontext
[
"
up_fseid"
]
=
sp
.
get
()
->
up_fseid
.
seid
;
UdpSend_smf
(
udpsmfcontext
,
"10.103.239.31"
,
20023
);
// json_data["smfcontext"] = udpsmfcontext.dump();
...
...
src/udp/cooudp.cpp
View file @
6085c2b1
...
...
@@ -212,8 +212,13 @@ int udp_server_coop::udp_read_from_peer_smf() {
sp
.
get
()
->
set_sessions_graph
(
graph
);
uint64_t
seid
=
smf_app_inst
->
generate_seid
();
sp
->
set_seid
(
seid
);
sp
->
up_fseid
.
seid
=
smfcontext
[
"up_fseid"
];
sp
->
set_seid
(
smfcontext
[
"seid"
]);
// sp->set_seid(smfcontext["seid"]);
// for finding procedure when receiving response
smf_app_inst
->
set_seid_2_smf_context
(
sp
.
get
()
->
seid
,
sc
);
...
...
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