Searched refs:ub_random_max (Results 1 – 7 of 7) sorted by relevance
| /NextBSD/contrib/unbound/util/ |
| HD | random.c | 108 ub_random_max(struct ub_randstate* state, long int x) in ub_random_max() function 216 ub_random_max(struct ub_randstate* state, long int x) in ub_random_max() function
|
| HD | random.h | 85 long int ub_random_max(struct ub_randstate* state, long int x);
|
| /NextBSD/contrib/unbound/services/ |
| HD | outside_network.c | 171 pi = &w->outnet->ip6_ifs[ub_random_max(w->outnet->rnd, num)]; in pick_outgoing_tcp() 174 pi = &w->outnet->ip4_ifs[ub_random_max(w->outnet->rnd, num)]; in pick_outgoing_tcp() 949 my_if = ub_random_max(outnet->rnd, num_if); 951 my_port = ub_random_max(outnet->rnd, pif->avail_total);
|
| /NextBSD/contrib/unbound/iterator/ |
| HD | iter_utils.c | 419 sel = ub_random_max(env->rnd, num); in iter_server_selection() 488 sel = ub_random_max(rnd, m); in iter_ns_probability()
|
| HD | iterator.c | 1198 ub_random_max(qstate->env->rnd, in processInitRequest()
|
| /NextBSD/contrib/unbound/daemon/ |
| HD | daemon.c | 366 k = ub_random_max(daemon->rand, n+1); /* 0<= k<= n */ in daemon_get_shufport()
|
| /NextBSD/contrib/unbound/validator/ |
| HD | autotrust.c | 1982 rnd = (time_t)ub_random_max(env->rnd, (long int)rnd); in calc_next_probe()
|