summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-10-24 22:32:13 +0000
committermux <mux@FreeBSD.org>2002-10-24 22:32:13 +0000
commitf1e4ff6b707f91cd9b24d6adef67a812a71a736c (patch)
tree785427a02da4d790cf3c97f16703e136cd59b8dd /sys/netinet/ip_fw.h
parentf74307d577ae071b1f113e6229b41e5102aa46d6 (diff)
downloadFreeBSD-src-f1e4ff6b707f91cd9b24d6adef67a812a71a736c.zip
FreeBSD-src-f1e4ff6b707f91cd9b24d6adef67a812a71a736c.tar.gz
Oops, forgot to commit this file. This is part of the fix
for ipfw2 panics on sparc64.
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index 90bac5c..b3fffb8 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -276,6 +276,7 @@ typedef struct _ipfw_insn_log {
struct ip_fw {
struct ip_fw *next; /* linked list of rules */
struct ip_fw *next_rule; /* ptr to next [skipto] rule */
+ u_int32_t set_disable; /* disabled sets (for userland) */
u_int16_t act_ofs; /* offset of action in 32-bit units */
u_int16_t cmd_len; /* # of 32-bit words in cmd */
u_int16_t rulenum; /* rule number */
@@ -331,6 +332,7 @@ struct _ipfw_dyn_rule {
/* to generate keepalives) */
u_int16_t dyn_type; /* rule type */
u_int16_t count; /* refcount */
+ u_int16_t rulenum; /* rule number (for userland) */
};
/*
OpenPOWER on IntegriCloud