qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH 5/9] slirp: Add "poll_events" to struct socket


From: Fam Zheng
Subject: [Qemu-block] [PATCH 5/9] slirp: Add "poll_events" to struct socket
Date: Wed, 10 Jun 2015 16:59:47 +0800

The field stores the current interesting events.

Signed-off-by: Fam Zheng <address@hidden>
---
 slirp/socket.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/slirp/socket.h b/slirp/socket.h
index 57e0407..0c49770 100644
--- a/slirp/socket.h
+++ b/slirp/socket.h
@@ -53,6 +53,7 @@ struct socket {
   struct sbuf so_rcv;          /* Receive buffer */
   struct sbuf so_snd;          /* Send buffer */
   void * extra;                        /* Extra pointer */
+  int poll_events;
 };
 
 
-- 
2.4.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]