diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-11-17 16:01:42 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-11-17 16:01:42 +0100 |
commit | 4dc06f9633444f426ef9960c53426f2d2ded64ac (patch) | |
tree | 9db7c6555dd08f796dadc8a01d63f9464fb80ab3 /include/net | |
parent | netfilter: ctnetlink: get rid of module refcounting in ctnetlink (diff) | |
download | linux-4dc06f9633444f426ef9960c53426f2d2ded64ac.tar.xz linux-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')
-rw-r--r-- | include/net/netfilter/nf_conntrack.h | 3 |
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 */ |