Searched refs:ub_random_max (Results 1 - 8 of 8) sorted by relevance
/freebsd-11-stable/contrib/unbound/util/ |
H A D | random.h | 74 long int ub_random_max(struct ub_randstate* state, long int x);
|
H A D | random.c | 101 ub_random_max(struct ub_randstate* state, long int x) function 191 ub_random_max(struct ub_randstate* state, long int x) function
|
/freebsd-11-stable/contrib/unbound/services/ |
H A D | outside_network.c | 224 pi = &w->outnet->ip6_ifs[ub_random_max(w->outnet->rnd, num)]; 227 pi = &w->outnet->ip4_ifs[ub_random_max(w->outnet->rnd, num)]; 1690 sa->sin6_addr.s6_addr[15-i] = (uint8_t)ub_random_max(rnd, 256); 1695 ((0xFF >> last) & ub_random_max(rnd, 256)); 1808 my_if = ub_random_max(outnet->rnd, num_if); 1820 my_port = pif->inuse + ub_random_max(outnet->rnd, 1823 my_port = ub_random_max(outnet->rnd, pif->avail_total); 2063 select = ub_random_max(outnet->rnd, 0xffff - reuse->tree_by_id.count); 3144 i = ub_random_max(outnet->rnd, outnet->num_ip6); 3153 i = ub_random_max(outne [all...] |
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iter_utils.c | 385 ub_random_max(env->rnd, 1000) < env->cfg->fast_server_permil) { 602 sel = ub_random_max(env->rnd, num); 671 sel = ub_random_max(rnd, m);
|
H A D | iterator.c | 1492 ub_random_max(qstate->env->rnd,
|
/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | daemon.c | 427 k = ub_random_max(daemon->rand, n+1); /* 0<= k<= n */
|
H A D | worker.c | 1201 ub_random_max(worker->env.rnd,
|
/freebsd-11-stable/contrib/unbound/validator/ |
H A D | autotrust.c | 2011 rnd = (time_t)ub_random_max(env->rnd, (long int)rnd);
|
Completed in 221 milliseconds