Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/netfilter/
H A Dxt_hashlimit.h28 XT_HASHLIMIT_BYTES = 1 << 5, enumerator
/openbmc/linux/net/netfilter/
H A 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()