Lines Matching refs:rtnval
740 int rtnval; in SctpAlias() local
752 …rtnval = sctp_PktParser(la, direction, pip, &msg, &assoc); //using *char (change to mbuf when get … in SctpAlias()
753 switch (rtnval) { in SctpAlias()
759 rtnval = SN_PARSE_OK; in SctpAlias()
763 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
768 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
780 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
790 rtnval = ProcessSctpMsg(la, direction, &msg, assoc); in SctpAlias()
799 switch (rtnval) { in SctpAlias()
813 rtnval = SN_DROP_PKT; /* shouldn't get here, but if it does drop packet */ in SctpAlias()
814 …SN_LOG(SN_LOG_LOW, logsctperror("ERROR: Invalid direction", msg.sctp_hdr->v_tag, rtnval, direction… in SctpAlias()
819 SN_LOG(SN_LOG_DETAIL, logsctperror("SN_DROP_PKT", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
824 TxAbortErrorM(la, &msg, assoc, rtnval, direction); in SctpAlias()
828 SN_LOG(SN_LOG_LOW, logsctperror("SN_PROCESSING_ERROR", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
843 switch (rtnval) { in SctpAlias()
1733 int rtnval; in ProcessSctpMsg() local
1737 rtnval = ID_process(la, direction, assoc, sm); in ProcessSctpMsg()
1738 if (rtnval != SN_NAT_PKT) { in ProcessSctpMsg()
1741 return (rtnval); in ProcessSctpMsg()