Lines Matching refs:error
144 int error = 0;
222 return error;
224 error = -ENOMEM;
225 return error;
238 int error;
253 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
259 if (error)
260 sk->sk_err = -error;
275 int error = 0;
295 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
300 if (error)
301 sk->sk_err = -error;
369 int error = 0;
391 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
396 if (error)
397 sk->sk_err = -error;
449 int error = 0;
465 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
470 if (error)
471 sk->sk_err = -error;
485 int error = 0;
497 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
502 if (error)
503 sk->sk_err = -error;
538 * error counter for each of the destination transport addresses of the
543 * the error counter of that destination address will be incremented.
544 * When the value in the error counter exceeds the protocol parameter
555 /* The check for association's overall error counter exceeding the
559 * not a HEARTBEAT, then normal error tracking is done.
560 * If the timer was a heartbeat, we only increment error counts
563 * Additionally, some tranport states inhibit error increments.
576 /* If the transport error count is greater than the pf_retrans
627 unsigned int error)
632 (__u16)error, 0, 0, NULL,
643 asoc->outqueue.error = error;
653 unsigned int error)
663 (__u16)error, 0, 0, chunk,
667 (__u16)error, 0, 0, NULL,
684 asoc->outqueue.error = error;
699 int error;
704 * just return the error and stop processing the stack.
707 error = -ENOMEM;
709 error = 0;
711 return error;
766 * HEARTBEAT should clear the error counter of the destination
772 * Although RFC4960 specifies that the overall error count must
1033 static void sctp_cmd_set_sk_err(struct sctp_association *asoc, int error)
1038 sk->sk_err = error;
1133 pr_debug("%s[post-sfx]: error:%d, asoc:%p[%s]\n", __func__, error, \
1156 int error = 0;
1169 error = sctp_side_effects(event_type, subtype, state,
1174 return error;
1190 int error;
1198 if (0 != (error = sctp_cmd_interpreter(event_type, subtype, state,
1218 error = -ENOMEM;
1253 error = status;
1254 if (error >= 0)
1255 error = -EINVAL;
1261 return error;
1288 int error = 0;
1341 error = sctp_tsnmap_mark(&asoc->peer.tsn_map,
1361 error = sctp_gen_sack(asoc, force, commands);
1366 error = sctp_cmd_process_sack(commands, asoc,
1375 error = -ENOMEM;
1386 * there is an error just return to the outter
1389 error = sctp_cmd_process_init(commands, asoc, chunk,
1399 error = -ENOMEM;
1425 * init error counter simply causes this command
1441 * Reset error counts.
1448 error = -ENOMEM;
1688 error = cmd->obj.error;
1754 sctp_cmd_set_sk_err(asoc, cmd->obj.error);
1768 error = sctp_auth_asoc_init_active_key(asoc,
1799 if (error) {
1823 return error;