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 | 8e75c14210d99e1c671c62c5aff6c5ea846eb9a1 (patch) | |
tree | 80e39781dc61632b3bd9ca30414372f2b8520c7a /udp.h | |
parent | cecc828f6d3ae7e430844a6f8dc6486f46a33cba (diff) | |
download | slirp-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 'udp.h')
-rw-r--r-- | udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); #endif |