linux/net/ipv6/netfilter/ip6t_srh.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* Kernel module to match Segment Routing Header (SRH) parameters. */

/* Author:
 * Ahmed Abdelsalam <[email protected]>
 */

#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/ipv6.h>
#include <linux/types.h>
#include <net/ipv6.h>
#include <net/seg6.h>

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

/* Test a struct->mt_invflags and a boolean for inequality */
#define NF_SRH_INVF(ptr, flag, boolean)

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

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

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

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

static struct xt_match srh_mt6_reg[] __read_mostly =;

static int __init srh_mt6_init(void)
{}

static void __exit srh_mt6_exit(void)
{}

module_init();
module_exit(srh_mt6_exit);

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