Lines Matching refs:tbl

79 pfr_add_tables(struct pfr_table *tbl, int size, int *nadd, int flags)
83 if (size < 0 || (size && tbl == NULL)) {
89 io.pfrio_buffer = tbl;
90 io.pfrio_esize = sizeof(*tbl);
100 pfr_del_tables(struct pfr_table *tbl, int size, int *ndel, int flags)
104 if (size < 0 || (size && tbl == NULL)) {
110 io.pfrio_buffer = tbl;
111 io.pfrio_esize = sizeof(*tbl);
121 pfr_get_tables(struct pfr_table *filter, struct pfr_table *tbl, int *size,
126 if (size == NULL || *size < 0 || (*size && tbl == NULL)) {
134 io.pfrio_buffer = tbl;
135 io.pfrio_esize = sizeof(*tbl);
144 pfr_get_tstats(struct pfr_table *filter, struct pfr_tstats *tbl, int *size,
149 if (size == NULL || *size < 0 || (*size && tbl == NULL)) {
157 io.pfrio_buffer = tbl;
158 io.pfrio_esize = sizeof(*tbl);
167 pfr_clr_addrs(struct pfr_table *tbl, int *ndel, int flags)
171 if (tbl == NULL) {
177 io.pfrio_table = *tbl;
186 pfr_add_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
191 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
197 io.pfrio_table = *tbl;
209 pfr_del_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
214 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
220 io.pfrio_table = *tbl;
232 pfr_set_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
237 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
243 io.pfrio_table = *tbl;
262 pfr_get_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int *size,
267 if (tbl == NULL || size == NULL || *size < 0 ||
274 io.pfrio_table = *tbl;
285 pfr_get_astats(struct pfr_table *tbl, struct pfr_astats *addr, int *size,
290 if (tbl == NULL || size == NULL || *size < 0 ||
297 io.pfrio_table = *tbl;
308 pfr_clr_tstats(struct pfr_table *tbl, int size, int *nzero, int flags)
312 if (size < 0 || (size && !tbl)) {
318 io.pfrio_buffer = tbl;
319 io.pfrio_esize = sizeof(*tbl);
329 pfr_tst_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
334 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
340 io.pfrio_table = *tbl;
352 pfr_ina_define(struct pfr_table *tbl, struct pfr_addr *addr, int size,
357 if (tbl == NULL || size < 0 || (size && addr == NULL)) {
363 io.pfrio_table = *tbl;