summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-01-01 04:26:20 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-01-01 04:26:20 +0000
commit626d51248cdbdeaa078bb57c95996cb2d563e0a2 (patch)
treecfb90b43e73eb8399cc0d222461e81467ed3a88a /sys/net/pfvar.h
parente300501e7576c62a5beade4ef35433795899472f (diff)
Remove skip step for action (scrub vs. non-scrub), as scrub rules are
stored in a separate list now. Regress tests still pass after sed "s/ a=end / /g", other skip steps are not affected.
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 652ec2731b2..a71047eed17 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.120 2002/12/31 19:18:41 mcbride Exp $ */
+/* $OpenBSD: pfvar.h,v 1.121 2003/01/01 04:26:19 dhartmei Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -282,16 +282,15 @@ struct pf_pool {
struct pf_rule {
struct pf_rule_addr src;
struct pf_rule_addr dst;
-#define PF_SKIP_ACTION 0
-#define PF_SKIP_IFP 1
-#define PF_SKIP_DIR 2
-#define PF_SKIP_AF 3
-#define PF_SKIP_PROTO 4
-#define PF_SKIP_SRC_ADDR 5
-#define PF_SKIP_SRC_PORT 6
-#define PF_SKIP_DST_ADDR 7
-#define PF_SKIP_DST_PORT 8
-#define PF_SKIP_COUNT 9
+#define PF_SKIP_IFP 0
+#define PF_SKIP_DIR 1
+#define PF_SKIP_AF 2
+#define PF_SKIP_PROTO 3
+#define PF_SKIP_SRC_ADDR 4
+#define PF_SKIP_SRC_PORT 5
+#define PF_SKIP_DST_ADDR 6
+#define PF_SKIP_DST_PORT 7
+#define PF_SKIP_COUNT 8
union {
struct pf_rule *ptr;
u_int32_t nr;