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 | e4275686b0b4c630912ac196b234a87aa5d96d47 (patch) | |
tree | 41bd5aa90e6cf72369c34d7b037b15dd148ea3e7 /socket.h | |
parent | 244d07ca5b9cad1b17562ef042c39f1dc49d55b6 (diff) | |
download | slirp-e4275686b0b4c630912ac196b234a87aa5d96d47.zip slirp-e4275686b0b4c630912ac196b234a87aa5d96d47.tar.gz slirp-e4275686b0b4c630912ac196b234a87aa5d96d47.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 'socket.h')
-rw-r--r-- | socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -80,6 +80,8 @@ 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; |