Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_http_route_addr.c24 nxt_http_route_addr_range_t *inet; in nxt_http_route_addr_pattern_parse() local
201 inet = &pattern->addr.v4; in nxt_http_route_addr_pattern_parse()
205 inet->start = nxt_inet_addr(addr.start, delim - addr.start); in nxt_http_route_addr_pattern_parse()
206 if (nxt_slow_path(inet->start == INADDR_NONE)) { in nxt_http_route_addr_pattern_parse()
210 inet->end = nxt_inet_addr(delim + 1, in nxt_http_route_addr_pattern_parse()
212 if (nxt_slow_path(inet->end == INADDR_NONE)) { in nxt_http_route_addr_pattern_parse()
216 if (nxt_slow_path(nxt_memcmp(&inet->start, &inet->end, in nxt_http_route_addr_pattern_parse()
238 inet->start = nxt_inet_addr(addr.start, addr.length) & inet->end; in nxt_http_route_addr_pattern_parse()
239 if (nxt_slow_path(inet->start == INADDR_NONE)) { in nxt_http_route_addr_pattern_parse()
256 inet->start = nxt_inet_addr(addr.start, addr.length); in nxt_http_route_addr_pattern_parse()
[all …]
/unit/src/java/nginx/unit/websocket/
H A DWsWebSocketContainer.java237 InetSocketAddress inet = (InetSocketAddress) sa; in connectToServerRecursive() local
238 if (inet.isUnresolved()) { in connectToServerRecursive()
239 sa = new InetSocketAddress(inet.getHostName(), inet.getPort()); in connectToServerRecursive()