Home
last modified time | relevance | path

Searched refs:ipf_nat_table_max (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dmlfk_ipl.c623 NULL, offsetof(ipf_nat_softc_t, ipf_nat_table_max), ""); in ipf_fbsd_sysctl_create()
H A Dip_nat6.c947 if ((nsp->ns_active * 100 / softn->ipf_nat_table_max) > in ipf_nat6_add()
952 if (nsp->ns_active >= softn->ipf_nat_table_max) { in ipf_nat6_add()
975 if ((softn->ipf_nat_table_max > softn->ipf_nat_table_sz) && in ipf_nat6_add()
977 softn->ipf_nat_table_max = nsp->ns_active - 100; in ipf_nat6_add()
979 softn->ipf_nat_table_max); in ipf_nat6_add()
H A Dip_nat.c136 { { (void *)offsetof(ipf_nat_softc_t, ipf_nat_table_max) },
138 stsizeof(ipf_nat_softc_t, ipf_nat_table_max),
321 softn->ipf_nat_table_max = NAT_TABLE_MAX_LARGE; in ipf_nat_soft_create()
327 softn->ipf_nat_table_max = NAT_TABLE_MAX_NORMAL; in ipf_nat_soft_create()
1192 nsp->ns_nattab_max = softn->ipf_nat_table_max; in ipf_nat_ioctl()
3039 if ((nsp->ns_active * 100 / softn->ipf_nat_table_max) > in ipf_nat_add()
3044 if (nsp->ns_active >= softn->ipf_nat_table_max) { in ipf_nat_add()
3069 if ((softn->ipf_nat_table_max > softn->ipf_nat_table_sz) && in ipf_nat_add()
3071 softn->ipf_nat_table_max = nsp->ns_active - 100; in ipf_nat_add()
3073 softn->ipf_nat_table_max); in ipf_nat_add()
H A Dip_nat.h624 u_int ipf_nat_table_max; member