From: Patrick McHardy Date: Tue, 22 Aug 2006 07:43:38 +0000 (-0700) Subject: [NETFILTER]: x_tables: add data member to struct xt_match X-Git-Tag: v2.6.19-rc1~1272^2~211 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=91270cf81765152f6e77953440beb4d3b34a71b5;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h index 9d97102a934..03d1027fb0e 100644 --- a/include/linux/netfilter/x_tables.h +++ b/include/linux/netfilter/x_tables.h @@ -185,6 +185,9 @@ struct xt_match /* Set this to THIS_MODULE if you are a module, otherwise NULL */ struct module *me; + /* Free to use by each match */ + unsigned long data; + char *table; unsigned int matchsize; unsigned int hooks;