Home
last modified time | relevance | path

Searched refs:AQM_TIME_1US (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netpfil/ipfw/
H A Ddn_aqm_codel.c75 struct dn_aqm_codel_parms codel_sysctl = {5000 * AQM_TIME_1US,
76 100000 * AQM_TIME_1US, 0};
85 value /= AQM_TIME_1US; in codel_sysctl_interval_handler()
91 codel_sysctl.interval = value * AQM_TIME_1US ; in codel_sysctl_interval_handler()
102 value /= AQM_TIME_1US; in codel_sysctl_target_handler()
109 codel_sysctl.target = value * AQM_TIME_1US ; in codel_sysctl_target_handler()
375 ccfg->target = ep->par[0] * AQM_TIME_1US; in aqm_codel_config()
380 ccfg->interval = ep->par[1] * AQM_TIME_1US; in aqm_codel_config()
425 ep->par[0] = ccfg->target / AQM_TIME_1US; in aqm_codel_getconfig()
426 ep->par[1] = ccfg->interval / AQM_TIME_1US; in aqm_codel_getconfig()
H A Ddn_sched_fq_codel.c85 fq_codel_sysctl = {{5000 * AQM_TIME_1US, 100000 * AQM_TIME_1US,
95 value /= AQM_TIME_1US; in fqcodel_sysctl_interval_handler()
101 fq_codel_sysctl.ccfg.interval = value * AQM_TIME_1US ; in fqcodel_sysctl_interval_handler()
113 value /= AQM_TIME_1US; in fqcodel_sysctl_target_handler()
119 fq_codel_sysctl.ccfg.target = value * AQM_TIME_1US ; in fqcodel_sysctl_target_handler()
520 fqc_cfg->ccfg.target = ep->par[0] * AQM_TIME_1US; in fq_codel_config()
525 fqc_cfg->ccfg.interval = ep->par[1] * AQM_TIME_1US; in fq_codel_config()
576 ep->par[0] = fqc_cfg->ccfg.target / AQM_TIME_1US; in fq_codel_getconfig()
577 ep->par[1] = fqc_cfg->ccfg.interval / AQM_TIME_1US; in fq_codel_getconfig()
H A Ddn_aqm_pie.c123 value = value / AQM_TIME_1US; in pie_sysctl_target_tupdate_maxb_handler()
129 value = value * AQM_TIME_1US; in pie_sysctl_target_tupdate_maxb_handler()
720 pcfg->qdelay_ref = pie_sysctl.qdelay_ref * AQM_TIME_1US; in aqm_pie_config()
724 pcfg->tupdate = pie_sysctl.tupdate * AQM_TIME_1US; in aqm_pie_config()
728 pcfg->max_burst = pie_sysctl.max_burst * AQM_TIME_1US; in aqm_pie_config()
785 ep->par[0] = pcfg->qdelay_ref / AQM_TIME_1US; in aqm_pie_getconfig()
786 ep->par[1] = pcfg->tupdate / AQM_TIME_1US; in aqm_pie_getconfig()
787 ep->par[2] = pcfg->max_burst / AQM_TIME_1US; in aqm_pie_getconfig()
H A Ddn_aqm.h43 #define AQM_TIME_1US ((aqm_time_t)(1)) macro
H A Ddn_sched_fq_pie.c152 fq_pie_sysctl = {{15000 * AQM_TIME_1US, 15000 * AQM_TIME_1US,
153 150000 * AQM_TIME_1US, PIE_SCALE * 0.1, PIE_SCALE * 0.125,
195 value = value / AQM_TIME_1US; in fqpie_sysctl_target_tupdate_maxb_handler()
201 value = value * AQM_TIME_1US; in fqpie_sysctl_target_tupdate_maxb_handler()