mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
GTP-U is re-enabled in test program.
I'll use src : 45.45.0.2 dst ip : 45.45.0.1 for data plane loopback test
This commit is contained in:
parent
88b5560a2a
commit
52080092b6
1 changed files with 2 additions and 9 deletions
|
|
@ -300,22 +300,15 @@ static void attach_test1(abts_case *tc, void *data)
|
|||
|
||||
core_sleep(time_from_msec(300));
|
||||
|
||||
/*
|
||||
* S1AP_IPV4 and SGW.GTPU_IPV4 should be
|
||||
* external IP address (e.g. 192.168.0.6) for receiving ping reply
|
||||
*
|
||||
* Another approach is needed
|
||||
*/
|
||||
#if 0
|
||||
/* Send GTP-U ICMP Packet */
|
||||
rv = testgtpu_enb_send(gtpu, inet_addr("45.45.0.2"), mme_self()->s1ap_addr);
|
||||
rv = testgtpu_enb_send(gtpu,
|
||||
inet_addr("45.45.0.2"), inet_addr("45.45.0.1"));
|
||||
ABTS_INT_EQUAL(tc, CORE_OK, rv);
|
||||
|
||||
/* Receive GTP-U ICMP Packet */
|
||||
recvbuf = pkbuf_alloc(0, MAX_SDU_LEN);
|
||||
rc = testgtpu_enb_read(gtpu, recvbuf);
|
||||
pkbuf_free(recvbuf);
|
||||
#endif
|
||||
|
||||
/*****************************************************************
|
||||
* Attach Request : Known GUTI, Integrity Protected, MAC Matched
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue