Home | History | Annotate | Download | only in pfctl

Lines Matching refs:pfctl

1 /*	$NetBSD: pfctl.c,v 1.6 2020/04/22 23:40:40 joerg Exp $	*/
2 /* $OpenBSD: pfctl.c,v 1.268 2007/06/30 18:25:08 henning Exp $ */
58 #include "pfctl.h"
73 void pfctl_init_options(struct pfctl *);
74 int pfctl_load_options(struct pfctl *);
75 int pfctl_load_limit(struct pfctl *, unsigned int, unsigned int);
76 int pfctl_load_timeout(struct pfctl *, unsigned int, unsigned int);
77 int pfctl_load_debug(struct pfctl *, unsigned int);
78 int pfctl_load_logif(struct pfctl *, char *);
79 int pfctl_load_hostid(struct pfctl *, unsigned int);
93 int pfctl_ruleset_trans(struct pfctl *, char *, struct pf_anchor *);
94 int pfctl_load_ruleset(struct pfctl *, char *,
96 int pfctl_load_rule(struct pfctl *, char *, struct pf_rule *, int);
1110 pfctl_add_pool(struct pfctl *pf, struct pf_pool *p, sa_family_t af)
1131 pfctl_add_rule(struct pfctl *pf, struct pf_rule *r, const char *anchor_call)
1178 pfctl_ruleset_trans(struct pfctl *pf, char *path, struct pf_anchor *a)
1208 pfctl_load_ruleset(struct pfctl *pf, char *path, struct pf_ruleset *rs,
1268 pfctl_load_rule(struct pfctl *pf, char *path, struct pf_rule *r, int depth)
1319 pfctl_add_altq(struct pfctl *pf, struct pf_altq *a)
1349 struct pfctl pf;
1504 pfctl_init_options(struct pfctl *pf)
1547 pfctl_load_options(struct pfctl *pf)
1604 pfctl_set_limit(struct pfctl *pf, const char *opt, unsigned int limit)
1628 pfctl_load_limit(struct pfctl *pf, unsigned int index, unsigned int limit)
1646 pfctl_set_timeout(struct pfctl *pf, const char *opt, int seconds, int quiet)
1674 pfctl_load_timeout(struct pfctl *pf, unsigned int timeout, unsigned int seconds)
1689 pfctl_set_optimization(struct pfctl *pf, const char *opt)
1719 pfctl_set_logif(struct pfctl *pf, char *ifname)
1742 pfctl_load_logif(struct pfctl *pf, char *ifname)
1760 pfctl_set_hostid(struct pfctl *pf, u_int32_t hostid)
1777 pfctl_load_hostid(struct pfctl *pf, u_int32_t hostid)
1787 pfctl_set_debug(struct pfctl *pf, char *d)
1820 pfctl_load_debug(struct pfctl *pf, unsigned int level)
1830 pfctl_set_interface_flags(struct pfctl *pf, char *ifname, int flags, int how)
2116 errx(1, "pfctl: calloc");