]> git.proxmox.com Git - mirror_qemu.git/commit - slirp/udp.h
slirp: Make udp_attach IPv6 compatible
authorGuillaume Subiron <maethor@subiron.org>
Sat, 19 Dec 2015 21:25:02 +0000 (22:25 +0100)
committerJason Wang <jasowang@redhat.com>
Thu, 4 Feb 2016 06:13:11 +0000 (14:13 +0800)
commit9b5a30dc41c7455a17c88ed1a3677ba5f937f31d
tree127bdbf9b99215c48fd6f4924cdea777f4a70921
parent8a87f121ca82fbb34877ec843dfc50b327baef9d
slirp: Make udp_attach IPv6 compatible

A unsigned short is now passed in argument to udp_attach instead of using a
hardcoded "AF_INET" to call qemu_socket().

This prepares for IPv6 support.

Signed-off-by: Guillaume Subiron <maethor@subiron.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
slirp/ip_icmp.c
slirp/udp.c
slirp/udp.h