Lines Matching defs:error
140 /* A helper to initialize an op error inside a provided chunk, as most
975 /* Helper to create ABORT with a NO_USER_DATA error. */
1011 /* Helper to create ABORT with a SCTP_ERROR_USER_ABORT error. */
1108 static const char error[] = "The following parameter had invalid length:";
1109 size_t payload_len = sizeof(error) + sizeof(struct sctp_errhdr) +
1118 sizeof(error) + sizeof(*param));
1119 sctp_addto_chunk(retval, sizeof(error), error);
1130 static const char error[] = "Association exceeded its max_retrans count";
1131 size_t payload_len = sizeof(error) + sizeof(struct sctp_errhdr);
1138 sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, sizeof(error));
1139 sctp_addto_chunk(retval, sizeof(error), error);
1238 * This is a helper function to allocate an error chunk for those
1699 int *error, struct sctp_chunk **errp)
1749 *error = -SCTP_IERROR_NOMEM;
1755 *error = -SCTP_IERROR_BAD_SIG;
1768 *error = -SCTP_IERROR_BAD_TAG;
1774 *error = -SCTP_IERROR_BAD_PORTS;
1798 * Cause of error
1807 *error = -SCTP_IERROR_STALE_COOKIE;
1809 *error = -SCTP_IERROR_NOMEM;
1818 *error = -SCTP_IERROR_NOMEM;
1830 *error = -SCTP_IERROR_NOMEM;
1862 *error = -SCTP_IERROR_MALFORMED;
1928 /* This is a fatal error. Any accumulated non-fatal errors are
1934 /* Create an error chunk and fill it in with our payload. */
2061 * SCTP_IERROR_ERROR - stop and report an error.
2181 * MUST be aborted. The ABORT chunk SHOULD contain the error
2273 * VIOLATION error. We build the ERROR chunk here and let the normal
2274 * error handling code build and send the packet.
2702 * called prior to this routine. Simply log the error
3077 * Cause TLV set to the new error code 'Operation Refused
3092 * MUST send an Error Cause TLV with the error cause set to the
3093 * new error code 'Request to Delete Last Remaining IP Address'.
3102 * an Error Cause TLV set to the new error code 'Request to
3276 * If an error response is received for a TLV parameter,
3364 /* Get the corresponding ASCONF response error code from the ASCONF_ACK chunk
3366 * return the error code based on the third argument 'no_err'.
3368 * A7) If an error response is received for a TLV parameter, all TLVs with no