diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2009-06-24 14:42:28 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:45 -0500 |
commit | 3c6a05803c8f33b2ce6f704df87c98983029befd (patch) | |
tree | 53ef642f8baac03fe0d8518bd263da3ded64987b /slirp/udp.h | |
parent | f3546deb079fd9e069870b9fd2f22bb48d5c8254 (diff) | |
download | qemu-3c6a05803c8f33b2ce6f704df87c98983029befd.zip qemu-3c6a05803c8f33b2ce6f704df87c98983029befd.tar.gz qemu-3c6a05803c8f33b2ce6f704df87c98983029befd.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 'slirp/udp.h')
-rw-r--r-- | slirp/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/udp.h b/slirp/udp.h index 51a07a2..d4c2bea 100644 --- a/slirp/udp.h +++ b/slirp/udp.h @@ -101,7 +101,7 @@ void udp_input _P((register struct mbuf *, int)); int udp_output _P((struct socket *, struct mbuf *, struct sockaddr_in *)); int udp_attach _P((struct socket *)); void udp_detach _P((struct socket *)); -struct socket * udp_listen _P((u_int, u_int32_t, u_int, int)); +struct socket * udp_listen _P((u_int32_t, u_int, u_int32_t, u_int, int)); int udp_output2(struct socket *so, struct mbuf *m, struct sockaddr_in *saddr, struct sockaddr_in *daddr, int iptos); |