Home
last modified time | relevance | path

Searched refs:address_length (Results 1 – 6 of 6) sorted by relevance

/unit/src/
H A Dnxt_sockaddr.h38 uint8_t address_length; member
75 size_t address_length)
78 struct sockaddr *sockaddr, socklen_t socklen, size_t address_length)
H A Dnxt_listen_socket.c263 ls->address_length = NXT_INET6_ADDR_STR_LEN; in nxt_listen_socket_remote_size()
279 ls->address_length = nxt_length("unix:"); in nxt_listen_socket_remote_size()
288 ls->address_length = NXT_INET_ADDR_STR_LEN; in nxt_listen_socket_remote_size()
315 ls->address_length = NXT_INET6_ADDR_STR_LEN; in nxt_listen_socket_pool_min_size()
339 ls->address_length = nxt_length("unix:"); in nxt_listen_socket_pool_min_size()
347 ls->address_length = NXT_INET_ADDR_STR_LEN; in nxt_listen_socket_pool_min_size()
H A Dnxt_sockaddr.c41 sa->length = ls->address_length; in nxt_sockaddr_cache_alloc()
73 size = offsetof(nxt_sockaddr_t, u) + socklen + address_length; in nxt_sockaddr_alloc()
87 sa->length = address_length; in nxt_sockaddr_alloc()
96 size_t address_length) in nxt_sockaddr_create() argument
151 sa = nxt_sockaddr_alloc(mp, size, address_length); in nxt_sockaddr_create()
256 sa->address_length = p - start; in nxt_sockaddr_text()
257 sa->port_start += sa->address_length + 1; in nxt_sockaddr_text()
273 sa->address_length = p - (start + 1); in nxt_sockaddr_text()
274 sa->port_start += sa->address_length + 3; in nxt_sockaddr_text()
311 sa->address_length = p - start; in nxt_sockaddr_text()
[all …]
H A Dnxt_listen_socket.h34 uint8_t address_length; member
H A Dnxt_conn_accept.c195 (size_t) c->remote->address_length, in nxt_conn_accept()
H A Dnxt_router.c3774 size = r->remote->address_length in nxt_router_access_log_writer()
3800 r->remote->address_length); in nxt_router_access_log_writer()
5586 req->remote_length = r->remote->address_length; in nxt_router_prepare_msg()
5589 r->remote->address_length); in nxt_router_prepare_msg()
5592 req->local_length = r->local->address_length; in nxt_router_prepare_msg()
5594 p = nxt_cpymem(p, nxt_sockaddr_address(r->local), r->local->address_length); in nxt_router_prepare_msg()