From 4a82347a470eb087b2cb3075c506c42051d20230 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 24 Jun 2009 14:42:29 +0200 Subject: slirp: Mark sockets of incoming TCP connections Required 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 979b1915c1..d241a48ca2 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; -- cgit v1.2.3-55-g7522