Lines Matching defs:rtnval
712 int rtnval;
724 rtnval = sctp_PktParser(la, direction, pip, &msg, &assoc); //using *char (change to mbuf when get code from paolo)
725 switch (rtnval) {
731 rtnval = SN_PARSE_OK;
735 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction));
740 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction));
752 logsctperror("SN_PARSE_ERROR", msg.sctp_hdr->v_tag, rtnval, direction));
762 rtnval = ProcessSctpMsg(la, direction, &msg, assoc);
771 switch(rtnval){
785 rtnval = SN_DROP_PKT; /* shouldn't get here, but if it does drop packet */
786 SN_LOG(SN_LOG_LOW, logsctperror("ERROR: Invalid direction", msg.sctp_hdr->v_tag, rtnval, direction));
791 SN_LOG(SN_LOG_DETAIL, logsctperror("SN_DROP_PKT", msg.sctp_hdr->v_tag, rtnval, direction));
796 TxAbortErrorM(la, &msg, assoc, rtnval, direction);
800 SN_LOG(SN_LOG_LOW, logsctperror("SN_PROCESSING_ERROR", msg.sctp_hdr->v_tag, rtnval, direction));
815 switch(rtnval) {
1697 int rtnval;
1701 rtnval = ID_process(la, direction, assoc, sm);
1702 if (rtnval != SN_NAT_PKT) {
1705 return(rtnval);