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