blob: 607bf86f4550980f2be1f9a85a37df97189869c6 [file] [log] [blame]
Harald Weltee920f292002-03-24 20:57:26 +00001/* Shared library add-on to ip6tables to add EUI64 address checking support. */
Jan Engelhardt5d9678a2008-11-20 10:15:35 +01002#include <xtables.h>
András Kis-Szabó81adae92001-04-12 15:35:32 +00003
Jan Engelhardt8b7c64d2008-04-15 11:48:25 +02004static struct xtables_match eui64_mt6_reg = {
Harald Welte02aa7332005-02-01 15:38:20 +00005 .name = "eui64",
Jan Engelhardt8b7c64d2008-04-15 11:48:25 +02006 .version = XTABLES_VERSION,
Jan Engelhardt03d99482008-11-18 12:27:54 +01007 .family = NFPROTO_IPV6,
Jan Engelhardt8b7c64d2008-04-15 11:48:25 +02008 .size = XT_ALIGN(sizeof(int)),
9 .userspacesize = XT_ALIGN(sizeof(int)),
András Kis-Szabó81adae92001-04-12 15:35:32 +000010};
11
12void _init(void)
13{
Jan Engelhardt8b7c64d2008-04-15 11:48:25 +020014 xtables_register_match(&eui64_mt6_reg);
András Kis-Szabó81adae92001-04-12 15:35:32 +000015}