1 /* Shared library add-on to iptables to add NOTRACK target support. */
8 #include <linux/netfilter/x_tables.h>
10 /* Function which prints out usage message. */
11 static void NOTRACK_help(void)
13 printf("NOTRACK target takes no options\n");
16 /* Function which parses command options; returns true if it
19 NOTRACK_parse(int c, char **argv, int invert, unsigned int *flags,
20 const void *entry, struct xt_entry_target **target)
25 static struct xtables_target notrack_target = {
28 .version = XTABLES_VERSION,
30 .userspacesize = XT_ALIGN(0),
32 .parse = NOTRACK_parse,
35 static struct xtables_target notrack_target6 = {
38 .version = XTABLES_VERSION,
40 .userspacesize = XT_ALIGN(0),
42 .parse = NOTRACK_parse,
47 xtables_register_target(¬rack_target);
48 xtables_register_target(¬rack_target6);