Home
last modified time | relevance | path

Searched refs:XT_HASHLIMIT_BYTES (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/include/linux/netfilter/
Dxt_hashlimit.h9 XT_HASHLIMIT_INVERT | XT_HASHLIMIT_BYTES |\
/Linux-v4.19/include/uapi/linux/netfilter/
Dxt_hashlimit.h28 XT_HASHLIMIT_BYTES = 1 << 5, enumerator
/Linux-v4.19/net/netfilter/
Dxt_hashlimit.c566 if (mode & XT_HASHLIMIT_BYTES) { in rateinfo_recalc()
591 if (hinfo->cfg.mode & XT_HASHLIMIT_BYTES) { in rateinfo_init()
605 } else if (hinfo->cfg.mode & XT_HASHLIMIT_BYTES) { in rateinfo_init()
771 cost = (cfg->mode & XT_HASHLIMIT_BYTES) ? skb->len : 1; in hashlimit_mt_common()
784 if (cfg->mode & XT_HASHLIMIT_BYTES) in hashlimit_mt_common()
884 } else if (cfg->mode & XT_HASHLIMIT_BYTES) { in hashlimit_mt_check_common()