summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2000-04-19 11:26:44 +0000
committerRusty Russell <rusty@rustcorp.com.au>2000-04-19 11:26:44 +0000
commitedf14cf4b5edb148d7473f067d95e7bd1316900b (patch)
tree5c6df990222b87d25481330240b940f2ab362d49 /include/iptables.h
parent01059cb18bc4837ed45b668e1c6598a0a1c8c6af (diff)
Changes to allow matching (for delete) on part of a rule, for rules which
change in the kernel (eg. ipt_limit).
Diffstat (limited to 'include/iptables.h')
-rw-r--r--include/iptables.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 9b1a4a16..1ddd8712 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -15,6 +15,9 @@ struct iptables_match
/* Size of match data. */
size_t size;
+ /* Size of match data relevent for userspace comparison purposes */
+ size_t userspacesize;
+
/* Function which prints out usage message. */
void (*help)(void);
@@ -59,6 +62,9 @@ struct iptables_target
/* Size of target data. */
size_t size;
+ /* Size of target data relevent for userspace comparison purposes */
+ size_t userspacesize;
+
/* Function which prints out usage message. */
void (*help)(void);