linux/net/ipv4/netfilter/ipt_REJECT.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * This is a module which is used for rejecting packets.
 */

/* (C) 1999-2001 Paul `Rusty' Russell
 * (C) 2002-2004 Netfilter Core Team <[email protected]>
 */
#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/ip.h>
#include <linux/udp.h>
#include <linux/icmp.h>
#include <net/icmp.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_REJECT.h>
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
#include <linux/netfilter_bridge.h>
#endif

#include <net/netfilter/ipv4/nf_reject.h>

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

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

static int reject_tg_check(const struct xt_tgchk_param *par)
{}

static struct xt_target reject_tg_reg __read_mostly =;

static int __init reject_tg_init(void)
{}

static void __exit reject_tg_exit(void)
{}

module_init();
module_exit(reject_tg_exit);