Home
last modified time | relevance | path

Searched refs:arc4random (Results 1 – 25 of 51) sorted by relevance

123

/f-stack/freebsd/netinet6/
H A Dip6_id.c189 p->ru_x = arc4random() % p->ru_m; in initid()
192 p->ru_seed = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in initid()
193 p->ru_seed2 = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in initid()
196 p->ru_b = (arc4random() & (~0U >> (32 - p->ru_bits))) | 1; in initid()
198 (arc4random() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m); in initid()
202 j = arc4random() % p->ru_n; in initid()
236 n = arc4random() & 0x3; in randomid()
H A Dmld6_var.h142 #define MLD_RANDOM_DELAY(X) (arc4random() % (X) + 1)
H A Din6_ifattach.c168 val32 = arc4random(); in generate_tmp_ifid()
210 val32 = arc4random(); in generate_tmp_ifid()
H A Dnd6.h193 (((MIN_RANDOM_FACTOR * (x >> 10)) + (arc4random() & \
H A Din6.c778 delay = arc4random() % (MAX_RTR_SOLICITATION_DELAY * hz); in in6_update_ifa_join_mc()
815 delay = arc4random() % (MAX_RTR_SOLICITATION_DELAY * hz); in in6_update_ifa_join_mc()
1243 (arc4random() % (maxdelay - mindelay)) + in in6_broadcast_ifa()
1989 arc4random() % (MAX_RTR_SOLICITATION_DELAY * hz)); in in6_if_up()
H A Dfrag6.c986 V_ip6qb_hashseed = arc4random(); in frag6_init()
/f-stack/freebsd/libkern/
H A Darc4random_uniform.c52 r = arc4random(); in arc4random_uniform()
H A Darc4random.c240 arc4random(void)
/f-stack/freebsd/kern/
H A Duipc_mbufhash.c64 seed = arc4random(); in m_ether_tcpip_hash_init()
73 seed = arc4random(); in m_infiniband_tcpip_hash_init()
H A Dkern_uuid.c105 uuid_ether[0].node[i] = (uint16_t)arc4random(); in uuid_node()
146 uuid.seq = (uint16_t)arc4random() & 0x3fff; in kern_uuidgen()
H A Dkern_fork.c225 randompid = 100 + arc4random() % 1024; in sysctl_kern_randompid()
266 random = arc4random() % randompid; in fork_findpid()
H A Duipc_mbuf.c1372 int temp = arc4random() & 0xff; in m_defrag()
1588 length = 1 + (arc4random() % divisor); in m_fragment()
1605 fraglen = 1 + (arc4random() % divisor); in m_fragment()
/f-stack/freebsd/netpfil/pf/
H A Dpf_lb.c272 cut = arc4random() % (1 + high - low) + low; in pf_get_sport()
395 rpool->counter.addr32[0] = htonl(arc4random()); in pf_map_addr()
402 htonl(arc4random()); in pf_map_addr()
407 htonl(arc4random()); in pf_map_addr()
412 htonl(arc4random()); in pf_map_addr()
417 htonl(arc4random()); in pf_map_addr()
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dcmptest.h33 # define rand(X) arc4random(X)
/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c71 return arc4random(); in randombytes_sysrandom()
/f-stack/lib/
H A Dff_compat.c297 arc4random(void) in arc4random() function
/f-stack/freebsd/sys/
H A Dlibkern.h128 uint32_t arc4random(void);
/f-stack/freebsd/netinet/libalias/
H A Dalias_db.c600 port_sys = arc4random() & ALIAS_PORT_MASK; in GetNewPort()
650 port_sys = arc4random() & ALIAS_PORT_MASK; in GetNewPort()
764 port_sys = arc4random() & ALIAS_PORT_MASK_EVEN; in FindNewPortGroup()
766 port_sys = arc4random() & ALIAS_PORT_MASK; in FindNewPortGroup()
787 port_sys = arc4random() & ALIAS_PORT_MASK_EVEN; in FindNewPortGroup()
789 port_sys = arc4random() & ALIAS_PORT_MASK; in FindNewPortGroup()
/f-stack/freebsd/net/altq/
H A Daltq_red.c427 if ((arc4random() % d) < fp_len) { in drop_early()
/f-stack/tools/compat/include/netinet6/
H A Dnd6.h193 (((MIN_RANDOM_FACTOR * (x >> 10)) + (arc4random() & \
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c1040 newiss = arc4random();
1425 return arc4random(); in ipf_random()
/f-stack/freebsd/netinet/
H A Dip_reass.c573 V_ipq_hashseed = arc4random(); in ipreass_init()
H A Dtcp_fastopen.c413 V_tcp_fastopen_ccache.secret = arc4random(); in tcp_fastopen_init()
H A Dip_carp.c787 sc->sc_counter = arc4random(); in carp_prepare_ad()
789 sc->sc_counter += arc4random(); in carp_prepare_ad()
/f-stack/freebsd/arm/allwinner/
H A Dif_emac.c208 rnd = arc4random() & 0x00ffffff; in emac_get_hwaddr()

123