Home
last modified time | relevance | path

Searched refs:nxt_sockaddr_t (Results 1 – 23 of 23) sorted by relevance

/unit/src/
H A Dnxt_sockaddr.h70 nxt_sockaddr_t *nxt_sockaddr_cache_alloc(nxt_event_engine_t *engine,
77 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_create(nxt_mp_t *mp,
80 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_copy(nxt_mp_t *mp, nxt_sockaddr_t *src)
82 NXT_EXPORT nxt_sockaddr_t *nxt_getsockname(nxt_task_t *task, nxt_mp_t *mp,
85 NXT_EXPORT void nxt_sockaddr_text(nxt_sockaddr_t *sa);
88 NXT_EXPORT uint32_t nxt_sockaddr_port_number(nxt_sockaddr_t *sa);
89 NXT_EXPORT nxt_bool_t nxt_sockaddr_cmp(nxt_sockaddr_t *sa1,
90 nxt_sockaddr_t *sa2);
91 NXT_EXPORT size_t nxt_sockaddr_ntop(nxt_sockaddr_t *sa, u_char *buf,
94 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_parse_optport(nxt_mp_t *mp,
[all …]
H A Dnxt_sockaddr.c23 nxt_sockaddr_t *
28 nxt_sockaddr_t *sa; in nxt_sockaddr_cache_alloc()
59 nxt_sockaddr_t *sa; in nxt_sockaddr_cache_free()
67 nxt_sockaddr_t *
71 nxt_sockaddr_t *sa; in nxt_sockaddr_alloc()
94 nxt_sockaddr_t *
169 nxt_sockaddr_t *
187 nxt_sockaddr_t *
361 nxt_sockaddr_cmp(nxt_sockaddr_t *sa1, nxt_sockaddr_t *sa2) in nxt_sockaddr_cmp()
603 nxt_sockaddr_t *
[all …]
H A Dnxt_socket.h97 nxt_sockaddr_t *sa);
103 nxt_sockaddr_t *sa);
105 nxt_sockaddr_t *sa);
H A Dnxt_listen_socket.c37 nxt_sockaddr_t *sa; in nxt_listen_socket_create()
43 nxt_sockaddr_t *orig_sa; in nxt_listen_socket_create()
317 size = offsetof(nxt_sockaddr_t, u) + sizeof(struct sockaddr_in6) in nxt_listen_socket_pool_min_size()
321 size += offsetof(nxt_sockaddr_t, u) + sizeof(struct sockaddr_in6); in nxt_listen_socket_pool_min_size()
349 size = offsetof(nxt_sockaddr_t, u) + sizeof(struct sockaddr_in) in nxt_listen_socket_pool_min_size()
353 size += offsetof(nxt_sockaddr_t, u) + sizeof(struct sockaddr_in); in nxt_listen_socket_pool_min_size()
378 nxt_sockaddr_t *sa; in nxt_listen_socket_log_handler()
H A Dnxt_conn.c131 nxt_sockaddr_t *
137 nxt_sockaddr_t *sa; in nxt_conn_local_addr()
150 size = offsetof(nxt_sockaddr_t, u) + socklen + length; in nxt_conn_local_addr()
157 size = offsetof(nxt_sockaddr_t, u) + socklen + length; in nxt_conn_local_addr()
H A Dnxt_job_resolve.h19 nxt_sockaddr_t **sockaddrs;
H A Dnxt_job_resolve.c18 nxt_sockaddr_t *sa; in nxt_job_resolve()
73 jbr->sockaddrs = nxt_mp_alloc(mp, n * sizeof(nxt_sockaddr_t *)); in nxt_job_resolve()
H A Dnxt_socket.c54 nxt_socket_defer_accept(nxt_task_t *task, nxt_socket_t s, nxt_sockaddr_t *sa) in nxt_socket_defer_accept()
175 nxt_socket_bind(nxt_task_t *task, nxt_socket_t s, nxt_sockaddr_t *sa) in nxt_socket_bind()
192 nxt_socket_connect(nxt_task_t *task, nxt_socket_t s, nxt_sockaddr_t *sa) in nxt_socket_connect()
H A Dnxt_listen_socket.h19 nxt_sockaddr_t *sockaddr;
H A Dnxt_runtime.h80 nxt_sockaddr_t *controller_listen;
127 nxt_sockaddr_t *sa);
H A Dnxt_upstream.h60 nxt_sockaddr_t *sockaddr;
H A Dnxt_main.h75 typedef struct nxt_sockaddr_s nxt_sockaddr_t; typedef
H A Dnxt_conn.h156 nxt_sockaddr_t *remote;
157 nxt_sockaddr_t *local;
228 NXT_EXPORT nxt_sockaddr_t *nxt_conn_local_addr(nxt_task_t *task,
H A Dnxt_upstream_round_robin.c14 nxt_sockaddr_t *sockaddr;
51 nxt_sockaddr_t *sa; in nxt_upstream_round_robin_create()
H A Dnxt_http.h163 nxt_sockaddr_t *remote;
164 nxt_sockaddr_t *local;
356 nxt_http_route_addr_rule_t *addr_rule, nxt_sockaddr_t *sockaddr);
H A Dnxt_router.h173 nxt_sockaddr_t *sockaddr;
H A Dnxt_http_proxy.c13 nxt_sockaddr_t *sockaddr;
57 nxt_sockaddr_t *sa; in nxt_http_proxy_init()
H A Dnxt_http_request.c17 static nxt_sockaddr_t *nxt_http_request_client_ip_sockaddr(
411 nxt_sockaddr_t *sa, *prev_sa; in nxt_http_request_forward_client_ip()
465 static nxt_sockaddr_t *
470 nxt_sockaddr_t *sa; in nxt_http_request_client_ip_sockaddr()
H A Dnxt_main_process.c51 static nxt_int_t nxt_main_listening_socket(nxt_sockaddr_t *sa,
1032 nxt_sockaddr_t *sa; in nxt_main_port_socket_handler()
1051 sa = (nxt_sockaddr_t *) b->mem.pos; in nxt_main_port_socket_handler()
1095 nxt_main_listening_socket(nxt_sockaddr_t *sa, nxt_listening_socket_t *ls) in nxt_main_listening_socket()
H A Dnxt_runtime.c566 nxt_sockaddr_t *sa; in nxt_runtime_exit()
760 nxt_sockaddr_t *sa; in nxt_runtime_conf_init()
1117 nxt_runtime_listen_socket_add(nxt_runtime_t *rt, nxt_sockaddr_t *sa) in nxt_runtime_listen_socket_add()
H A Dnxt_conf_validation.c1461 nxt_sockaddr_t *sa; in nxt_conf_vldt_listener()
1731 nxt_sockaddr_t *sa; in nxt_conf_vldt_proxy()
3043 nxt_sockaddr_t *sa; in nxt_conf_vldt_server()
H A Dnxt_http_route.c1700 nxt_sockaddr_t *sa) in nxt_http_route_addr_pattern_match()
1828 nxt_http_route_addr_rule_t *addr_rule, nxt_sockaddr_t *sa) in nxt_http_route_addr_rule()
H A Dnxt_router.c153 nxt_socket_conf_t *nskcf, nxt_sockaddr_t *sa);
2469 nxt_sockaddr_t *sa; in nxt_router_socket_conf()
2545 nxt_socket_conf_t *nskcf, nxt_sockaddr_t *sa) in nxt_router_listen_socket_find()
2690 nxt_sockaddr_t *sa; in nxt_router_listen_socket_error()