18 tcp_error (LENGTH, "inconsistent ip/tcp lengths")
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")
27 tcp_error (SEGMENT_INVALID, "Invalid segments")
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")
40 tcp_error (FILTERED_DUPACKS, "Filtered duplicate ACKs")
43 tcp_error (INVALID_CONNECTION, "Invalid connection")
44 tcp_error (CONNECTION_CLOSED, "Connection closed")
45 tcp_error (CREATE_EXISTS, "Connection already exists")
47 tcp_error (OPTIONS, "Could not parse options")
49 tcp_error (RCV_WND, "Segment not in receive window")
51 tcp_error (LINK_LOCAL_RW, "No rewrite
for link local connection")
for(i=1;i<=collision_buckets;i++)
pthread_t thread[MAX_CONNS]
static hash_pair_t * lookup(void *v, uword key, enum lookup_opcode op, void *new_value, void *old_value)
tcp_error(NONE,"no error") tcp_error(WRONG_THREAD