npf_table_t
npf_table_t *t;
npf_tableset_t *tblset, npf_table_t **tblp, bool replacing)
npf_table_t *t;
npf_table_t *t;
npf_table_t *tbl, *gc_tbl = NULL;
npf_table_t *t;
npf_mk_table_entries(npf_table_t *t, const nvlist_t *req, nvlist_t *resp)
npf_table_t *t;
npf_table_t *t;
static npf_table_t *
npf_table_t *t;
replace_ifnet_table(npf_t *npf, npf_table_t *newt)
npf_table_t *oldt;
int npf_tableset_insert(npf_tableset_t *, npf_table_t *);
npf_table_t * npf_tableset_getbyname(npf_tableset_t *, const char *);
npf_table_t * npf_tableset_getbyid(npf_tableset_t *, u_int);
npf_table_t * npf_tableset_swap(npf_tableset_t *, npf_table_t *);
npf_table_t * npf_table_create(const char *, u_int, int, const void *, size_t);
void npf_table_destroy(npf_table_t *);
u_int npf_table_getid(npf_table_t *);
int npf_table_insert(npf_table_t *, const int,
int npf_table_remove(npf_table_t *, const int,
int npf_table_lookup(npf_table_t *, const int, const npf_addr_t *);
npf_addr_t * npf_table_getsome(npf_table_t *, const int, unsigned);
int npf_table_list(npf_table_t *, void *, size_t);
int npf_table_flush(npf_table_t *);
void npf_table_gc(npf_t *, npf_table_t *);
npf_table_t *t = npf_tableset_getbyid(ts, np->n_tid);
npf_table_t * ts_map[];
(offsetof(npf_tableset_t, ts_map[n]) * sizeof(npf_table_t *))
npf_table_t *t = ts->ts_map[tid];
npf_tableset_insert(npf_tableset_t *ts, npf_table_t *t)
npf_table_t *
npf_tableset_swap(npf_tableset_t *ts, npf_table_t *newt)
npf_table_t *oldt = ts->ts_map[tid];
npf_table_t *
npf_table_t *t;
npf_table_t *
npf_table_t *t, *ot;
const npf_table_t *t;
table_ipset_flush(npf_table_t *t)
table_tree_flush(npf_table_t *t)
table_ifaddr_flush(npf_table_t *t)
npf_table_t *
npf_table_t *t;
t = kmem_zalloc(sizeof(npf_table_t), KM_SLEEP);
kmem_free(t, sizeof(npf_table_t));
npf_table_destroy(npf_table_t *t)
kmem_free(t, sizeof(npf_table_t));
npf_table_getid(npf_table_t *t)
const npf_table_t *t;
table_ifaddr_insert(npf_table_t *t, const int alen, npf_tblent_t *ent)
npf_table_insert(npf_table_t *t, const int alen,
npf_table_remove(npf_table_t *t, const int alen,
npf_table_lookup(npf_table_t *t, const int alen, const npf_addr_t *addr)
npf_table_getsome(npf_table_t *t, const int alen, unsigned idx)
table_generic_list(npf_table_t *t, void *ubuf, size_t len)
table_cdb_list(npf_table_t *t, void *ubuf, size_t len)
npf_table_list(npf_table_t *t, void *ubuf, size_t len)
npf_table_flush(npf_table_t *t)
npf_table_gc(npf_t *npf, npf_table_t *t)
npf_table_t *t;
npf_table_t *t;
npf_table_t *t;
npf_table_t *t;
npf_table_t *t;
npf_table_t *t = npf_tableset_getbyname(tblset, LPM_NAME);
npf_table_t *t = npf_tableset_getbyname(tblset, LPM_NAME);
npf_table_t *t;
npf_table_t *t = npf_tableset_getbyname(tblset, IFADDR_NAME);
npf_table_t *t = npf_tableset_getbyname(tblset, IPSET_NAME);
ip4list_insert_lookup(npf_table_t *t, unsigned i)
npf_table_t *t;