aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-04-20 15:07:32 +0200
committerPatrick McHardy <kaber@trash.net>2010-04-20 15:07:32 +0200
commit22265a5c3c103cf8c50be62e6c90d045eb649e6d (patch)
tree01d74ee1435a9d0cdcabd75848e5fbe14bb6d40d /include/linux/netfilter
parent5b775eb1c04c2ef33f5e17035e368214214ef9c2 (diff)
downloadkernel_samsung_smdk4412-22265a5c3c103cf8c50be62e6c90d045eb649e6d.zip
kernel_samsung_smdk4412-22265a5c3c103cf8c50be62e6c90d045eb649e6d.tar.gz
kernel_samsung_smdk4412-22265a5c3c103cf8c50be62e6c90d045eb649e6d.tar.bz2
netfilter: xt_TEE: resolve oif using netdevice notifiers
Replace the runtime oif name resolving by netdevice notifier based resolving. When an oif is given, a netdevice notifier is registered to resolve the name on NETDEV_REGISTER or NETDEV_CHANGE and unresolve it again on NETDEV_UNREGISTER or NETDEV_CHANGE to a different name. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r--include/linux/netfilter/xt_TEE.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_TEE.h b/include/linux/netfilter/xt_TEE.h
index 55d4a50..5c21d5c 100644
--- a/include/linux/netfilter/xt_TEE.h
+++ b/include/linux/netfilter/xt_TEE.h
@@ -4,6 +4,9 @@
struct xt_tee_tginfo {
union nf_inet_addr gw;
char oif[16];
+
+ /* used internally by the kernel */
+ struct xt_tee_priv *priv __attribute__((aligned(8)));
};
#endif /* _XT_TEE_TARGET_H */