forked from acouzens/open5gs
parent
e9c15f57e3
commit
490a3ecb99
|
@ -36,7 +36,7 @@ ogs_tlv_t *ogs_tlv_get(void)
|
|||
/* check for error */
|
||||
ogs_assert(tlv);
|
||||
|
||||
/* intialize tlv node */
|
||||
/* initialize tlv node */
|
||||
memset(tlv, 0, sizeof(ogs_tlv_t));
|
||||
return tlv;
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ ogs_sock_t *ogs_sctp_socket(int family, int type)
|
|||
new = ogs_sock_socket(family, type, IPPROTO_SCTP);
|
||||
if (!new) {
|
||||
ogs_log_message(OGS_LOG_ERROR, ogs_socket_errno,
|
||||
"ogs_sock_socket(faimly:%d type:%d) failed", family, type);
|
||||
"ogs_sock_socket(family:%d type:%d) failed", family, type);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ int app_initialize(const char *const argv[])
|
|||
ogs_sctp_init(ogs_app()->usrsctp.udp_port);
|
||||
rv = amf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize AMF");
|
||||
ogs_error("Failed to initialize AMF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("AMF initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = ausf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize AUSF");
|
||||
ogs_error("Failed to initialize AUSF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("AUSF initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = bsf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize BSF");
|
||||
ogs_error("Failed to initialize BSF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("BSF initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = hss_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_warn("Failed to intialize HSS");
|
||||
ogs_warn("Failed to initialize HSS");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("HSS initialize...done");
|
||||
|
|
|
@ -27,7 +27,7 @@ int app_initialize(const char *const argv[])
|
|||
ogs_sctp_init(ogs_app()->usrsctp.udp_port);
|
||||
rv = mme_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize MME");
|
||||
ogs_error("Failed to initialize MME");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("MME initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = nrf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize NRF");
|
||||
ogs_error("Failed to initialize NRF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("NRF initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = nssf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_warn("Failed to intialize NSSF");
|
||||
ogs_warn("Failed to initialize NSSF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("NSSF initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = pcf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize PCF");
|
||||
ogs_error("Failed to initialize PCF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("PCF initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = pcrf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_warn("Failed to intialize PCRF");
|
||||
ogs_warn("Failed to initialize PCRF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("PCRF initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = scp_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize SCP");
|
||||
ogs_error("Failed to initialize SCP");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("SCP initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = sgwc_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize SGW-C");
|
||||
ogs_error("Failed to initialize SGW-C");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("SGW-C initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = sgwu_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize SGW-U");
|
||||
ogs_error("Failed to initialize SGW-U");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("SGW-U initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = smf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize SMF");
|
||||
ogs_error("Failed to initialize SMF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("SMF initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = udm_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize UDM");
|
||||
ogs_error("Failed to initialize UDM");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("UDM initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = udr_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_warn("Failed to intialize UDR");
|
||||
ogs_warn("Failed to initialize UDR");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("UDR initialize...done");
|
||||
|
|
|
@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])
|
|||
|
||||
rv = upf_initialize();
|
||||
if (rv != OGS_OK) {
|
||||
ogs_error("Failed to intialize UPF");
|
||||
ogs_error("Failed to initialize UPF");
|
||||
return rv;
|
||||
}
|
||||
ogs_info("UPF initialize...done");
|
||||
|
|
Loading…
Reference in New Issue