• Home
  • Raw
  • Download

Lines Matching refs:qdisc

296 void rtnl_netem_set_limit(struct rtnl_qdisc *qdisc, int limit)  in rtnl_netem_set_limit()  argument
300 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_limit()
312 int rtnl_netem_get_limit(struct rtnl_qdisc *qdisc) in rtnl_netem_get_limit() argument
316 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_limit()
338 void rtnl_netem_set_gap(struct rtnl_qdisc *qdisc, int gap) in rtnl_netem_set_gap() argument
342 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_gap()
354 int rtnl_netem_get_gap(struct rtnl_qdisc *qdisc) in rtnl_netem_get_gap() argument
358 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_gap()
373 void rtnl_netem_set_reorder_probability(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_reorder_probability() argument
377 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_reorder_probability()
389 int rtnl_netem_get_reorder_probability(struct rtnl_qdisc *qdisc) in rtnl_netem_get_reorder_probability() argument
393 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_reorder_probability()
408 void rtnl_netem_set_reorder_correlation(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_reorder_correlation() argument
412 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_reorder_correlation()
424 int rtnl_netem_get_reorder_correlation(struct rtnl_qdisc *qdisc) in rtnl_netem_get_reorder_correlation() argument
428 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_reorder_correlation()
450 void rtnl_netem_set_corruption_probability(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_corruption_probability() argument
454 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_corruption_probability()
466 int rtnl_netem_get_corruption_probability(struct rtnl_qdisc *qdisc) in rtnl_netem_get_corruption_probability() argument
470 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_corruption_probability()
485 void rtnl_netem_set_corruption_correlation(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_corruption_correlation() argument
489 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_corruption_correlation()
501 int rtnl_netem_get_corruption_correlation(struct rtnl_qdisc *qdisc) in rtnl_netem_get_corruption_correlation() argument
505 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_corruption_correlation()
527 void rtnl_netem_set_loss(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_loss() argument
531 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_loss()
543 int rtnl_netem_get_loss(struct rtnl_qdisc *qdisc) in rtnl_netem_get_loss() argument
547 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_loss()
562 void rtnl_netem_set_loss_correlation(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_loss_correlation() argument
566 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_loss_correlation()
578 int rtnl_netem_get_loss_correlation(struct rtnl_qdisc *qdisc) in rtnl_netem_get_loss_correlation() argument
582 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_loss_correlation()
604 void rtnl_netem_set_duplicate(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_duplicate() argument
608 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_duplicate()
620 int rtnl_netem_get_duplicate(struct rtnl_qdisc *qdisc) in rtnl_netem_get_duplicate() argument
624 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_duplicate()
639 void rtnl_netem_set_duplicate_correlation(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_duplicate_correlation() argument
643 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_duplicate_correlation()
655 int rtnl_netem_get_duplicate_correlation(struct rtnl_qdisc *qdisc) in rtnl_netem_get_duplicate_correlation() argument
659 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_duplicate_correlation()
681 void rtnl_netem_set_delay(struct rtnl_qdisc *qdisc, int delay) in rtnl_netem_set_delay() argument
685 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_delay()
697 int rtnl_netem_get_delay(struct rtnl_qdisc *qdisc) in rtnl_netem_get_delay() argument
701 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_delay()
716 void rtnl_netem_set_jitter(struct rtnl_qdisc *qdisc, int jitter) in rtnl_netem_set_jitter() argument
720 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_jitter()
732 int rtnl_netem_get_jitter(struct rtnl_qdisc *qdisc) in rtnl_netem_get_jitter() argument
736 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_jitter()
750 void rtnl_netem_set_delay_correlation(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_delay_correlation() argument
754 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_delay_correlation()
766 int rtnl_netem_get_delay_correlation(struct rtnl_qdisc *qdisc) in rtnl_netem_get_delay_correlation() argument
770 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_delay_correlation()
784 int rtnl_netem_get_delay_distribution_size(struct rtnl_qdisc *qdisc) in rtnl_netem_get_delay_distribution_size() argument
788 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_delay_distribution_size()
803 int rtnl_netem_get_delay_distribution(struct rtnl_qdisc *qdisc, int16_t **dist_ptr) in rtnl_netem_get_delay_distribution() argument
807 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_delay_distribution()
823 int rtnl_netem_set_delay_distribution(struct rtnl_qdisc *qdisc, const char *dist_type) { in rtnl_netem_set_delay_distribution() argument
826 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_delay_distribution()