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:45 -0500 |
commit | 63c095805f5e355ad599b7134e6c5380a31eb6ee (patch) | |
tree | 098ac4a371fbf4572cf03ab272b4524bd27be07d /socket.h | |
parent | 5449e7627641fdede09e6e8585faabbb3d71e198 (diff) | |
download | slirp-63c095805f5e355ad599b7134e6c5380a31eb6ee.zip slirp-63c095805f5e355ad599b7134e6c5380a31eb6ee.tar.gz slirp-63c095805f5e355ad599b7134e6c5380a31eb6ee.tar.bz2 |
slirp: Explicitely mark host-forwarding sockets
Mark sockets that describe host forwardings. This is required for their
(and only their) proper deletion and 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 | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -79,6 +79,7 @@ struct socket { 0x200 /* If set, the SS_FACCEPTCONN socket will die after one accept */ #define SS_PERSISTENT_MASK 0xf000 /* Unremovable state bits */ +#define SS_HOSTFWD 0x1000 /* Socket describes host->guest forwarding */ extern struct socket tcb; |