linux/net/netfilter/xt_esp.c

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

/* (C) 1999-2000 Yon Uriarte <[email protected]>
 */
#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/ip.h>

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

#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv6/ip6_tables.h>

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

/* 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 esp_mt(const struct sk_buff *skb, struct xt_action_param *par)
{}

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

static struct xt_match esp_mt_reg[] __read_mostly =;

static int __init esp_mt_init(void)
{}

static void __exit esp_mt_exit(void)
{}

module_init();
module_exit(esp_mt_exit);