Searched refs:nsaddr (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/netpfil/pf/ |
H A D | pf_lb.c | 175 else if (PF_MISMATCHAW(&src->addr, &pd->nsaddr, pd->af, in pf_match_translation() 257 PF_ACPY(&udp_source.addr, &pd->nsaddr, pd->af); in pf_get_sport() 267 *sn = pf_find_src_node(&pd->nsaddr, r, in pf_get_sport() 273 *udp_mapping = pf_udp_mapping_create(pd->af, &pd->nsaddr, in pf_get_sport() 281 if (pf_map_addr_sn(pd->naf, r, &pd->nsaddr, naddr, NULL, &init_addr, in pf_get_sport() 405 if (pf_map_addr_sn(pd->naf, r, &pd->nsaddr, naddr, NULL, in pf_get_sport() 811 pfid_mask4, &pd->nsaddr, AF_INET); in pf_get_translation() 825 pfid_mask6, &pd->nsaddr, AF_INET6); in pf_get_translation() 832 &r->rdr.cur->addr.v.a.mask, &pd->nsaddr, in pf_get_translation() 874 reason = pf_map_addr_sn(pd->af, r, &pd->nsaddr, naddr, NULL, in pf_get_translation() [all …]
|
H A D | pf.c | 1742 PF_ACPY(&(*nk)->addr[pd->didx], &pd->nsaddr, pd->naf); in pf_state_key_setup() 3498 ip4->ip_src = pd->nsaddr.v4; in pf_translate_af() 3515 ip6->ip6_src = pd->nsaddr.v6; in pf_translate_af() 5455 PF_ACPY(&pd->nsaddr, pd->src, pd->af); in pf_test_rule() 5549 if (PF_ANEQ(&pd->nsaddr, &nk->addr[pd->sidx], pd->af) || in pf_test_rule() 5556 PF_ACPY(&pd->nsaddr, pd->src, pd->af); in pf_test_rule() 5573 if (PF_ANEQ(&pd->nsaddr, &nk->addr[pd->sidx], pd->af) || in pf_test_rule() 5582 PF_ACPY(&pd->nsaddr, pd->src, pd->af); in pf_test_rule() 5601 if (PF_ANEQ(&pd->nsaddr, &nk->addr[pd->sidx], pd->af) || in pf_test_rule() 5609 PF_ACPY(&pd->nsaddr, pd->src, pd->af); in pf_test_rule() [all …]
|
/freebsd/include/ |
H A D | resolv.h | 159 #define nsaddr nsaddr_list[0] /*%< for backward compatibility */ macro
|
/freebsd/lib/libc/resolv/ |
H A D | res_init.c | 225 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in __res_vinit()
|
/freebsd/sys/net/ |
H A D | pfvar.h | 1627 struct pf_addr nsaddr; /* src address after NAT */ member
|