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 | 4a82347a470eb087b2cb3075c506c42051d20230 (patch) | |
tree | 215247d6af8afd1c0d01f4a7622abd913395c045 /slirp/socket.h | |
parent | 9c12a6f24d8bfd0e0d81a4a77f515e32d15547c1 (diff) | |
download | qemu-4a82347a470eb087b2cb3075c506c42051d20230.zip qemu-4a82347a470eb087b2cb3075c506c42051d20230.tar.gz qemu-4a82347a470eb087b2cb3075c506c42051d20230.tar.bz2 |
slirp: Mark sockets of incoming TCP connections
Required for pretty-printing.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/socket.h')
-rw-r--r-- | slirp/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp/socket.h b/slirp/socket.h index 979b191..d241a48 100644 --- a/slirp/socket.h +++ b/slirp/socket.h @@ -73,6 +73,7 @@ struct socket { #define SS_PERSISTENT_MASK 0xf000 /* Unremovable state bits */ #define SS_HOSTFWD 0x1000 /* Socket describes host->guest forwarding */ +#define SS_INCOMING 0x2000 /* Connection was initiated by a host on the internet */ extern struct socket tcb; |