diff options
| author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:29 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:46 -0500 |
| commit | 6dbe553fe9ffdee008c1bbbe1af2d030e0f04aab (patch) | |
| tree | 7dacffebeea9f5534cda6a19276e8a5da6c57344 /net.h | |
| parent | 4a82347a470eb087b2cb3075c506c42051d20230 (diff) | |
| download | focaccia-qemu-6dbe553fe9ffdee008c1bbbe1af2d030e0f04aab.tar.gz focaccia-qemu-6dbe553fe9ffdee008c1bbbe1af2d030e0f04aab.zip | |
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>
Diffstat (limited to 'net.h')
| -rw-r--r-- | net.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net.h b/net.h index 016db31365..2cc6c13225 100644 --- a/net.h +++ b/net.h @@ -81,6 +81,8 @@ void qemu_handler_true(void *opaque); void do_info_network(Monitor *mon); int do_set_link(Monitor *mon, const char *name, const char *up_or_down); +void do_info_usernet(Monitor *mon); + /* NIC info */ #define MAX_NICS 8 |