aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/libipt_MIRROR.c
blob: cb0f83c921f776a2cbda3f74e29c95aa4d59a273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Shared library add-on to iptables to add MIRROR target support. */
#include <xtables.h>

static struct xtables_target mirror_tg_reg = {
	.name		= "MIRROR",
	.version	= XTABLES_VERSION,
	.family		= NFPROTO_IPV4,
	.size		= XT_ALIGN(0),
	.userspacesize	= XT_ALIGN(0),
};

void libipt_MIRROR_init(void)
{
	xtables_register_target(&mirror_tg_reg);
}