1 /* Shared library add-on to iptables for TARPIT support */
10 "TARPIT takes no options\n"
14 static struct option opts
[] = {
19 parse(int c
, char **argv
, int invert
, unsigned int *flags
,
20 const struct ipt_entry
*entry
,
21 struct ipt_entry_target
**target
)
26 static void final_check(unsigned int flags
)
31 print(const struct ipt_ip
*ip
,
32 const struct ipt_entry_target
*target
,
37 static void save(const struct ipt_ip
*ip
, const struct ipt_entry_target
*target
)
41 static struct iptables_target tarpit
= {
44 .version
= IPTABLES_VERSION
,
46 .userspacesize
= IPT_ALIGN(0),
49 .final_check
= &final_check
,
57 register_target(&tarpit
);