Home
last modified time | relevance | path

Searched refs:w_q_lookup (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/netpfil/ipfw/
H A Dip_dummynet.c746 if (fs->w_q_lookup) in fsk_detach()
747 free(fs->w_q_lookup, M_DUMMYNET); in fsk_detach()
748 fs->w_q_lookup = NULL; in fsk_detach()
1226 if (fs->w_q_lookup) { in config_red()
1227 free(fs->w_q_lookup, M_DUMMYNET); in config_red()
1228 fs->w_q_lookup = NULL; in config_red()
1238 fs->w_q_lookup = (u_int *)malloc(fs->lookup_depth * sizeof(int), in config_red()
1240 if (fs->w_q_lookup == NULL) { in config_red()
1248 fs->w_q_lookup[0] = SCALE(1) - fs->w_q; in config_red()
1251 fs->w_q_lookup[i] = in config_red()
[all …]
H A Dip_dn_private.h238 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ member
H A Dip_dn_glue.c124 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ member
H A Dip_dn_io.c371 SCALE_MUL(q->avg, fs->w_q_lookup[t]) : 0; in red_drops()