netfilter: use macros to create module aliases.
Each NAT helper creates a module alias which follows a pattern. Use macros for consistency. Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
committed by
Pablo Neira Ayuso
parent
8f14c99c7e
commit
e1f172e162
@@ -15,6 +15,10 @@
|
||||
#include <net/netfilter/nf_conntrack_extend.h>
|
||||
#include <net/netfilter/nf_conntrack_expect.h>
|
||||
|
||||
#define NF_NAT_HELPER_NAME(name) "ip_nat_" name
|
||||
#define MODULE_ALIAS_NF_NAT_HELPER(name) \
|
||||
MODULE_ALIAS(NF_NAT_HELPER_NAME(name))
|
||||
|
||||
struct module;
|
||||
|
||||
enum nf_ct_helper_flags {
|
||||
|
||||
Reference in New Issue
Block a user