Apache HTTPD
Public Attributes | List of all members
apr_sockaddr_t Struct Reference

#include <apr_network_io.h>

Public Attributes

apr_pool_tpool
 
charhostname
 
charservname
 
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 239 of file apr_network_io.h.

Member Data Documentation

◆ addr_str_len

int apr_sockaddr_t::addr_str_len

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

Definition at line 256 of file apr_network_io.h.

◆ family

apr_int32_t apr_sockaddr_t::family

The family

Definition at line 249 of file apr_network_io.h.

◆ hostname

char* apr_sockaddr_t::hostname

The hostname

Definition at line 243 of file apr_network_io.h.

◆ ipaddr_len

int apr_sockaddr_t::ipaddr_len

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

Definition at line 253 of file apr_network_io.h.

◆ ipaddr_ptr

void* apr_sockaddr_t::ipaddr_ptr

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

Definition at line 259 of file apr_network_io.h.

◆ next

apr_sockaddr_t* apr_sockaddr_t::next

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

Definition at line 262 of file apr_network_io.h.

◆ pool

apr_pool_t* apr_sockaddr_t::pool

The pool to use...

Definition at line 241 of file apr_network_io.h.

◆ port

apr_port_t apr_sockaddr_t::port

The numeric port

Definition at line 247 of file apr_network_io.h.

◆ [union]

union { ... } apr_sockaddr_t::sa

Union of either IPv4 or IPv6 sockaddr.

◆ salen

apr_socklen_t apr_sockaddr_t::salen

How big is the sockaddr we're using?

Definition at line 251 of file apr_network_io.h.

◆ servname

char* apr_sockaddr_t::servname

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

Definition at line 245 of file apr_network_io.h.

◆ sin

struct sockaddr_in apr_sockaddr_t::sin

IPv4 sockaddr structure

Definition at line 266 of file apr_network_io.h.


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