FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
tcp_error.def
Go to the documentation of this file.
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  */
15 tcp_error (NONE, "no error")
16 tcp_error (LENGTH, "inconsistent ip/tcp lengths")
17 tcp_error (NO_LISTENER, "no listener for dst port")
18 tcp_error (LOOKUP_DROPS, "lookup drops")
19 tcp_error (DISPATCH, "Dispatch error")
20 tcp_error (ENQUEUED, "Packets pushed into rx fifo")
21 tcp_error (PARTIALLY_ENQUEUED, "Packets partially pushed into rx fifo")
22 tcp_error (PURE_ACK, "Pure acks")
23 tcp_error (SYNS_RCVD, "SYNs received")
24 tcp_error (SYN_ACKS_RCVD, "SYN-ACKs received")
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")
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")
30 tcp_error (SEGMENT_INVALID, "Invalid segments")
31 tcp_error (SEGMENT_OLD, "Old segment")
32 tcp_error (ACK_INVALID, "Invalid ACK")
33 tcp_error (ACK_DUP, "Duplicate ACK")
34 tcp_error (ACK_OLD, "Old ACK")
35 tcp_error (ACK_FUTURE, "Future ACK")
36 tcp_error (PKTS_SENT, "Packets sent")
37 tcp_error (FILTERED_DUPACKS, "Filtered duplicate ACKs")
38 tcp_error (RST_SENT, "Resets sent")
39 tcp_error (INVALID_CONNECTION, "Invalid connection")
40 tcp_error (NO_WND, "No window")
41 tcp_error (CONNECTION_CLOSED, "Connection closed")
42 tcp_error (CREATE_EXISTS, "Connection already exists")
43 tcp_error (PUNT, "Packets punted")
44 tcp_error (FILTERED, "Packets filtered")
tcp_error(NONE,"no error") tcp_error(LENGTH
static hash_pair_t * lookup(void *v, uword key, enum lookup_opcode op, void *new_value, void *old_value)
Definition: hash.c:486