Home
last modified time | relevance | path

Searched refs:ngx_connection_t (Results 1 – 25 of 90) sorted by relevance

1234

/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_openssl.h205 ngx_ssl_session_t *ngx_ssl_get_session(ngx_connection_t *c);
206 ngx_ssl_session_t *ngx_ssl_get0_session(ngx_connection_t *c);
220 ngx_int_t ngx_ssl_check_host(ngx_connection_t *c, ngx_str_t *name);
223 ngx_int_t ngx_ssl_get_protocol(ngx_connection_t *c, ngx_pool_t *pool,
227 ngx_int_t ngx_ssl_get_ciphers(ngx_connection_t *c, ngx_pool_t *pool,
229 ngx_int_t ngx_ssl_get_curves(ngx_connection_t *c, ngx_pool_t *pool,
267 ngx_int_t ngx_ssl_handshake(ngx_connection_t *c);
268 ssize_t ngx_ssl_recv(ngx_connection_t *c, u_char *buf, size_t size);
271 ngx_chain_t *ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in,
273 void ngx_ssl_free_buffer(ngx_connection_t *c);
[all …]
H A Dngx_event_udp.c17 ngx_connection_t *connection;
22 static void ngx_close_accepted_udp_connection(ngx_connection_t *c);
23 static ssize_t ngx_udp_shared_recv(ngx_connection_t *c, u_char *buf,
25 static ngx_int_t ngx_insert_udp_connection(ngx_connection_t *c);
46 ngx_connection_t *c, *lc; in ngx_event_recvmsg()
427 ngx_close_accepted_udp_connection(ngx_connection_t *c) in ngx_close_accepted_udp_connection()
473 ngx_connection_t *c, *ct; in ngx_udp_rbtree_insert_value()
522 ngx_insert_udp_connection(ngx_connection_t *c) in ngx_insert_udp_connection()
569 ngx_connection_t *c = data; in ngx_delete_udp_connection()
581 static ngx_connection_t *
[all …]
H A Dngx_event.h188 ngx_int_t (*add_conn)(ngx_connection_t *c);
189 ngx_int_t (*del_conn)(ngx_connection_t *c, ngx_uint_t flags);
437 static inline ngx_int_t ngx_add_conn(ngx_connection_t *c) in ngx_add_conn()
443 ngx_connection_t *c, ngx_uint_t flags) { in ngx_del_conn()
569 void ngx_debug_accepted_connection(ngx_event_conf_t *ecf, ngx_connection_t *c);
585 ngx_int_t ngx_send_lowat(ngx_connection_t *c, size_t lowat);
589 #define ngx_event_ident(p) ((ngx_connection_t *) (p))->fd
H A Dngx_event_openssl.c1007 ngx_connection_t *c; in ngx_ssl_verify_callback()
1047 ngx_connection_t *c; in ngx_ssl_info_callback()
1493 ngx_connection_t *c; in ngx_ssl_new_client_session()
1604 ngx_ssl_handshake(ngx_connection_t *c) in ngx_ssl_handshake()
1885 ngx_connection_t *c; in ngx_ssl_handshake_handler()
2285 ngx_connection_t *c; in ngx_ssl_write_handler()
2677 ngx_connection_t *c; in ngx_ssl_read_handler()
2699 ngx_ssl_shutdown(ngx_connection_t *c) in ngx_ssl_shutdown()
2796 ngx_connection_t *c; in ngx_ssl_shutdown_handler()
3306 ngx_connection_t *c; in ngx_ssl_new_session()
[all …]
H A Dngx_event_accept.c14 static void ngx_close_accepted_connection(ngx_connection_t *c);
28 ngx_connection_t *c, *lc;
369 ngx_connection_t *c;
394 ngx_connection_t *c;
430 ngx_close_accepted_connection(ngx_connection_t *c)
465 ngx_debug_accepted_connection(ngx_event_conf_t *ecf, ngx_connection_t *c)
H A Dngx_event_pipe.h26 ngx_connection_t *upstream;
27 ngx_connection_t *downstream;
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_os.h19 typedef ssize_t (*ngx_recv_pt)(ngx_connection_t *c, u_char *buf, size_t size);
20 typedef ssize_t (*ngx_recv_chain_pt)(ngx_connection_t *c, ngx_chain_t *in,
22 typedef ssize_t (*ngx_send_pt)(ngx_connection_t *c, u_char *buf, size_t size);
23 typedef ngx_chain_t *(*ngx_send_chain_pt)(ngx_connection_t *c, ngx_chain_t *in,
46 ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size);
48 ssize_t ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size);
49 ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size);
50 ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in,
52 ssize_t ngx_udp_unix_send(ngx_connection_t *c, u_char *buf, size_t size);
53 ngx_chain_t *ngx_udp_unix_sendmsg_chain(ngx_connection_t *c, ngx_chain_t *in,
[all …]
H A Dngx_linux_sendfile_chain.c13 static ssize_t ngx_linux_sendfile(ngx_connection_t *c, ngx_buf_t *file,
23 static ssize_t ngx_linux_sendfile_thread(ngx_connection_t *c, ngx_buf_t *file,
47 ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) in ngx_linux_sendfile_chain()
230 ngx_linux_sendfile(ngx_connection_t *c, ngx_buf_t *file, size_t size) in ngx_linux_sendfile()
315 ngx_linux_sendfile_thread(ngx_connection_t *c, ngx_buf_t *file, size_t size) in ngx_linux_sendfile_thread()
/f-stack/app/nginx-1.16.1/src/mail/
H A Dngx_mail.h187 ngx_connection_t *connection;
314 ngx_connection_t *c);
379 void ngx_mail_init_connection(ngx_connection_t *c);
381 ngx_int_t ngx_mail_salt(ngx_mail_session_t *s, ngx_connection_t *c,
383 ngx_int_t ngx_mail_auth_plain(ngx_mail_session_t *s, ngx_connection_t *c,
386 ngx_connection_t *c, ngx_uint_t n);
388 ngx_connection_t *c);
390 ngx_connection_t *c, char *prefix, size_t len);
394 ngx_int_t ngx_mail_auth_parse(ngx_mail_session_t *s, ngx_connection_t *c);
398 void ngx_mail_auth(ngx_mail_session_t *s, ngx_connection_t *c);
[all …]
H A Dngx_mail_smtp_handler.c21 ngx_connection_t *c);
27 ngx_connection_t *c);
32 ngx_connection_t *c, char *err);
34 ngx_connection_t *c, char *err);
100 ngx_connection_t *c; in ngx_mail_smtp_resolve_addr_handler()
151 ngx_connection_t *c; in ngx_mail_smtp_resolve_name()
182 ngx_connection_t *c; in ngx_mail_smtp_resolve_name_handler()
277 ngx_connection_t *c; in ngx_mail_smtp_invalid_pipelining()
336 ngx_connection_t *c; in ngx_mail_smtp_init_protocol()
391 ngx_connection_t *c; in ngx_mail_smtp_auth_state()
[all …]
H A Dngx_mail_pop3_handler.c15 static ngx_int_t ngx_mail_pop3_user(ngx_mail_session_t *s, ngx_connection_t *c);
16 static ngx_int_t ngx_mail_pop3_pass(ngx_mail_session_t *s, ngx_connection_t *c);
17 static ngx_int_t ngx_mail_pop3_capa(ngx_mail_session_t *s, ngx_connection_t *c,
33 ngx_mail_pop3_init_session(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_pop3_init_session()
81 ngx_connection_t *c; in ngx_mail_pop3_init_protocol()
123 ngx_connection_t *c; in ngx_mail_pop3_auth_state()
283 ngx_mail_pop3_user(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_pop3_user()
316 ngx_mail_pop3_pass(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_pop3_pass()
375 ngx_mail_pop3_stls(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_pop3_stls()
395 ngx_mail_pop3_apop(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_pop3_apop()
[all …]
H A Dngx_mail_handler.c14 static void ngx_mail_init_session(ngx_connection_t *c);
18 static void ngx_mail_ssl_handshake_handler(ngx_connection_t *c);
20 ngx_connection_t *c);
25 ngx_mail_init_connection(ngx_connection_t *c) in ngx_mail_init_connection()
187 ngx_connection_t *c; in ngx_mail_starttls_handler()
232 ngx_mail_ssl_handshake_handler(ngx_connection_t *c) in ngx_mail_ssl_handshake_handler()
334 ngx_mail_init_session(ngx_connection_t *c) in ngx_mail_init_session()
358 ngx_mail_salt(ngx_mail_session_t *s, ngx_connection_t *c, in ngx_mail_salt()
637 ngx_connection_t *c; in ngx_mail_send()
770 ngx_mail_auth(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_auth()
[all …]
H A Dngx_mail_imap_handler.c16 ngx_connection_t *c);
18 ngx_connection_t *c);
20 ngx_connection_t *c);
22 ngx_connection_t *c);
37 ngx_mail_imap_init_session(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_imap_init_session()
60 ngx_connection_t *c; in ngx_mail_imap_init_protocol()
108 ngx_connection_t *c; in ngx_mail_imap_auth_state()
301 ngx_mail_imap_login(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_imap_login()
347 ngx_mail_imap_authenticate(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_imap_authenticate()
424 ngx_mail_imap_capability(ngx_mail_session_t *s, ngx_connection_t *c) in ngx_mail_imap_capability()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_connection.h52 ngx_connection_t *connection;
221 void ngx_close_connection(ngx_connection_t *c);
223 ngx_int_t ngx_connection_local_sockaddr(ngx_connection_t *c, ngx_str_t *s,
225 ngx_int_t ngx_tcp_nodelay(ngx_connection_t *c);
226 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text);
228 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log);
229 void ngx_free_connection(ngx_connection_t *c);
231 void ngx_reusable_connection(ngx_connection_t *c, ngx_uint_t reusable);
H A Dngx_proxy_protocol.h19 u_char *ngx_proxy_protocol_read(ngx_connection_t *c, u_char *buf,
21 u_char *ngx_proxy_protocol_write(ngx_connection_t *c, u_char *buf,
H A Dngx_cycle.h48 ngx_connection_t **files;
49 ngx_connection_t *free_connections;
72 ngx_connection_t *connections;
H A Dngx_core.h26 typedef struct ngx_connection_s ngx_connection_t; typedef
33 typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c);
H A Dngx_proxy_protocol.c43 static u_char *ngx_proxy_protocol_v2_read(ngx_connection_t *c, u_char *buf,
48 ngx_proxy_protocol_read(ngx_connection_t *c, u_char *buf, u_char *last) in ngx_proxy_protocol_read()
172 ngx_proxy_protocol_write(ngx_connection_t *c, u_char *buf, u_char *last) in ngx_proxy_protocol_write()
216 ngx_proxy_protocol_v2_read(ngx_connection_t *c, u_char *buf, u_char *last) in ngx_proxy_protocol_v2_read()
H A Dngx_connection.c1090 ngx_connection_t *c; in ngx_close_listening_sockets()
1166 ngx_connection_t *
1171 ngx_connection_t *c; in ngx_get_connection()
1208 ngx_memzero(c, sizeof(ngx_connection_t)); in ngx_get_connection()
1240 ngx_free_connection(ngx_connection_t *c) in ngx_free_connection()
1253 ngx_close_connection(ngx_connection_t *c)
1380 ngx_connection_t *c;
1390 c = ngx_queue_data(q, ngx_connection_t, queue);
1405 ngx_connection_t *c;
1422 ngx_connection_local_sockaddr(ngx_connection_t *c, ngx_str_t *s,
[all …]
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http.h53 ngx_connection_t *connection;
85 void ngx_http_init_connection(ngx_connection_t *c);
86 void ngx_http_close_connection(ngx_connection_t *c);
118 ngx_http_request_t *ngx_http_create_request(ngx_connection_t *c);
124 void ngx_http_run_posted_requests(ngx_connection_t *c);
/f-stack/app/nginx-1.16.1/src/event/modules/
H A Dngx_win32_poll_module.c26 static ngx_connection_t **event_index;
73 ngx_connection_t **index; in ngx_poll_init()
96 index = ngx_alloc(sizeof(ngx_connection_t *) * cycle->connection_n, in ngx_poll_init()
104 sizeof(ngx_connection_t *) * nevents); in ngx_poll_init()
136 ngx_connection_t *c; in ngx_poll_add_event()
191 ngx_connection_t *c; in ngx_poll_del_event()
269 ngx_connection_t *c; in ngx_poll_process_events()
H A Dngx_ff_host_event_module.c153 ngx_connection_t *c; in ngx_ff_epoll_add_event()
211 ngx_connection_t *c; in ngx_ff_epoll_del_event()
263 ngx_ff_epoll_add_connection(ngx_connection_t *c) in ngx_ff_epoll_add_connection()
287 ngx_ff_epoll_del_connection(ngx_connection_t *c, ngx_uint_t flags) in ngx_ff_epoll_del_connection()
333 ngx_connection_t *c; in ngx_ff_epoll_process_events()
373 c = (ngx_connection_t *) ((uintptr_t) c & (uintptr_t) ~1); in ngx_ff_epoll_process_events()
H A Dngx_epoll_module.c117 static ngx_int_t ngx_epoll_add_connection(ngx_connection_t *c);
118 static ngx_int_t ngx_epoll_del_connection(ngx_connection_t *c,
140 static ngx_connection_t notify_conn;
149 static ngx_connection_t ngx_eventfd_conn;
584 ngx_connection_t *c; in ngx_epoll_add_event()
648 ngx_connection_t *c; in ngx_epoll_del_event()
701 ngx_epoll_add_connection(ngx_connection_t *c) in ngx_epoll_add_connection()
725 ngx_epoll_del_connection(ngx_connection_t *c, ngx_uint_t flags) in ngx_epoll_del_connection()
793 ngx_connection_t *c; in ngx_epoll_process_events()
840 c = (ngx_connection_t *) ((uintptr_t) c & (uintptr_t) ~1); in ngx_epoll_process_events()
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_handler.c15 static void ngx_stream_close_connection(ngx_connection_t *c);
21 ngx_stream_init_connection(ngx_connection_t *c) in ngx_stream_init_connection()
212 ngx_connection_t *c; in ngx_stream_proxy_protocol_handler()
286 ngx_connection_t *c; in ngx_stream_session_handler()
329 ngx_stream_close_connection(ngx_connection_t *c) in ngx_stream_close_connection()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_upstream_keepalive_module.c31 ngx_connection_t *connection;
66 static void ngx_http_upstream_keepalive_close(ngx_connection_t *c);
234 ngx_connection_t *c; in ngx_http_upstream_get_keepalive_peer()
302 ngx_connection_t *c; in ngx_http_upstream_free_keepalive_peer()
415 ngx_connection_t *c; in ngx_http_upstream_keepalive_close_handler()
451 ngx_http_upstream_keepalive_close(ngx_connection_t *c) in ngx_http_upstream_keepalive_close()

1234