Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_pkt_randomizer.c123 static int rand_value; in __osm_pkt_randomizer_process_path() local
158 rand_value = rand(); in __osm_pkt_randomizer_process_path()
179 if (rand_value % in __osm_pkt_randomizer_process_path()
184 buf, rand_value, in __osm_pkt_randomizer_process_path()
207 rand_value = rand(); in __osm_pkt_randomizer_process_path()
209 if (rand_value % (p_pkt_rand->osm_pkt_drop_rate) == 0) { in __osm_pkt_randomizer_process_path()