Lines Matching refs:ip2
228 ilb_ip_addr_t *ip1, ilb_ip_addr_t *ip2) in i_expand_ipv4range() argument
238 while (ilb_cmp_ipaddr(&new_ip, ip2, NULL) < 1) { in i_expand_ipv4range()
275 ilb_ip_addr_t *ip1, ilb_ip_addr_t *ip2) in i_expand_ipv6range() argument
285 while (ilb_cmp_ipaddr(&new_ip, ip2, NULL) < 1) { in i_expand_ipv6range()
304 ilb_ip_addr_t *ip1, ilb_ip_addr_t *ip2) in i_expand_iprange() argument
309 if (ip2->ia_af == 0) in i_expand_iprange()
312 if (ip1->ia_af != ip2->ia_af) { in i_expand_iprange()
318 if ((cmp = ilb_cmp_ipaddr(ip1, ip2, &delta)) == 0) in i_expand_iprange()
332 return (i_expand_ipv4range(sg, sr, ip1, ip2)); in i_expand_iprange()
334 return (i_expand_ipv6range(sg, sr, ip1, ip2)); in i_expand_iprange()
390 ilb_ip_addr_t *ip1, *ip2; in i_match_hostorip() local
408 ip2 = &rd->r_nat_src_end; in i_match_hostorip()
414 ip2 = &ip2store; in i_match_hostorip()
415 bzero(ip2, sizeof (*ip2)); in i_match_hostorip()
493 rc = i_match_onehost(host2p, ip2, &at); in i_match_hostorip()
500 if (ip2->ia_af != af) { in i_match_hostorip()
595 rc = i_match_onehost(host2p, ip2, &at); in i_match_hostorip()
599 bzero(ip2, sizeof (*ip2)); in i_match_hostorip()
634 rc = i_expand_iprange(sg, s, ip1, ip2); in i_match_hostorip()
640 *ip2 = *ip1; in i_match_hostorip()