wtab_alloc
rp->red_wtab = wtab_alloc(rp->red_weight);
extern struct wtab *wtab_alloc(int);
rp->rio_wtab = wtab_alloc(rp->rio_weight);