From fcbf63e62c627deae76c1b8cb8c0876c536ed811 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 16 Mar 2020 18:49:26 +0900 Subject: Fresh start --- jni/ruby/ext/socket/extconf.h | 127 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 jni/ruby/ext/socket/extconf.h (limited to 'jni/ruby/ext/socket/extconf.h') diff --git a/jni/ruby/ext/socket/extconf.h b/jni/ruby/ext/socket/extconf.h new file mode 100644 index 0000000..9386b20 --- /dev/null +++ b/jni/ruby/ext/socket/extconf.h @@ -0,0 +1,127 @@ +#ifndef EXTCONF_H +#define EXTCONF_H +#define HAVE_SYS_UIO_H 1 +#define HAVE_NETINET_IN_SYSTM_H 1 +#define HAVE_NETINET_TCP_H 1 +#define HAVE_NETINET_UDP_H 1 +#define HAVE_ARPA_INET_H 1 +#define HAVE_NETPACKET_PACKET_H 1 +#define HAVE_NET_ETHERNET_H 1 +#define HAVE_SYS_UN_H 1 +#define HAVE_IFADDRS_H 1 +#define HAVE_SYS_IOCTL_H 1 +#define HAVE_NET_IF_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_ARPA_NAMESER_H 1 +#define HAVE_RESOLV_H 1 +#define HAVE_TYPE_STRUCT_SOCKADDR_UN 1 +#define HAVE_TYPE_STRUCT_SOCKADDR_STORAGE 1 +#define HAVE_TYPE_STRUCT_ADDRINFO 1 +#define HAVE_TYPE_SOCKLEN_T 1 +#define HAVE_TYPE_STRUCT_IN_PKTINFO 1 +#define HAVE_STRUCT_IN_PKTINFO_IPI_SPEC_DST 1 +#define HAVE_ST_IPI_SPEC_DST 1 +#define HAVE_TYPE_STRUCT_IN6_PKTINFO 1 +#define HAVE_TYPE_STRUCT_IP_MREQ 1 +#define HAVE_TYPE_STRUCT_IP_MREQN 1 +#define HAVE_TYPE_STRUCT_IPV6_MREQ 1 +#define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1 +#define HAVE_ST_MSG_CONTROL 1 +#define HAVE_TYPE_STRUCT_TCP_INFO 1 +#define HAVE_CONST_TCP_ESTABLISHED 1 +#define HAVE_CONST_TCP_SYN_SENT 1 +#define HAVE_CONST_TCP_SYN_RECV 1 +#define HAVE_CONST_TCP_FIN_WAIT1 1 +#define HAVE_CONST_TCP_FIN_WAIT2 1 +#define HAVE_CONST_TCP_TIME_WAIT 1 +#define HAVE_CONST_TCP_CLOSE 1 +#define HAVE_CONST_TCP_CLOSE_WAIT 1 +#define HAVE_CONST_TCP_LAST_ACK 1 +#define HAVE_CONST_TCP_LISTEN 1 +#define HAVE_CONST_TCP_CLOSING 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_STATE 1 +#define HAVE_ST_TCPI_STATE 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_CA_STATE 1 +#define HAVE_ST_TCPI_CA_STATE 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RETRANSMITS 1 +#define HAVE_ST_TCPI_RETRANSMITS 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_PROBES 1 +#define HAVE_ST_TCPI_PROBES 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_BACKOFF 1 +#define HAVE_ST_TCPI_BACKOFF 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_OPTIONS 1 +#define HAVE_ST_TCPI_OPTIONS 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RTO 1 +#define HAVE_ST_TCPI_RTO 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_ATO 1 +#define HAVE_ST_TCPI_ATO 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_SND_MSS 1 +#define HAVE_ST_TCPI_SND_MSS 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RCV_MSS 1 +#define HAVE_ST_TCPI_RCV_MSS 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_UNACKED 1 +#define HAVE_ST_TCPI_UNACKED 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_SACKED 1 +#define HAVE_ST_TCPI_SACKED 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_LOST 1 +#define HAVE_ST_TCPI_LOST 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RETRANS 1 +#define HAVE_ST_TCPI_RETRANS 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_FACKETS 1 +#define HAVE_ST_TCPI_FACKETS 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_LAST_DATA_SENT 1 +#define HAVE_ST_TCPI_LAST_DATA_SENT 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_LAST_ACK_SENT 1 +#define HAVE_ST_TCPI_LAST_ACK_SENT 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_LAST_DATA_RECV 1 +#define HAVE_ST_TCPI_LAST_DATA_RECV 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_LAST_ACK_RECV 1 +#define HAVE_ST_TCPI_LAST_ACK_RECV 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_PMTU 1 +#define HAVE_ST_TCPI_PMTU 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RCV_SSTHRESH 1 +#define HAVE_ST_TCPI_RCV_SSTHRESH 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RTT 1 +#define HAVE_ST_TCPI_RTT 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RTTVAR 1 +#define HAVE_ST_TCPI_RTTVAR 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_SND_SSTHRESH 1 +#define HAVE_ST_TCPI_SND_SSTHRESH 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_SND_CWND 1 +#define HAVE_ST_TCPI_SND_CWND 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_ADVMSS 1 +#define HAVE_ST_TCPI_ADVMSS 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_REORDERING 1 +#define HAVE_ST_TCPI_REORDERING 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RCV_RTT 1 +#define HAVE_ST_TCPI_RCV_RTT 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_RCV_SPACE 1 +#define HAVE_ST_TCPI_RCV_SPACE 1 +#define HAVE_STRUCT_TCP_INFO_TCPI_TOTAL_RETRANS 1 +#define HAVE_ST_TCPI_TOTAL_RETRANS 1 +#define HAVE_SOCKET 1 +#define HAVE_SENDMSG 1 +#define HAVE_RECVMSG 1 +#define HAVE_FREEADDRINFO 1 +#define HAVE_GAI_STRERROR 1 +#define GAI_STRERROR_CONST 1 +#define HAVE_ACCEPT4 1 +#define HAVE_INET_NTOP 1 +#define HAVE_INET_PTON 1 +#define HAVE_GETSERVBYPORT 1 +#define HAVE_GETIFADDRS 1 +#define HAVE_IF_INDEXTONAME 1 +#define NEED_IF_INDEXTONAME_DECL 1 +#define HAVE_IF_NAMETOINDEX 1 +#define NEED_IF_NAMETOINDEX_DECL 1 +#define HAVE_GETHOSTBYNAME2 1 +#define HAVE_SOCKETPAIR 1 +#define HAVE_GETHOSTNAME 1 +#define ENABLE_IPV6 1 +#define INET6 1 +#define HAVE_CONST_AF_UNIX 1 +#define HAVE_CONST_SCM_RIGHTS 1 +#define FD_PASSING_WORK_WITH_RECVMSG_MSG_PEEK 1 +#define HAVE_GETNAMEINFO 1 +#define HAVE_GETADDRINFO 1 +#endif -- cgit v1.2.3