Apache2
ap_listen.h File Reference

Apache Listeners Library. More...

#include "apr_network_io.h"
#include "httpd.h"
#include "http_config.h"
#include "apr_optional.h"
Include dependency graph for ap_listen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ap_listen_rec
 Apache's listeners record. More...
 

Macros

#define AP_LISTEN_SPECIFIC_ERRORS   (0x0001)
 
#define AP_LISTEN_FREEBIND   (0x0002)
 
#define AP_LISTEN_REUSEPORT   (0x0004)
 
#define AP_LISTEN_V6ONLY   (0x0008)
 
#define LISTEN_COMMANDS
 

Typedefs

typedef struct ap_slave_t ap_slave_t
 
typedef struct ap_listen_rec ap_listen_rec
 
typedef apr_status_t(* accept_function) (void **csd, ap_listen_rec *lr, apr_pool_t *ptrans)
 

Functions

int ap_accept_error_is_nonfatal (apr_status_t rv)
 
void ap_listen_pre_config (void)
 
int ap_setup_listeners (server_rec *s)
 
apr_status_t ap_duplicate_listeners (apr_pool_t *p, server_rec *s, ap_listen_rec ***buckets, int *num_buckets)
 
void ap_close_listeners (void)
 
void ap_close_listeners_ex (ap_listen_rec *listeners)
 
int ap_close_selected_listeners (ap_slave_t *)
 
const char * ap_set_listenbacklog (cmd_parms *cmd, void *dummy, const char *arg)
 
const char * ap_set_listencbratio (cmd_parms *cmd, void *dummy, const char *arg)
 
const char * ap_set_listener (cmd_parms *cmd, void *dummy, int argc, char *const argv[])
 
const char * ap_set_send_buffer_size (cmd_parms *cmd, void *dummy, const char *arg)
 
const char * ap_set_receive_buffer_size (cmd_parms *cmd, void *dummy, const char *arg)
 
const char * ap_set_accept_errors_nonfatal (cmd_parms *cmd, void *dummy, int flag)
 

Variables

AP_DECLARE_DATA ap_listen_recap_listeners
 
AP_DECLARE_DATA int ap_num_listen_buckets
 
AP_DECLARE_DATA int ap_have_so_reuseport
 
AP_DECLARE_DATA int ap_accept_errors_nonfatal
 

Detailed Description

Apache Listeners Library.