Lines Matching refs:addr_rule

135     nxt_http_route_addr_rule_t     *addr_rule;  member
405 nxt_http_route_addr_rule_t *addr_rule; in nxt_http_route_match_create() local
555 addr_rule = nxt_http_route_addr_rule_create(task, mp, mtcf.source); in nxt_http_route_match_create()
556 if (addr_rule == NULL) { in nxt_http_route_match_create()
560 addr_rule->object = NXT_HTTP_ROUTE_SOURCE; in nxt_http_route_match_create()
561 test->addr_rule = addr_rule; in nxt_http_route_match_create()
566 addr_rule = nxt_http_route_addr_rule_create(task, mp, mtcf.destination); in nxt_http_route_match_create()
567 if (addr_rule == NULL) { in nxt_http_route_match_create()
571 addr_rule->object = NXT_HTTP_ROUTE_DESTINATION; in nxt_http_route_match_create()
572 test->addr_rule = addr_rule; in nxt_http_route_match_create()
849 nxt_http_route_addr_rule_t *addr_rule; in nxt_http_route_addr_rule_create() local
857 addr_rule = nxt_mp_alloc(mp, size); in nxt_http_route_addr_rule_create()
858 if (nxt_slow_path(addr_rule == NULL)) { in nxt_http_route_addr_rule_create()
862 addr_rule->items = n; in nxt_http_route_addr_rule_create()
865 pattern = &addr_rule->addr_pattern[i]; in nxt_http_route_addr_rule_create()
874 nxt_qsort(addr_rule->addr_pattern, addr_rule->items, in nxt_http_route_addr_rule_create()
879 return addr_rule; in nxt_http_route_addr_rule_create()
1578 ret = nxt_http_route_addr_rule(r, test->addr_rule, r->remote); in nxt_http_route_match()
1585 ret = nxt_http_route_addr_rule(r, test->addr_rule, r->local); in nxt_http_route_match()
1839 nxt_http_route_addr_rule_t *addr_rule, nxt_sockaddr_t *sa) in nxt_http_route_addr_rule() argument
1845 n = addr_rule->items; in nxt_http_route_addr_rule()
1851 p = &addr_rule->addr_pattern[0] - 1; in nxt_http_route_addr_rule()