Searched refs:loss_type (Results 1 – 2 of 2) sorted by relevance
184 __u16 loss_type = NETEM_LOSS_UNSPEC; in netem_parse_opt() local227 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()
97 LossModelType loss_type; member258 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()