From edf14cf4b5edb148d7473f067d95e7bd1316900b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 19 Apr 2000 11:26:44 +0000 Subject: Changes to allow matching (for delete) on part of a rule, for rules which change in the kernel (eg. ipt_limit). --- include/iptables.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/iptables.h') 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); -- cgit v1.2.3