Lines Matching defs:error

396 sctp_log_maxburst(struct sctp_tcb *stcb, struct sctp_nets *net, int error, int burst, uint8_t from)
403 sctp_clog.x.cwnd.cwnd_new_value = error;
2288 * Really an error since stcb is NOT set to
2303 SCTPDBG(SCTP_DEBUG_TIMER1, "%s: %d:software error to_ticks:%d tmr:%p not set ??\n",
2756 uint16_t error, struct sctp_abort_chunk *abort, uint8_t from_peer, int so_locked
2810 sac->sac_error = error;
2858 * For 1-to-1 style sockets, we send up and error when an ABORT
2916 struct sockaddr *sa, uint32_t error, int so_locked
2980 spc->spc_error = error;
3008 sctp_notify_send_failed(struct sctp_tcb *stcb, uint8_t sent, uint32_t error,
3073 ssfe->ssfe_error = error;
3091 ssf->ssf_error = error;
3144 sctp_notify_send_failed2(struct sctp_tcb *stcb, uint32_t error,
3180 ssfe->ssfe_error = error;
3198 ssf->ssf_error = error;
3294 sctp_notify_partial_delivery_indication(struct sctp_tcb *stcb, uint32_t error,
3325 pdapi->pdapi_indication = error;
3394 * For TCP model AND UDP connected sockets we will send an error up
3682 sctp_notify_remote_error(struct sctp_tcb *stcb, uint16_t error, struct sctp_error_chunk *chunk)
3722 sre->sre_error = error;
3749 uint32_t error, void *data, int so_locked
3777 sctp_notify_assoc_change(SCTP_COMM_UP, stcb, error, NULL, 0, so_locked);
3789 sctp_notify_assoc_change(SCTP_SHUTDOWN_COMP, stcb, error, NULL, 0, so_locked);
3797 (struct sockaddr *)&net->ro._l_addr, error, so_locked);
3806 (struct sockaddr *)&net->ro._l_addr, error, so_locked);
3815 (struct sockaddr *)&net->ro._l_addr, error, so_locked);
3819 sctp_notify_send_failed2(stcb, error,
3823 sctp_notify_send_failed(stcb, 1, error,
3827 sctp_notify_send_failed(stcb, 0, error,
3836 sctp_notify_partial_delivery_indication(stcb, error, val, so_locked);
3842 sctp_notify_assoc_change(SCTP_CANT_STR_ASSOC, stcb, error, data, 0, so_locked);
3844 sctp_notify_assoc_change(SCTP_COMM_LOST, stcb, error, data, 0, so_locked);
3850 sctp_notify_assoc_change(SCTP_CANT_STR_ASSOC, stcb, error, data, 1, so_locked);
3852 sctp_notify_assoc_change(SCTP_COMM_LOST, stcb, error, data, 1, so_locked);
3856 sctp_notify_assoc_change(SCTP_RESTART, stcb, error, NULL, 0, so_locked);
3863 sctp_notify_stream_reset(stcb, error, ((uint16_t *)data), SCTP_STREAM_RESET_OUTGOING_SSN);
3866 sctp_notify_stream_reset(stcb, error, ((uint16_t *)data), SCTP_STREAM_RESET_INCOMING);
3869 sctp_notify_stream_reset(stcb, error, ((uint16_t *)data),
3873 sctp_notify_stream_reset(stcb, error, ((uint16_t *)data),
3877 sctp_notify_stream_reset(stcb, error, ((uint16_t *)data),
3881 sctp_notify_stream_reset(stcb, error, ((uint16_t *)data),
3886 error, so_locked);
3890 error, so_locked);
3894 error, so_locked);
3900 sctp_notify_authentication(stcb, SCTP_AUTH_NEW_KEY, error,
3905 sctp_notify_authentication(stcb, SCTP_AUTH_FREE_KEY, error,
3910 sctp_notify_authentication(stcb, SCTP_AUTH_NO_AUTH, error,
3918 sctp_notify_remote_error(stcb, error, data);
3928 sctp_report_all_outbound(struct sctp_tcb *stcb, uint16_t error, int so_locked
3970 error, chk, so_locked);
3993 error, chk, so_locked);
4013 error, (void *)sp, so_locked);
4033 sctp_abort_notification(struct sctp_tcb *stcb, uint8_t from_peer, uint16_t error,
4056 sctp_report_all_outbound(stcb, error, so_locked);
4059 sctp_ulp_notify(SCTP_NOTIFY_ASSOC_REM_ABORTED, stcb, error, abort, so_locked);
4061 sctp_ulp_notify(SCTP_NOTIFY_ASSOC_LOC_ABORTED, stcb, error, abort, so_locked);
4495 int error = 0;
4500 error = sblock(&old_so->so_rcv, waitflags);
4501 if (error) {
5280 int error = 0;
5349 error = sblock(&so->so_rcv, (block_allowed ? SBL_WAIT : 0));
5350 if (error) {
5368 error = so->so_error;
5375 error = 0;
5382 error = so->so_error;
5403 error = ECONNRESET;
5409 if (error == 0) {
5412 error = ENOTCONN;
5419 error = sbwait(&so->so_rcv);
5420 if (error) {
5427 error = EWOULDBLOCK;
5799 error = uiomove(mtod(m, char *), (int)cp_len, uio);
5809 if (error) {
5810 /* error we are out of here */
6034 error = sbwait(&so->so_rcv);
6035 if (error) {
6223 return (error);
6302 int error, fromlen;
6340 error = sctp_sorecvmsg(so, uio, mp0, from, fromlen, &flags,
6362 return (error);
6371 int totaddr, int *error)
6387 *error = 0;
6400 *error = EINVAL;
6410 *error = ENOBUFS;
6425 *error = EINVAL;
6435 *error = ENOBUFS;
6526 uint32_t vrf_id, int *error, void *p)
6536 *error = EINVAL;
6548 *error = EINVAL;
6554 *error = EINVAL;
6564 *error = EINVAL;
6577 *error = EINVAL;
6584 *error = EINVAL;
6593 *error = EINVAL;
6596 *error = sctp_inpcb_bind(so, addr_touse, NULL, p);
6613 *error = EINVAL;
6634 *error = sctp_addr_mgmt_ep_sa(inp, addr_touse,
6638 *error = EADDRINUSE;
6640 if (*error)
6656 uint32_t vrf_id, int *error)
6666 *error = EINVAL;
6678 *error = EINVAL;
6684 *error = EINVAL;
6694 *error = EINVAL;
6707 *error = EINVAL;
6714 *error = EINVAL;
6726 *error = sctp_addr_mgmt_ep_sa(inp, addr_touse,