1 #define HAVE_WIN32_ICMP_H 1 2 #define HAVE_WINSOCK2_H 1 3 #define HAVE_WS2TCPIP_H 1 4 #define HAVE_WINDOWS_H 1 5 6 #define HAVE_ERRNO_H 1 7 #define HAVE_SYS_TYPES_H 1 8 #define HAVE_STDIO_H 1 9 #define HAVE_STDINT_H 1 10 #define HAVE_STDLIB_H 1 11 #define HAVE_STRING_H 1 12 13 #define HAVE_STRUCT_IP 1 14 #define HAVE_STRUCT_ICMP 1 15 #define ICMP_CHECKSUM icmp_cksum 16 /* #define ICMP_CHECKSUM checksum */ 17 #define ICMP_TYPE icmp_type 18 #define ONMS_IP_HL ip_hl 19 #define HAVE_STRUCT_IP_BOOL 1 20 21 #ifndef HAVE_IN_ADDR_T 22 # if defined(HAVE_WINSOCK2_H) 23 # include <winsock2.h> 24 typedef u_int in_addr_t; 25 # elif defined(HAVE_SYS_TYPES_H) 26 # include <sys/types.h> 27 typedef u_int32_t in_addr_t; 28 # endif 29 #endif 30 31 #define onms_socklen_t socklen_t