Lines Matching refs:pfrb_size
167 if ((opts & PF_OPT_SHOWALL) && b.pfrb_size > 0) in pfctl_table()
176 pfr_buf_grow(&b, b.pfrb_size); in pfctl_table()
177 b.pfrb_size = b.pfrb_msize; in pfctl_table()
179 b.pfrb_caddr, &b.pfrb_size, flags)); in pfctl_table()
180 if (b.pfrb_size <= b.pfrb_msize) in pfctl_table()
184 if ((opts & PF_OPT_SHOWALL) && b.pfrb_size > 0) in pfctl_table()
208 RVTEST(pfr_add_addrs(&table, b.pfrb_caddr, b.pfrb_size, in pfctl_table()
210 xprintf(opts, "%d/%d addresses added", nadd, b.pfrb_size); in pfctl_table()
223 RVTEST(pfr_del_addrs(&table, b.pfrb_caddr, b.pfrb_size, in pfctl_table()
225 xprintf(opts, "%d/%d addresses deleted", ndel, b.pfrb_size); in pfctl_table()
242 RVTEST(pfr_set_addrs(&table, b.pfrb_caddr, b.pfrb_size, in pfctl_table()
245 b.pfrb_size = sz2; in pfctl_table()
276 pfr_buf_grow(&b, b.pfrb_size); in pfctl_table()
277 b.pfrb_size = b.pfrb_msize; in pfctl_table()
279 &b.pfrb_size, flags)); in pfctl_table()
280 if (b.pfrb_size <= b.pfrb_msize) in pfctl_table()
294 RVTEST(pfr_del_addrs(&table, b2.pfrb_caddr, b2.pfrb_size, in pfctl_table()
296 xprintf(opts, "%d/%d addresses expired", ndel, b2.pfrb_size); in pfctl_table()
311 pfr_buf_grow(&b, b.pfrb_size); in pfctl_table()
312 b.pfrb_size = b.pfrb_msize; in pfctl_table()
314 &b.pfrb_size, flags)); in pfctl_table()
315 } while (b.pfrb_size > b.pfrb_msize); in pfctl_table()
325 RVTEST(pfr_clr_astats(&table, b2.pfrb_caddr, b2.pfrb_size, in pfctl_table()
327 xprintf(opts, "%d/%d stats cleared", nzero, b.pfrb_size); in pfctl_table()
339 pfr_buf_grow(&b, b.pfrb_size); in pfctl_table()
340 b.pfrb_size = b.pfrb_msize; in pfctl_table()
343 &b.pfrb_size, flags)); in pfctl_table()
346 &b.pfrb_size, flags)); in pfctl_table()
347 if (b.pfrb_size <= b.pfrb_msize) in pfctl_table()
367 RVTEST(pfr_tst_addrs(&table, b.pfrb_caddr, b.pfrb_size, in pfctl_table()
369 xprintf(opts, "%d/%d addresses match", nmatch, b.pfrb_size); in pfctl_table()
382 if (nmatch < b.pfrb_size) in pfctl_table()
390 RVTEST(pfr_clr_astats(&table, b.pfrb_caddr, b.pfrb_size, in pfctl_table()
392 xprintf(opts, "%d/%d addresses cleared", nzero, b.pfrb_size); in pfctl_table()
574 return pfr_ina_define(&tbl, ab->pfrb_caddr, ab->pfrb_size, NULL, in pfctl_define_table()
587 pfr_buf_grow(&b, b.pfrb_size); in warn_duplicate_tables()
588 b.pfrb_size = b.pfrb_msize; in warn_duplicate_tables()
590 &b.pfrb_size, PFR_FLAG_ALLRSETS)) in warn_duplicate_tables()
592 if (b.pfrb_size <= b.pfrb_msize) in warn_duplicate_tables()
640 pfr_buf_grow(&b, b.pfrb_size); in pfctl_show_ifaces()
641 b.pfrb_size = b.pfrb_msize; in pfctl_show_ifaces()
642 if (pfi_get_ifaces(filter, b.pfrb_caddr, &b.pfrb_size)) in pfctl_show_ifaces()
644 if (b.pfrb_size <= b.pfrb_msize) in pfctl_show_ifaces()