linux/net/ipv6/netfilter/ip6t_mh.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C)2006 USAGI/WIDE Project
 *
 * Author:
 *	Masahide NAKAMURA @USAGI <[email protected]>
 *
 * Based on net/netfilter/xt_tcpudp.c
 */
#define pr_fmt(fmt)
#include <linux/types.h>
#include <linux/module.h>
#include <net/ip.h>
#include <linux/ipv6.h>
#include <net/ipv6.h>
#include <net/mip6.h>

#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_ipv6/ip6t_mh.h>

MODULE_DESCRIPTION();
MODULE_LICENSE();

/* Returns 1 if the type is matched by the range, 0 otherwise */
static inline bool
type_match(u_int8_t min, u_int8_t max, u_int8_t type, bool invert)
{}

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

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

static struct xt_match mh_mt6_reg __read_mostly =;

static int __init mh_mt6_init(void)
{}

static void __exit mh_mt6_exit(void)
{}

module_init();
module_exit(mh_mt6_exit);