Lines Matching refs:addr
146 xdst = &r->rpool.cur->addr;
161 else if (PF_MISMATCHAW(&src->addr, saddr, pd->af,
170 PF_MISMATCHAW(&dst->addr, daddr, pd->af, dst->neg, NULL,
231 PF_ACPY(&key.addr[0], daddr, key.af);
234 PF_ACPY(&key.addr[1], naddr, key.af);
381 if (rpool->cur->addr.type == PF_ADDR_NOROUTE)
383 if (rpool->cur->addr.type == PF_ADDR_DYNIFTL) {
387 if (rpool->cur->addr.p.dyn->pfid_acnt4 < 1 &&
391 raddr = &rpool->cur->addr.p.dyn->pfid_addr4;
392 rmask = &rpool->cur->addr.p.dyn->pfid_mask4;
397 if (rpool->cur->addr.p.dyn->pfid_acnt6 < 1 &&
401 raddr = &rpool->cur->addr.p.dyn->pfid_addr6;
402 rmask = &rpool->cur->addr.p.dyn->pfid_mask6;
406 } else if (rpool->cur->addr.type == PF_ADDR_TABLE) {
410 raddr = &rpool->cur->addr.v.a.addr;
411 rmask = &rpool->cur->addr.v.a.mask;
493 if (rpool->cur->addr.type == PF_ADDR_TABLE) {
494 if (!pfr_pool_get(rpool->cur->addr.p.tbl,
497 } else if (rpool->cur->addr.type == PF_ADDR_DYNIFTL) {
498 if (!pfr_pool_get(rpool->cur->addr.p.dyn->pfid_kt,
509 if (rpool->cur->addr.type == PF_ADDR_TABLE) {
511 if (pfr_pool_get(rpool->cur->addr.p.tbl,
518 } else if (rpool->cur->addr.type == PF_ADDR_DYNIFTL) {
520 if (pfr_pool_get(rpool->cur->addr.p.dyn->pfid_kt,
528 raddr = &rpool->cur->addr.v.a.addr;
529 rmask = &rpool->cur->addr.v.a.mask;
607 naddr = &(*nkp)->addr[1];
641 if (r->rpool.cur->addr.type == PF_ADDR_DYNIFTL){
645 if (r->rpool.cur->addr.p.dyn->
649 &r->rpool.cur->addr.p.dyn->
651 &r->rpool.cur->addr.p.dyn->
657 if (r->rpool.cur->addr.p.dyn->
661 &r->rpool.cur->addr.p.dyn->
663 &r->rpool.cur->addr.p.dyn->
670 &r->rpool.cur->addr.v.a.addr,
671 &r->rpool.cur->addr.v.a.mask, saddr,
675 if (r->src.addr.type == PF_ADDR_DYNIFTL) {
679 if (r->src.addr.p.dyn-> pfid_acnt4 < 1)
682 &r->src.addr.p.dyn->pfid_addr4,
683 &r->src.addr.p.dyn->pfid_mask4,
689 if (r->src.addr.p.dyn->pfid_acnt6 < 1)
692 &r->src.addr.p.dyn->pfid_addr6,
693 &r->src.addr.p.dyn->pfid_mask6,
699 PF_POOLMASK(naddr, &r->src.addr.v.a.addr,
700 &r->src.addr.v.a.mask, daddr, pd->af);
708 PF_POOLMASK(naddr, naddr, &r->rpool.cur->addr.v.a.mask,