Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
ngx_connection.h File Reference
#include <ngx_config.h>
#include <ngx_core.h>
Include dependency graph for ngx_connection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ngx_listening_s
struct  ngx_connection_s

Macros

#define NGX_LOWLEVEL_BUFFERED   0x0f
#define NGX_SSL_BUFFERED   0x01

Typedefs

typedef struct ngx_listening_s ngx_listening_t

Enumerations

enum  ngx_connection_log_error_e {
  NGX_ERROR_ALERT = 0, NGX_ERROR_ERR, NGX_ERROR_INFO, NGX_ERROR_IGNORE_ECONNRESET,
  NGX_ERROR_IGNORE_EINVAL
}
enum  ngx_connection_tcp_nodelay_e { NGX_TCP_NODELAY_UNSET = 0, NGX_TCP_NODELAY_SET, NGX_TCP_NODELAY_DISABLED }
enum  ngx_connection_tcp_nopush_e { NGX_TCP_NOPUSH_UNSET = 0, NGX_TCP_NOPUSH_SET, NGX_TCP_NOPUSH_DISABLED }

Functions

ngx_listening_tngx_create_listening (ngx_conf_t *cf, void *sockaddr, socklen_t socklen)
ngx_int_t ngx_set_inherited_sockets (ngx_cycle_t *cycle)
ngx_int_t ngx_open_listening_sockets (ngx_cycle_t *cycle)
void ngx_configure_listening_sockets (ngx_cycle_t *cycle)
void ngx_close_listening_sockets (ngx_cycle_t *cycle)
void ngx_close_connection (ngx_connection_t *c)
ngx_int_t ngx_connection_local_sockaddr (ngx_connection_t *c, ngx_str_t *s, ngx_uint_t port)
ngx_int_t ngx_connection_error (ngx_connection_t *c, ngx_err_t err, char *text)
ngx_connection_tngx_get_connection (ngx_socket_t s, ngx_log_t *log)
void ngx_free_connection (ngx_connection_t *c)
void ngx_reusable_connection (ngx_connection_t *c, ngx_uint_t reusable)

Macro Definition Documentation

#define NGX_LOWLEVEL_BUFFERED   0x0f

Definition at line 109 of file ngx_connection.h.

#define NGX_SSL_BUFFERED   0x01

Definition at line 110 of file ngx_connection.h.

Typedef Documentation

Definition at line 16 of file ngx_connection.h.

Enumeration Type Documentation

Enumerator:
NGX_ERROR_ALERT 
NGX_ERROR_ERR 
NGX_ERROR_INFO 
NGX_ERROR_IGNORE_ECONNRESET 
NGX_ERROR_IGNORE_EINVAL 

Definition at line 86 of file ngx_connection.h.

Enumerator:
NGX_TCP_NODELAY_UNSET 
NGX_TCP_NODELAY_SET 
NGX_TCP_NODELAY_DISABLED 

Definition at line 95 of file ngx_connection.h.

Enumerator:
NGX_TCP_NOPUSH_UNSET 
NGX_TCP_NOPUSH_SET 
NGX_TCP_NOPUSH_DISABLED 

Definition at line 102 of file ngx_connection.h.

Function Documentation

void ngx_close_connection ( ngx_connection_t c)

Definition at line 850 of file ngx_connection.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_close_listening_sockets ( ngx_cycle_t cycle)

Definition at line 683 of file ngx_connection.c.

Here is the call graph for this function:

void ngx_configure_listening_sockets ( ngx_cycle_t cycle)

Definition at line 464 of file ngx_connection.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_connection_error ( ngx_connection_t c,
ngx_err_t  err,
char *  text 
)

Definition at line 1078 of file ngx_connection.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_connection_local_sockaddr ( ngx_connection_t c,
ngx_str_t s,
ngx_uint_t  port 
)

Definition at line 1019 of file ngx_connection.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_listening_t* ngx_create_listening ( ngx_conf_t cf,
void *  sockaddr,
socklen_t  socklen 
)

Definition at line 20 of file ngx_connection.c.

Here is the call graph for this function:

void ngx_free_connection ( ngx_connection_t c)

Definition at line 833 of file ngx_connection.c.

Here is the caller graph for this function:

ngx_connection_t* ngx_get_connection ( ngx_socket_t  s,
ngx_log_t log 
)

Definition at line 758 of file ngx_connection.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_open_listening_sockets ( ngx_cycle_t cycle)

Definition at line 269 of file ngx_connection.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_reusable_connection ( ngx_connection_t c,
ngx_uint_t  reusable 
)

Definition at line 966 of file ngx_connection.c.

Here is the caller graph for this function:

ngx_int_t ngx_set_inherited_sockets ( ngx_cycle_t cycle)

Definition at line 90 of file ngx_connection.c.

Here is the call graph for this function: