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 (SYN_ACKS_RCVD, "SYN-ACKs received")
30 tcp_error (MSG_QUEUE_FULL, "Events not sent
for lack of msg queue space")
31 tcp_error (CREATE_SESSION_FAIL, "Sessions couldn't be allocated")
38 tcp_error (FILTERED_DUPACKS, "Filtered duplicate ACKs")
41 tcp_error (INVALID_CONNECTION, "Invalid connection")
42 tcp_error (CONNECTION_CLOSED, "Connection closed")
43 tcp_error (CREATE_EXISTS, "Connection already exists")
45 tcp_error (OPTIONS, "Could not parse options")
47 tcp_error (RCV_WND, "Segment not in receive window")
49 tcp_error (LINK_LOCAL_RW, "No rewrite
for link local connection")
tcp_error(NONE, "no error") tcp_error(WRONG_THREAD
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)