linux/net/ipv6/netfilter/ip6t_frag.c

// SPDX-License-Identifier: GPL-2.0-only
/* Kernel module to match FRAG parameters. */

/* (C) 2001-2002 Andras Kis-Szabo <[email protected]>
 */
#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/ipv6.h>
#include <linux/types.h>
#include <net/checksum.h>
#include <net/ipv6.h>

#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/netfilter_ipv6/ip6t_frag.h>

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

/* Returns 1 if the id is matched by the range, 0 otherwise */
static inline bool
id_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert)
{}

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

static int frag_mt6_check(const struct xt_mtchk_param *par)
{}

static struct xt_match frag_mt6_reg __read_mostly =;

static int __init frag_mt6_init(void)
{}

static void __exit frag_mt6_exit(void)
{}

module_init();
module_exit(frag_mt6_exit);