Apache HTTPD
Functions
sockets.c File Reference
#include "apr_arch_networkio.h"
#include "apr_arch_inherit.h"
#include "apr_network_io.h"
#include "apr_general.h"
#include "apr_portable.h"
#include "apr_lib.h"
#include "apr_strings.h"
#include <errno.h>
#include <string.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include "apr_arch_os2calls.h"

Go to the source code of this file.

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)
 
 APR_DECLARE (apr_pool_t *)
 

Function Documentation

◆ alloc_socket()

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

Definition at line 58 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 50 of file sockets.c.

◆ socket_cleanup()

static apr_status_t socket_cleanup ( void *  sock)
static

Definition at line 33 of file sockets.c.