Searched refs:pp_pkt_randomizer (Results 1 – 2 of 2) sorted by relevance
254 osm_pkt_randomizer_init(IN OUT osm_pkt_randomizer_t ** pp_pkt_randomizer, in osm_pkt_randomizer_init() argument262 *pp_pkt_randomizer = malloc(sizeof(osm_pkt_randomizer_t)); in osm_pkt_randomizer_init()263 if (*pp_pkt_randomizer == NULL) { in osm_pkt_randomizer_init()267 memset(*pp_pkt_randomizer, 0, sizeof(osm_pkt_randomizer_t)); in osm_pkt_randomizer_init()268 (*pp_pkt_randomizer)->num_paths_initialized = 0; in osm_pkt_randomizer_init()271 (*pp_pkt_randomizer)->osm_pkt_drop_rate = tmp; in osm_pkt_randomizer_init()275 (*pp_pkt_randomizer)->osm_pkt_num_unstable_links = tmp; in osm_pkt_randomizer_init()277 (*pp_pkt_randomizer)->osm_pkt_num_unstable_links = 1; in osm_pkt_randomizer_init()281 (*pp_pkt_randomizer)->osm_pkt_unstable_link_rate = tmp; in osm_pkt_randomizer_init()283 (*pp_pkt_randomizer)->osm_pkt_unstable_link_rate = 20; in osm_pkt_randomizer_init()[all …]
136 osm_pkt_randomizer_init(IN OUT osm_pkt_randomizer_t ** pp_pkt_randomizer,165 osm_pkt_randomizer_destroy(IN osm_pkt_randomizer_t ** pp_pkt_randomizer,