linux/net/netfilter/xt_CHECKSUM.c

// SPDX-License-Identifier: GPL-2.0-only
/* iptables module for the packet checksum mangling
 *
 * (C) 2002 by Harald Welte <[email protected]>
 * (C) 2010 Red Hat, Inc.
 *
 * Author: Michael S. Tsirkin <[email protected]>
*/
#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/skbuff.h>

#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_CHECKSUM.h>

#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv6/ip6_tables.h>

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

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

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

static struct xt_target checksum_tg_reg __read_mostly =;

static int __init checksum_tg_init(void)
{}

static void __exit checksum_tg_exit(void)
{}

module_init();
module_exit(checksum_tg_exit);