Home
last modified time | relevance | path

Searched refs:sockaddr_in (Results 1 – 10 of 10) sorted by relevance

/unit/src/
H A Dnxt_sockaddr.c251 octet = (u_char *) &sa->u.sockaddr_in.sin_addr; in nxt_sockaddr_text()
259 port = sa->u.sockaddr_in.sin_port; in nxt_sockaddr_text()
352 port = sa->u.sockaddr_in.sin_port; in nxt_sockaddr_port_number()
421 if (sa1->u.sockaddr_in.sin_port != sa2->u.sockaddr_in.sin_port) { in nxt_sockaddr_cmp()
425 if (sa1->u.sockaddr_in.sin_addr.s_addr in nxt_sockaddr_cmp()
426 != sa2->u.sockaddr_in.sin_addr.s_addr) in nxt_sockaddr_cmp()
444 p = (u_char *) &sa->u.sockaddr_in.sin_addr; in nxt_sockaddr_ntop()
844 sa->u.sockaddr_in.sin_family = AF_INET; in nxt_sockaddr_inet_parse()
845 sa->u.sockaddr_in.sin_addr.s_addr = inaddr; in nxt_sockaddr_inet_parse()
1166 sa->u.sockaddr_in.sin_family = AF_INET; in nxt_job_sockaddr_inet_parse()
[all …]
H A Dnxt_listen_socket.c287 ls->socklen = sizeof(struct sockaddr_in); in nxt_listen_socket_remote_size()
346 ls->socklen = sizeof(struct sockaddr_in); 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()
352 if (ls->sockaddr->u.sockaddr_in.sin_addr.s_addr == INADDR_ANY) { 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()
H A Dnxt_sockaddr.h50 struct sockaddr_in sockaddr_in; member
H A Dnxt_socket.h75 #define NXT_SOCKADDR_LEN sizeof(struct sockaddr_in)
H A Dnxt_job_resolve.c106 sa->u.sockaddr_in.sin_port = jbr->port; in nxt_job_resolve()
H A Dnxt_conn.c155 socklen = sizeof(struct sockaddr_in); in nxt_conn_local_addr()
H A Dnxt_http_route.c1711 struct sockaddr_in *sin; in nxt_http_route_addr_pattern_match()
1729 sin = &sa->u.sockaddr_in; in nxt_http_route_addr_pattern_match()
H A Dnxt_http_request.c482 if (sa->u.sockaddr_in.sin_addr.s_addr == INADDR_ANY) { in nxt_http_request_client_ip_sockaddr()
H A Dnxt_router.c2482 wildcard = (sa->u.sockaddr_in.sin_addr.s_addr == INADDR_ANY); in nxt_router_socket_conf()
/unit/auto/
H A Dsockets64 nxt_feature="struct sockaddr_in size"
74 printf(\"%d\", (int) sizeof(struct sockaddr_in));