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
a393e84e
Commit
a393e84e
authored
Dec 27, 2023
by
liuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
local
parent
7dcfb78e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
etc/lysmf.conf
etc/lysmf.conf
+2
-2
src/oai_smf/main.cpp
src/oai_smf/main.cpp
+2
-2
src/udp/cooudp.cpp
src/udp/cooudp.cpp
+1
-1
No files found.
etc/lysmf.conf
View file @
a393e84e
...
...
@@ -38,8 +38,8 @@ SMF =
SBI
:
{
# SMF binded interface for SBI interface (e.g., communication with AMF, UDM)
INTERFACE_NAME
=
"
ens18
"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"
read
"
;
INTERFACE_NAME
=
"
lo
"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"
127.0.0.101/8
"
;
# YOUR NETWORK CONFIG HERE (default: 80)
PORT
=
90
;
# YOUR NETWORK CONFIG HERE (default: 8080)
...
...
src/oai_smf/main.cpp
View file @
a393e84e
...
...
@@ -134,8 +134,8 @@ int main(int argc, char** argv) {
}
udp_server_coop
udp_uplink_
(
inet_ntoa
(
smf_cfg
.
sbi
.
addr4
),
20001
);
udp_server_coop
udp_downlink_
(
inet_ntoa
(
smf_cfg
.
sbi
.
addr4
),
20004
);
udp_server_coop
udp_smf_
(
inet_ntoa
(
smf_cfg
.
sbi
.
addr4
),
20023
);
udp_server_coop
udp_downlink_
(
inet_ntoa
(
smf_cfg
.
n4
.
addr4
),
20004
);
udp_server_coop
udp_smf_
(
inet_ntoa
(
smf_cfg
.
n4
.
addr4
),
20023
);
// SMF Pistache API server (HTTP1)
Pistache
::
Address
addr
(
...
...
src/udp/cooudp.cpp
View file @
a393e84e
...
...
@@ -393,7 +393,7 @@ int udp_server_coop::udp_read_from_socket_from_center() {
// cout<<"content:"<<udp_recv_str<<endl;
// handle_receive_udp(bytes_received,udp_recv);
// printf("smf send udp to satellite amf\n");
UdpSend
(
udp_recv
,
bytes_received
,
"1
0.103.239.31
"
,
20002
);
UdpSend
(
udp_recv
,
bytes_received
,
"1
27.0.0.100
"
,
20002
);
// assoc_id++;
// stream++;
...
...
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