Home
last modified time | relevance | path

Searched refs:pfr_table (Results 1 – 11 of 11) sorted by relevance

/freebsd/sbin/pfctl/
H A Dpfctl.h57 int pfr_clr_tables(struct pfr_table *, int *, int);
58 int pfr_add_tables(struct pfr_table *, int, int *, int);
59 int pfr_del_tables(struct pfr_table *, int, int *, int);
60 int pfr_get_tables(struct pfr_table *, struct pfr_table *, int *, int);
61 int pfr_get_tstats(struct pfr_table *, struct pfr_tstats *, int *, int);
62 int pfr_clr_tstats(struct pfr_table *, int, int *, int);
63 int pfr_clr_addrs(struct pfr_table *, int *, int);
64 int pfr_add_addrs(struct pfr_table *, struct pfr_addr *, int, int *, int);
65 int pfr_del_addrs(struct pfr_table *, struct pfr_addr *, int, int *, int);
66 int pfr_set_addrs(struct pfr_table *, struct pfr_addr *, int, int *,
[all …]
H A Dpfctl_table.c59 static void print_table(struct pfr_table *, int, int);
130 struct pfr_table table; in pfctl_table()
366 print_table(struct pfr_table *ta, int verbose, int debug) in print_table()
503 struct pfr_table tbl; in pfctl_define_table()
520 struct pfr_table *t; in warn_namespace_collision()
H A Dpfctl_optimize.c1283 struct pfr_table *t; in pf_opt_create_table()
H A Dpfctl.c2112 struct pfr_table trs; in pfctl_rules()
/freebsd/sys/netpfil/pf/
H A Dpf_table.c154 static int pfr_validate_table(struct pfr_table *, int, int);
165 *pfr_create_ktable(struct pfr_table *, long, int);
171 *pfr_lookup_table(struct pfr_table *);
174 static int pfr_skip_table(struct pfr_table *,
185 VNET_DEFINE_STATIC(struct pfr_table, pfr_nulltable);
215 pfr_clr_addrs(struct pfr_table *tbl, int *ndel, int flags) in pfr_clr_addrs()
240 pfr_add_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, in pfr_add_addrs()
312 pfr_del_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, in pfr_del_addrs()
391 pfr_set_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, in pfr_set_addrs()
505 pfr_tst_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, in pfr_tst_addrs()
[all …]
H A Dpf_ioctl.c4580 struct pfr_table *pfrts; in pfioctl()
4583 if (io->pfrio_esize != sizeof(struct pfr_table)) { in pfioctl()
4589 WOULD_OVERFLOW(io->pfrio_size, sizeof(struct pfr_table))) { in pfioctl()
4594 totlen = io->pfrio_size * sizeof(struct pfr_table); in pfioctl()
4595 pfrts = mallocarray(io->pfrio_size, sizeof(struct pfr_table), in pfioctl()
4612 struct pfr_table *pfrts; in pfioctl()
4615 if (io->pfrio_esize != sizeof(struct pfr_table)) { in pfioctl()
4621 WOULD_OVERFLOW(io->pfrio_size, sizeof(struct pfr_table))) { in pfioctl()
4626 totlen = io->pfrio_size * sizeof(struct pfr_table); in pfioctl()
4627 pfrts = mallocarray(io->pfrio_size, sizeof(struct pfr_table), in pfioctl()
[all …]
/freebsd/sys/net/
H A Dpfvar.h1377 struct pfr_table { struct
1417 struct pfr_table pfrts_t;
1479 struct pfr_table pfrts_t;
1961 struct pfr_table pfrio_table;
2432 int pfr_clr_tables(struct pfr_table *, int *, int);
2433 int pfr_add_tables(struct pfr_table *, int, int *, int);
2434 int pfr_del_tables(struct pfr_table *, int, int *, int);
2435 int pfr_table_count(struct pfr_table *, int);
2436 int pfr_get_tables(struct pfr_table *, struct pfr_table *, int *, int);
2437 int pfr_get_tstats(struct pfr_table *, struct pfr_tstats *, int *, int);
[all …]
/freebsd/tests/sys/netpfil/pf/ioctl/
H A Dvalidation.c53 common_init_tbl(struct pfr_table *tbl) in common_init_tbl()
55 bzero(tbl, sizeof(struct pfr_table)); in common_init_tbl()
71 struct pfr_table tbl; in ATF_TC_BODY()
72 struct pfr_table tbls[4]; in ATF_TC_BODY()
123 struct pfr_table tbl; in ATF_TC_BODY()
166 struct pfr_table tbl; in ATF_TC_BODY()
242 struct pfr_table tbl; in ATF_TC_BODY()
287 struct pfr_table tbl; in ATF_TC_BODY()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h490 int pfctl_table_add_addrs(int dev, struct pfr_table *tbl, struct pfr_addr
492 int pfctl_table_del_addrs(int dev, struct pfr_table *tbl, struct pfr_addr
494 int pfctl_table_set_addrs(int dev, struct pfr_table *tbl, struct pfr_addr
497 int pfctl_table_get_addrs(int dev, struct pfr_table *tbl, struct pfr_addr
H A Dlibpfctl.c2345 pfctl_table_add_addrs(int dev, struct pfr_table *tbl, struct pfr_addr in pfctl_table_add_addrs()
2368 pfctl_table_del_addrs(int dev, struct pfr_table *tbl, struct pfr_addr in pfctl_table_del_addrs()
2391 pfctl_table_set_addrs(int dev, struct pfr_table *tbl, struct pfr_addr in pfctl_table_set_addrs()
2419 int pfctl_table_get_addrs(int dev, struct pfr_table *tbl, struct pfr_addr *addr, in pfctl_table_get_addrs()
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c1369 pfa_table_addrs(u_int sidx, struct pfr_table *pt) in pfa_table_addrs()
1438 struct pfr_table *pt = NULL, *it = NULL; in pfa_refresh()
1452 io.pfrio_esize = sizeof(struct pfr_table); in pfa_refresh()
1455 pt = reallocf(pt, numtbls * sizeof(struct pfr_table)); in pfa_refresh()