linux/net/netfilter/xt_ecn.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Xtables module for matching the value of the IPv4/IPv6 and TCP ECN bits
 *
 * (C) 2002 by Harald Welte <[email protected]>
 * (C) 2011 Patrick McHardy <[email protected]>
 */
#define pr_fmt(fmt)
#include <linux/in.h>
#include <linux/ip.h>
#include <net/ip.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/tcp.h>

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

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

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

static inline bool match_ip(const struct sk_buff *skb,
			    const struct xt_ecn_info *einfo)
{}

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

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

static inline bool match_ipv6(const struct sk_buff *skb,
			      const struct xt_ecn_info *einfo)
{}

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

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

static struct xt_match ecn_mt_reg[] __read_mostly =;

static int __init ecn_mt_init(void)
{}

static void __exit ecn_mt_exit(void)
{}

module_init();
module_exit(ecn_mt_exit);