X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=extensions%2Flibip6t_eui64.c;fp=extensions%2Flibip6t_eui64.c;h=0000000000000000000000000000000000000000;hb=f81615a1b6e71d36b4f49a38c04805cc52a146c2;hp=b93d12156227b13ba4a2fda27f1364a52f5467ae;hpb=38258638166a4aee377b55922610aa57c410e6f9;p=iptables.git diff --git a/extensions/libip6t_eui64.c b/extensions/libip6t_eui64.c deleted file mode 100644 index b93d121..0000000 --- a/extensions/libip6t_eui64.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Shared library add-on to ip6tables to add EUI64 address checking support. */ -#include -#include -#include -#include -#include -#if defined(__GLIBC__) && __GLIBC__ == 2 -#include -#else -#include -#endif -#include - -/* Function which prints out usage message. */ -static void eui64_help(void) -{ - printf( -"eui64 match options:\n" -" This module hasn't got any option\n" -" This module checks for EUI64 IPv6 addresses\n"); -} - -/* Function which parses command options; returns true if it - ate an option */ -static int eui64_parse(int c, char **argv, int invert, unsigned int *flags, - const void *entry, struct xt_entry_match **match) -{ - return 0; -} - -static struct xtables_match eui64_mt6_reg = { - .name = "eui64", - .version = XTABLES_VERSION, - .family = PF_INET6, - .size = XT_ALIGN(sizeof(int)), - .userspacesize = XT_ALIGN(sizeof(int)), - .help = eui64_help, - .parse = eui64_parse, -}; - -void _init(void) -{ - xtables_register_match(&eui64_mt6_reg); -}