Home
last modified time | relevance | path

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

/net/ipv4/
A Dtcp_bic.c103 __u32 dist = (ca->last_max_cwnd - cwnd) in bictcp_update() local
106 if (dist > max_increment) in bictcp_update()
109 else if (dist <= 1U) in bictcp_update()
114 ca->cnt = cwnd / dist; in bictcp_update()
/net/netfilter/
A Dnf_nat_core.c519 u32 minip, maxip, j, dist; in find_best_ips_proto() local
561 dist = maxip - minip + 1; in find_best_ips_proto()
564 dist = ~0; in find_best_ips_proto()
568 htonl(minip + reciprocal_scale(j, dist)); in find_best_ips_proto()
/net/sched/
A Dsch_netem.c332 const struct disttable *dist) in tabledist() argument
344 if (dist == NULL) in tabledist()
347 t = dist->table[rnd % dist->size]; in tabledist()

Completed in 13 milliseconds