Lines Matching defs:error
140 /* A helper to initialize an op error inside a provided chunk, as most
971 /* Helper to create ABORT with a NO_USER_DATA error. */
1007 /* Helper to create ABORT with a SCTP_ERROR_USER_ABORT error. */
1104 static const char error[] = "The following parameter had invalid length:";
1105 size_t payload_len = sizeof(error) + sizeof(struct sctp_errhdr) +
1114 sizeof(error) + sizeof(*param));
1115 sctp_addto_chunk(retval, sizeof(error), error);
1126 static const char error[] = "Association exceeded its max_retrans count";
1127 size_t payload_len = sizeof(error) + sizeof(struct sctp_errhdr);
1134 sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, sizeof(error));
1135 sctp_addto_chunk(retval, sizeof(error), error);
1283 * This is a helper function to allocate an error chunk for those
1744 int *error, struct sctp_chunk **errp)
1794 *error = -SCTP_IERROR_NOMEM;
1800 *error = -SCTP_IERROR_BAD_SIG;
1813 *error = -SCTP_IERROR_BAD_TAG;
1819 *error = -SCTP_IERROR_BAD_PORTS;
1843 * Cause of error
1852 *error = -SCTP_IERROR_STALE_COOKIE;
1854 *error = -SCTP_IERROR_NOMEM;
1863 *error = -SCTP_IERROR_NOMEM;
1875 *error = -SCTP_IERROR_NOMEM;
1907 *error = -SCTP_IERROR_MALFORMED;
1973 /* This is a fatal error. Any accumulated non-fatal errors are
1979 /* Create an error chunk and fill it in with our payload. */
2106 * SCTP_IERROR_ERROR - stop and report an error.
2226 * MUST be aborted. The ABORT chunk SHOULD contain the error
2318 * VIOLATION error. We build the ERROR chunk here and let the normal
2319 * error handling code build and send the packet.
2740 * called prior to this routine. Simply log the error
3115 * Cause TLV set to the new error code 'Operation Refused
3130 * MUST send an Error Cause TLV with the error cause set to the
3131 * new error code 'Request to Delete Last Remaining IP Address'.
3140 * an Error Cause TLV set to the new error code 'Request to
3314 * If an error response is received for a TLV parameter,
3402 /* Get the corresponding ASCONF response error code from the ASCONF_ACK chunk
3404 * return the error code based on the third argument 'no_err'.
3406 * A7) If an error response is received for a TLV parameter, all TLVs with no