linux/net/netfilter/xt_physdev.c

// SPDX-License-Identifier: GPL-2.0-only
/* Kernel module to match the bridge port in and
 * out device for IP packets coming into contact with a bridge. */

/* (C) 2001-2003 Bart De Schuymer <[email protected]>
 */
#define pr_fmt(fmt)

#include <linux/if.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/netfilter_bridge.h>
#include <linux/netfilter/x_tables.h>
#include <uapi/linux/netfilter/xt_physdev.h>

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


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

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

static struct xt_match physdev_mt_reg __read_mostly =;

static int __init physdev_mt_init(void)
{}

static void __exit physdev_mt_exit(void)
{}

module_init();
module_exit(physdev_mt_exit);