Lines Matching refs:rtnval
739 int rtnval; in SctpAlias() local
751 …rtnval = sctp_PktParser(la, direction, pip, &msg, &assoc); //using *char (change to mbuf when get … in SctpAlias()
752 switch (rtnval) { in SctpAlias()
761 rtnval = SN_PARSE_OK; in SctpAlias()
765 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
770 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
782 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
792 rtnval = ProcessSctpMsg(la, direction, &msg, assoc); in SctpAlias()
801 switch (rtnval) { in SctpAlias()
815 rtnval = SN_DROP_PKT; /* shouldn't get here, but if it does drop packet */ in SctpAlias()
816 …SN_LOG(SN_LOG_LOW, logsctperror("ERROR: Invalid direction", msg.sctp_hdr->v_tag, rtnval, direction… in SctpAlias()
821 SN_LOG(SN_LOG_DETAIL, logsctperror("SN_DROP_PKT", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
826 TxAbortErrorM(la, &msg, assoc, rtnval, direction); in SctpAlias()
830 SN_LOG(SN_LOG_LOW, logsctperror("SN_PROCESSING_ERROR", msg.sctp_hdr->v_tag, rtnval, direction)); in SctpAlias()
845 switch (rtnval) { in SctpAlias()
1729 int rtnval; in ProcessSctpMsg() local
1733 rtnval = ID_process(la, direction, assoc, sm); in ProcessSctpMsg()
1734 if (rtnval != SN_NAT_PKT) { in ProcessSctpMsg()
1737 return (rtnval); in ProcessSctpMsg()