aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-11-17 16:01:42 +0100
committerPatrick McHardy <kaber@trash.net>2008-11-17 16:01:42 +0100
commit4dc06f9633444f426ef9960c53426f2d2ded64ac (patch)
tree9db7c6555dd08f796dadc8a01d63f9464fb80ab3 /include/net/netfilter
parentnetfilter: ctnetlink: get rid of module refcounting in ctnetlink (diff)
downloadlinux-dev-4dc06f9633444f426ef9960c53426f2d2ded64ac.tar.xz
linux-dev-4dc06f9633444f426ef9960c53426f2d2ded64ac.zip
netfilter: nf_conntrack: connection tracking helper name persistent aliases
This patch adds the macro MODULE_ALIAS_NFCT_HELPER that defines a way to provide generic and persistent aliases for the connection tracking helpers. This next patch requires this patch. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r--include/net/netfilter/nf_conntrack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h
index b76a8685b5b5..f11255e1ea35 100644
--- a/include/net/netfilter/nf_conntrack.h
+++ b/include/net/netfilter/nf_conntrack.h
@@ -298,5 +298,8 @@ do { \
local_bh_enable(); \
} while (0)
+#define MODULE_ALIAS_NFCT_HELPER(helper) \
+ MODULE_ALIAS("nfct-helper-" helper)
+
#endif /* __KERNEL__ */
#endif /* _NF_CONNTRACK_H */