aboutsummaryrefslogtreecommitdiff
path: root/socket.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-06-24 14:42:28 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:45 -0500
commit8e75c14210d99e1c671c62c5aff6c5ea846eb9a1 (patch)
tree80e39781dc61632b3bd9ca30414372f2b8520c7a /socket.h
parentcecc828f6d3ae7e430844a6f8dc6486f46a33cba (diff)
downloadslirp-8e75c14210d99e1c671c62c5aff6c5ea846eb9a1.zip
slirp-8e75c14210d99e1c671c62c5aff6c5ea846eb9a1.tar.gz
slirp-8e75c14210d99e1c671c62c5aff6c5ea846eb9a1.tar.bz2
slirp: Bind support for host forwarding rules
Extend the hostfwd rule format so that the user can specify on which host interface qemu should listen for incoming connections. If omitted, binding will takes place against all interfaces. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.h b/socket.h
index 4b16491..cc80ba5 100644
--- a/socket.h
+++ b/socket.h
@@ -90,7 +90,7 @@ int sosendoob _P((struct socket *));
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));
+struct socket *tcp_listen _P((u_int32_t, u_int, u_int32_t, u_int, int));
void soisfconnecting _P((register struct socket *));
void soisfconnected _P((register struct socket *));
void soisfdisconnected _P((struct socket *));