Home
last modified time | relevance | path

Searched refs:nxt_sockaddr_t (Results 1 – 21 of 21) sorted by last modified time

/unit/src/
H A Dnxt_sockaddr.h61 nxt_sockaddr_t *nxt_sockaddr_cache_alloc(nxt_event_engine_t *engine,
68 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_create(nxt_mp_t *mp,
71 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_copy(nxt_mp_t *mp, nxt_sockaddr_t *src)
73 NXT_EXPORT nxt_sockaddr_t *nxt_getsockname(nxt_task_t *task, nxt_mp_t *mp,
76 NXT_EXPORT void nxt_sockaddr_text(nxt_sockaddr_t *sa);
79 NXT_EXPORT uint32_t nxt_sockaddr_port_number(nxt_sockaddr_t *sa);
80 NXT_EXPORT nxt_bool_t nxt_sockaddr_cmp(nxt_sockaddr_t *sa1,
81 nxt_sockaddr_t *sa2);
82 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_parse(nxt_mp_t *mp, nxt_str_t *addr);
83 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_parse_optport(nxt_mp_t *mp,
[all …]
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_sockaddr.c19 nxt_sockaddr_t *
24 nxt_sockaddr_t *sa; in nxt_sockaddr_cache_alloc()
55 nxt_sockaddr_t *sa; in nxt_sockaddr_cache_free()
63 nxt_sockaddr_t *
67 nxt_sockaddr_t *sa; in nxt_sockaddr_alloc()
90 nxt_sockaddr_t *
165 nxt_sockaddr_t *
183 nxt_sockaddr_t *
357 nxt_sockaddr_cmp(nxt_sockaddr_t *sa1, nxt_sockaddr_t *sa2) in nxt_sockaddr_cmp()
523 nxt_sockaddr_t *
[all …]
H A Dnxt_main.h75 typedef struct nxt_sockaddr_s nxt_sockaddr_t; typedef
H A Dnxt_router.c148 nxt_socket_conf_t *nskcf, nxt_sockaddr_t *sa);
2425 nxt_sockaddr_t *sa; in nxt_router_socket_conf()
2501 nxt_socket_conf_t *nskcf, nxt_sockaddr_t *sa) in nxt_router_listen_socket_find()
2646 nxt_sockaddr_t *sa; in nxt_router_listen_socket_error()
H A Dnxt_router.h175 nxt_sockaddr_t *sockaddr;
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_conf_validation.c1483 nxt_sockaddr_t *sa; in nxt_conf_vldt_listener()
1753 nxt_sockaddr_t *sa; in nxt_conf_vldt_proxy()
3070 nxt_sockaddr_t *sa; in nxt_conf_vldt_server()
H A Dnxt_http_route.c1704 nxt_sockaddr_t *sa) in nxt_http_route_addr_pattern_match()
1839 nxt_http_route_addr_rule_t *addr_rule, nxt_sockaddr_t *sa) in nxt_http_route_addr_rule()
H A Dnxt_http.h163 nxt_sockaddr_t *remote;
164 nxt_sockaddr_t *local;
359 nxt_http_route_addr_rule_t *addr_rule, nxt_sockaddr_t *sockaddr);
H A Dnxt_socket.h97 nxt_sockaddr_t *sa);
103 nxt_sockaddr_t *sa);
105 nxt_sockaddr_t *sa);
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.h80 nxt_sockaddr_t *controller_listen;
127 nxt_sockaddr_t *sa);
H A Dnxt_http_proxy.c13 nxt_sockaddr_t *sockaddr;
57 nxt_sockaddr_t *sa; in nxt_http_proxy_init()
H A Dnxt_upstream.h60 nxt_sockaddr_t *sockaddr;
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_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.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_listen_socket.h19 nxt_sockaddr_t *sockaddr;
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_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()