diff options
author | Patrick McHardy | 2006-08-22 09:43:38 +0200 |
---|---|---|
committer | David S. Miller | 2006-09-22 23:55:36 +0200 |
commit | 91270cf81765152f6e77953440beb4d3b34a71b5 (patch) | |
tree | e8cd187341a8626612ef800ff6f42e535c9861dc /include/linux/netfilter/x_tables.h | |
parent | [NETFILTER]: nfnetlink: remove unnecessary packed attributes (diff) | |
download | kernel-qcow2-linux-91270cf81765152f6e77953440beb4d3b34a71b5.tar.gz kernel-qcow2-linux-91270cf81765152f6e77953440beb4d3b34a71b5.tar.xz kernel-qcow2-linux-91270cf81765152f6e77953440beb4d3b34a71b5.zip |
[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/linux/netfilter/x_tables.h')
-rw-r--r-- | include/linux/netfilter/x_tables.h | 3 |
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 /* 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; |