Lines Matching defs:daddr
2349 const struct pf_addr *saddr, const struct pf_addr *daddr,
2443 h->ip_dst.s_addr = daddr->v4.s_addr;
2456 memcpy(&h6->ip6_dst, &daddr->v6, sizeof (struct in6_addr));
3169 struct pf_addr *saddr, union pf_state_xport *sxport, struct pf_addr *daddr,
3220 PF_ANEQ(&sk->ext.addr, daddr, af))
3253 PF_ACPY(&key.ext.addr, daddr, key.af);
3338 union pf_state_xport *sxport, struct pf_addr *daddr,
3395 PF_MISMATCHAW(&dst->addr, daddr, pd->af, dst->neg, NULL))
3397 else if (xdst != NULL && PF_MISMATCHAW(xdst, daddr, pd->af,
3435 struct pf_addr *saddr, union pf_state_xport *sxport, struct pf_addr *daddr,
3443 sxport, daddr, dxport, PF_RULESET_BINAT);
3446 saddr, sxport, daddr, dxport, PF_RULESET_RDR);
3449 saddr, sxport, daddr, dxport, PF_RULESET_NAT);
3452 sxport, daddr, dxport, PF_RULESET_RDR);
3455 saddr, sxport, daddr, dxport, PF_RULESET_BINAT);
3465 if (pf_get_sport(pd, kif, r, saddr, sxport, daddr,
3528 daddr, AF_INET);
3541 daddr, AF_INET6);
3548 &r->src.addr.v.a.mask, daddr,
3568 daddr, AF_INET);
3581 daddr, AF_INET6);
3589 daddr, pd->af);
3602 &r->rpool.cur->addr.v.a.mask, daddr,
3642 struct pf_addr *saddr, *daddr;
3673 daddr = pd->dst;
3681 daddr = pd->src;
3686 inp = in_pcblookup_hash_exists(pi, saddr->v4, sport, daddr->v4, dport,
3699 memcpy(&d6.s6_addr32[3], &daddr->v4,
3700 sizeof (daddr->v4));
3706 daddr->v4, dport, INPLOOKUP_WILDCARD, &pd->lookup.uid, &pd->lookup.gid, NULL);
3719 daddr->v4, dport, INPLOOKUP_WILDCARD,
3729 inp = in6_pcblookup_hash_exists(pi, &saddr->v6, sport, &daddr->v6,
3733 &daddr->v6, dport, INPLOOKUP_WILDCARD,
4010 struct pf_addr *saddr = pd->src, *daddr = pd->dst;
4106 saddr, &sxport, daddr, &dxport, &pd->naddr, &nxport)) !=
4204 saddr, &sxport, daddr, &dxport, &pd->naddr, &nxport)) !=
4206 PF_ACPY(&pd->baddr, daddr, af);
4209 pf_change_ap(direction, pd->mp, daddr,
4216 pf_change_ap(direction, pd->mp, daddr,
4226 pf_change_a(&daddr->v4.s_addr, pd->ip_sum,
4234 pf_change_a6(daddr, &pd->hdr.icmp6->icmp6_cksum,
4247 pf_change_a(&daddr->v4.s_addr,
4253 PF_ACPY(daddr, &pd->naddr, AF_INET6);
4263 pf_change_a(&daddr->v4.s_addr,
4269 PF_ACPY(daddr, &pd->naddr, AF_INET6);
4278 pf_change_a(&daddr->v4.s_addr,
4284 PF_ACPY(daddr, &pd->naddr, af);
4321 else if (PF_MISMATCHAW(&r->dst.addr, daddr, af,
4499 pf_change_ap(direction, pd->mp, daddr,
4507 pf_change_ap(direction, pd->mp, daddr,
4528 pf_change_a(&daddr->v4.s_addr,
4535 PF_ACPY(daddr, &pd->baddr,
4545 pf_change_a(&daddr->v4.s_addr,
4552 PF_ACPY(daddr, &pd->baddr,
4561 pf_change_a(&daddr->v4.s_addr,
4567 PF_ACPY(daddr, &pd->baddr, af);
4645 PF_ACPY(&psk.ext.addr, daddr, af);
4675 PF_ACPY(&psk.lan.addr, daddr, af);
4752 PF_ACPY(&sk0.ext.addr, daddr, sk0.af);
5017 pf_change_ap(direction, pd->mp, daddr,
5028 mss = pf_calc_mss(daddr, af, mss);
5030 pf_send_tcp(r, af, daddr, saddr, th->th_dport,
5096 struct pf_addr *saddr = pd->src, *daddr = pd->dst;
5189 else if (PF_MISMATCHAW(&r->dst.addr, daddr, af,
5292 dnflow.fwa_id.dst_ip = ntohl(daddr->v4.s_addr);
6462 struct pf_addr *saddr = pd->src, *daddr = pd->dst;
6568 pf_change_a(&daddr->v4.s_addr,
6587 pf_change_a6(daddr,
6790 daddr, &(*state)->state_key->lan.addr,
6912 daddr, &(*state)->state_key->lan.addr,
6982 daddr, &(*state)->state_key->lan.addr,
7036 daddr, &(*state)->state_key->lan.addr,
7082 daddr, &(*state)->state_key->lan.addr,