Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/netpfil/ipfw/
HDip_dn_glue.c117 int max_p ; /* maximum value for p_b (scaled) */ member
431 fs->max_p = f->max_p; in dn_compat_config_queue()
653 fs->max_p = f->fs.max_p; in dn_c_copy_pipe()
707 fs->max_p = f->fs.max_p; in dn_c_copy_fs()
HDip_dn_private.h230 int max_p ; /* maximum value for p_b (scaled) */ member
HDip_dummynet.c1190 fs->max_p = fs->fs.max_p; in config_red()
1213 fs->c_1 = fs->max_p; 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()
1220 fs->c_4 = SCALE(1) - 2 * fs->max_p; in config_red()
/freebsd-11-stable/sys/netinet/
HDip_dummynet.h169 int max_p ; /* maximum value for p_b (scaled) */ member
/freebsd-11-stable/sbin/ipfw/
HDdummynet.c498 1.0 * fs->max_p / (double)(1 << SCALE_RED)); in print_flowset_parms()
1619 double max_p = strtod(end, NULL); in ipfw_config_pipe() local
1620 if (max_p > 1 || max_p < 0) in ipfw_config_pipe()
1622 fs->max_p = (int)(max_p * (1 << SCALE_RED)); in ipfw_config_pipe()