channelstate
struct channelstate *s = ms->chnstate + chan;
struct channelstate;
struct channelstate *chnstate;