libipt_MIRROR.c 335 B

123456789101112131415
  1. /* Shared library add-on to iptables to add MIRROR target support. */
  2. #include <xtables.h>
  3. static struct xtables_target mirror_tg_reg = {
  4. .name = "MIRROR",
  5. .version = XTABLES_VERSION,
  6. .family = NFPROTO_IPV4,
  7. .size = XT_ALIGN(0),
  8. .userspacesize = XT_ALIGN(0),
  9. };
  10. void _init(void)
  11. {
  12. xtables_register_target(&mirror_tg_reg);
  13. }