SN_SCTP_INIT
sm->msg = SN_SCTP_INIT;
case SN_SCTP_INIT:
if ((assoc->state == SN_ID) && ((sm->msg == SN_SCTP_INIT) || (bytes_left < SN_MIN_PARAM_SIZE))) {/* add pkt address */
case SN_SCTP_INIT: /* a packet containing an INIT chunk or an ASCONF AddIP */
if (sm->msg == SN_SCTP_INIT)
return ((sm->msg == SN_SCTP_INIT) ? SN_REPLY_ABORT : SN_REPLY_ERROR);
if (sm->msg == SN_SCTP_INIT)
return ((sm->msg == SN_SCTP_INIT) ? SN_REPLY_ABORT : SN_REPLY_ERROR);
assoc->state = (sm->msg == SN_SCTP_INIT) ? SN_INi : SN_INa;
case SN_SCTP_INIT: /* a packet containing a retransmitted INIT chunk */
case SN_SCTP_INIT: