summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_parser.h
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-12-22 14:19:31 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-12-22 14:19:31 +0000
commit613331b62d434e875005e47c7ef2ad843c5eb6bc (patch)
treef79de633808c8b7e1cc204d6e14d0b8c3ae6c7db /sbin/pfctl/pfctl_parser.h
parent2ee2276b029332a436ccf8121f5609068e8e03e1 (diff)
Instead of inserting and removing rules at the top/bottom of the main
ruleset, make authpf manage its rules inside anchors.
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r--sbin/pfctl/pfctl_parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h
index 4dedd1516b1..f36bb4dbaea 100644
--- a/sbin/pfctl/pfctl_parser.h
+++ b/sbin/pfctl/pfctl_parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.h,v 1.36 2002/12/18 19:40:41 dhartmei Exp $ */
+/* $OpenBSD: pfctl_parser.h,v 1.37 2002/12/22 14:19:29 dhartmei Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -66,6 +66,8 @@ struct pfctl {
int pfctl_add_rule(struct pfctl *, struct pf_rule *);
int pfctl_add_altq(struct pfctl *, struct pf_altq *);
+int pfctl_add_pool(struct pfctl *, struct pf_pool *, sa_family_t);
+void pfctl_clear_pool(struct pf_pool *);
int pfctl_set_timeout(struct pfctl *, const char *, int);
int pfctl_set_optimization(struct pfctl *, const char *);