Home
last modified time | relevance | path

Searched refs:pfctl_handle (Results 1 – 9 of 9) sorted by relevance

/freebsd-head/lib/libpfctl/
HDlibpfctl.h425 struct pfctl_handle;
426 struct pfctl_handle *pfctl_open(const char *pf_device);
427 void pfctl_close(struct pfctl_handle *);
428 int pfctl_fd(struct pfctl_handle *);
430 int pfctl_startstop(struct pfctl_handle *h, int start);
431 struct pfctl_status* pfctl_get_status_h(struct pfctl_handle *h);
433 int pfctl_clear_status(struct pfctl_handle *h);
451 int pfctl_get_rules_info_h(struct pfctl_handle *h,
459 int pfctl_get_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
465 int pfctl_get_clear_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
[all …]
HDlibpfctl.c59 struct pfctl_handle { struct
73 struct pfctl_handle * argument
76 struct pfctl_handle *h; in pfctl_open()
78 h = calloc(1, sizeof(struct pfctl_handle)); in pfctl_open()
98 pfctl_close(struct pfctl_handle *h) in pfctl_close()
106 pfctl_fd(struct pfctl_handle *h) in pfctl_fd()
112 pfctl_do_netlink_cmd(struct pfctl_handle *h, uint cmd) in pfctl_do_netlink_cmd()
259 pfctl_startstop(struct pfctl_handle *h, int start) in pfctl_startstop()
399 pfctl_get_status_h(struct pfctl_handle *h __unused) in pfctl_get_status_h()
495 pfctl_clear_status(struct pfctl_handle *h) in pfctl_clear_status()
[all …]
/freebsd-head/sbin/pfctl/
HDpfctl.h39 extern struct pfctl_handle *pfh;
HDpfctl_parser.h76 struct pfctl_handle *h;
HDpfctl.c69 int pfctl_clear_stats(struct pfctl_handle *, int);
147 struct pfctl_handle *pfh = NULL;
356 pfctl_clear_stats(struct pfctl_handle *h, int opts) in pfctl_clear_stats()
/freebsd-head/contrib/pf/ftp-proxy/
HDfilter.c61 static struct pfctl_handle *pfh = NULL;
/freebsd-head/contrib/pf/tftp-proxy/
HDfilter.c65 static struct pfctl_handle *pfh = NULL;
/freebsd-head/contrib/pf/authpf/
HDauthpf.c59 struct pfctl_handle *pfh;
/freebsd-head/usr.sbin/bsnmpd/modules/snmp_pf/
HDpf_snmp.c53 static struct pfctl_handle *pfh;