FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
tcp_error.def
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016-2019 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 (WRONG_THREAD, "Wrong worker thread")
17 tcp_error (FILTERED, "Packets filtered")
18 tcp_error (LENGTH, "inconsistent ip/tcp lengths")
19 tcp_error (NO_LISTENER, "no listener for dst port")
20 tcp_error (LOOKUP_DROPS, "lookup drops")
21 tcp_error (DISPATCH, "Dispatch error")
22 tcp_error (ENQUEUED, "Packets pushed into rx fifo")
23 tcp_error (ENQUEUED_OOO, "OOO packets pushed into rx fifo")
24 tcp_error (FIFO_FULL, "Packets dropped for lack of rx fifo space")
25 tcp_error (PARTIALLY_ENQUEUED, "Packets partially pushed into rx fifo")
26 tcp_error (SEGMENT_OLD, "Old segment")
27 tcp_error (SEGMENT_INVALID, "Invalid segments")
28 tcp_error (SYNS_RCVD, "SYNs received")
29 tcp_error (SPURIOUS_SYN, "Spurious SYNs received")
30 tcp_error (SYN_ACKS_RCVD, "SYN-ACKs received")
31 tcp_error (SPURIOUS_SYN_ACK, "Spurious SYN-ACKs received")
32 tcp_error (MSG_QUEUE_FULL, "Events not sent for lack of msg queue space")
33 tcp_error (CREATE_SESSION_FAIL, "Sessions couldn't be allocated")
34 tcp_error (ACK_OK, "Pure ACKs received")
35 tcp_error (ACK_INVALID, "Invalid ACK")
36 tcp_error (ACK_DUP, "Duplicate ACK")
37 tcp_error (ACK_OLD, "Old ACK")
38 tcp_error (ACK_FUTURE, "Future ACK")
39 tcp_error (PKTS_SENT, "Packets sent")
40 tcp_error (FILTERED_DUPACKS, "Filtered duplicate ACKs")
41 tcp_error (RST_SENT, "Resets sent")
42 tcp_error (RST_RCVD, "Resets received")
43 tcp_error (INVALID_CONNECTION, "Invalid connection")
44 tcp_error (CONNECTION_CLOSED, "Connection closed")
45 tcp_error (CREATE_EXISTS, "Connection already exists")
46 tcp_error (PUNT, "Packets punted")
47 tcp_error (OPTIONS, "Could not parse options")
48 tcp_error (PAWS, "PAWS check failed")
49 tcp_error (RCV_WND, "Segment not in receive window")
50 tcp_error (FIN_RCVD, "FINs received")
51 tcp_error (LINK_LOCAL_RW, "No rewrite for link local connection")
52 tcp_error (ZERO_RWND, "Zero receive window")
tcp_error(NONE, "no error") tcp_error(WRONG_THREAD
for(i=1;i<=collision_buckets;i++)
pthread_t thread[MAX_CONNS]
Definition: main.c:142
vl_api_address_t dst
Definition: gre.api:61
static hash_pair_t * lookup(void *v, uword key, enum lookup_opcode op, void *new_value, void *old_value)
Definition: hash.c:545
vl_api_address_t ip
Definition: l2.api:490
u16 port
Definition: lb_types.api:72
static struct option options[]
Definition: main.c:52