Symbol: pfctl_handle
lib/libpfctl/libpfctl.c
101
pfctl_close(struct pfctl_handle *h)
lib/libpfctl/libpfctl.c
109
pfctl_fd(struct pfctl_handle *h)
lib/libpfctl/libpfctl.c
115
pfctl_do_netlink_cmd(struct pfctl_handle *h, uint cmd)
lib/libpfctl/libpfctl.c
1331
struct pfctl_handle *h;
lib/libpfctl/libpfctl.c
1346
pfctl_add_rule_h(struct pfctl_handle *h, const struct pfctl_rule *r,
lib/libpfctl/libpfctl.c
1395
pfctl_get_rules_info_h(struct pfctl_handle *h, struct pfctl_rules_info *rules, uint32_t ruleset,
lib/libpfctl/libpfctl.c
1435
struct pfctl_handle *h;
lib/libpfctl/libpfctl.c
1448
pfctl_get_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket, const char *anchor,
lib/libpfctl/libpfctl.c
1724
pfctl_get_clear_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
lib/libpfctl/libpfctl.c
1879
pfctl_get_creatorids(struct pfctl_handle *h, uint32_t *creators, size_t *len)
lib/libpfctl/libpfctl.c
1972
pfctl_get_states_h(struct pfctl_handle *h, struct pfctl_state_filter *filter, pfctl_get_state_fn f, void *arg)
lib/libpfctl/libpfctl.c
2025
struct pfctl_handle h = {};
lib/libpfctl/libpfctl.c
2092
_pfctl_clear_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.c
2143
pfctl_clear_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.c
2150
pfctl_kill_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.c
2160
struct pfctl_handle *h;
lib/libpfctl/libpfctl.c
2453
_pfctl_table_add_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2494
pfctl_table_add_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2520
_pfctl_table_del_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2584
pfctl_table_del_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
262
pfctl_startstop(struct pfctl_handle *h, int start)
lib/libpfctl/libpfctl.c
2621
_pfctl_table_set_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.c
2666
pfctl_table_set_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
2794
pfctl_table_get_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
2834
pfctl_set_statusif(struct pfctl_handle *h, const char *ifname)
lib/libpfctl/libpfctl.c
2878
pfctl_natlook(struct pfctl_handle *h, const struct pfctl_natlook_key *k,
lib/libpfctl/libpfctl.c
2920
pfctl_set_debug(struct pfctl_handle *h, uint32_t level)
lib/libpfctl/libpfctl.c
2952
pfctl_set_timeout(struct pfctl_handle *h, uint32_t timeout, uint32_t seconds)
lib/libpfctl/libpfctl.c
2995
pfctl_get_timeout(struct pfctl_handle *h, uint32_t timeout, uint32_t *seconds)
lib/libpfctl/libpfctl.c
3034
pfctl_set_limit(struct pfctl_handle *h, const int index, const uint limit)
lib/libpfctl/libpfctl.c
3077
pfctl_get_limit(struct pfctl_handle *h, const int index, uint *limit)
lib/libpfctl/libpfctl.c
3126
pfctl_begin_addrs(struct pfctl_handle *h, uint32_t *ticket)
lib/libpfctl/libpfctl.c
3163
pfctl_add_addr(struct pfctl_handle *h, const struct pfioc_pooladdr *pa, int which)
lib/libpfctl/libpfctl.c
3209
pfctl_get_addrs(struct pfctl_handle *h, uint32_t ticket, uint32_t r_num,
lib/libpfctl/libpfctl.c
3271
pfctl_get_addr(struct pfctl_handle *h, uint32_t ticket, uint32_t r_num,
lib/libpfctl/libpfctl.c
3320
pfctl_get_rulesets(struct pfctl_handle *h, const char *path, uint32_t *nr)
lib/libpfctl/libpfctl.c
3357
pfctl_get_ruleset(struct pfctl_handle *h, const char *path, uint32_t nr, struct pfioc_ruleset *rs)
lib/libpfctl/libpfctl.c
3417
pfctl_get_srcnodes(struct pfctl_handle *h, pfctl_get_srcnode_fn fn, void *arg)
lib/libpfctl/libpfctl.c
3461
pfctl_clear_tables(struct pfctl_handle *h, struct pfr_table *filter,
lib/libpfctl/libpfctl.c
3503
pfctl_add_table(struct pfctl_handle *h, struct pfr_table *table,
lib/libpfctl/libpfctl.c
3541
pfctl_del_table(struct pfctl_handle *h, struct pfr_table *table,
lib/libpfctl/libpfctl.c
3627
pfctl_get_tstats(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.c
3676
pfctl_clear_tstats(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.c
3722
pfctl_clear_addrs(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.c
3808
pfctl_get_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
3856
_pfctl_clr_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
3897
pfctl_clr_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
3920
_pfctl_test_addrs(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
3961
pfctl_test_addrs(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.c
4024
pfctl_state_limiter_nget(struct pfctl_handle *h, struct pfctl_state_lim *lim)
lib/libpfctl/libpfctl.c
404
pfctl_get_status_h(struct pfctl_handle *h)
lib/libpfctl/libpfctl.c
4057
pfctl_state_limiter_add(struct pfctl_handle *h, struct pfctl_state_lim *lim)
lib/libpfctl/libpfctl.c
4120
pfctl_source_limiter_add(struct pfctl_handle *h, struct pfctl_source_lim *lim)
lib/libpfctl/libpfctl.c
4164
_pfctl_source_limiter_get(struct pfctl_handle *h, int cmd, struct pfctl_source_lim *lim)
lib/libpfctl/libpfctl.c
4197
pfctl_source_limiter_get(struct pfctl_handle *h, struct pfctl_source_lim *lim)
lib/libpfctl/libpfctl.c
4203
pfctl_source_limiter_nget(struct pfctl_handle *h, struct pfctl_source_lim *lim)
lib/libpfctl/libpfctl.c
4225
pfctl_source_get(struct pfctl_handle *h, int id, pfctl_get_source_fn fn, void *arg)
lib/libpfctl/libpfctl.c
4266
pfctl_source_clear(struct pfctl_handle *h, struct pfctl_source_clear *kill)
lib/libpfctl/libpfctl.c
501
pfctl_clear_status(struct pfctl_handle *h)
lib/libpfctl/libpfctl.c
74
struct pfctl_handle *
lib/libpfctl/libpfctl.c
77
struct pfctl_handle *h;
lib/libpfctl/libpfctl.c
81
h = calloc(1, sizeof(struct pfctl_handle));
lib/libpfctl/libpfctl.h
449
struct pfctl_handle;
lib/libpfctl/libpfctl.h
450
struct pfctl_handle *pfctl_open(const char *pf_device);
lib/libpfctl/libpfctl.h
451
void pfctl_close(struct pfctl_handle *);
lib/libpfctl/libpfctl.h
452
int pfctl_fd(struct pfctl_handle *);
lib/libpfctl/libpfctl.h
454
int pfctl_startstop(struct pfctl_handle *h, int start);
lib/libpfctl/libpfctl.h
455
struct pfctl_status* pfctl_get_status_h(struct pfctl_handle *h);
lib/libpfctl/libpfctl.h
457
int pfctl_clear_status(struct pfctl_handle *h);
lib/libpfctl/libpfctl.h
475
int pfctl_get_rules_info_h(struct pfctl_handle *h,
lib/libpfctl/libpfctl.h
483
int pfctl_get_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
lib/libpfctl/libpfctl.h
489
int pfctl_get_clear_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
lib/libpfctl/libpfctl.h
495
int pfctl_add_rule_h(struct pfctl_handle *h, const struct pfctl_rule *r,
lib/libpfctl/libpfctl.h
499
int pfctl_get_creatorids(struct pfctl_handle *h, uint32_t *creators, size_t *len);
lib/libpfctl/libpfctl.h
510
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
518
int pfctl_clear_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.h
520
int pfctl_kill_states_h(struct pfctl_handle *h, const struct pfctl_kill *kill,
lib/libpfctl/libpfctl.h
527
int pfctl_table_add_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr
lib/libpfctl/libpfctl.h
531
int pfctl_table_del_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
535
int pfctl_table_set_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
541
int pfctl_table_get_addrs_h(struct pfctl_handle *h, struct pfr_table *tbl, struct pfr_addr *addr,
lib/libpfctl/libpfctl.h
545
int pfctl_set_statusif(struct pfctl_handle *h, const char *ifname);
lib/libpfctl/libpfctl.h
562
int pfctl_natlook(struct pfctl_handle *h,
lib/libpfctl/libpfctl.h
564
int pfctl_set_debug(struct pfctl_handle *h, uint32_t level);
lib/libpfctl/libpfctl.h
565
int pfctl_set_timeout(struct pfctl_handle *h, uint32_t timeout, uint32_t seconds);
lib/libpfctl/libpfctl.h
566
int pfctl_get_timeout(struct pfctl_handle *h, uint32_t timeout, uint32_t *seconds);
lib/libpfctl/libpfctl.h
567
int pfctl_set_limit(struct pfctl_handle *h, const int index, const uint limit);
lib/libpfctl/libpfctl.h
568
int pfctl_get_limit(struct pfctl_handle *h, const int index, uint *limit);
lib/libpfctl/libpfctl.h
569
int pfctl_begin_addrs(struct pfctl_handle *h, uint32_t *ticket);
lib/libpfctl/libpfctl.h
570
int pfctl_add_addr(struct pfctl_handle *h, const struct pfioc_pooladdr *pa, int which);
lib/libpfctl/libpfctl.h
571
int pfctl_get_addrs(struct pfctl_handle *h, uint32_t ticket, uint32_t r_num,
lib/libpfctl/libpfctl.h
573
int pfctl_get_addr(struct pfctl_handle *h, uint32_t ticket, uint32_t r_num,
lib/libpfctl/libpfctl.h
576
int pfctl_get_rulesets(struct pfctl_handle *h, const char *path, uint32_t *nr);
lib/libpfctl/libpfctl.h
577
int pfctl_get_ruleset(struct pfctl_handle *h, const char *path, uint32_t nr, struct pfioc_ruleset *rs);
lib/libpfctl/libpfctl.h
579
int pfctl_get_srcnodes(struct pfctl_handle *h, pfctl_get_srcnode_fn fn, void *arg);
lib/libpfctl/libpfctl.h
581
int pfctl_clear_tables(struct pfctl_handle *h, struct pfr_table *filter,
lib/libpfctl/libpfctl.h
583
int pfctl_add_table(struct pfctl_handle *h, struct pfr_table *table,
lib/libpfctl/libpfctl.h
585
int pfctl_del_table(struct pfctl_handle *h, struct pfr_table *table,
lib/libpfctl/libpfctl.h
589
int pfctl_get_tstats(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.h
591
int pfctl_clear_tstats(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.h
593
int pfctl_clear_addrs(struct pfctl_handle *h, const struct pfr_table *filter,
lib/libpfctl/libpfctl.h
596
int pfctl_get_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
598
int pfctl_clr_astats(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
600
int pfctl_test_addrs(struct pfctl_handle *h, const struct pfr_table *tbl,
lib/libpfctl/libpfctl.h
624
int pfctl_state_limiter_nget(struct pfctl_handle *h, struct pfctl_state_lim *lim);
lib/libpfctl/libpfctl.h
625
int pfctl_state_limiter_add(struct pfctl_handle *h, struct pfctl_state_lim *lim);
lib/libpfctl/libpfctl.h
671
int pfctl_source_limiter_get(struct pfctl_handle *h, struct pfctl_source_lim *lim);
lib/libpfctl/libpfctl.h
672
int pfctl_source_limiter_nget(struct pfctl_handle *h, struct pfctl_source_lim *lim);
lib/libpfctl/libpfctl.h
673
int pfctl_source_limiter_add(struct pfctl_handle *h, struct pfctl_source_lim *lim);
lib/libpfctl/libpfctl.h
690
int pfctl_source_get(struct pfctl_handle *h, int id,
lib/libpfctl/libpfctl.h
700
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
2095
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
96
struct pfctl_handle *h;
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
53
static struct pfctl_handle *pfh;