Home
last modified time | relevance | path

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

/freebsd/lib/libpfctl/
H A Dlibpfctl.h413 struct pfctl_handle;
414 struct pfctl_handle *pfctl_open(const char *pf_device);
415 void pfctl_close(struct pfctl_handle *);
416 int pfctl_fd(struct pfctl_handle *);
418 int pfctl_startstop(struct pfctl_handle *h, int start);
419 struct pfctl_status* pfctl_get_status_h(struct pfctl_handle *h);
421 int pfctl_clear_status(struct pfctl_handle *h);
439 int pfctl_get_rules_info_h(struct pfctl_handle *h,
447 int pfctl_get_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
453 int pfctl_get_clear_rule_h(struct pfctl_handle *h, uint32_t nr, uint32_t ticket,
[all …]
H A Dlibpfctl.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()
400 pfctl_get_status_h(struct pfctl_handle *h __unused) in pfctl_get_status_h()
496 pfctl_clear_status(struct pfctl_handle *h) in pfctl_clear_status()
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl_parser.h78 struct pfctl_handle *h;
H A Dpfctl.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/contrib/pf/ftp-proxy/
H A Dfilter.c61 static struct pfctl_handle *pfh = NULL;
/freebsd/contrib/pf/tftp-proxy/
H A Dfilter.c65 static struct pfctl_handle *pfh = NULL;
/freebsd/contrib/pf/authpf/
H A Dauthpf.c59 struct pfctl_handle *pfh;
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c53 static struct pfctl_handle *pfh;