Home
last modified time | relevance | path

Searched refs:credit_cap (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dxt_limit.c81 if (new_credit > r->credit_cap) in limit_mt()
82 new_credit = r->credit_cap; in limit_mt()
129 r->credit_cap = priv->credit; /* Credits full. */ in limit_mt_check()
150 u_int32_t credit_cap, cost; member
165 .credit_cap = cm->credit_cap, in limit_mt_compat_from_user()
179 .credit_cap = m->credit_cap, in limit_mt_compat_to_user()
H A Dxt_hashlimit.c102 u_int64_t credit_cap; member
567 cap = dh->rateinfo.credit_cap; in rateinfo_recalc()
597 dh->rateinfo.credit_cap = hinfo->cfg.burst; in rateinfo_init()
602 dh->rateinfo.credit_cap = dh->rateinfo.credit; in rateinfo_init()
717 if (dh->rateinfo.credit < tmp && dh->rateinfo.credit_cap) { in hashlimit_byte_cost()
718 dh->rateinfo.credit_cap--; in hashlimit_byte_cost()
1105 ent->rateinfo.credit, ent->rateinfo.credit_cap, in dl_seq_print()
1116 ent->rateinfo.credit, ent->rateinfo.credit_cap, in dl_seq_print()
/openbmc/linux/net/bridge/netfilter/
H A Debt_limit.c43 if (info->credit > info->credit_cap) in ebt_limit_mt()
44 info->credit = info->credit_cap; in ebt_limit_mt()
84 info->credit_cap = user2credits(info->avg * info->burst); in ebt_limit_mt_check()
98 compat_uint_t credit, credit_cap, cost; member
/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debt_limit.h22 __u32 credit_cap, cost; member
/openbmc/linux/include/uapi/linux/netfilter/
H A Dxt_limit.h21 __u32 credit_cap, cost; member