Searched refs:rweight2 (Results 1 - 1 of 1) sorted by relevance

/linux-master/net/netfilter/ipvs/
H A Dip_vs_twos.c25 * - rweight2 = random number between [0,total_weight]
28 * decrement rweight1 and rweight2 by the destination weight
30 * pick choice2 when rweight2 is <= 0
49 int rweight1, rweight2, weight1 = -1, weight2 = -1, overhead1 = 0; local
75 rweight2 = get_random_u32_below(total_weight);
87 rweight2 -= weight;
95 if (rweight2 <= 0 && weight2 == -1) {

Completed in 215 milliseconds