linux/net/bridge/netfilter/ebt_among.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  ebt_among
 *
 *	Authors:
 *	Grzegorz Borowiak <[email protected]>
 *
 *  August, 2003
 *
 */
#define pr_fmt(fmt)
#include <linux/ip.h>
#include <linux/if_arp.h>
#include <linux/module.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bridge/ebt_among.h>

static bool ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh,
				      const char *mac, __be32 ip)
{}

static int ebt_mac_wormhash_check_integrity(const struct ebt_mac_wormhash
					    *wh)
{}

static int get_ip_dst(const struct sk_buff *skb, __be32 *addr)
{}

static int get_ip_src(const struct sk_buff *skb, __be32 *addr)
{}

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

static bool poolsize_invalid(const struct ebt_mac_wormhash *w)
{}

static bool wormhash_offset_invalid(int off, unsigned int len)
{}

static bool wormhash_sizes_valid(const struct ebt_mac_wormhash *wh, int a, int b)
{}

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

static struct xt_match ebt_among_mt_reg __read_mostly =;

static int __init ebt_among_init(void)
{}

static void __exit ebt_among_fini(void)
{}

module_init();
module_exit(ebt_among_fini);
MODULE_DESCRIPTION();
MODULE_LICENSE();