summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-12-18 16:28:41 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-12-18 16:28:41 +0000
commite91bc917a46b06f345b8c4b57be00eadf1bde6e7 (patch)
tree1e0106fa0567ab839c758590134b8563907d2367 /sys/net/pfvar.h
parentc9ee298f96113ef932793c0728012b60df81860b (diff)
Pass skip step values through ioctl interface, pfctl -vvsr shows them,
main purpose is making them regress-testable.
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 3c39a3ada98..3eedea7e9bd 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.112 2002/12/17 12:30:13 mcbride Exp $ */
+/* $OpenBSD: pfvar.h,v 1.113 2002/12/18 16:28:40 dhartmei Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -290,7 +290,10 @@ struct pf_rule {
#define PF_SKIP_DST_ADDR 7
#define PF_SKIP_DST_PORT 8
#define PF_SKIP_COUNT 9
- struct pf_rule *skip[PF_SKIP_COUNT];
+ union {
+ struct pf_rule *ptr;
+ u_int32_t nr;
+ } skip[PF_SKIP_COUNT];
#define PF_RULE_LABEL_SIZE 64
char label[PF_RULE_LABEL_SIZE];
u_int32_t timeout[PFTM_MAX];