Home
last modified time | relevance | path

Searched refs:ub_random_max (Results 1 – 7 of 7) sorted by relevance

/NextBSD/contrib/unbound/util/
HDrandom.c108 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
HDrandom.h85 long int ub_random_max(struct ub_randstate* state, long int x);
/NextBSD/contrib/unbound/services/
HDoutside_network.c171 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/
HDiter_utils.c419 sel = ub_random_max(env->rnd, num); in iter_server_selection()
488 sel = ub_random_max(rnd, m); in iter_ns_probability()
HDiterator.c1198 ub_random_max(qstate->env->rnd, in processInitRequest()
/NextBSD/contrib/unbound/daemon/
HDdaemon.c366 k = ub_random_max(daemon->rand, n+1); /* 0<= k<= n */ in daemon_get_shufport()
/NextBSD/contrib/unbound/validator/
HDautotrust.c1982 rnd = (time_t)ub_random_max(env->rnd, (long int)rnd); in calc_next_probe()