MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_rand

Function rte_rand

dpdk/lib/eal/common/rte_random.c:134–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134uint64_t
135rte_rand(void)
136{
137 struct rte_rand_state *state;
138
139 state = __rte_rand_get_state();
140
141 return __rte_rand_lfsr258(state);
142}
143
144uint64_t
145rte_rand_max(uint64_t upper_bound)

Callers 15

rte_red_config_initFunction · 0.85
draw_geometricFunction · 0.85
rte_member_create_sketchFunction · 0.85
evict_from_bucketFunction · 0.85
rte_ipsec_sad_createFunction · 0.85
thash_get_rand_polyFunction · 0.85
alloc_lfsrFunction · 0.85
rte_thash_init_ctxFunction · 0.85
rte_eth_random_addrFunction · 0.85
timer_get_skiplist_levelFunction · 0.85
rte_drandFunction · 0.85

Calls 2

__rte_rand_get_stateFunction · 0.85
__rte_rand_lfsr258Function · 0.85