From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY857-0004sX-AE for qemu-devel@nongnu.org; Tue, 23 Feb 2016 03:12:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY853-0007WA-39 for qemu-devel@nongnu.org; Tue, 23 Feb 2016 03:12:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY852-0007Vy-Tz for qemu-devel@nongnu.org; Tue, 23 Feb 2016 03:12:25 -0500 References: From: Thomas Huth Message-ID: <56CC1461.1030403@redhat.com> Date: Tue, 23 Feb 2016 09:12:17 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv9 08/10] slirp: Adding IPv6 address for DNS relay List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault , qemu-devel@nongnu.org Cc: zhanghailiang , Li Zhijian , Stefan Hajnoczi , Jason Wang , Dave Gilbert , Vasiliy Tolstov , Huangpeng , Gonglei , Jan Kiszka , Guillaume Subiron On 22.02.2016 20:28, Samuel Thibault wrote: > From: Guillaume Subiron > > This patch adds an IPv6 address to the DNS relay. in6_equal_dns() is > developed using this Slirp attribute. > sotranslate_in/out/accept() are also updated to manage the IPv6 case so the > guest can be able to join the host using one of the Slirp addresses. > > For now this only points to localhost. Further development will be needed to > automatically fetch the IPv6 address from resolv.conf, and announce this via > RDNSS. > > Signed-off-by: Guillaume Subiron > Signed-off-by: Samuel Thibault > --- > slirp/ip6.h | 6 +++++- > slirp/slirp.c | 1 + > slirp/slirp.h | 1 + > slirp/socket.c | 32 ++++++++++++++++++++++++++++++++ > 4 files changed, 39 insertions(+), 1 deletion(-) Reviewed-by: Thomas Huth