linux/net/ipv4/netfilter/ipt_ah.c

// SPDX-License-Identifier: GPL-2.0-only
/* Kernel module to match AH parameters. */
/* (C) 1999-2000 Yon Uriarte <[email protected]>
 */
#define pr_fmt(fmt)
#include <linux/in.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/ip.h>

#include <linux/netfilter_ipv4/ipt_ah.h>
#include <linux/netfilter/x_tables.h>

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

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

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

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

static struct xt_match ah_mt_reg __read_mostly =;

static int __init ah_mt_init(void)
{}

static void __exit ah_mt_exit(void)
{}

module_init();
module_exit(ah_mt_exit);