Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_sockaddr.h38 uint8_t address_length; member
66 size_t address_length)
69 struct sockaddr *sockaddr, socklen_t socklen, size_t address_length)
H A Dnxt_sockaddr.c37 sa->length = ls->address_length; in nxt_sockaddr_cache_alloc()
69 size = offsetof(nxt_sockaddr_t, u) + socklen + address_length; in nxt_sockaddr_alloc()
83 sa->length = address_length; in nxt_sockaddr_alloc()
92 size_t address_length) in nxt_sockaddr_create() argument
147 sa = nxt_sockaddr_alloc(mp, size, address_length); in nxt_sockaddr_create()
252 sa->address_length = p - start; in nxt_sockaddr_text()
253 sa->port_start += sa->address_length + 1; in nxt_sockaddr_text()
269 sa->address_length = p - (start + 1); in nxt_sockaddr_text()
270 sa->port_start += sa->address_length + 3; in nxt_sockaddr_text()
307 sa->address_length = p - start; in nxt_sockaddr_text()
[all …]
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_listen_socket.h34 uint8_t address_length; member
H A Dnxt_http_js.c142 r->remote->address_length); in nxt_http_js_ext_remote_addr()
H A Dnxt_conn_accept.c196 (size_t) c->remote->address_length, in nxt_conn_accept()
H A Dnxt_http_variables.c207 str->length = r->remote->address_length; in nxt_http_var_remote_addr()
H A Dnxt_router.c5255 req->remote_length = r->remote->address_length; in nxt_router_prepare_msg()
5258 r->remote->address_length); in nxt_router_prepare_msg()
5261 req->local_addr_length = r->local->address_length; in nxt_router_prepare_msg()
5263 p = nxt_cpymem(p, nxt_sockaddr_address(r->local), r->local->address_length); in nxt_router_prepare_msg()