Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_http_route_addr.c21 nxt_int_t ret, cidr_prefix; in nxt_http_route_addr_pattern_parse() local
121 cidr_prefix = nxt_int_parse(delim + 1, in nxt_http_route_addr_pattern_parse()
123 if (nxt_slow_path(cidr_prefix < 0 || cidr_prefix > 128)) { in nxt_http_route_addr_pattern_parse()
154 if (cidr_prefix >= 8) { in nxt_http_route_addr_pattern_parse()
156 cidr_prefix -= 8; in nxt_http_route_addr_pattern_parse()
161 if (cidr_prefix > 0) { in nxt_http_route_addr_pattern_parse()
164 cidr_prefix = 0; in nxt_http_route_addr_pattern_parse()
229 cidr_prefix = nxt_int_parse(delim + 1, in nxt_http_route_addr_pattern_parse()
231 if (nxt_slow_path(cidr_prefix < 0 || cidr_prefix > 32)) { in nxt_http_route_addr_pattern_parse()
243 if (cidr_prefix == 0) { in nxt_http_route_addr_pattern_parse()
[all …]