Searched refs:ports (Results 1 - 6 of 6) sorted by relevance

/tldk/app/nginx/src/mail/
H A Dngx_mail.c15 static ngx_int_t ngx_mail_add_ports(ngx_conf_t *cf, ngx_array_t *ports,
17 static char *ngx_mail_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports);
72 ngx_array_t ports; local
206 if (ngx_array_init(&ports, cf->temp_pool, 4, sizeof(ngx_mail_conf_port_t))
215 if (ngx_mail_add_ports(cf, &ports, &listen[i]) != NGX_OK) {
220 return ngx_mail_optimize_servers(cf, &ports);
225 ngx_mail_add_ports(ngx_conf_t *cf, ngx_array_t *ports, argument
237 port = ports->elts;
238 for (i = 0; i < ports->nelts; i++) {
250 port = ngx_array_push(ports);
279 ngx_mail_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports) argument
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream.c19 static ngx_int_t ngx_stream_add_ports(ngx_conf_t *cf, ngx_array_t *ports,
21 static char *ngx_stream_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports);
79 ngx_array_t ports; local
254 if (ngx_array_init(&ports, cf->temp_pool, 4, sizeof(ngx_stream_conf_port_t))
263 if (ngx_stream_add_ports(cf, &ports, &listen[i]) != NGX_OK) {
268 return ngx_stream_optimize_servers(cf, &ports);
381 ngx_stream_add_ports(ngx_conf_t *cf, ngx_array_t *ports, argument
393 port = ports->elts;
394 for (i = 0; i < ports->nelts; i++) {
409 port = ngx_array_push(ports);
439 ngx_stream_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports) argument
[all...]
/tldk/lib/libtle_l4p/
H A Dudp_stream.h35 union l4_ports ports; member in struct:udph::__anon543
H A Dudp_rxtx.c60 pkt_info(struct rte_mbuf *m, union l4_ports *ports, union ipv4_addrs *addr4, argument
82 ports->raw = up->raw;
83 ret.dst = ports->dst;
522 udph.ports.src = s->s.port.dst;
533 udph.ports.dst = d4->sin_port;
537 udph.ports.dst = d6->sin6_port;
540 udph.ports.dst = s->s.port.src;
/tldk/app/nginx/src/http/
H A Dngx_http.c51 ngx_http_core_main_conf_t *cmcf, ngx_array_t *ports);
331 /* optimize the lists of ports, addresses and server names */
333 if (ngx_http_optimize_servers(cf, cmcf, cmcf->ports) != NGX_OK) {
1155 if (cmcf->ports == NULL) {
1156 cmcf->ports = ngx_array_create(cf->temp_pool, 2,
1158 if (cmcf->ports == NULL) {
1166 port = cmcf->ports->elts;
1167 for (i = 0; i < cmcf->ports->nelts; i++) {
1180 port = ngx_array_push(cmcf->ports);
1379 ngx_array_t *ports)
1378 ngx_http_optimize_servers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf, ngx_array_t *ports) argument
[all...]
H A Dngx_http_core_module.h173 ngx_array_t *ports; member in struct:__anon275

Completed in 9 milliseconds