Lines Matching refs:ub_random_max
232 pi = &w->outnet->ip6_ifs[ub_random_max(w->outnet->rnd, num)];
235 pi = &w->outnet->ip4_ifs[ub_random_max(w->outnet->rnd, num)];
1993 sa->sin6_addr.s6_addr[15-i] = (uint8_t)ub_random_max(rnd, 256);
1998 ((0xFF >> last) & ub_random_max(rnd, 256));
2126 my_if = ub_random_max(outnet->rnd, num_if);
2138 my_port = pif->inuse + ub_random_max(outnet->rnd,
2141 my_port = ub_random_max(outnet->rnd, pif->avail_total);
2392 select = ub_random_max(outnet->rnd, 0xffff - reuse->tree_by_id.count);
3490 ub_random_max(env->rnd,
3602 i = ub_random_max(outnet->rnd, outnet->num_ip6);
3611 i = ub_random_max(outnet->rnd, outnet->num_ip4);
3617 pnum = ub_random_max(outnet->rnd, pif->avail_total);