• Peter Maydell's avatar
    util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram() · 8287fea3
    Peter Maydell authored
    Currently you can specify whether you want a UDP chardev backend
    to be IPv4 or IPv6 using the ipv4 or ipv6 options if you use the
    QemuOpts parsing code in inet_dgram_opts(). However the QMP struct
    parsing code in socket_dgram() doesn't provide this flexibility
    (which in turn prevents us from converting the UDP backend handling
    to the new style QAPI framework).
    
    Use the existing inet_addr_to_opts() function to convert the
    remote->inet address to option strings; this handles ipv4 and
    ipv6 flags as well as host and port. (It will also convert any
    'to' specification, which is harmless as it is ignored in this
    context.)
    Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    Message-id: 1409653457-27863-3-git-send-email-peter.maydell@linaro.org
    8287fea3
Name
Last commit
Last update
..
Makefile.objs Loading commit data...
acl.c Loading commit data...
aes.c Loading commit data...
bitmap.c Loading commit data...
bitops.c Loading commit data...
compatfd.c Loading commit data...
crc32c.c Loading commit data...
cutils.c Loading commit data...
envlist.c Loading commit data...
error.c Loading commit data...
event_notifier-posix.c Loading commit data...
event_notifier-win32.c Loading commit data...
fifo8.c Loading commit data...
getauxval.c Loading commit data...
hbitmap.c Loading commit data...
hexdump.c Loading commit data...
host-utils.c Loading commit data...
iov.c Loading commit data...
module.c Loading commit data...
notify.c Loading commit data...
osdep.c Loading commit data...
oslib-posix.c Loading commit data...
oslib-win32.c Loading commit data...
path.c Loading commit data...
qemu-config.c Loading commit data...
qemu-error.c Loading commit data...
qemu-openpty.c Loading commit data...
qemu-option.c Loading commit data...
qemu-progress.c Loading commit data...
qemu-sockets.c Loading commit data...
qemu-thread-posix.c Loading commit data...
qemu-thread-win32.c Loading commit data...
qemu-timer-common.c Loading commit data...
readline.c Loading commit data...
rfifolock.c Loading commit data...
throttle.c Loading commit data...
unicode.c Loading commit data...
uri.c Loading commit data...