Symbol: pfctl_handle
lib/libpfctl/libpfctl.c
106
pfctl_close(struct pfctl_handle *h)
lib/libpfctl/libpfctl.c
114
pfctl_fd(struct pfctl_handle *h)
lib/libpfctl/libpfctl.c
120
pfctl_do_netlink_cmd(struct pfctl_handle *h, uint cmd)
lib/libpfctl/libpfctl.c
1336
struct pfctl_handle *h;
lib/libpfctl/libpfctl.c
1351
pfctl_add_rule_h(struct pfctl_handle *h, const struct pfctl_rule *r,
lib/libpfctl/libpfctl.c
1402
pfctl_get_rules_info_h(struct pfctl_handle *h, struct pfctl_rules_info *rules, uint32_t ruleset,
lib/libpfctl/libpfctl.c
1444
struct pfctl_handle *h;
lib/libpfctl/libpfctl.c
1457
pfctl_get_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket, const char *anchor,
lib/libpfctl/libpfctl.c
1733
pfctl_get_clear_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
lib/libpfctl/libpfctl.c
1848
pfctl_get_creatorids(struct pfctl_handle *h, uint32_t *creators, size_t *len)
lib/libpfctl/libpfctl.c
1981
pfctl_get_states_h(struct pfctl_handle *h, struct pfctl_state_filter *filter, pfctl_get_state_fn f, void *arg)
lib/libpfctl/libpfctl.c
2040
struct pfctl_handle h = {};
lib/libpfctl/libpfctl.c
2107
_pfctl_clear_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.c
2159
pfctl_clear_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.c
2166
pfctl_kill_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.c
2176
struct pfctl_handle *h;
lib/libpfctl/libpfctl.c
2469
_pfctl_table_add_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2512
pfctl_table_add_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2538
_pfctl_table_del_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2604
pfctl_table_del_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2641
_pfctl_table_set_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2688
pfctl_table_set_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
269
pfctl_startstop(struct pfctl_handle *h, int start)
lib/libpfctl/libpfctl.c
2816
pfctl_table_get_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
2858
pfctl_set_statusif(struct pfctl_handle *h, const char *ifname)
lib/libpfctl/libpfctl.c
2904
pfctl_natlook(struct pfctl_handle *h, const struct pfctl_natlook_key *k,
lib/libpfctl/libpfctl.c
2948
pfctl_set_debug(struct pfctl_handle *h, uint32_t level)
lib/libpfctl/libpfctl.c
2982
pfctl_set_timeout(struct pfctl_handle *h, uint32_t timeout, uint32_t seconds)
lib/libpfctl/libpfctl.c
3027
pfctl_get_timeout(struct pfctl_handle *h, uint32_t timeout, uint32_t *seconds)
lib/libpfctl/libpfctl.c
3068
pfctl_set_limit(struct pfctl_handle *h, const int index, const uint limit)
lib/libpfctl/libpfctl.c
3113
pfctl_get_limit(struct pfctl_handle *h, const int index, uint *limit)
lib/libpfctl/libpfctl.c
3164
pfctl_begin_addrs(struct pfctl_handle *h, uint32_t *ticket)
lib/libpfctl/libpfctl.c
3203
pfctl_add_addr(struct pfctl_handle *h, const struct pfioc_pooladdr *pa, int which)
lib/libpfctl/libpfctl.c
3251
pfctl_get_addrs(struct pfctl_handle *h, uint32_t ticket, uint32_t r_num,
lib/libpfctl/libpfctl.c
3314
pfctl_get_addr(struct pfctl_handle *h, uint32_t ticket, uint32_t r_num,
lib/libpfctl/libpfctl.c
3364
pfctl_get_rulesets(struct pfctl_handle *h, const char *path, uint32_t *nr)
lib/libpfctl/libpfctl.c
3403
pfctl_get_ruleset(struct pfctl_handle *h, const char *path, uint32_t nr, struct pfioc_ruleset *rs)
lib/libpfctl/libpfctl.c
3464
pfctl_get_srcnodes(struct pfctl_handle *h, pfctl_get_srcnode_fn fn, void *arg)
lib/libpfctl/libpfctl.c
3510
pfctl_clear_tables(struct pfctl_handle *h, struct pfr_table *filter,
lib/libpfctl/libpfctl.c
3554
pfctl_add_table(struct pfctl_handle *h, struct pfr_table *table,
lib/libpfctl/libpfctl.c
3594
pfctl_del_table(struct pfctl_handle *h, struct pfr_table *table,
lib/libpfctl/libpfctl.c
3683
pfctl_get_tstats(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.c
3734
pfctl_clear_tstats(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.c
3782
pfctl_clear_addrs(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.c
3870
pfctl_get_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
3918
_pfctl_clr_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
3962
pfctl_clr_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
3985
_pfctl_test_addrs(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
4029
pfctl_test_addrs(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
4092
pfctl_state_limiter_nget(struct pfctl_handle *h, struct pfctl_state_lim *lim)
lib/libpfctl/libpfctl.c
411
pfctl_get_status_h(struct pfctl_handle *h)
lib/libpfctl/libpfctl.c
4128
pfctl_state_limiter_add(struct pfctl_handle *h, struct pfctl_state_lim *lim)
lib/libpfctl/libpfctl.c
4194
pfctl_source_limiter_add(struct pfctl_handle *h, struct pfctl_source_lim *lim)
lib/libpfctl/libpfctl.c
4241
_pfctl_source_limiter_get(struct pfctl_handle *h, int cmd, struct pfctl_source_lim *lim)
lib/libpfctl/libpfctl.c
4276
pfctl_source_limiter_get(struct pfctl_handle *h, struct pfctl_source_lim *lim)
lib/libpfctl/libpfctl.c
4282
pfctl_source_limiter_nget(struct pfctl_handle *h, struct pfctl_source_lim *lim)
lib/libpfctl/libpfctl.c
4304
pfctl_source_get(struct pfctl_handle *h, int id, pfctl_get_source_fn fn, void *arg)
lib/libpfctl/libpfctl.c
4349
pfctl_source_clear(struct pfctl_handle *h, struct pfctl_source_clear *kill)
lib/libpfctl/libpfctl.c
506
pfctl_clear_status(struct pfctl_handle *h)
lib/libpfctl/libpfctl.c
75
struct pfctl_handle *
lib/libpfctl/libpfctl.c
78
struct pfctl_handle *h;
lib/libpfctl/libpfctl.c
82
h = calloc(1, sizeof(struct pfctl_handle));
lib/libpfctl/libpfctl.h
450
struct pfctl_handle;
lib/libpfctl/libpfctl.h
451
struct pfctl_handle *pfctl_open(const char *pf_device);
lib/libpfctl/libpfctl.h
452
void pfctl_close(struct pfctl_handle *);
lib/libpfctl/libpfctl.h
453
int pfctl_fd(struct pfctl_handle *);
lib/libpfctl/libpfctl.h
455
int pfctl_startstop(struct pfctl_handle *h, int start);
lib/libpfctl/libpfctl.h
456
struct pfctl_status* pfctl_get_status_h(struct pfctl_handle *h);
lib/libpfctl/libpfctl.h
458
int pfctl_clear_status(struct pfctl_handle *h);
lib/libpfctl/libpfctl.h
476
int pfctl_get_rules_info_h(struct pfctl_handle *h,
lib/libpfctl/libpfctl.h
484
int pfctl_get_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
lib/libpfctl/libpfctl.h
490
int pfctl_get_clear_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
lib/libpfctl/libpfctl.h
496
int pfctl_add_rule_h(struct pfctl_handle *h, const struct pfctl_rule *r,
lib/libpfctl/libpfctl.h
500
int pfctl_get_creatorids(struct pfctl_handle *h, uint32_t *creators, size_t *len);
lib/libpfctl/libpfctl.h
512
int pfctl_get_states_h(struct pfctl_handle *h, struct pfctl_state_filter *filter, pfctl_get_state_fn f, void *arg);
lib/libpfctl/libpfctl.h
520
int pfctl_clear_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.h
522
int pfctl_kill_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.h
529
int pfctl_table_add_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.h
533
int pfctl_table_del_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
537
int pfctl_table_set_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
543
int pfctl_table_get_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr *addr,
lib/libpfctl/libpfctl.h
547
int pfctl_set_statusif(struct pfctl_handle *h, const char *ifname);
lib/libpfctl/libpfctl.h
564
int pfctl_natlook(struct pfctl_handle *h,
lib/libpfctl/libpfctl.h
566
int pfctl_set_debug(struct pfctl_handle *h, uint32_t level);
lib/libpfctl/libpfctl.h
567
int pfctl_set_timeout(struct pfctl_handle *h, uint32_t timeout, uint32_t seconds);
lib/libpfctl/libpfctl.h
568
int pfctl_get_timeout(struct pfctl_handle *h, uint32_t timeout, uint32_t *seconds);
lib/libpfctl/libpfctl.h
569
int pfctl_set_limit(struct pfctl_handle *h, const int index, const uint limit);
lib/libpfctl/libpfctl.h
570
int pfctl_get_limit(struct pfctl_handle *h, const int index, uint *limit);
lib/libpfctl/libpfctl.h
571
int pfctl_begin_addrs(struct pfctl_handle *h, uint32_t *ticket);
lib/libpfctl/libpfctl.h
572
int pfctl_add_addr(struct pfctl_handle *h, const struct pfioc_pooladdr *pa, int which);
lib/libpfctl/libpfctl.h
573
int pfctl_get_addrs(struct pfctl_handle *h, uint32_t ticket, uint32_t r_num,
lib/libpfctl/libpfctl.h
575
int pfctl_get_addr(struct pfctl_handle *h, uint32_t ticket, uint32_t r_num,
lib/libpfctl/libpfctl.h
578
int pfctl_get_rulesets(struct pfctl_handle *h, const char *path, uint32_t *nr);
lib/libpfctl/libpfctl.h
579
int pfctl_get_ruleset(struct pfctl_handle *h, const char *path, uint32_t nr, struct pfioc_ruleset *rs);
lib/libpfctl/libpfctl.h
581
int pfctl_get_srcnodes(struct pfctl_handle *h, pfctl_get_srcnode_fn fn, void *arg);
lib/libpfctl/libpfctl.h
583
int pfctl_clear_tables(struct pfctl_handle *h, struct pfr_table *filter,
lib/libpfctl/libpfctl.h
585
int pfctl_add_table(struct pfctl_handle *h, struct pfr_table *table,
lib/libpfctl/libpfctl.h
587
int pfctl_del_table(struct pfctl_handle *h, struct pfr_table *table,
lib/libpfctl/libpfctl.h
591
int pfctl_get_tstats(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.h
593
int pfctl_clear_tstats(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.h
595
int pfctl_clear_addrs(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.h
598
int pfctl_get_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
600
int pfctl_clr_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
602
int pfctl_test_addrs(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
626
int pfctl_state_limiter_nget(struct pfctl_handle *h, struct pfctl_state_lim *lim);
lib/libpfctl/libpfctl.h
627
int pfctl_state_limiter_add(struct pfctl_handle *h, struct pfctl_state_lim *lim);
lib/libpfctl/libpfctl.h
673
int pfctl_source_limiter_get(struct pfctl_handle *h, struct pfctl_source_lim *lim);
lib/libpfctl/libpfctl.h
674
int pfctl_source_limiter_nget(struct pfctl_handle *h, struct pfctl_source_lim *lim);
lib/libpfctl/libpfctl.h
675
int pfctl_source_limiter_add(struct pfctl_handle *h, struct pfctl_source_lim *lim);
lib/libpfctl/libpfctl.h
692
int pfctl_source_get(struct pfctl_handle *h, int id,
lib/libpfctl/libpfctl.h
702
int pfctl_source_clear(struct pfctl_handle *h, struct pfctl_source_clear *);
sbin/pfctl/pfctl.c
119
void pfctl_read_limits(struct pfctl_handle *);
sbin/pfctl/pfctl.c
2099
pfctl_read_limits(struct pfctl_handle *h)
sbin/pfctl/pfctl.c
210
struct pfctl_handle *pfh = NULL;
sbin/pfctl/pfctl.c
481
pfctl_clear_stats(struct pfctl_handle *h, int opts)
sbin/pfctl/pfctl.c
74
void pfctl_clear_stats(struct pfctl_handle *, int);
sbin/pfctl/pfctl.h
45
extern struct pfctl_handle *pfh;
sbin/pfctl/pfctl_parser.h
98
struct pfctl_handle *h;
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
53
static struct pfctl_handle *pfh;