summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_eui64.c
blob: 607bf86f4550980f2be1f9a85a37df97189869c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Shared library add-on to ip6tables to add EUI64 address checking support. */
#include <xtables.h>

static struct xtables_match eui64_mt6_reg = {
	.name 		= "eui64",
	.version	= XTABLES_VERSION,
	.family		= NFPROTO_IPV6,
	.size		= XT_ALIGN(sizeof(int)),
	.userspacesize	= XT_ALIGN(sizeof(int)),
};

void _init(void)
{
	xtables_register_match(&eui64_mt6_reg);
}