linux/net/bridge/netfilter/ebt_mark.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  ebt_mark
 *
 *	Authors:
 *	Bart De Schuymer <[email protected]>
 *
 *  July, 2002
 *
 */

/* The mark target can be used in any chain,
 * I believe adding a mangle table just for marking is total overkill.
 * Marking a frame doesn't really change anything in the frame anyway.
 */

#include <linux/module.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bridge/ebt_mark_t.h>

static unsigned int
ebt_mark_tg(struct sk_buff *skb, const struct xt_action_param *par)
{}

static int ebt_mark_tg_check(const struct xt_tgchk_param *par)
{}
#ifdef CONFIG_NETFILTER_XTABLES_COMPAT
struct compat_ebt_mark_t_info {};

static void mark_tg_compat_from_user(void *dst, const void *src)
{}

static int mark_tg_compat_to_user(void __user *dst, const void *src)
{}
#endif

static struct xt_target ebt_mark_tg_reg __read_mostly =;

static int __init ebt_mark_init(void)
{}

static void __exit ebt_mark_fini(void)
{}

module_init();
module_exit(ebt_mark_fini);
MODULE_DESCRIPTION();
MODULE_LICENSE();