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 /* Initialize the match. */
22 init(struct ipt_entry_match *m, unsigned int *nfcache)
24 /* Can't cache this. */
25 *nfcache |= NFC_UNKNOWN;
28 /* Function which parses command options; returns true if it
31 parse(int c, char **argv, int invert, unsigned int *flags,
32 const struct ipt_entry *entry,
33 unsigned int *nfcache,
34 struct ipt_entry_match **match)
39 /* Final check; must have specified --mac. */
40 static void final_check(unsigned int flags)
45 struct iptables_match unclean
62 register_match(&unclean);