Hello, This series gathers the patches to enable ipv4-only and ipv6-only support: it adds the discussed ipv4 and ipv6 options to select which is enabled, and adds support for ipv6 dns translation.
Changes since previous submission: - code layout - cope with inet_ntop returning NULL - move static variables to function using them. - remove superfluous parenthesis. - fix coding style - explicit that qemu options can take ipv[46]=on|off Samuel Thibault (5): slirp: Allow disabling IPv4 or IPv6 slirp: Split get_dns_addr slirp: Add dns6 resolution slirp: Support link-local DNS addresses slirp: Add RDNSS advertisement net/slirp.c | 36 ++++++++++++--- qapi-schema.json | 8 ++++ qemu-options.hx | 8 +++- slirp/ip6.h | 9 ++++ slirp/ip6_icmp.c | 27 +++++++++-- slirp/ip6_icmp.h | 12 ++++- slirp/ip6_input.c | 5 +++ slirp/ip_input.c | 4 ++ slirp/libslirp.h | 4 +- slirp/slirp.c | 132 ++++++++++++++++++++++++++++++++++++++++++------------ slirp/slirp.h | 2 + slirp/socket.c | 4 +- 12 files changed, 207 insertions(+), 44 deletions(-) -- 2.8.0.rc3