Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_http_route_addr.c64 nxt_http_route_in6_addr_range_t *inet6; in nxt_http_route_addr_pattern_parse() local
84 inet6 = &pattern->addr.v6; in nxt_http_route_addr_pattern_parse()
93 ret = nxt_inet6_addr(&inet6->start, addr.start, len); in nxt_http_route_addr_pattern_parse()
103 ret = nxt_inet6_addr(&inet6->end, delim + 1, len); in nxt_http_route_addr_pattern_parse()
108 if (nxt_slow_path(nxt_memcmp(&inet6->start, &inet6->end, in nxt_http_route_addr_pattern_parse()
134 ret = nxt_inet6_addr(&inet6->start, addr.start, addr.length); in nxt_http_route_addr_pattern_parse()
155 inet6->end.s6_addr[i] = 0xFF; in nxt_http_route_addr_pattern_parse()
163 inet6->start.s6_addr[i] &= inet6->end.s6_addr[i]; in nxt_http_route_addr_pattern_parse()
169 inet6->start.s6_addr[i] = 0; in nxt_http_route_addr_pattern_parse()
170 inet6->end.s6_addr[i] = 0; in nxt_http_route_addr_pattern_parse()
[all …]