diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-10 10:58:51 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-11 10:19:49 -0500 |
commit | 7e1b35b44c26fb0ede72613608e1a6fddabfac75 (patch) | |
tree | fd53be32c275267a446ba3e6c5fdfb49f9e57438 /qemu_socket.h | |
parent | 7591c5c19951def341139c3874bdc7289f9813d1 (diff) | |
download | qemu-7e1b35b44c26fb0ede72613608e1a6fddabfac75.zip qemu-7e1b35b44c26fb0ede72613608e1a6fddabfac75.tar.gz qemu-7e1b35b44c26fb0ede72613608e1a6fddabfac75.tar.bz2 |
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 <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu_socket.h')
-rw-r--r-- | qemu_socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu_socket.h b/qemu_socket.h index 6ee9510..c253b32 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); |