1 /* Shared library add-on to iptables to add NOTRACK target support. */
8 #include <linux/netfilter_ipv4/ip_tables.h>
10 /* Function which prints out usage message. */
15 "NOTRACK target v%s takes no options\n",
19 static struct option opts
[] = {
23 /* Initialize the target. */
25 init(struct ipt_entry_target
*t
, unsigned int *nfcache
)
29 /* Function which parses command options; returns true if it
32 parse(int c
, char **argv
, int invert
, unsigned int *flags
,
33 const struct ipt_entry
*entry
,
34 struct ipt_entry_target
**target
)
40 final_check(unsigned int flags
)
45 struct iptables_target notrack
48 .version
= IPTABLES_VERSION
,
50 .userspacesize
= IPT_ALIGN(0),
54 .final_check
= &final_check
,
55 .print
= NULL
, /* print */
56 .save
= NULL
, /* save */
62 register_target(¬rack
);