Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/linux/netfilter/
Dxt_hashlimit.h28 XT_HASHLIMIT_BYTES = 1 << 5, enumerator
/linux-6.6.21/net/netfilter/
Dxt_hashlimit.c44 XT_HASHLIMIT_INVERT | XT_HASHLIMIT_BYTES |\
555 if (mode & XT_HASHLIMIT_BYTES) { in rateinfo_recalc()
580 if (hinfo->cfg.mode & XT_HASHLIMIT_BYTES) { in rateinfo_init()
594 } else if (hinfo->cfg.mode & XT_HASHLIMIT_BYTES) { in rateinfo_init()
760 cost = (cfg->mode & XT_HASHLIMIT_BYTES) ? skb->len : 1; in hashlimit_mt_common()
773 if (cfg->mode & XT_HASHLIMIT_BYTES) in hashlimit_mt_common()
881 } else if (cfg->mode & XT_HASHLIMIT_BYTES) { in hashlimit_mt_check_common()