Home
last modified time | relevance | path

Searched refs:in_nsrcmsk (Results 1 – 8 of 8) sorted by relevance

/netbsd/external/bsd/ipf/dist/lib/
H A Dnat_setgroupmap.c17 if (n->in_nsrcmsk == n->in_osrcmsk)
21 if (n->in_nsrcmsk != 0xffffffff)
22 n->in_ippip /= (~ntohl(n->in_nsrcmsk) + 1);
28 n->in_space = USABLE_PORTS * ~ntohl(n->in_nsrcmsk);
/netbsd/sys/external/bsd/ipf/netinet/
H A Dip_nat.c1067 nat->in_nsrcaddr &= nat->in_nsrcmsk; in ipf_nat_ioctl()
1552 n->in_odstmsk = n->in_nsrcmsk; in ipf_nat_ruleaddrinit()
2653 np->in_osrcmsk == np->in_nsrcmsk) { in ipf_nat_newmap()
2674 in.s_addr &= ntohl(~np->in_nsrcmsk); in ipf_nat_newmap()
2690 (np->in_nsrcmsk == 0xffffffff)) { in ipf_nat_newmap()
2730 np->in_nsrcmsk != 0xffffffff) in ipf_nat_newmap()
2761 if (np->in_nsrcmsk != 0xffffffff) in ipf_nat_newmap()
2767 if (np->in_snip > ntohl(np->in_nsrcmsk)) in ipf_nat_newmap()
2770 if ((np->in_nsrcmsk != 0xffffffff) && in ipf_nat_newmap()
5893 (n->in_nsrcmsk != 0xffffffff)) in ipf_nat_sync()
[all …]
H A Dip_ipsec_pxy.c202 ipn->in_nsrcmsk = 0xffffffff; in ipf_p_ipsec_new()
H A Dip_pptp_pxy.c175 ipn->in_nsrcmsk = 0xffffffff; in ipf_p_pptp_new()
H A Dip_nat6.c557 IP6_ISONES(&np->in_nsrcmsk)) { in ipf_nat6_newmap()
596 !IP6_ISONES(&np->in_nsrcmsk)) { in ipf_nat6_newmap()
636 if (IP6_GT(&np->in_snip, &np->in_nsrcmsk)) in ipf_nat6_newmap()
3413 } else if (IP6_ISONES(&np->in_nsrcmsk)) { in ipf_nat6_newrewrite()
H A Dip_nat.h328 #define in_nsrcmsk in_nsrc.na_addr[1].in4.s_addr macro
/netbsd/external/bsd/ipf/dist/
H A Dip_pptp_pxy.c175 ipn->in_nsrcmsk = 0xffffffff;
H A Dip_nat6.c576 IP6_ISONES(&np->in_nsrcmsk)) {
615 !IP6_ISONES(&np->in_nsrcmsk)) {
655 if (IP6_GT(&np->in_snip, &np->in_nsrcmsk))
3473 } else if (IP6_ISONES(&np->in_nsrcmsk)) {