blob: ca5870022bbb31f11c39c652f3b83353b99cc0b5 [file] [log] [blame]
Joszef Kadlecsik690a3952003-05-21 10:31:08 +00001/* Shared library add-on to iptables to add NOTRACK target support. */
Yasuyuki KOZAKAI857ff8b2007-07-24 06:41:01 +00002#include <xtables.h>
Joszef Kadlecsik690a3952003-05-21 10:31:08 +00003
Jan Engelhardt932e6482007-10-04 16:27:30 +00004static struct xtables_target notrack_target = {
Jan Engelhardtc5e85732009-06-12 20:55:44 +02005 .family = NFPROTO_UNSPEC,
Yasuyuki KOZAKAI51861642007-07-24 06:43:55 +00006 .name = "NOTRACK",
Jan Engelhardt8b7c64d2008-04-15 11:48:25 +02007 .version = XTABLES_VERSION,
Yasuyuki KOZAKAI51861642007-07-24 06:43:55 +00008 .size = XT_ALIGN(0),
9 .userspacesize = XT_ALIGN(0),
Yasuyuki KOZAKAI51861642007-07-24 06:43:55 +000010};
11
Joszef Kadlecsik690a3952003-05-21 10:31:08 +000012void _init(void)
13{
Jan Engelhardt932e6482007-10-04 16:27:30 +000014 xtables_register_target(&notrack_target);
Joszef Kadlecsik690a3952003-05-21 10:31:08 +000015}