1 /* Shared library add-on to iptables to add TRACE target support. */
8 #include <linux/netfilter_ipv6/ip6_tables.h>
10 /* Function which prints out usage message. */
15 "TRACE target v%s takes no options\n",
19 static struct option opts[] = {
23 /* Initialize the target. */
25 init(struct ip6t_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 ip6t_entry *entry,
34 struct ip6t_entry_target **target)
40 final_check(unsigned int flags)
45 struct ip6tables_target trace
48 .version = IPTABLES_VERSION,
49 .size = IP6T_ALIGN(0),
50 .userspacesize = IP6T_ALIGN(0),
54 .final_check = &final_check,
55 .print = NULL, /* print */
56 .save = NULL, /* save */
62 register_target6(&trace);