slirp: Add info usernet for dumping connection states

Break out sockstats from the slirp statistics and present them under the
new info category "usernet". This patch also improves the current output
/wrt proper reporting connection source and destination.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Jan Kiszka 2009-06-24 14:42:29 +02:00 committed by Anthony Liguori
parent 4a82347a47
commit 6dbe553fe9
9 changed files with 102 additions and 55 deletions

View file

@ -166,6 +166,4 @@ struct tcphdr {
extern tcp_seq tcp_iss; /* tcp initial send seq # */
extern const char * const tcpstates[];
#endif