Revision 6dbe553f slirp/tcp_output.c

b/slirp/tcp_output.c
40 40

  
41 41
#include <slirp.h>
42 42

  
43
/*
44
 * Since this is only used in "stats socket", we give meaning
45
 * names instead of the REAL names
46
 */
47
const char * const tcpstates[] = {
48
/*	"CLOSED",       "LISTEN",       "SYN_SENT",     "SYN_RCVD", */
49
	"REDIRECT",	"LISTEN",	"SYN_SENT",     "SYN_RCVD",
50
	"ESTABLISHED",  "CLOSE_WAIT",   "FIN_WAIT_1",   "CLOSING",
51
	"LAST_ACK",     "FIN_WAIT_2",   "TIME_WAIT",
52
};
53

  
54 43
static const u_char  tcp_outflags[TCP_NSTATES] = {
55 44
	TH_RST|TH_ACK, 0,      TH_SYN,        TH_SYN|TH_ACK,
56 45
	TH_ACK,        TH_ACK, TH_FIN|TH_ACK, TH_FIN|TH_ACK,

Also available in: Unified diff