Lines Matching refs:NETEM_PSCALE
112 #define NETEM_PSCALE IF_NETEM_PARAMS_PSCALE macro
923 rand %= NETEM_PSCALE; in corruption_event()
942 rand %= NETEM_PSCALE; in duplication_event()
955 rand %= NETEM_PSCALE; in reordering_event()
1012 rand %= NETEM_PSCALE; in loss_event()
1394 if (p->ifnetem_corruption_p > NETEM_PSCALE) { in netem_check_params()
1396 p->ifnetem_corruption_p, NETEM_PSCALE); in netem_check_params()
1400 if (p->ifnetem_duplication_p > NETEM_PSCALE) { in netem_check_params()
1402 p->ifnetem_duplication_p, NETEM_PSCALE); in netem_check_params()
1446 if (p->ifnetem_loss_p_gr_gl > NETEM_PSCALE || in netem_check_params()
1448 p->ifnetem_loss_p_gr_bl > NETEM_PSCALE || in netem_check_params()
1449 p->ifnetem_loss_p_bl_br > NETEM_PSCALE || in netem_check_params()
1450 p->ifnetem_loss_p_bl_gr > NETEM_PSCALE || in netem_check_params()
1451 p->ifnetem_loss_p_br_bl > NETEM_PSCALE || in netem_check_params()
1452 p->ifnetem_loss_p_gr_gl + p->ifnetem_loss_p_gr_bl > NETEM_PSCALE || in netem_check_params()
1453 p->ifnetem_loss_p_bl_br + p->ifnetem_loss_p_bl_gr > NETEM_PSCALE) { in netem_check_params()
1458 if (p->ifnetem_reordering_p > NETEM_PSCALE) { in netem_check_params()
1460 p->ifnetem_reordering_p, NETEM_PSCALE); in netem_check_params()