linux/net/bridge/netfilter/ebt_vlan.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Description: EBTables 802.1Q match extension kernelspace module.
 * Authors: Nick Fedchik <[email protected]>
 *          Bart De Schuymer <[email protected]>
 */

#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bridge/ebt_vlan.h>

#define MODULE_VERS

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

#define GET_BITMASK(_BIT_MASK_)
#define EXIT_ON_MISMATCH(_MATCH_,_MASK_)

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

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

static struct xt_match ebt_vlan_mt_reg __read_mostly =;

static int __init ebt_vlan_init(void)
{}

static void __exit ebt_vlan_fini(void)
{}

module_init();
module_exit(ebt_vlan_fini);