Lines Matching refs:result
511 __u32 result) in sctp_update_strreset_result() argument
514 asoc->strreset_result[0] = result; in sctp_update_strreset_result()
524 __u32 result = SCTP_STRRESET_DENIED; in sctp_process_strreset_outreq() local
533 result = SCTP_STRRESET_IN_PROGRESS; in sctp_process_strreset_outreq()
539 result = SCTP_STRRESET_ERR_BAD_SEQNO; in sctp_process_strreset_outreq()
543 result = asoc->strreset_result[i]; in sctp_process_strreset_outreq()
559 result = SCTP_STRRESET_ERR_WRONG_SSN; in sctp_process_strreset_outreq()
569 result = SCTP_STRRESET_ERR_IN_PROGRESS; in sctp_process_strreset_outreq()
595 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_outreq()
601 sctp_update_strreset_result(asoc, result); in sctp_process_strreset_outreq()
603 return sctp_make_strreset_resp(asoc, result, request_seq); in sctp_process_strreset_outreq()
613 __u32 result = SCTP_STRRESET_DENIED; in sctp_process_strreset_inreq() local
622 result = SCTP_STRRESET_ERR_BAD_SEQNO; in sctp_process_strreset_inreq()
626 result = asoc->strreset_result[i]; in sctp_process_strreset_inreq()
627 if (result == SCTP_STRRESET_PERFORMED) in sctp_process_strreset_inreq()
637 result = SCTP_STRRESET_ERR_IN_PROGRESS; in sctp_process_strreset_inreq()
645 result = SCTP_STRRESET_ERR_WRONG_SSN; in sctp_process_strreset_inreq()
651 result = SCTP_STRRESET_IN_PROGRESS; in sctp_process_strreset_inreq()
672 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_inreq()
675 sctp_update_strreset_result(asoc, result); in sctp_process_strreset_inreq()
678 chunk = sctp_make_strreset_resp(asoc, result, request_seq); in sctp_process_strreset_inreq()
691 __u32 result = SCTP_STRRESET_DENIED; in sctp_process_strreset_tsnreq() local
698 result = SCTP_STRRESET_ERR_BAD_SEQNO; in sctp_process_strreset_tsnreq()
702 result = asoc->strreset_result[i]; in sctp_process_strreset_tsnreq()
703 if (result == SCTP_STRRESET_PERFORMED) { in sctp_process_strreset_tsnreq()
712 result = SCTP_STRRESET_IN_PROGRESS; in sctp_process_strreset_tsnreq()
722 result = SCTP_STRRESET_ERR_IN_PROGRESS; in sctp_process_strreset_tsnreq()
768 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_tsnreq()
774 sctp_update_strreset_result(asoc, result); in sctp_process_strreset_tsnreq()
776 return sctp_make_strreset_tsnresp(asoc, result, request_seq, in sctp_process_strreset_tsnreq()
787 __u32 result = SCTP_STRRESET_DENIED; in sctp_process_strreset_addstrm_out() local
794 result = SCTP_STRRESET_ERR_BAD_SEQNO; in sctp_process_strreset_addstrm_out()
798 result = asoc->strreset_result[i]; in sctp_process_strreset_addstrm_out()
818 result = SCTP_STRRESET_ERR_IN_PROGRESS; in sctp_process_strreset_addstrm_out()
839 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_addstrm_out()
845 sctp_update_strreset_result(asoc, result); in sctp_process_strreset_addstrm_out()
847 return sctp_make_strreset_resp(asoc, result, request_seq); in sctp_process_strreset_addstrm_out()
857 __u32 result = SCTP_STRRESET_DENIED; in sctp_process_strreset_addstrm_in() local
866 result = SCTP_STRRESET_ERR_BAD_SEQNO; in sctp_process_strreset_addstrm_in()
870 result = asoc->strreset_result[i]; in sctp_process_strreset_addstrm_in()
871 if (result == SCTP_STRRESET_PERFORMED) in sctp_process_strreset_addstrm_in()
881 result = SCTP_STRRESET_ERR_IN_PROGRESS; in sctp_process_strreset_addstrm_in()
904 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_addstrm_in()
907 sctp_update_strreset_result(asoc, result); in sctp_process_strreset_addstrm_in()
910 chunk = sctp_make_strreset_resp(asoc, result, request_seq); in sctp_process_strreset_addstrm_in()
925 __u32 result; in sctp_process_strreset_resp() local
931 result = ntohl(resp->result); in sctp_process_strreset_resp()
932 if (result != SCTP_STRRESET_PERFORMED) { in sctp_process_strreset_resp()
934 if (result == SCTP_STRRESET_IN_PROGRESS) in sctp_process_strreset_resp()
936 else if (result == SCTP_STRRESET_DENIED) in sctp_process_strreset_resp()
951 if (result == SCTP_STRRESET_PERFORMED) { in sctp_process_strreset_resp()
980 if (result == SCTP_STRRESET_PERFORMED) in sctp_process_strreset_resp()
1004 if (result == SCTP_STRRESET_PERFORMED) { in sctp_process_strreset_resp()
1048 if (result == SCTP_STRRESET_PERFORMED) { in sctp_process_strreset_resp()
1064 if (result == SCTP_STRRESET_PERFORMED) in sctp_process_strreset_resp()