Home
last modified time | relevance | path

Searched refs:ub_random (Results 1 – 11 of 11) sorted by relevance

/src/contrib/unbound/util/
H A Drandom.c98 long int ub_random(struct ub_randstate* state) in ub_random() function
125 ub_random(struct ub_randstate* ATTR_UNUSED(s)) in ub_random() function
156 long int ub_random(struct ub_randstate* ATTR_UNUSED(state)) in ub_random() function
206 long int ub_random(struct ub_randstate* s) in ub_random() function
227 long int v = ub_random(state); in ub_random_max()
229 v = ub_random(state); in ub_random_max()
H A Drandom.h65 long int ub_random(struct ub_randstate* state);
H A Dnet_help.h97 #define GET_RANDOM_ID(rnd) (((unsigned)ub_random(rnd)>>8) & 0xffff)
H A Dconfig_file.c1864 *cookie_secret++ = (uint8_t)ub_random(rand); in init_cookie_secret()
/src/contrib/unbound/daemon/
H A Ddaemon.c552 hash_set_raninit((uint32_t)ub_random(daemon->rand)); in daemon_create_workers()
/src/contrib/unbound/libunbound/
H A Dlibworker.c199 hash_set_raninit((uint32_t)ub_random(w->env->rnd)); in libworker_setup()
/src/contrib/unbound/testcode/
H A Dunitmain.c672 a[i] = ub_random(r); in rnd_test()
H A Ddoqclient.c731 buf[i] = ub_random(rnd)&0xff; in fill_rand()
/src/contrib/unbound/services/
H A Doutside_network.c2827 random = ub_random(rnd);
H A Dlisten_dnsport.c4184 buf[i] = ub_random(rnd)&0xff; in doq_fill_rand()
/src/contrib/unbound/doc/
H A DChangelog12754 - ub_random code used to select ID and port.