1 /* Shared library add-on to iptables for unclean. */
7 /* Function which prints out usage message. */
12 "unclean v%s takes no options\n"
13 "\n", IPTABLES_VERSION);
16 static struct option opts[] = {
20 /* Function which parses command options; returns true if it
23 parse(int c, char **argv, int invert, unsigned int *flags,
24 const struct ipt_entry *entry,
25 unsigned int *nfcache,
26 struct ipt_entry_match **match)
31 /* Final check; must have specified --mac. */
32 static void final_check(unsigned int flags)
37 struct iptables_match unclean = {
40 .version = IPTABLES_VERSION,
42 .userspacesize = IPT_ALIGN(0),
45 .final_check = &final_check,
53 register_match(&unclean);