GME  13
Public Attributes
apr_sockaddr_t Struct Reference

#include <apr_network_io.h>

Collaboration diagram for apr_sockaddr_t:
Collaboration graph
[legend]

List of all members.

Public Attributes

apr_pool_tpool
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_tnext
union {
   struct sockaddr_in   sin
sa

Detailed Description

APRs socket address type, used to ensure protocol independence

Definition at line 211 of file apr_network_io.h.


Member Data Documentation

How big should the address buffer be? 16 for v4 or 46 for v6 used in inet_ntop...

Definition at line 228 of file apr_network_io.h.

The family

Definition at line 221 of file apr_network_io.h.

The hostname

Definition at line 215 of file apr_network_io.h.

How big is the ip address structure we're using?

Definition at line 225 of file apr_network_io.h.

This points to the IP address structure within the appropriate sockaddr structure.

Definition at line 231 of file apr_network_io.h.

If multiple addresses were found by apr_sockaddr_info_get(), this points to a representation of the next address.

Definition at line 234 of file apr_network_io.h.

The pool to use...

Definition at line 213 of file apr_network_io.h.

The numeric port

Definition at line 219 of file apr_network_io.h.

union { ... } apr_sockaddr_t::sa

Union of either IPv4 or IPv6 sockaddr.

apr_socklen_t apr_sockaddr_t::salen

How big is the sockaddr we're using?

Definition at line 223 of file apr_network_io.h.

Either a string of the port number or the service name for the port

Definition at line 217 of file apr_network_io.h.

struct sockaddr_in apr_sockaddr_t::sin

IPv4 sockaddr structure

Definition at line 238 of file apr_network_io.h.


The documentation for this struct was generated from the following file: