aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-02-03 07:45:12 -0500
committerPatrick McHardy <kaber@trash.net>2010-02-03 07:45:12 -0500
commitadd67461240c1dadc7c8d97e66f8f92b556ca523 (patch)
treedac0f8982130e407ac184fb55d18140a3ebcef5d /include/linux
parent794e68716bab578ae8f8912dc934496d7c7abc90 (diff)
netfilter: add struct net * to target parameters
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter/x_tables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index 026eb78ee83c..365fabe1b16e 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -249,6 +249,7 @@ struct xt_target_param {
249 * Other fields see above. 249 * Other fields see above.
250 */ 250 */
251struct xt_tgchk_param { 251struct xt_tgchk_param {
252 struct net *net;
252 const char *table; 253 const char *table;
253 const void *entryinfo; 254 const void *entryinfo;
254 const struct xt_target *target; 255 const struct xt_target *target;
@@ -259,6 +260,7 @@ struct xt_tgchk_param {
259 260
260/* Target destructor parameters */ 261/* Target destructor parameters */
261struct xt_tgdtor_param { 262struct xt_tgdtor_param {
263 struct net *net;
262 const struct xt_target *target; 264 const struct xt_target *target;
263 void *targinfo; 265 void *targinfo;
264 u_int8_t family; 266 u_int8_t family;