if (pri >= RM_MAXPRIO)
return (NULL);
#ifndef ALTQ_RED
if (flags & RMCF_RED) {
#ifdef ALTQ_DEBUG
printf("rmc_newclass: RED not configured for CBQ!\n");
#endif
}
#ifndef ALTQ_RIO
if (flags & RMCF_RIO) {
printf("rmc_newclass: RIO not configured for CBQ!\n");
#ifndef ALTQ_CODEL
if (flags & RMCF_CODEL) {
printf("rmc_newclass: CODEL not configured for CBQ!\n");
cl = malloc(sizeof(struct rm_class), M_DEVBUF, M_NOWAIT | M_ZERO);
if (cl == NULL)