linux/net/netfilter/xt_dscp.c

// SPDX-License-Identifier: GPL-2.0-only
/* IP tables module for matching the value of the IPv4/IPv6 DSCP field
 *
 * (C) 2002 by Harald Welte <[email protected]>
 */
#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <net/dsfield.h>

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

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

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

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

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

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

static struct xt_match dscp_mt_reg[] __read_mostly =;

static int __init dscp_mt_init(void)
{}

static void __exit dscp_mt_exit(void)
{}

module_init();
module_exit(dscp_mt_exit);