Lines Matching defs:error
95 __be16 error, int sk_err,
179 /* Check for format error in an ABORT chunk */
341 * error, but since we don't have an association, we'll
375 /* This chunk contains fatal error. It is to be discarded.
443 * error cause code for "unknown parameter" and the
497 * found to be 0, the receiver MUST treat it as an error and close the
543 enum sctp_error error = SCTP_ERROR_NO_RESOURCE;
545 /* This chunk contains fatal error. It is to be discarded.
563 error = SCTP_ERROR_INV_PARAM;
582 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED,
596 /* Reset init error count upon receipt of INIT-ACK. */
704 int error = 0;
748 new_asoc = sctp_unpack_cookie(ep, asoc, chunk, GFP_ATOMIC, &error,
752 * If the re-build failed, what is the proper error path
761 switch (error) {
796 error = sctp_auth_asoc_init_active_key(new_asoc, GFP_ATOMIC);
797 if (error)
928 /* Reset init error count upon receipt of COOKIE-ACK,
1058 /* Set transport error counter and association error counter
1176 * should clear the error counter of the destination transport
1182 * clear the association overall error count as well (as defined
1261 * the HEARTBEAT should clear the error counter of the
1286 /* Build the error on the stack. We are way to malloc crazy
1514 /* This chunk contains fatal error. It is to be discarded.
1600 * error cause code for "unknown parameter" and the
1816 * chunk with a "Cookie Received while Shutting Down" error cause to
2143 int error = 0;
2170 new_asoc = sctp_unpack_cookie(ep, asoc, chunk, GFP_ATOMIC, &error,
2174 * If the re-build failed, what is the proper error path
2183 switch (error) {
2276 * If an endpoint receives an ABORT with a format error or for an
2322 * If an endpoint receives an ABORT with a format error or for an
2376 * Only handle the error type of stale COOKIE Error, the other errors will
2408 /* Process the error here */
2419 /* It is possible to have malformed error causes, and that
2592 * If an endpoint receives an ABORT with a format error or for an
2624 __be16 error = SCTP_ERROR_NO_ERROR;
2628 /* See if we have an error cause code in the chunk. */
2631 error = ((struct sctp_errhdr *)chunk->skb->data)->cause;
2635 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, SCTP_PERR(error));
2655 __be16 error = SCTP_ERROR_NO_ERROR;
2666 * If an endpoint receives an ABORT with a format error or for an
2675 /* See if we have an error cause code in the chunk. */
2678 error = ((struct sctp_errhdr *)chunk->skb->data)->cause;
2680 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, asoc,
2725 __be16 error, int sk_err,
2739 SCTP_PERR(error));
3125 int error;
3137 error = sctp_eat_data(asoc, chunk, commands);
3138 switch (error) {
3245 int error;
3257 error = sctp_eat_data(asoc, chunk, commands);
3258 switch (error) {
4228 * be discarded and an ERROR chunk SHOULD be sent with the error cause
4327 enum sctp_ierror error;
4345 error = sctp_sf_authenticate(asoc, chunk);
4346 switch (error) {
4410 * Chunk using the 'Unrecognized Chunk Type' cause of error.
4692 * error code.
4765 * error code.
4823 * error.
4831 * an error is returned.
5001 * attempting to terminate the association results in a failure, an error
5056 * attempting to abort the association results in a failure, an error
5400 * The endpoint should increment the respective error counter of
5791 * error to SCTP user.
5856 * report the error to SCTP user.
5997 /* ADDIP 4.1 B1) Increment the error counters and perform path failure
6008 /* ADDIP 4.1 B2) Increment the association error counters and perform
6011 * association error counter is incremented in SCTP_CMD_STRIKE.
6216 * error causes.
6244 /* Add specified error causes, i.e., payload, to the
6341 /* Send a stale cookie error when a invalid COOKIE ECHO chunk is found */
6497 * Cause of error
6499 * No User Data: This error cause is returned to the originator of a