summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_parser.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-03-23 13:31:30 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-03-23 13:31:30 +0000
commit29f00368cb030a23d7413513a3e6b804a97c49e0 (patch)
tree6a8015a01cd4da80fecc1f90b55587191d8d0415 /sbin/pfctl/pfctl_parser.h
parent8346a32c855ddf516e5c720820ab83a2301a6a6c (diff)
remove -A, -O, -R and -T load
the partial loading of a ruleset (leaving ancors aside) is wrong and conflicts with the general idea of how pf works. last not least it breaks with the optimizer generating tables automagically. ok deraadt sthen krw manpage jmc
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r--sbin/pfctl/pfctl_parser.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h
index a1145a34214..c50d414c9a9 100644
--- a/sbin/pfctl/pfctl_parser.h
+++ b/sbin/pfctl/pfctl_parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.h,v 1.92 2010/01/18 23:52:46 mcbride Exp $ */
+/* $OpenBSD: pfctl_parser.h,v 1.93 2010/03/23 13:31:29 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -72,7 +72,6 @@ struct pfctl {
int dev;
int opts;
int optimize;
- int loadopt;
int asd; /* anchor stack depth */
int bn; /* brace number */
int brace;
@@ -265,12 +264,6 @@ struct pf_timeout {
int timeout;
};
-#define PFCTL_FLAG_FILTER 0x02
-#define PFCTL_FLAG_NAT 0x04
-#define PFCTL_FLAG_OPTION 0x08
-#define PFCTL_FLAG_ALTQ 0x10
-#define PFCTL_FLAG_TABLE 0x20
-
extern const struct pf_timeout pf_timeouts[];
void set_ipmask(struct node_host *, u_int8_t);