From 7e1b35b44c26fb0ede72613608e1a6fddabfac75 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 10 Sep 2009 10:58:51 +0200 Subject: convert udp chardev to QemuOpts. While being at it: create a new inet_dgram_opts() function for udp setup, so udp can handle IPv6 now. new cmd line syntax: -chardev udp,id=name,host=remotehost,port=remoteport,\ localaddr=bindaddr,localport=bindport Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- qemu_socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qemu_socket.h') diff --git a/qemu_socket.h b/qemu_socket.h index 6ee9510fa..c253b3241 100644 --- a/qemu_socket.h +++ b/qemu_socket.h @@ -41,6 +41,7 @@ int inet_listen(const char *str, char *ostr, int olen, int socktype, int port_offset); int inet_connect_opts(QemuOpts *opts); int inet_connect(const char *str, int socktype); +int inet_dgram_opts(QemuOpts *opts); int unix_listen_opts(QemuOpts *opts); int unix_listen(const char *path, char *ostr, int olen); -- cgit v1.2.3