aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-08-22 03:43:38 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:55:36 -0400
commit91270cf81765152f6e77953440beb4d3b34a71b5 (patch)
treee8cd187341a8626612ef800ff6f42e535c9861dc /include
parent53e26658282373b84ba85a0c9807cb762f7738a6 (diff)
[NETFILTER]: x_tables: add data member to struct xt_match
Shared match functions can use this to make runtime decisions basen on the used match. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/x_tables.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index 9d97102a9347..03d1027fb0e8 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -185,6 +185,9 @@ struct xt_match
185 /* Set this to THIS_MODULE if you are a module, otherwise NULL */ 185 /* Set this to THIS_MODULE if you are a module, otherwise NULL */
186 struct module *me; 186 struct module *me;
187 187
188 /* Free to use by each match */
189 unsigned long data;
190
188 char *table; 191 char *table;
189 unsigned int matchsize; 192 unsigned int matchsize;
190 unsigned int hooks; 193 unsigned int hooks;