Home
last modified time | relevance | path

Searched refs:max_th (Results 1 – 6 of 6) sorted by relevance

/freebsd-11-stable/sys/netpfil/ipfw/
HDip_dn_glue.c115 int max_th ; /* maximum threshold for queue (scaled) */ member
429 fs->max_th = f->max_th; in dn_compat_config_queue()
651 fs->max_th = f->max_th; in dn_c_copy_pipe()
705 fs->max_th = f->max_th; in dn_c_copy_fs()
HDip_dn_private.h228 int max_th ; /* maximum threshold for queue (scaled) */ member
HDip_dummynet.c1210 fs->max_th = SCALE(fs->fs.max_th); in config_red()
1212 if (fs->fs.max_th == fs->fs.min_th) in config_red()
1215 fs->c_1 = SCALE((int64_t)(fs->max_p)) / (fs->fs.max_th - fs->fs.min_th); in config_red()
1219 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th; in config_red()
HDip_dn_io.c373 if (q->avg >= fs->max_th) { /* average queue >= max threshold */ in red_drops()
/freebsd-11-stable/sbin/ipfw/
HDdummynet.c497 fs->max_th, in print_flowset_parms()
1614 fs->max_th = strtoul(end, &end, 0); in ipfw_config_pipe()
1616 fs->max_th *= 1024; in ipfw_config_pipe()
1782 if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th)) in ipfw_config_pipe()
1784 fs->min_th, fs->max_th); in ipfw_config_pipe()
1785 else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th)) in ipfw_config_pipe()
1787 fs->min_th, fs->max_th); in ipfw_config_pipe()
1789 if (fs->max_th == 0) in ipfw_config_pipe()
/freebsd-11-stable/sys/netinet/
HDip_dummynet.h167 int max_th ; /* maximum threshold for queue (scaled) */ member