summaryrefslogtreecommitdiffstats
path: root/include/net
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
parent528a3a6f67d4fbe708b9f306be194e78b29e8d7a (diff)
downloadop-kernel-dev-4dc06f9633444f426ef9960c53426f2d2ded64ac.zip
op-kernel-dev-4dc06f9633444f426ef9960c53426f2d2ded64ac.tar.gz
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')
-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 b76a868..f11255e 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 */
OpenPOWER on IntegriCloud