forked from acouzens/open5gs
update it
This commit is contained in:
parent
b8f3f56779
commit
0c05208981
4
main.c
4
main.c
|
@ -48,8 +48,6 @@ static int check_signal(int signum)
|
|||
}
|
||||
case SIGUSR1:
|
||||
{
|
||||
extern void test_send();
|
||||
test_send();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
@ -118,9 +116,9 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
{
|
||||
#if 0
|
||||
extern int _gtp_xact;
|
||||
d_trace_level(&_gtp_xact, 100);
|
||||
#if 0
|
||||
extern int _mme_sm;
|
||||
d_trace_level(&_mme_sm, 100);
|
||||
extern int _s1ap_sm;
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
#include "nas_message.h"
|
||||
|
||||
#include "mme_context.h"
|
||||
#include "mme_event.h"
|
||||
|
||||
#include "nas_security.h"
|
||||
#include "nas_conv.h"
|
||||
#include "mme_s11_build.h"
|
||||
#include "mme_s11_path.h"
|
||||
|
||||
void esm_handle_pdn_connectivity_request(mme_esm_t *esm,
|
||||
nas_pdn_connectivity_request_t *pdn_connectivity_request)
|
||||
|
@ -25,4 +25,10 @@ void esm_handle_pdn_connectivity_request(mme_esm_t *esm,
|
|||
void esm_handle_information_response(mme_esm_t *esm,
|
||||
nas_esm_information_response_t *esm_information_response)
|
||||
{
|
||||
pkbuf_t *pkbuf;
|
||||
c_uint8_t type;
|
||||
c_uint32_t teid = 0;
|
||||
|
||||
mme_s11_build_create_session_req(&type, &pkbuf, NULL);
|
||||
mme_s11_send_to_sgw(mme_sgw_first(), type, teid, pkbuf);
|
||||
}
|
||||
|
|
|
@ -97,15 +97,3 @@ status_t mme_s11_send_to_sgw(void *sgw,
|
|||
|
||||
return CORE_OK;
|
||||
}
|
||||
|
||||
#include "mme_s11_build.h"
|
||||
void test_send()
|
||||
{
|
||||
pkbuf_t *pkbuf;
|
||||
c_uint8_t type;
|
||||
c_uint32_t teid = 0;
|
||||
|
||||
mme_s11_build_create_session_req(&type, &pkbuf, NULL);
|
||||
|
||||
mme_s11_send_to_sgw(mme_sgw_first(), type, teid, pkbuf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue