libip6t_eui64.c 363 B

123456789101112131415
  1. /* Shared library add-on to ip6tables to add EUI64 address checking support. */
  2. #include <xtables.h>
  3. static struct xtables_match eui64_mt6_reg = {
  4. .name = "eui64",
  5. .version = XTABLES_VERSION,
  6. .family = NFPROTO_IPV6,
  7. .size = XT_ALIGN(sizeof(int)),
  8. .userspacesize = XT_ALIGN(sizeof(int)),
  9. };
  10. void _init(void)
  11. {
  12. xtables_register_match(&eui64_mt6_reg);
  13. }