SCTP_STATE_MASK
#define SCTP_GET_STATE(asoc) ((asoc)->state & SCTP_STATE_MASK)
switch (*state & SCTP_STATE_MASK) {