]> Git Repo - qemu.git/blobdiff - slirp/socket.h
Add cirrus reset handler
[qemu.git] / slirp / socket.h
index 901e8423e3f4872c169c10ae7427109f1d74a87a..5edea90c9388c1062a079c4f5b58c51af4edd50e 100644 (file)
@@ -33,16 +33,16 @@ struct socket {
   struct in_addr so_laddr;        /* local host table entry */
   u_int16_t so_fport;             /* foreign port */
   u_int16_t so_lport;             /* local port */
+
   u_int8_t     so_iptos;       /* Type of service */
   u_int8_t     so_emu;         /* Is the socket emulated? */
+
   u_char       so_type;                /* Type of socket, UDP or TCP */
   int  so_state;               /* internal state flags SS_*, below */
+
   struct       tcpcb *so_tcpcb;        /* pointer to TCP protocol control block */
   u_int        so_expire;              /* When the socket will expire */
+
   int  so_queued;              /* Number of packets queued from this socket */
   int  so_nqueued;             /* Number of packets queued in a row
                                 * Used to determine when to "downgrade" a session
@@ -73,15 +73,6 @@ struct socket {
 
 extern struct socket tcb;
 
-
-#if defined(DECLARE_IOVEC) && !defined(HAVE_READV)
-struct iovec {
-       char *iov_base;
-       size_t iov_len;
-};
-#endif
-
-void so_init _P((void));
 struct socket * solookup _P((struct socket *, struct in_addr, u_int, struct in_addr, u_int));
 struct socket * socreate _P((void));
 void sofree _P((struct socket *));
@@ -92,12 +83,8 @@ int sowrite _P((struct socket *));
 void sorecvfrom _P((struct socket *));
 int sosendto _P((struct socket *, struct mbuf *));
 struct socket * solisten _P((u_int, u_int32_t, u_int, int));
-void sorwakeup _P((struct socket *));
-void sowwakeup _P((struct socket *));
 void soisfconnecting _P((register struct socket *));
 void soisfconnected _P((register struct socket *));
-void sofcantrcvmore _P((struct  socket *));
-void sofcantsendmore _P((struct socket *));
 void soisfdisconnected _P((struct socket *));
 void sofwdrain _P((struct socket *));
 
This page took 0.023576 seconds and 4 git commands to generate.