From e1c5a2b33409b9795fa58bf389eac855981330a5 Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 8 Jan 2009 19:18:21 +0000 Subject: Redirect slirp traffic to/from qemu character device (Gleb Natapov) Signed-off-by: Gleb Natapov Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6240 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'slirp/socket.h') diff --git a/slirp/socket.h b/slirp/socket.h index 5edea90c93..72b473d639 100644 --- a/slirp/socket.h +++ b/slirp/socket.h @@ -87,5 +87,7 @@ void soisfconnecting _P((register struct socket *)); void soisfconnected _P((register struct socket *)); void soisfdisconnected _P((struct socket *)); void sofwdrain _P((struct socket *)); +size_t sopreprbuf(struct socket *so, struct iovec *iov, int *np); +int soreadbuf(struct socket *so, const char *buf, int size); #endif /* _SOCKET_H_ */ -- cgit v1.2.3