Marco Varlese | 191a594 | 2017-10-30 18:17:21 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017 SUSE LLC. |
| 3 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | * you may not use this file except in compliance with the License. |
| 5 | * You may obtain a copy of the License at: |
| 6 | * |
| 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | * |
| 9 | * Unless required by applicable law or agreed to in writing, software |
| 10 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | * See the License for the specific language governing permissions and |
| 13 | * limitations under the License. |
| 14 | */ |
| 15 | sctp_error (NONE, "no error") |
| 16 | sctp_error (PKTS_SENT, "Packets sent") |
| 17 | sctp_error (INVALID_CONNECTION, "Invalid connection") |
| 18 | sctp_error (INVALID_TAG, "Invalid verification tag") |
| 19 | sctp_error (INVALID_TAG_FOR_INIT, "Invalid verification tag for INIT chunk") |
| 20 | sctp_error (CONNECTION_CLOSED, "Connection closed") |
| 21 | sctp_error (ENQUEUED, "Packets pushed into rx fifo") |
| 22 | sctp_error (CREATE_EXISTS, "Connection already exists") |
| 23 | sctp_error (INITS_RCVD, "INITs received") |
| 24 | sctp_error (CREATE_SESSION_FAIL, "Sessions couldn't be allocated") |
| 25 | sctp_error (NO_LISTENER, "no listener for dst port") |
Marco Varlese | 3c6a976 | 2018-03-01 11:19:59 +0100 | [diff] [blame] | 26 | sctp_error (LENGTH, "inconsistent ip/sctp lengths") |
Marco Varlese | 191a594 | 2017-10-30 18:17:21 +0100 | [diff] [blame] | 27 | sctp_error (DISPATCH, "Dispatch error") |
| 28 | sctp_error (ACK_DUP, "Duplicate ACK") |
| 29 | sctp_error (DATA_CHUNK_VIOLATION, "DATA chunk received in invalid state") |
| 30 | sctp_error (INIT_CHUNK_VIOLATION, "INIT chunk received in the wrong state") |
| 31 | sctp_error (INIT_ACK_CHUNK_VIOLATION, "INIT_ACK chunk received in the wrong state") |
| 32 | sctp_error (SACK_CHUNK_VIOLATION, "SACK chunk received in invalid state") |
| 33 | sctp_error (HEARTBEAT_CHUNK_VIOLATION, "HEARTBEAT chunk received in invalid state") |
| 34 | sctp_error (HEARTBEAT_ACK_CHUNK_VIOLATION, "HEARTBEAT_ACK chunk received in invalid state") |
| 35 | sctp_error (ABORT_CHUNK_VIOLATION, "ABORT_CHUNK chunk received in invalid state") |
| 36 | sctp_error (SHUTDOWN_CHUNK_VIOLATION, "SHUTDOWN chunk received in invalid state") |
| 37 | sctp_error (SHUTDOWN_ACK_CHUNK_VIOLATION, "SHUTDOWN_ACK chunk received in invalid state") |
| 38 | sctp_error (OPERATION_ERROR_VIOLATION, "OPERATION_ERROR chunk received in invalid state") |
| 39 | sctp_error (COOKIE_ECHO_VIOLATION, "COOKIE_ECHO chunk received in invalid state") |
| 40 | sctp_error (COOKIE_ACK_VIOLATION, "COOKIE_ACK chunk received in invalid state") |
| 41 | sctp_error (ECNE_VIOLATION, "ECNE chunk received in invalid state") |
| 42 | sctp_error (CWR_VIOLATION, "CWR chunk received in invalid state") |
| 43 | sctp_error (SHUTDOWN_COMPLETE_VIOLATION, "SHUTDOWN_COMPLETE chunk received in invalid state") |
| 44 | sctp_error (FIFO_FULL, "Packets dropped for lack of rx fifo space") |
| 45 | sctp_error (PARTIALLY_ENQUEUED, "Packets partially pushed into rx fifo") |
| 46 | sctp_error (EVENT_FIFO_FULL, "Events not sent for lack of event fifo space") |
Andrey "Zed" Zaikin | 701625b | 2018-04-18 17:07:07 +0300 | [diff] [blame] | 47 | sctp_error (UNKNOWN_CHUNK, "Unrecognized / unknown chunk or chunk-state mismatch") |
Marco Varlese | 191a594 | 2017-10-30 18:17:21 +0100 | [diff] [blame] | 48 | sctp_error (BUNDLING_VIOLATION, "Bundling not allowed") |
| 49 | sctp_error (PUNT, "Packets punted") |
Marco Varlese | 3c6a976 | 2018-03-01 11:19:59 +0100 | [diff] [blame] | 50 | sctp_error (FILTERED, "Packets filtered") |
Andrey "Zed" Zaikin | 701625b | 2018-04-18 17:07:07 +0300 | [diff] [blame] | 51 | sctp_error (MAX_CONNECTIONS, "Reached max supported subconnection") |