Searched refs:BOUND_VAR (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/netpfil/ipfw/ |
H A D | dn_aqm_pie.c | 749 pcfg->qdelay_ref = BOUND_VAR(pcfg->qdelay_ref, 1, 10 * AQM_TIME_1S); in aqm_pie_config() 750 pcfg->tupdate = BOUND_VAR(pcfg->tupdate, 1, 10 * AQM_TIME_1S); in aqm_pie_config() 751 pcfg->max_burst = BOUND_VAR(pcfg->max_burst, 0, 10 * AQM_TIME_1S); in aqm_pie_config() 752 pcfg->max_ecnth = BOUND_VAR(pcfg->max_ecnth, 0, PIE_SCALE); in aqm_pie_config() 753 pcfg->alpha = BOUND_VAR(pcfg->alpha, 0, 7 * PIE_SCALE); in aqm_pie_config() 754 pcfg->beta = BOUND_VAR(pcfg->beta, 0 , 7 * PIE_SCALE); in aqm_pie_config()
|
H A D | dn_sched_fq_codel.c | 549 fqc_cfg->ccfg.target = BOUND_VAR(fqc_cfg->ccfg.target, 1 , in fq_codel_config() 551 fqc_cfg->ccfg.interval = BOUND_VAR(fqc_cfg->ccfg.interval, 1, in fq_codel_config() 554 fqc_cfg->quantum = BOUND_VAR(fqc_cfg->quantum,1, 9000); in fq_codel_config() 555 fqc_cfg->limit= BOUND_VAR(fqc_cfg->limit,1,20480); in fq_codel_config() 556 fqc_cfg->flows_cnt= BOUND_VAR(fqc_cfg->flows_cnt,1,65536); in fq_codel_config()
|
H A D | dn_sched_fq_pie.c | 1159 fqp_cfg->pcfg.qdelay_ref = BOUND_VAR(fqp_cfg->pcfg.qdelay_ref, in fq_pie_config() 1161 fqp_cfg->pcfg.tupdate = BOUND_VAR(fqp_cfg->pcfg.tupdate, in fq_pie_config() 1163 fqp_cfg->pcfg.max_burst = BOUND_VAR(fqp_cfg->pcfg.max_burst, in fq_pie_config() 1165 fqp_cfg->pcfg.max_ecnth = BOUND_VAR(fqp_cfg->pcfg.max_ecnth, in fq_pie_config() 1167 fqp_cfg->pcfg.alpha = BOUND_VAR(fqp_cfg->pcfg.alpha, 0, 7 * PIE_SCALE); in fq_pie_config() 1168 fqp_cfg->pcfg.beta = BOUND_VAR(fqp_cfg->pcfg.beta, 0, 7 * PIE_SCALE); in fq_pie_config() 1170 fqp_cfg->quantum = BOUND_VAR(fqp_cfg->quantum,1,9000); in fq_pie_config() 1171 fqp_cfg->limit= BOUND_VAR(fqp_cfg->limit,1,20480); in fq_pie_config() 1172 fqp_cfg->flows_cnt= BOUND_VAR(fqp_cfg->flows_cnt,1,65536); in fq_pie_config()
|
H A D | dn_aqm.h | 54 #define BOUND_VAR(x,l,h) ((x) > (h)? (h) : ((x) > (l)? (x) : (l))) macro
|
H A D | dn_aqm_codel.c | 388 ccfg->target = BOUND_VAR(ccfg->target,1, 5 * AQM_TIME_1S); in aqm_codel_config() 389 ccfg->interval = BOUND_VAR(ccfg->interval,1, 5 * AQM_TIME_1S); in aqm_codel_config()
|