Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 1 | /* |
Florin Coras | 830fe73 | 2019-02-15 18:20:58 -0800 | [diff] [blame] | 2 | * Copyright (c) 2016-2019 Cisco and/or its affiliates. |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 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 | */ |
Filip Tehlar | 0c4931c | 2021-10-06 09:47:41 +0000 | [diff] [blame] | 15 | tcp_error (NONE, none, INFO, "no error") |
| 16 | tcp_error (WRONG_THREAD, wrong_thread, ERROR, "Wrong worker thread") |
| 17 | tcp_error (FILTERED, filtered, INFO, "Packets filtered") |
| 18 | tcp_error (LENGTH, length, ERROR, "inconsistent ip/tcp lengths") |
| 19 | tcp_error (NO_LISTENER, no_listener, ERROR, "no listener for dst port") |
| 20 | tcp_error (LOOKUP_DROPS, lookup_drops, ERROR, "lookup drops") |
| 21 | tcp_error (DISPATCH, dispatch, ERROR, "Dispatch error") |
| 22 | tcp_error (ENQUEUED, enqueued, INFO, "Packets pushed into rx fifo") |
| 23 | tcp_error (ENQUEUED_OOO, enqueued_ooo, WARN, "OOO packets pushed into rx fifo") |
| 24 | tcp_error (FIFO_FULL, fifo_full, ERROR, "Packets dropped for lack of rx fifo space") |
| 25 | tcp_error (PARTIALLY_ENQUEUED, partially_enqueued, WARN, "Packets partially pushed into rx fifo") |
| 26 | tcp_error (SEGMENT_OLD, segment_old, WARN, "Old segment") |
| 27 | tcp_error (SEGMENT_INVALID, segment_invalid, ERROR, "Invalid segments") |
| 28 | tcp_error (SYNS_RCVD, syns_rcvd, INFO, "SYNs received") |
| 29 | tcp_error (SPURIOUS_SYN, spurious_syn, WARN, "Spurious SYNs received") |
| 30 | tcp_error (SYN_ACKS_RCVD, syn_acks_rcvd, INFO, "SYN-ACKs received") |
| 31 | tcp_error (SPURIOUS_SYN_ACK, spurious_syn_ack, WARN, "Spurious SYN-ACKs received") |
| 32 | tcp_error (MSG_QUEUE_FULL, msg_queue_full, ERROR, "Events not sent for lack of msg queue space") |
| 33 | tcp_error (CREATE_SESSION_FAIL, create_session_fail, ERROR, "Sessions couldn't be allocated") |
| 34 | tcp_error (ACK_OK, ack_ok, INFO, "Pure ACKs received") |
| 35 | tcp_error (ACK_INVALID, ack_invalid, ERROR, "Invalid ACK") |
| 36 | tcp_error (ACK_DUP, ack_dup, WARN, "Duplicate ACK") |
| 37 | tcp_error (ACK_OLD, ack_old, WARN, "Old ACK") |
| 38 | tcp_error (ACK_FUTURE, ack_future, WARN, "Future ACK") |
| 39 | tcp_error (PKTS_SENT, pkts_sent, INFO, "Packets sent") |
| 40 | tcp_error (RST_SENT, rst_sent, INFO, "Resets sent") |
| 41 | tcp_error (RST_RCVD, rst_rcvd, INFO, "Resets received") |
| 42 | tcp_error (INVALID_CONNECTION, invalid_connection, ERROR, "Invalid connection") |
| 43 | tcp_error (CONNECTION_CLOSED, connection_closed, WARN, "Connection closed") |
| 44 | tcp_error (CREATE_EXISTS, create_exists, ERROR, "Connection already exists") |
| 45 | tcp_error (PUNT, punt, INFO, "Packets punted") |
| 46 | tcp_error (OPTIONS, options, ERROR, "Could not parse options") |
| 47 | tcp_error (PAWS, paws, ERROR, "PAWS check failed") |
| 48 | tcp_error (RCV_WND, rcv_wnd, WARN, "Segment not in receive window") |
| 49 | tcp_error (FIN_RCVD, fin_rcvd, INFO, "FINs received") |
| 50 | tcp_error (LINK_LOCAL_RW, link_local_rw, ERROR, "No rewrite for link local connection") |
| 51 | tcp_error (ZERO_RWND, zero_rwnd, WARN, "Zero receive window") |