Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91270cf8 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

[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: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 53e26658
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;