#include <apr_network_io.h>
Data Fields | |
apr_pool_t * | pool |
char * | hostname |
char * | servname |
apr_port_t | port |
apr_int32_t | family |
apr_socklen_t | salen |
int | ipaddr_len |
int | addr_str_len |
void * | ipaddr_ptr |
apr_sockaddr_t * | next |
union { | |
sockaddr_in sin | |
sockaddr_in6 sin6 | |
sockaddr_storage sas | |
} | sa |
|
How big should the address buffer be? 16 for v4 or 46 for v6 used in inet_ntop... |
|
The family |
|
The hostname |
|
How big is the ip address structure we're using? |
|
This points to the IP address structure within the appropriate sockaddr structure. |
|
If multiple addresses were found by apr_sockaddr_info_get(), this points to a representation of the next address. |
|
The pool to use... |
|
The numeric port |
|
Union of either IPv4 or IPv6 sockaddr. |
|
How big is the sockaddr we're using? |
|
Placeholder to ensure that the size of this union is not dependent on whether APR_HAVE_IPV6 is defined. |
|
Either a string of the port number or the service name for the port |
|
IPv4 sockaddr structure |
|
IPv6 sockaddr structure |