Home
last modified time | relevance | path

Searched refs:RandomULong (Results 1 – 20 of 20) sorted by relevance

/xnu-11215/bsd/libkern/
H A Drandom.c78 return mask & RandomULong(); in random()
/xnu-11215/bsd/netinet6/
H A Dip6_id.c139 return RandomULong() & IPV6_FLOWLABEL_MASK; in ip6_randomflowlabel()
H A Dmld6_var.h114 #define MLD_RANDOM_DELAY(X) (RandomULong() % (X) + 1)
H A Din6_ifattach.c171 val32 = RandomULong() ^ tv.tv_usec;
H A Dnd6.h450 (((MIN_RANDOM_FACTOR * (x >> 10)) + (RandomULong() & \
H A Dip6_input.c477 (RandomULong() ^ tv.tv_usec) % MAX_TEMP_DESYNC_FACTOR; in ip6_init()
H A Dnd6_nbr.c2257 dp->dad_nonce[i] = RandomULong(); in nd6_dad_ns_output()
/xnu-11215/bsd/dev/random/
H A Drandomdev.h56 u_int32_t RandomULong( void );
H A Drandomdev.c234 RandomULong(void) in RandomULong() function
/xnu-11215/libkern/os/
H A Dlog.c1317 const uint32_t uniqid = RandomULong(); in test_printf()
1431 const uint32_t uniqid = RandomULong(); in test_os_log()
1491 test_oslog_debug(RandomULong(), 100, NULL, NULL); in _test_log_loop()
1515 test_oslog_info(RandomULong(), 100, NULL, NULL); in test_os_log_parallel()
1578 out[1] = RandomULong(); in test_oslog_handleOSLogCtl()
/xnu-11215/bsd/netinet/
H A Din_pcb.c3490 inp_hash_seed = RandomULong(); in inp_calc_flowhash()
3502 fh.infh_rand1 = RandomULong(); in inp_calc_flowhash()
3503 fh.infh_rand2 = RandomULong(); in inp_calc_flowhash()
3509 inp_hash_seed = RandomULong(); in inp_calc_flowhash()
3527 inp_hash_seed = RandomULong(); in inp_calc_flowhash()
H A Dtcp_cache.c1679 tcp_cache_hash_seed = RandomULong(); in tcp_cache_init()
H A Dflow_divert.c337 key[1] = RandomULong(); in flow_divert_add_to_group()
340 g_hash_seed = RandomULong(); in flow_divert_add_to_group()
H A Dip_input.c538 ip_id = (u_short)(RandomULong() ^ tv.tv_usec); in ip_init()
H A Dmptcp_subr.c1788 sauth_entry->msae_laddr_rand = RandomULong(); in mptcp_attach_to_subf()
H A Dtcp_input.c7197 rnd = RandomULong(); in tcp_dropdropablreq()
/xnu-11215/bsd/net/
H A Dpf.c2213 pf_hash_seed = RandomULong(); in pf_calc_state_key_flowhash()
3401 RandomULong(); in pf_map_addr()
3407 RandomULong(); in pf_map_addr()
3413 RandomULong(); in pf_map_addr()
3419 RandomULong(); in pf_map_addr()
5337 } else if (r->prob && r->prob <= (RandomULong() % (UINT_MAX - 1) + 1)) { in pf_test_rule()
6354 } else if (r->prob && r->prob <= (RandomULong() % (UINT_MAX - 1) + 1)) { in pf_test_dummynet()
6546 } else if (r->prob && r->prob <= (RandomULong() % (UINT_MAX - 1) + 1)) { in pf_test_fragment()
H A Ddlil.c11388 ifnet_flowhash_seed = RandomULong(); in ifnet_calc_flowhash()
11400 fh.ifk_rand1 = RandomULong(); in ifnet_calc_flowhash()
11401 fh.ifk_rand2 = RandomULong(); in ifnet_calc_flowhash()
11407 ifnet_flowhash_seed = RandomULong(); in ifnet_calc_flowhash()
H A Dif_bridge.c7269 sc->sc_rthash_key = RandomULong();
7336 sc->sc_rthash_key = RandomULong();
H A Dpf_ioctl.c542 pf_hash_seed = RandomULong(); in pfinit()