linux/net/netfilter/xt_mac.c

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

/* (C) 1999-2001 Paul `Rusty' Russell
 * (C) 2002-2004 Netfilter Core Team <[email protected]>
 */

#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/etherdevice.h>

#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv6.h>
#include <linux/netfilter/xt_mac.h>
#include <linux/netfilter/x_tables.h>

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

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

static struct xt_match mac_mt_reg __read_mostly =;

static int __init mac_mt_init(void)
{}

static void __exit mac_mt_exit(void)
{}

module_init();
module_exit(mac_mt_exit);