linux/net/netfilter/xt_HL.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * TTL modification target for IP tables
 * (C) 2000,2005 by Harald Welte <[email protected]>
 *
 * Hop Limit modification target for ip6tables
 * Maciej Soltysiak <[email protected]>
 */
#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <net/checksum.h>

#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_ipv4/ipt_TTL.h>
#include <linux/netfilter_ipv6/ip6t_HL.h>

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

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

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

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

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

static struct xt_target hl_tg_reg[] __read_mostly =;

static int __init hl_tg_init(void)
{}

static void __exit hl_tg_exit(void)
{}

module_init();
module_exit(hl_tg_exit);
MODULE_ALIAS();
MODULE_ALIAS();