wtab
static SLIST_HEAD(, wtab) wtab_list = SLIST_HEAD_INITIALIZER(&wtab_list);
struct wtab *
struct wtab *w;
wtab_destroy(struct wtab *w)
SLIST_REMOVE(&wtab_list, w, wtab, w_link);
pow_w(struct wtab *w, int n)
struct wtab *wtab_alloc(int);
int wtab_destroy(struct wtab *);
int32_t pow_w(struct wtab *, int);
SLIST_ENTRY(wtab) w_link;
struct wtab *red_wtab; /* weight table */
struct wtab *rio_wtab; /* weight table */