linux/net/netfilter/xt_LOG.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * This is a module which is used for logging 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/spinlock.h>
#include <linux/skbuff.h>
#include <linux/if_arp.h>
#include <linux/ip.h>
#include <net/ipv6.h>
#include <net/icmp.h>
#include <net/udp.h>
#include <net/tcp.h>
#include <net/route.h>

#include <linux/netfilter.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_LOG.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <net/netfilter/nf_log.h>

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

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

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

static struct xt_target log_tg_regs[] __read_mostly =;

static int __init log_tg_init(void)
{}

static void __exit log_tg_exit(void)
{}

module_init();
module_exit(log_tg_exit);

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_ALIAS();
MODULE_ALIAS();
MODULE_SOFTDEP();