summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
authorrusty <rusty>2000-04-19 11:26:44 +0000
committerrusty <rusty>2000-04-19 11:26:44 +0000
commitfcbb2f45e58e4f2f22c2175c13fcc6025835a8f6 (patch)
tree5c6df990222b87d25481330240b940f2ab362d49 /include/iptables.h
parent3a4a8459e9b9b95ff44727a107a900a4bf21fd87 (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 9b1a4a1..1ddd871 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);