Searched refs:listen (Results 1 - 18 of 18) sorted by relevance

/tldk/app/nginx/conf/
H A Dnginx.conf36 listen 80;
85 # listen 8000;
86 # listen somename:8080;
99 # listen 443 ssl;
H A Dnginx-tldk.conf41 listen 6000 backlog=4096;
/tldk/app/nginx/src/mail/
H A Dngx_mail.c16 ngx_mail_listen_t *listen);
73 ngx_mail_listen_t *listen; local
212 listen = cmcf->listen.elts;
214 for (i = 0; i < cmcf->listen.nelts; i++) {
215 if (ngx_mail_add_ports(cf, &ports, &listen[i]) != NGX_OK) {
226 ngx_mail_listen_t *listen)
234 sa = &listen->sockaddr.sockaddr;
272 addr->opt = *listen;
225 ngx_mail_add_ports(ngx_conf_t *cf, ngx_array_t *ports, ngx_mail_listen_t *listen) argument
H A Dngx_mail_core_module.c39 { ngx_string("listen"),
136 if (ngx_array_init(&cmcf->listen, cf->pool, 4, sizeof(ngx_mail_listen_t))
282 if (rv == NGX_CONF_OK && !cscf->listen) {
284 "no \"listen\" is defined for server in %s:%ui",
305 cscf->listen = 1;
312 u.listen = 1;
317 "%s in \"%V\" of the \"listen\" directive",
326 ls = cmcf->listen.elts;
328 for (i = 0; i < cmcf->listen.nelts; i++) {
342 ls = ngx_array_push(&cmcf->listen);
[all...]
H A Dngx_mail.h95 ngx_array_t listen; /* ngx_mail_listen_t */ member in struct:__anon353
124 ngx_uint_t listen; /* unsigned listen:1; */ member in struct:__anon354
/tldk/app/nginx/src/stream/
H A Dngx_stream.c20 ngx_stream_listen_t *listen);
80 ngx_stream_listen_t *listen; local
260 listen = cmcf->listen.elts;
262 for (i = 0; i < cmcf->listen.nelts; i++) {
263 if (ngx_stream_add_ports(cf, &ports, &listen[i]) != NGX_OK) {
382 ngx_stream_listen_t *listen)
390 sa = &listen->sockaddr.sockaddr;
397 && listen->type == port[i].type
415 port->type = listen
381 ngx_stream_add_ports(ngx_conf_t *cf, ngx_array_t *ports, ngx_stream_listen_t *listen) argument
[all...]
H A Dngx_stream_core_module.c52 { ngx_string("listen"),
372 if (ngx_array_init(&cmcf->listen, cf->pool, 4, sizeof(ngx_stream_listen_t))
569 if (rv == NGX_CONF_OK && !cscf->listen) {
571 "no \"listen\" is defined for server in %s:%ui",
591 cscf->listen = 1;
598 u.listen = 1;
603 "%s in \"%V\" of the \"listen\" directive",
612 ls = ngx_array_push(&cmcf->listen);
846 als = cmcf->listen.elts;
848 for (i = 0; i < cmcf->listen
[all...]
H A Dngx_stream.h150 ngx_array_t listen; /* ngx_stream_listen_t */ member in struct:__anon413
188 ngx_uint_t listen; /* unsigned listen:1; */ member in struct:__anon414
/tldk/app/nginx/src/core/
H A Dngx_inet.h90 unsigned listen:1; member in struct:__anon35
H A Dngx_connection.h63 unsigned listen:1; member in struct:ngx_listening_s
H A Dngx_connection.c591 if (listen(s, ls[i].backlog) == -1) {
596 * may be returned by listen() instead of bind(), see
602 "listen() to %V, backlog %d failed",
623 ls[i].listen = 1;
790 if (ls[i].listen) {
792 /* change backlog via listen() */
794 if (listen(ls[i].fd, ls[i].backlog) == -1) {
796 "listen() to %V, backlog %d failed, ignored",
H A Dngx_inet.c810 if (u->listen || !u->uri_part) {
848 if (u->listen) {
889 if (u->listen && len == 1 && *host == '*') {
1000 if (u->listen || !u->uri_part) {
H A Dngx_cycle.c529 nls[n].listen = 1;
/tldk/examples/l4fwd/
H A Dparse.c79 #define OPT_LONG_LISTEN "listen"
819 uint32_t udp = 0, tcp = 0, listen = 0; local
891 listen = 1;
948 if (udp && listen)
950 "%s: listen mode cannot be opened with UDP\n",
/tldk/app/nginx/src/http/
H A Dngx_http_core_module.h202 unsigned listen:1; member in struct:__anon276
H A Dngx_http_core_module.c282 { ngx_string("listen"),
2988 if (rv == NGX_CONF_OK && !cscf->listen) {
3940 cscf->listen = 1;
3947 u.listen = 1;
3953 "%s in \"%V\" of the \"listen\" directive",
/tldk/app/nginx/src/tldk/
H A Dmodule.c357 if (ls[i].ignore != 0 || ls[i].listen == 0)
373 "listen() for %s:%s returns %d, errno=%d;\n",
/tldk/app/nginx/contrib/vim/syntax/
H A Dnginx.vim40 syn keyword ngxDirectiveImportant listen contained
41 syn region ngxDirectiveImportantListen matchgroup=ngxDirectiveImportant start=+listen+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxListenOptions,ngxString
1554 " syn keyword ngxDirectiveThirdParty listen
1939 " syn keyword ngxDirectiveThirdParty listen

Completed in 21 milliseconds