Home | History | Annotate | Download | only in pfctl

Lines Matching refs:tbl

75 pfr_add_tables(struct pfr_table *tbl, int size, int *nadd, int flags)
79 if (size < 0 || (size && tbl == NULL)) {
85 io.pfrio_buffer = tbl;
86 io.pfrio_esize = sizeof(*tbl);
96 pfr_del_tables(struct pfr_table *tbl, int size, int *ndel, int flags)
100 if (size < 0 || (size && tbl == NULL)) {
106 io.pfrio_buffer = tbl;
107 io.pfrio_esize = sizeof(*tbl);
117 pfr_get_tables(struct pfr_table *filter, struct pfr_table *tbl, int *size,
122 if (size == NULL || *size < 0 || (*size && tbl == NULL)) {
130 io.pfrio_buffer = tbl;
131 io.pfrio_esize = sizeof(*tbl);
140 pfr_get_tstats(struct pfr_table *filter, struct pfr_tstats *tbl, int *size,
145 if (size == NULL || *size < 0 || (*size && tbl == NULL)) {
153 io.pfrio_buffer = tbl;
154 io.pfrio_esize = sizeof(*tbl);
163 pfr_clr_addrs(struct pfr_table *tbl, int *ndel, int flags)
167 if (tbl == NULL) {
173 io.pfrio_table = *tbl;
182 pfr_add_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
187 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
193 io.pfrio_table = *tbl;
205 pfr_del_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
210 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
216 io.pfrio_table = *tbl;
228 pfr_set_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
233 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
239 io.pfrio_table = *tbl;
258 pfr_get_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int *size,
263 if (tbl == NULL || size == NULL || *size < 0 ||
270 io.pfrio_table = *tbl;
281 pfr_get_astats(struct pfr_table *tbl, struct pfr_astats *addr, int *size,
286 if (tbl == NULL || size == NULL || *size < 0 ||
293 io.pfrio_table = *tbl;
304 pfr_clr_astats(struct pfr_table *tbl, struct pfr_addr *addr, int size,
309 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
315 io.pfrio_table = *tbl;
327 pfr_clr_tstats(struct pfr_table *tbl, int size, int *nzero, int flags)
331 if (size < 0 || (size && !tbl)) {
337 io.pfrio_buffer = tbl;
338 io.pfrio_esize = sizeof(*tbl);
348 pfr_set_tflags(struct pfr_table *tbl, int size, int setflag, int clrflag,
353 if (size < 0 || (size && !tbl)) {
359 io.pfrio_buffer = tbl;
360 io.pfrio_esize = sizeof(*tbl);
374 pfr_tst_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
379 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
385 io.pfrio_table = *tbl;
397 pfr_ina_define(struct pfr_table *tbl, struct pfr_addr *addr, int size,
402 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
408 io.pfrio_table = *tbl;