" --quota quota quota (bytes)\n" "\n");
}
-/* initialise match */
-static void
-init(struct ipt_entry_match *m, unsigned int *nfcache)
-{
- /* no can cache */
- *nfcache |= NFC_UNKNOWN;
-}
-
/* print matchinfo */
static void
print(const struct ipt_ip *ip, const struct ipt_entry_match *match, int numeric)
{
}
-struct iptables_match quota = { NULL,
- "quota",
- IPTABLES_VERSION,
- IPT_ALIGN(sizeof (struct ipt_quota_info)),
- IPT_ALIGN(sizeof (struct ipt_quota_info)),
- &help,
- &init,
- &parse,
- &final_check,
- &print,
- &save,
- opts
+struct iptables_match quota = {
+ .next = NULL,
+ .name = "quota",
+ .version = IPTABLES_VERSION,
+ .size = IPT_ALIGN(sizeof (struct ipt_quota_info)),
+ .userspacesize = IPT_ALIGN(sizeof (struct ipt_quota_info)),
+ .help = &help,
+ .parse = &parse,
+ .final_check = &final_check,
+ .print = &print,
+ .save = &save,
+ .extra_opts = opts
};
void