From owner-freebsd-emulation Sun Jan 19 12: 0:39 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AD6837B427; Sun, 19 Jan 2003 12:00:37 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id CDFFD43F83; Sun, 19 Jan 2003 12:00:15 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 19 Jan 2003 19:59:59 +0000 (GMT) Date: Sun, 19 Jan 2003 19:59:57 +0000 From: David Malone To: Hajimu UMEMOTO Cc: current@FreeBSD.org, emulation@FreeBSD.org Subject: Re: [CFR] IPv6 support for Linux sym Message-ID: <20030119195957.GA54865@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jan 20, 2003 at 12:49:26AM +0900, Hajimu UMEMOTO wrote: > I wrote an IPv6 support for Linux sym. I've tested it with RHL8's > ftp(1) and ports/www/linux-phoenix, and it seems nicely running with > both an IPv4 and an IPv6. > You can obtain my patch from: > > http://www.imasy.or.jp/~ume/FreeBSD/linux-ipv6.diff I have a patch which is quite similar to this, but also reduces the use of the stackgap in the Linux networking code and breaks out things like socket, bind and listen into an implimentation and a syscall wrapper (extending Ian's work in this area). I took these patches far enough to get the linux version of telnet to speak IPv6. I was going to commit the patch, but there were two things holding me back: 1) I hadn't figured out the best way to deal with syscalls which copyout a sockaddr - I suspect we need a per-sysvec sockaddr copyout function to do this cleanly, but I'm open to suggestion. 2) The patches wouldn't compile on the alpha 'cos of some ifdefs in the linux emulation code. I just hadn't got around to resolving this. Maybe we could see if we could combine these patches? My patch is available at: http://www.maths.tcd.ie/~dwmalone/linux-socket David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message