Searched refs:w_q_lookup (Results 1 – 4 of 4) sorted by relevance
770 free(fs->w_q_lookup, M_DUMMYNET); in fsk_detach()771 fs->w_q_lookup = NULL; in fsk_detach()1248 free(fs->w_q_lookup, M_DUMMYNET); in config_red()1249 fs->w_q_lookup = NULL; in config_red()1258 fs->w_q_lookup = (u_int *)malloc(fs->lookup_depth * sizeof(int), in config_red()1260 if (fs->w_q_lookup == NULL) { in config_red()1268 fs->w_q_lookup[0] = SCALE(1) - fs->w_q; in config_red()1271 fs->w_q_lookup[i] = in config_red()1272 SCALE_MUL(fs->w_q_lookup[i - 1], fs->lookup_weight); in config_red()
230 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ member
123 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ member
353 SCALE_MUL(q->avg, fs->w_q_lookup[t]) : 0; in red_drops()