Home
last modified time | relevance | path

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

/external/iproute2/tc/
Dq_netem.c184 __u16 loss_type = NETEM_LOSS_UNSPEC; in netem_parse_opt() local
227 if (opt.loss > 0 || loss_type != NETEM_LOSS_UNSPEC) { in netem_parse_opt()
267 loss_type = NETEM_LOSS_GI; in netem_parse_opt()
311 loss_type = NETEM_LOSS_GE; in netem_parse_opt()
459 if (opt.loss <= 0 && loss_type == NETEM_LOSS_UNSPEC) { in netem_parse_opt()
492 if (loss_type != NETEM_LOSS_UNSPEC) { in netem_parse_opt()
496 if (loss_type == NETEM_LOSS_GI) { in netem_parse_opt()
500 } else if (loss_type == NETEM_LOSS_GE) { in netem_parse_opt()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc97 LossModelType loss_type; member
258 if (loss_model_[k].loss_type == kRandomLossModel) { in ComputeProbabilityWeight()
267 assert(loss_model_[k].loss_type == kBurstyLossModel); in ComputeProbabilityWeight()
606 loss_model_[num_loss_models].loss_type = kRandomLossModel; in SetLossModels()
608 loss_model_[num_loss_models].loss_type = kBurstyLossModel; in SetLossModels()
815 if (loss_model_[k].loss_type == kRandomLossModel) { in TEST_F()
818 } else if (loss_model_[k].loss_type == kBurstyLossModel) { in TEST_F()
849 if (loss_model_[k].loss_type == kRandomLossModel && in TEST_F()