linux/net/netfilter/xt_MASQUERADE.c

// SPDX-License-Identifier: GPL-2.0-only
/* Masquerade.  Simple mapping which alters range to a local IP address
   (depending on route). */

/* (C) 1999-2001 Paul `Rusty' Russell
 * (C) 2002-2006 Netfilter Core Team <[email protected]>
 */
#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/netfilter/x_tables.h>
#include <net/netfilter/nf_nat.h>
#include <net/netfilter/nf_nat_masquerade.h>

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();

/* FIXME: Multiple targets. --RR */
static int masquerade_tg_check(const struct xt_tgchk_param *par)
{}

static unsigned int
masquerade_tg(struct sk_buff *skb, const struct xt_action_param *par)
{}

static void masquerade_tg_destroy(const struct xt_tgdtor_param *par)
{}

#if IS_ENABLED(CONFIG_IPV6)
static unsigned int
masquerade_tg6(struct sk_buff *skb, const struct xt_action_param *par)
{}

static int masquerade_tg6_checkentry(const struct xt_tgchk_param *par)
{}
#endif

static struct xt_target masquerade_tg_reg[] __read_mostly =;

static int __init masquerade_tg_init(void)
{}

static void __exit masquerade_tg_exit(void)
{}

module_init();
module_exit(masquerade_tg_exit);
#if IS_ENABLED(CONFIG_IPV6)
MODULE_ALIAS();
#endif
MODULE_ALIAS();