[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>
This commit is contained in:
committed by
David S. Miller
parent
53e2665828
commit
91270cf817
@@ -185,6 +185,9 @@ struct xt_match
|
|||||||
/* Set this to THIS_MODULE if you are a module, otherwise NULL */
|
/* Set this to THIS_MODULE if you are a module, otherwise NULL */
|
||||||
struct module *me;
|
struct module *me;
|
||||||
|
|
||||||
|
/* Free to use by each match */
|
||||||
|
unsigned long data;
|
||||||
|
|
||||||
char *table;
|
char *table;
|
||||||
unsigned int matchsize;
|
unsigned int matchsize;
|
||||||
unsigned int hooks;
|
unsigned int hooks;
|
||||||
|
Reference in New Issue
Block a user