red_
red_getstats(cl->red_, &statsp->red[0]);
rio_getstats((rio_t *)cl->red_, &statsp->red[0]);
return rio_addq((rio_t *)cl->red_, cl->q_, m, cl->pktattr_);
return red_addq(cl->red_, cl->q_, m, cl->pktattr_);
return rio_getq((rio_t *)cl->red_, cl->q_);
return red_getq(cl->red_, cl->q_);
cl->red_ = red_alloc(0, 0,
if (cl->red_ != NULL)
cl->red_ = (red_t *)rio_alloc(0, NULL,
if (cl->red_ != NULL)
if (cl->red_ != NULL) {
rio_destroy((rio_t *)cl->red_);
red_destroy(cl->red_);
struct red *red_; /* RED state pointer */
#define red_ cl_aqm_.red_