Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_sockaddr.c247 octet = (u_char *) &sa->u.sockaddr_in.sin_addr; in nxt_sockaddr_text()
255 port = sa->u.sockaddr_in.sin_port; in nxt_sockaddr_text()
348 port = sa->u.sockaddr_in.sin_port; in nxt_sockaddr_port_number()
417 if (sa1->u.sockaddr_in.sin_port != sa2->u.sockaddr_in.sin_port) { in nxt_sockaddr_cmp()
421 if (sa1->u.sockaddr_in.sin_addr.s_addr in nxt_sockaddr_cmp()
422 != sa2->u.sockaddr_in.sin_addr.s_addr) in nxt_sockaddr_cmp()
759 sa = nxt_sockaddr_alloc(mp, sizeof(struct sockaddr_in), in nxt_sockaddr_inet_parse()
765 sa->u.sockaddr_in.sin_family = AF_INET; in nxt_sockaddr_inet_parse()
766 sa->u.sockaddr_in.sin_addr.s_addr = inaddr; in nxt_sockaddr_inet_parse()
767 sa->u.sockaddr_in.sin_port = htons((in_port_t) port); in nxt_sockaddr_inet_parse()
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_conn.c155 socklen = sizeof(struct sockaddr_in); in nxt_conn_local_addr()
H A Dnxt_http_route.c1715 struct sockaddr_in *sin; in nxt_http_route_addr_pattern_match()
1733 sin = &sa->u.sockaddr_in; in nxt_http_route_addr_pattern_match()
H A Dnxt_http_request.c488 if (sa->u.sockaddr_in.sin_addr.s_addr == INADDR_ANY) { in nxt_http_request_client_ip_sockaddr()
H A Dnxt_router.c2573 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));