From 6dd5ffb661a4aec28c8296b1673abdf280038cf6 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 24 Jun 2009 14:42:29 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- slirp/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'slirp/socket.h') diff --git a/slirp/socket.h b/slirp/socket.h index 2cf476cb91..979b1915c1 100644 --- a/slirp/socket.h +++ b/slirp/socket.h @@ -72,6 +72,7 @@ struct socket { #define SS_FACCEPTONCE 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; -- cgit v1.2.1