linux/net/netfilter/xt_length.c

// SPDX-License-Identifier: GPL-2.0-only
/* Kernel module to match packet length. */
/* (C) 1999-2001 James Morris <[email protected]>
 */

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

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

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

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

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

static struct xt_match length_mt_reg[] __read_mostly =;

static int __init length_mt_init(void)
{}

static void __exit length_mt_exit(void)
{}

module_init();
module_exit(length_mt_exit);