projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e2665
)
[NETFILTER]: x_tables: add data member to struct xt_match
author
Patrick McHardy
<kaber@trash.net>
Tue, 22 Aug 2006 07:43:38 +0000
(
00:43
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:36 +0000
(14:55 -0700)
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>
include/linux/netfilter/x_tables.h
patch
|
blob
|
history
diff --git
a/include/linux/netfilter/x_tables.h
b/include/linux/netfilter/x_tables.h
index 9d97102a9347782724f1ee505a2ee58287730d48..03d1027fb0e88568a9598a3d9d976192c298760a 100644
(file)
--- 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;