• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Shared library add-on to iptables to add TRACE target support. */
2 #include <stdio.h>
3 #include <string.h>
4 #include <stdlib.h>
5 #include <getopt.h>
6 
7 #include <xtables.h>
8 #include <linux/netfilter/x_tables.h>
9 
10 static struct xtables_target trace_target = {
11 	.family		= NFPROTO_UNSPEC,
12 	.name		= "TRACE",
13 	.version	= XTABLES_VERSION,
14 	.size		= XT_ALIGN(0),
15 	.userspacesize	= XT_ALIGN(0),
16 };
17 
_init(void)18 void _init(void)
19 {
20 	xtables_register_target(&trace_target);
21 }
22