30 #ifndef IPV6_INTERNAL_H_INCLUDED_
31 #define IPV6_INTERNAL_H_INCLUDED_
33 #include "event2/event-config.h"
34 #include "evconfig-private.h"
36 #include <sys/types.h>
37 #ifdef EVENT__HAVE_SYS_SOCKET_H
38 #include <sys/socket.h>
52 #ifndef EVENT__HAVE_STRUCT_IN6_ADDR
54 ev_uint8_t s6_addr[16];
58 #ifndef EVENT__HAVE_SA_FAMILY_T
59 typedef int sa_family_t;
62 #ifndef EVENT__HAVE_STRUCT_SOCKADDR_IN6
66 sa_family_t sin6_family;
67 ev_uint16_t sin6_port;
76 #define PF_INET6 AF_INET6
Definition: ipv6-internal.h:53
Definition: ipv6-internal.h:63