pfctl
parse_config(char *filename, struct pfctl *xpf)
pfctl_load_anchors(int dev, struct pfctl *his_pf, struct pfr_buffer *trans)
static struct pfctl *pf = NULL;
pfctl_add_pool(struct pfctl *pf, struct pf_pool *p, sa_family_t af)
pfctl_add_rule(struct pfctl *pf, struct pf_rule *r, const char *anchor_call)
pfctl_ruleset_trans(struct pfctl *pf, char *path, struct pf_anchor *a)
pfctl_load_ruleset(struct pfctl *pf, char *path, struct pf_ruleset *rs,
pfctl_load_rule(struct pfctl *pf, char *path, struct pf_rule *r, int depth)
pfctl_add_altq(struct pfctl *pf, struct pf_altq *a)
struct pfctl pf;
pfctl_init_options(struct pfctl *pf)
pfctl_load_options(struct pfctl *pf)
pfctl_set_limit(struct pfctl *pf, const char *opt, unsigned int limit)
pfctl_load_limit(struct pfctl *pf, unsigned int his_index, unsigned int limit)
pfctl_set_timeout(struct pfctl *pf, const char *opt, int seconds, int quiet)
pfctl_load_timeout(struct pfctl *pf, unsigned int timeout, unsigned int seconds)
pfctl_set_optimization(struct pfctl *pf, const char *opt)
pfctl_set_logif(struct pfctl *pf, char *ifname)
pfctl_load_logif(struct pfctl *pf, char *ifname)
pfctl_set_hostid(struct pfctl *pf, u_int32_t hostid)
pfctl_load_hostid(struct pfctl *pf __unused, u_int32_t hostid)
pfctl_set_debug(struct pfctl *pf, char *d)
pfctl_load_debug(struct pfctl *pf, unsigned int level)
pfctl_set_interface_flags(struct pfctl *pf, char *ifname, int flags, int how)
void pfctl_init_options(struct pfctl *);
int pfctl_load_options(struct pfctl *);
int pfctl_load_limit(struct pfctl *, unsigned int, unsigned int);
int pfctl_load_timeout(struct pfctl *, unsigned int, unsigned int);
int pfctl_load_debug(struct pfctl *, unsigned int);
int pfctl_load_logif(struct pfctl *, char *);
int pfctl_load_hostid(struct pfctl *, unsigned int);
int pfctl_ruleset_trans(struct pfctl *, char *, struct pf_anchor *);
int pfctl_load_ruleset(struct pfctl *, char *,
int pfctl_load_rule(struct pfctl *, char *, struct pf_rule *, int);
eval_pfaltq(struct pfctl *pf __unused, struct pf_altq *pa, struct node_queue_bw *bw,
eval_pfqueue(struct pfctl *pf, struct pf_altq *pa, struct node_queue_bw *bw,
eval_pfqueue_cbq(struct pfctl *pf, struct pf_altq *pa)
cbq_compute_idletime(struct pfctl *pf, struct pf_altq *pa)
static int eval_pfqueue_cbq(struct pfctl *, struct pf_altq *);
static int cbq_compute_idletime(struct pfctl *, struct pf_altq *);
eval_pfqueue_priq(struct pfctl *pf __unused, struct pf_altq *pa)
static int eval_pfqueue_priq(struct pfctl *, struct pf_altq *);
static int eval_pfqueue_hfsc(struct pfctl *, struct pf_altq *);
eval_pfqueue_hfsc(struct pfctl *pf __unused, struct pf_altq *pa)
static int eval_pfqueue_fairq(struct pfctl *, struct pf_altq *);
eval_pfqueue_fairq(struct pfctl *pf __unused, struct pf_altq *pa)
add_opt_table(struct pfctl *pf, struct pf_opt_tbl **tbl, sa_family_t af,
pf_opt_create_table(struct pfctl *pf, struct pf_opt_tbl *tbl)
construct_superblocks(struct pfctl *pf, struct pf_opt_queue *opt_queue,
superblock_free(struct pfctl *pf, struct superblock *block)
int add_opt_table(struct pfctl *, struct pf_opt_tbl **, sa_family_t,
int block_feedback(struct pfctl *, struct superblock *);
int combine_rules(struct pfctl *, struct superblock *);
int construct_superblocks(struct pfctl *, struct pf_opt_queue *,
int load_feedback_profile(struct pfctl *, struct superblocks *);
int optimize_superblock(struct pfctl *, struct superblock *);
int pf_opt_create_table(struct pfctl *, struct pf_opt_tbl *);
int remove_identical_rules(struct pfctl *, struct superblock *);
int reorder_rules(struct pfctl *, struct superblock *, int);
void superblock_free(struct pfctl *, struct superblock *);
pfctl_optimize_ruleset(struct pfctl *pf, struct pf_ruleset *rs)
optimize_superblock(struct pfctl *pf, struct superblock *block)
remove_identical_rules(struct pfctl *pf, struct superblock *block)
combine_rules(struct pfctl *pf, struct superblock *block)
reorder_rules(struct pfctl *pf, struct superblock *block, int depth)
block_feedback(struct pfctl *pf, struct superblock *block)
load_feedback_profile(struct pfctl *pf, struct superblocks *superblocks)
int pfctl_optimize_ruleset(struct pfctl *, struct pf_ruleset *);
int pfctl_add_rule(struct pfctl *, struct pf_rule *, const char *);
int pfctl_add_altq(struct pfctl *, struct pf_altq *);
int pfctl_add_pool(struct pfctl *, struct pf_pool *, sa_family_t);
int pfctl_set_timeout(struct pfctl *, const char *, int, int);
int pfctl_set_optimization(struct pfctl *, const char *);
int pfctl_set_limit(struct pfctl *, const char *, unsigned int);
int pfctl_set_logif(struct pfctl *, char *);
int pfctl_set_hostid(struct pfctl *, u_int32_t);
int pfctl_set_debug(struct pfctl *, char *);
int pfctl_set_interface_flags(struct pfctl *, char *, int, int);
int parse_config(char *, struct pfctl *);
int pfctl_load_anchors(int, struct pfctl *, struct pfr_buffer *);
int eval_pfaltq(struct pfctl *, struct pf_altq *, struct node_queue_bw *,
int eval_pfqueue(struct pfctl *, struct pf_altq *, struct node_queue_bw *,