Symbol: ub_random_max
sbin/unwind/libunbound/iterator/iter_utils.c
466
ub_random_max(env->rnd, 1000) < env->cfg->fast_server_permil) {
sbin/unwind/libunbound/iterator/iter_utils.c
685
sel = ub_random_max(env->rnd, num);
sbin/unwind/libunbound/iterator/iter_utils.c
755
sel = ub_random_max(rnd, m);
sbin/unwind/libunbound/iterator/iterator.c
3017
&& !ub_random_max(qstate->env->rnd, 10)) {
sbin/unwind/libunbound/services/outside_network.c
1993
sa->sin6_addr.s6_addr[15-i] = (uint8_t)ub_random_max(rnd, 256);
sbin/unwind/libunbound/services/outside_network.c
1998
((0xFF >> last) & ub_random_max(rnd, 256));
sbin/unwind/libunbound/services/outside_network.c
2126
my_if = ub_random_max(outnet->rnd, num_if);
sbin/unwind/libunbound/services/outside_network.c
2138
my_port = pif->inuse + ub_random_max(outnet->rnd,
sbin/unwind/libunbound/services/outside_network.c
2141
my_port = ub_random_max(outnet->rnd, pif->avail_total);
sbin/unwind/libunbound/services/outside_network.c
232
pi = &w->outnet->ip6_ifs[ub_random_max(w->outnet->rnd, num)];
sbin/unwind/libunbound/services/outside_network.c
235
pi = &w->outnet->ip4_ifs[ub_random_max(w->outnet->rnd, num)];
sbin/unwind/libunbound/services/outside_network.c
2392
select = ub_random_max(outnet->rnd, 0xffff - reuse->tree_by_id.count);
sbin/unwind/libunbound/services/outside_network.c
3490
ub_random_max(env->rnd,
sbin/unwind/libunbound/services/outside_network.c
3602
i = ub_random_max(outnet->rnd, outnet->num_ip6);
sbin/unwind/libunbound/services/outside_network.c
3611
i = ub_random_max(outnet->rnd, outnet->num_ip4);
sbin/unwind/libunbound/services/outside_network.c
3617
pnum = ub_random_max(outnet->rnd, pif->avail_total);
sbin/unwind/libunbound/util/netevent.c
1622
unused_random = ub_random_max(c->doq_socket->rnd, 256);
sbin/unwind/libunbound/util/random.h
74
long int ub_random_max(struct ub_randstate* state, long int x);
sbin/unwind/libunbound/validator/autotrust.c
2028
rnd = (time_t)ub_random_max(env->rnd, (long int)rnd);
sbin/unwind/libunbound/validator/validator.c
894
usec = base + ub_random_max(qstate->env->rnd, usec-base);
usr.sbin/unbound/daemon/daemon.c
503
k = ub_random_max(daemon->rand, n+1); /* 0<= k<= n */
usr.sbin/unbound/daemon/remote.c
6710
nonce[i] = ub_random_max(rand, 256);
usr.sbin/unbound/daemon/worker.c
1433
ub_random_max(worker->env.rnd,
usr.sbin/unbound/iterator/iter_utils.c
466
ub_random_max(env->rnd, 1000) < env->cfg->fast_server_permil) {
usr.sbin/unbound/iterator/iter_utils.c
685
sel = ub_random_max(env->rnd, num);
usr.sbin/unbound/iterator/iter_utils.c
755
sel = ub_random_max(rnd, m);
usr.sbin/unbound/iterator/iterator.c
3017
&& !ub_random_max(qstate->env->rnd, 10)) {
usr.sbin/unbound/services/outside_network.c
1993
sa->sin6_addr.s6_addr[15-i] = (uint8_t)ub_random_max(rnd, 256);
usr.sbin/unbound/services/outside_network.c
1998
((0xFF >> last) & ub_random_max(rnd, 256));
usr.sbin/unbound/services/outside_network.c
2126
my_if = ub_random_max(outnet->rnd, num_if);
usr.sbin/unbound/services/outside_network.c
2138
my_port = pif->inuse + ub_random_max(outnet->rnd,
usr.sbin/unbound/services/outside_network.c
2141
my_port = ub_random_max(outnet->rnd, pif->avail_total);
usr.sbin/unbound/services/outside_network.c
232
pi = &w->outnet->ip6_ifs[ub_random_max(w->outnet->rnd, num)];
usr.sbin/unbound/services/outside_network.c
235
pi = &w->outnet->ip4_ifs[ub_random_max(w->outnet->rnd, num)];
usr.sbin/unbound/services/outside_network.c
2392
select = ub_random_max(outnet->rnd, 0xffff - reuse->tree_by_id.count);
usr.sbin/unbound/services/outside_network.c
3490
ub_random_max(env->rnd,
usr.sbin/unbound/services/outside_network.c
3602
i = ub_random_max(outnet->rnd, outnet->num_ip6);
usr.sbin/unbound/services/outside_network.c
3611
i = ub_random_max(outnet->rnd, outnet->num_ip4);
usr.sbin/unbound/services/outside_network.c
3617
pnum = ub_random_max(outnet->rnd, pif->avail_total);
usr.sbin/unbound/testcode/unitmain.c
680
a[0] = ub_random_max(r, 1);
usr.sbin/unbound/testcode/unitmain.c
682
a[0] = ub_random_max(r, 10000);
usr.sbin/unbound/testcode/unitmain.c
685
a[i] = ub_random_max(r, 10);
usr.sbin/unbound/util/netevent.c
1622
unused_random = ub_random_max(c->doq_socket->rnd, 256);
usr.sbin/unbound/util/random.h
74
long int ub_random_max(struct ub_randstate* state, long int x);
usr.sbin/unbound/validator/autotrust.c
2024
rnd = (time_t)ub_random_max(env->rnd, (long int)rnd);
usr.sbin/unbound/validator/validator.c
894
usec = base + ub_random_max(qstate->env->rnd, usec-base);