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
920c14fa
Commit
920c14fa
authored
Dec 28, 2023
by
liuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't pass smf
parent
a393e84e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
etc/lysmf.conf
etc/lysmf.conf
+1
-1
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 @
920c14fa
...
@@ -24,7 +24,7 @@ SMF =
...
@@ -24,7 +24,7 @@ SMF =
# FQDN = "oai-smf-svc";
# FQDN = "oai-smf-svc";
INSTANCE
=
1
;
# 0 is the default
INSTANCE
=
1
;
# 0 is the default
PID_DIRECTORY
=
"/var/run"
;
# /var/run is the default
PID_DIRECTORY
=
"/var/run"
;
# /var/run is the default
LOG_LEVEL
=
"
debug
"
;
LOG_LEVEL
=
"
off
"
;
INTERFACES
:
INTERFACES
:
{
{
...
...
src/oai_smf/main.cpp
View file @
920c14fa
...
@@ -133,8 +133,8 @@ int main(int argc, char** argv) {
...
@@ -133,8 +133,8 @@ int main(int argc, char** argv) {
exit
(
-
EDEADLK
);
exit
(
-
EDEADLK
);
}
}
udp_server_coop
udp_uplink_
(
inet_ntoa
(
smf_cfg
.
sbi
.
addr4
)
,
20001
);
// udp_server_coop udp_uplink_("127.0.0.21"
,20001);
udp_server_coop
udp_downlink_
(
inet_ntoa
(
smf_cfg
.
n4
.
addr4
),
20004
);
//
udp_server_coop udp_downlink_(inet_ntoa(smf_cfg.n4.addr4),20004);
udp_server_coop
udp_smf_
(
inet_ntoa
(
smf_cfg
.
n4
.
addr4
),
20023
);
udp_server_coop
udp_smf_
(
inet_ntoa
(
smf_cfg
.
n4
.
addr4
),
20023
);
// SMF Pistache API server (HTTP1)
// SMF Pistache API server (HTTP1)
...
...
src/udp/cooudp.cpp
View file @
920c14fa
...
@@ -393,7 +393,7 @@ int udp_server_coop::udp_read_from_socket_from_center() {
...
@@ -393,7 +393,7 @@ int udp_server_coop::udp_read_from_socket_from_center() {
// cout<<"content:"<<udp_recv_str<<endl;
// cout<<"content:"<<udp_recv_str<<endl;
// handle_receive_udp(bytes_received,udp_recv);
// handle_receive_udp(bytes_received,udp_recv);
// printf("smf send udp to satellite amf\n");
// printf("smf send udp to satellite amf\n");
UdpSend
(
udp_recv
,
bytes_received
,
"127.0.0.
100
"
,
20002
);
UdpSend
(
udp_recv
,
bytes_received
,
"127.0.0.
22
"
,
20002
);
// assoc_id++;
// assoc_id++;
// stream++;
// 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