Apache HTTPD
Macros | Functions | Variables
sockets.c File Reference
#include "apr_arch_networkio.h"
#include "apr_network_io.h"
#include "apr_general.h"
#include "apr_lib.h"
#include "apr_portable.h"
#include "apr_strings.h"
#include <string.h>
#include "apr_arch_inherit.h"
#include "apr_arch_misc.h"

Go to the source code of this file.

Macros

#define SOMAXCONN_HINT(b)   (-(b))
 

Functions

static apr_status_t socket_cleanup (void *sock)
 
static void set_socket_vars (apr_socket_t *sock, int family, int type, int protocol)
 
static void alloc_socket (apr_socket_t **new, apr_pool_t *p)
 
 APR_DECLARE (apr_status_t)
 
static apr_status_t wait_for_connect (apr_socket_t *sock)
 
 APR_DECLARE (apr_pool_t *)
 

Variables

static char generic_inaddr_any [16] = {0}
 

Macro Definition Documentation

◆ SOMAXCONN_HINT

#define SOMAXCONN_HINT (   b)    (-(b))

Definition at line 31 of file sockets.c.

Function Documentation

◆ alloc_socket()

static void alloc_socket ( apr_socket_t **  new,
apr_pool_t p 
)
static

Definition at line 68 of file sockets.c.

◆ set_socket_vars()

static void set_socket_vars ( apr_socket_t sock,
int  family,
int  type,
int  protocol 
)
static

Definition at line 55 of file sockets.c.

◆ socket_cleanup()

static apr_status_t socket_cleanup ( void *  sock)
static

Definition at line 36 of file sockets.c.

◆ wait_for_connect()

static apr_status_t wait_for_connect ( apr_socket_t sock)
static

Definition at line 335 of file sockets.c.

Variable Documentation

◆ generic_inaddr_any

char generic_inaddr_any[16] = {0}
static

Definition at line 34 of file sockets.c.