Lines Matching refs:ret

3989 	int ret;  in sctp_lowlevel_chunk_output()  local
4228 SCTP_IP_OUTPUT(ret, o_pak, ro, inp, vrf_id); in sctp_lowlevel_chunk_output()
4234 if (ret) in sctp_lowlevel_chunk_output()
4237 SCTPDBG(SCTP_DEBUG_OUTPUT3, "IP output returns %d\n", ret); in sctp_lowlevel_chunk_output()
4268 return (ret); in sctp_lowlevel_chunk_output()
4552 SCTP_IP6_OUTPUT(ret, o_pak, (struct route_in6 *)ro, &ifp, inp, vrf_id); in sctp_lowlevel_chunk_output()
4558 SCTPDBG(SCTP_DEBUG_OUTPUT3, "return from send is %d\n", ret); in sctp_lowlevel_chunk_output()
4564 if (ret) { in sctp_lowlevel_chunk_output()
4607 return (ret); in sctp_lowlevel_chunk_output()
6666 int ret = 0; in sctp_sendall_iterator() local
6741 ret = sctp_msg_append(stcb, net, m, &ca->sndrcv); in sctp_sendall_iterator()
6835 if (ret) { in sctp_sendall_iterator()
6871 struct mbuf *ret, *at; in sctp_copy_out_all() local
6874 ret = sctp_get_mbuf_for_msg(MCLBYTES, 0, M_WAITOK, 1, MT_DATA); in sctp_copy_out_all()
6875 if (ret == NULL) { in sctp_copy_out_all()
6880 SCTP_BUF_LEN(ret) = 0; in sctp_copy_out_all()
6882 cancpy = (int)M_TRAILINGSPACE(ret); in sctp_copy_out_all()
6884 at = ret; in sctp_copy_out_all()
6907 return (ret); in sctp_copy_out_all()
6917 int ret; in sctp_sendall() local
6974 ret = sctp_initiate_iterator(NULL, sctp_sendall_iterator, NULL, in sctp_sendall()
6979 if (ret != 0) { in sctp_sendall()
10046 int error = 0, num_out, tot_out = 0, ret = 0, reason_code; in sctp_chunk_output() local
10107ret = sctp_chunk_retransmission(inp, stcb, asoc, &num_out, &now, &now_filled, &fr_done, so_locked); in sctp_chunk_output()
10116 ret = 1; in sctp_chunk_output()
10118 if (ret > 0) { in sctp_chunk_output()
10134 if (ret < 0) { in sctp_chunk_output()
10142 if (ret == SCTP_RETRAN_EXIT) { in sctp_chunk_output()
10161 if ((num_out == 0) && (ret == 0)) { in sctp_chunk_output()
11119 int ret, len, cause_len, padding_len; in sctp_send_resp_msg() local
11315 SCTP_IP_OUTPUT(ret, o_pak, NULL, NULL, vrf_id); in sctp_send_resp_msg()
11338 SCTP_IP6_OUTPUT(ret, o_pak, NULL, NULL, NULL, vrf_id); in sctp_send_resp_msg()
11348 SCTPDBG(SCTP_DEBUG_OUTPUT3, "return from send is %d\n", ret); in sctp_send_resp_msg()
11355 if (ret) { in sctp_send_resp_msg()
12239 int ret; in sctp_send_str_reset_req() local
12241ret = sctp_add_stream_reset_out(stcb, chk, seq, (stcb->asoc.str_reset_seq_in - 1), (stcb->asoc.sen… in sctp_send_str_reset_req()
12242 if (ret) { in sctp_send_str_reset_req()