Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016 Cisco and/or its affiliates. |
| 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 | */ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 15 | tcp_error (NONE, "no error") |
Florin Coras | 82b13a8 | 2017-04-25 11:58:06 -0700 | [diff] [blame] | 16 | tcp_error (LENGTH, "inconsistent ip/tcp lengths") |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 17 | tcp_error (NO_LISTENER, "no listener for dst port") |
| 18 | tcp_error (LOOKUP_DROPS, "lookup drops") |
| 19 | tcp_error (DISPATCH, "Dispatch error") |
Florin Coras | d79b41e | 2017-03-04 05:37:52 -0800 | [diff] [blame] | 20 | tcp_error (ENQUEUED, "Packets pushed into rx fifo") |
Florin Coras | 6792ec0 | 2017-03-13 03:49:51 -0700 | [diff] [blame] | 21 | tcp_error (PARTIALLY_ENQUEUED, "Packets partially pushed into rx fifo") |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 22 | tcp_error (PURE_ACK, "Pure acks") |
| 23 | tcp_error (SYNS_RCVD, "SYNs received") |
| 24 | tcp_error (SYN_ACKS_RCVD, "SYN-ACKs received") |
Florin Coras | d79b41e | 2017-03-04 05:37:52 -0800 | [diff] [blame] | 25 | tcp_error (NOT_READY, "Session not ready for packets") |
| 26 | tcp_error (FIFO_FULL, "Packets dropped for lack of rx fifo space") |
| 27 | tcp_error (EVENT_FIFO_FULL, "Events not sent for lack of event fifo space") |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 28 | tcp_error (API_QUEUE_FULL, "Sessions not created for lack of API queue space") |
| 29 | tcp_error (CREATE_SESSION_FAIL, "Sessions couldn't be allocated") |
Florin Coras | 6792ec0 | 2017-03-13 03:49:51 -0700 | [diff] [blame] | 30 | tcp_error (SEGMENT_INVALID, "Invalid segments") |
| 31 | tcp_error (SEGMENT_OLD, "Old segment") |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 32 | tcp_error (ACK_INVALID, "Invalid ACK") |
| 33 | tcp_error (ACK_DUP, "Duplicate ACK") |
| 34 | tcp_error (ACK_OLD, "Old ACK") |
Florin Coras | 6792ec0 | 2017-03-13 03:49:51 -0700 | [diff] [blame] | 35 | tcp_error (ACK_FUTURE, "Future ACK") |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 36 | tcp_error (PKTS_SENT, "Packets sent") |
| 37 | tcp_error (FILTERED_DUPACKS, "Filtered duplicate ACKs") |
Florin Coras | d79b41e | 2017-03-04 05:37:52 -0800 | [diff] [blame] | 38 | tcp_error (RST_SENT, "Resets sent") |
| 39 | tcp_error (INVALID_CONNECTION, "Invalid connection") |
Florin Coras | c28764f | 2017-04-26 00:08:42 -0700 | [diff] [blame] | 40 | tcp_error (NO_WND, "No window") |
Florin Coras | 4eeeaaf | 2017-09-05 14:03:37 -0400 | [diff] [blame] | 41 | tcp_error (CONNECTION_CLOSED, "Connection closed") |
Pierre Pfister | 7fe51f3 | 2017-09-20 08:48:36 +0200 | [diff] [blame] | 42 | tcp_error (CREATE_EXISTS, "Connection already exists") |
| 43 | tcp_error (PUNT, "Packets punted") |