Home
last modified time | relevance | path

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

/f-stack/freebsd/netpfil/ipfw/
H A Dip_dn_glue.c116 int w_q ; /* queue weight (scaled) */ member
428 fs->w_q = f->w_q; in dn_compat_config_queue()
650 fs->w_q = f->fs.w_q; in dn_c_copy_pipe()
703 fs->w_q = f->fs.w_q; in dn_c_copy_fs()
H A Dip_dn_private.h229 int w_q ; /* queue weight (scaled) */ member
H A Dip_dummynet.c1191 fs->w_q = fs->fs.w_q; in config_red()
1199 idle = div64((s * 3) , fs->w_q); /* s, fs->w_q scaled; idle not scaled */ in config_red()
1204 w0 = weight = SCALE(1) - fs->w_q; //fs->w_q scaled in config_red()
1248 fs->w_q_lookup[0] = SCALE(1) - fs->w_q; in config_red()
H A Dip_dn_io.c356 int64_t v = SCALE_MUL((int64_t)diff, (int64_t)fs->w_q); in red_drops()
/f-stack/tools/ipfw/
H A Ddummynet.c495 1.0 * fs->w_q / (double)(1 << SCALE_RED), in print_flowset_parms()
1603 double w_q = strtod(end, NULL); in ipfw_config_pipe() local
1604 if (w_q > 1 || w_q <= 0) in ipfw_config_pipe()
1606 fs->w_q = (int) (w_q * (1 << SCALE_RED)); in ipfw_config_pipe()
1829 w_q = ((double)fs->w_q) / (1 << SCALE_RED); in ipfw_config_pipe()
1830 idle = s * 3. / w_q; in ipfw_config_pipe()
1834 weight = 1 - w_q; in ipfw_config_pipe()
1836 weight *= 1 - w_q; in ipfw_config_pipe()
/f-stack/freebsd/netinet/
H A Dip_dummynet.h168 int w_q ; /* queue weight (scaled) */ member