linux/net/netfilter/xt_hl.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * IP tables module for matching the value of the TTL
 * (C) 2000,2001 by Harald Welte <[email protected]>
 *
 * Hop Limit matching module
 * (C) 2001-2002 Maciej Soltysiak <[email protected]>
 */

#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/module.h>
#include <linux/skbuff.h>

#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_ipv4/ipt_ttl.h>
#include <linux/netfilter_ipv6/ip6t_hl.h>

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

static bool ttl_mt(const struct sk_buff *skb, struct xt_action_param *par)
{}

static bool hl_mt6(const struct sk_buff *skb, struct xt_action_param *par)
{}

static struct xt_match hl_mt_reg[] __read_mostly =;

static int __init hl_mt_init(void)
{}

static void __exit hl_mt_exit(void)
{}

module_init();
module_exit(hl_mt_exit);