Commit a393e84e authored by liuyu's avatar liuyu

local

parent 7dcfb78e
...@@ -38,8 +38,8 @@ SMF = ...@@ -38,8 +38,8 @@ SMF =
SBI : SBI :
{ {
# SMF binded interface for SBI interface (e.g., communication with AMF, UDM) # SMF binded interface for SBI interface (e.g., communication with AMF, UDM)
INTERFACE_NAME = "ens18"; # YOUR NETWORK CONFIG HERE INTERFACE_NAME = "lo"; # YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "read"; IPV4_ADDRESS = "127.0.0.101/8";
# YOUR NETWORK CONFIG HERE (default: 80) # YOUR NETWORK CONFIG HERE (default: 80)
PORT = 90; PORT = 90;
# YOUR NETWORK CONFIG HERE (default: 8080) # YOUR NETWORK CONFIG HERE (default: 8080)
......
...@@ -134,8 +134,8 @@ int main(int argc, char** argv) { ...@@ -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_uplink_(inet_ntoa(smf_cfg.sbi.addr4),20001);
udp_server_coop udp_downlink_(inet_ntoa(smf_cfg.sbi.addr4),20004); udp_server_coop udp_downlink_(inet_ntoa(smf_cfg.n4.addr4),20004);
udp_server_coop udp_smf_(inet_ntoa(smf_cfg.sbi.addr4),20023); udp_server_coop udp_smf_(inet_ntoa(smf_cfg.n4.addr4),20023);
// SMF Pistache API server (HTTP1) // SMF Pistache API server (HTTP1)
Pistache::Address addr( Pistache::Address addr(
......
...@@ -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,"10.103.239.31",20002); UdpSend(udp_recv,bytes_received,"127.0.0.100",20002);
// assoc_id++; // assoc_id++;
// stream++; // stream++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment