MAC OSX ping loopback test done

This commit is contained in:
Sukchan Lee 2017-10-17 00:56:00 +09:00
parent 689c3b95e7
commit cdbc8d1ab0
4 changed files with 4 additions and 4 deletions

View file

@ -207,7 +207,7 @@ AC_CHECK_HEADERS( \
sys/uio.h \
)
AC_CHECK_HEADERS(netinet/ip.h,,,[[
AC_CHECK_HEADERS(netinet/ip.h net/route.h,,,[[
#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>

View file

@ -16,7 +16,9 @@
#include <linux/if_tun.h>
#endif
#if HAVE_NET_ROUTE_H
#include <net/route.h>
#endif
#define NET_FD_TYPE_SOCK 0
#define NET_FD_TYPE_LINK 1

View file

@ -81,7 +81,7 @@
IP_POOL :
{
CIDR: 45.45.0.1/24
CIDR: 45.45.0.1/16
}
DNS :

View file

@ -298,12 +298,10 @@ static void attach_test1(abts_case *tc, void *data)
rv = testgtpu_enb_send(gtpu);
ABTS_INT_EQUAL(tc, CORE_OK, rv);
#if LINUX == 1
/* 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