1 /* Shared library add-on to iptables to add NOTRACK target support. */
8 #include <linux/netfilter/x_tables.h>
10 static void NOTRACK_help(void)
12 printf("NOTRACK target takes no options\n");
16 NOTRACK_parse(int c, char **argv, int invert, unsigned int *flags,
17 const void *entry, struct xt_entry_target **target)
22 static struct xtables_target notrack_target = {
23 .family = NFPROTO_IPV4,
25 .version = XTABLES_VERSION,
27 .userspacesize = XT_ALIGN(0),
29 .parse = NOTRACK_parse,
32 static struct xtables_target notrack_target6 = {
33 .family = NFPROTO_IPV6,
35 .version = XTABLES_VERSION,
37 .userspacesize = XT_ALIGN(0),
39 .parse = NOTRACK_parse,
44 xtables_register_target(¬rack_target);
45 xtables_register_target(¬rack_target6);