#include <linux/module.h>
#include <net/sock.h>
#include "../br_private.h"
#include <linux/netfilter.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bridge/ebt_redirect.h>
static unsigned int
ebt_redirect_tg(struct sk_buff *skb, const struct xt_action_param *par)
{ … }
static int ebt_redirect_tg_check(const struct xt_tgchk_param *par)
{ … }
static struct xt_target ebt_redirect_tg_reg __read_mostly = …;
static int __init ebt_redirect_init(void)
{ … }
static void __exit ebt_redirect_fini(void)
{ … }
module_init(…) …;
module_exit(ebt_redirect_fini);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;