Home
last modified time | relevance | path

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

/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_dn_glue.c117 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()
704 fs->max_th = f->max_th; in dn_c_copy_fs()
H A Dip_dn_private.h224 int max_th ; /* maximum threshold for queue (scaled) */ member
H A Dip_dummynet.c1224 fs->max_th = SCALE(fs->fs.max_th); in config_red()
1226 if (fs->fs.max_th == fs->fs.min_th) in config_red()
1229 fs->c_1 = SCALE((int64_t)(fs->max_p)) / (fs->fs.max_th - fs->fs.min_th); in config_red()
1233 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th; in config_red()
H A Dip_dn_io.c363 if (q->avg >= fs->max_th) { /* average queue >= max threshold */ in red_drops()
/freebsd-13.1/sbin/ipfw/
H A Ddummynet.c498 fs->max_th, in print_flowset_parms()
1615 fs->max_th = strtoul(end, &end, 0); in ipfw_config_pipe()
1617 fs->max_th *= 1024; in ipfw_config_pipe()
1783 if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th)) in ipfw_config_pipe()
1785 fs->min_th, fs->max_th); in ipfw_config_pipe()
1786 else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th)) in ipfw_config_pipe()
1788 fs->min_th, fs->max_th); in ipfw_config_pipe()
1790 if (fs->max_th == 0) in ipfw_config_pipe()
/freebsd-13.1/sys/netinet/
H A Dip_dummynet.h169 int max_th ; /* maximum threshold for queue (scaled) */ member