blob: 0282e6ff4189f3efad5c91fa5712d37dc725fb9c [file] [log] [blame]
Yasuyuki KOZAKAI1a31b422007-08-04 08:22:03 +00001/* 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
Jan Engelhardt932e6482007-10-04 16:27:30 +000010static struct xtables_target trace_target = {
Jan Engelhardt42979362009-06-01 11:56:23 +020011 .family = NFPROTO_UNSPEC,
Yasuyuki KOZAKAI1a31b422007-08-04 08:22:03 +000012 .name = "TRACE",
Jan Engelhardt8b7c64d2008-04-15 11:48:25 +020013 .version = XTABLES_VERSION,
Yasuyuki KOZAKAI1a31b422007-08-04 08:22:03 +000014 .size = XT_ALIGN(0),
15 .userspacesize = XT_ALIGN(0),
Yasuyuki KOZAKAI1a31b422007-08-04 08:22:03 +000016};
17
18void _init(void)
19{
Jan Engelhardt932e6482007-10-04 16:27:30 +000020 xtables_register_target(&trace_target);
Yasuyuki KOZAKAI1a31b422007-08-04 08:22:03 +000021}