30 #ifndef _EVENT_IPV6_INTERNAL_H
31 #define _EVENT_IPV6_INTERNAL_H
33 #include <sys/types.h>
34 #ifdef _EVENT_HAVE_SYS_SOCKET_H
35 #include <sys/socket.h>
37 #include "event2/event-config.h"
50 #ifndef _EVENT_HAVE_STRUCT_IN6_ADDR
52 ev_uint8_t s6_addr[16];
56 #ifndef _EVENT_HAVE_SA_FAMILY_T
57 typedef int sa_family_t;
60 #ifndef _EVENT_HAVE_STRUCT_SOCKADDR_IN6
64 sa_family_t sin6_family;
65 ev_uint16_t sin6_port;
74 #define PF_INET6 AF_INET6
Definition: ipv6-internal.h:51
Common convenience functions for cross-platform portability and related socket manipulations.
Definition: ipv6-internal.h:61