Home
last modified time | relevance | path

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

/freebsd/tests/sys/netpfil/pf/ioctl/
H A Dvalidation.c85 io.pfrio_size = -1; in ATF_TC_BODY()
90 io.pfrio_size = 1 << 24; in ATF_TC_BODY()
95 io.pfrio_size = 1; in ATF_TC_BODY()
101 io.pfrio_size = 4; in ATF_TC_BODY()
102 for (int i = 0; i < io.pfrio_size; i++) in ATF_TC_BODY()
136 io.pfrio_size = -1; in ATF_TC_BODY()
141 io.pfrio_size = 1 << 24; in ATF_TC_BODY()
146 io.pfrio_size = 1; in ATF_TC_BODY()
180 io.pfrio_size = -1; in ATF_TC_BODY()
185 io.pfrio_size = 1 << 24; in ATF_TC_BODY()
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl_radix.c70 if (io->pfrio_size > maxcount || io->pfrio_size2 > maxcount) in pfr_report_error()
105 io.pfrio_size = size; in pfr_add_tables()
128 io.pfrio_size = size; in pfr_del_tables()
154 io.pfrio_size = *size; in pfr_get_tables()
159 *size = io.pfrio_size; in pfr_get_tables()
179 io.pfrio_size = *size; in pfr_get_tstats()
184 *size = io.pfrio_size; in pfr_get_tstats()
280 io.pfrio_size = *size; in pfr_get_astats()
285 *size = io.pfrio_size; in pfr_get_astats()
304 io.pfrio_size = size; in pfr_clr_astats()
[all …]
/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c4589 if (io->pfrio_size < 0 || io->pfrio_size > pf_ioctl_maxcount || in pfioctl()
4590 WOULD_OVERFLOW(io->pfrio_size, sizeof(struct pfr_table))) { in pfioctl()
4595 totlen = io->pfrio_size * sizeof(struct pfr_table); in pfioctl()
4596 pfrts = mallocarray(io->pfrio_size, sizeof(struct pfr_table), in pfioctl()
4604 error = pfr_add_tables(pfrts, io->pfrio_size, in pfioctl()
4621 if (io->pfrio_size < 0 || io->pfrio_size > pf_ioctl_maxcount || in pfioctl()
4622 WOULD_OVERFLOW(io->pfrio_size, sizeof(struct pfr_table))) { in pfioctl()
4627 totlen = io->pfrio_size * sizeof(struct pfr_table); in pfioctl()
4628 pfrts = mallocarray(io->pfrio_size, sizeof(struct pfr_table), in pfioctl()
4636 error = pfr_del_tables(pfrts, io->pfrio_size, in pfioctl()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c1327 io.pfrio_size = numtbls; in pft_refresh()
1336 if (numtbls >= io.pfrio_size) in pft_refresh()
1339 numtbls = io.pfrio_size; in pft_refresh()
1393 io.pfrio_size = numaddrs; in pfa_table_addrs()
1404 if (numaddrs >= io.pfrio_size) in pfa_table_addrs()
1407 numaddrs = io.pfrio_size; in pfa_table_addrs()
1462 io.pfrio_size = numtbls; in pfa_refresh()
1471 if (numtbls >= io.pfrio_size) in pfa_refresh()
1474 numtbls = io.pfrio_size; in pfa_refresh()
/freebsd/contrib/unbound/ipset/
H A Dipset.c117 io.pfrio_size = 1; in add_to_ipset()
/freebsd/contrib/pf/authpf/
H A Dauthpf.c853 io.pfrio_size = 1; in change_table()
/freebsd/lib/libpfctl/
H A Dlibpfctl.c2358 io.pfrio_size = size; in pfctl_table_add_addrs()
2381 io.pfrio_size = size; in pfctl_table_del_addrs()
2404 io.pfrio_size = size; in pfctl_table_set_addrs()
2433 io.pfrio_size = *size; in pfctl_table_get_addrs()
2436 *size = io.pfrio_size; in pfctl_table_get_addrs()
/freebsd/sys/net/
H A Dpfvar.h1964 int pfrio_size; member