Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 19:59:57 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Hajimu UMEMOTO <ume@mahoroba.org>
Cc:        current@FreeBSD.org, emulation@FreeBSD.org
Subject:   Re: [CFR] IPv6 support for Linux sym
Message-ID:  <20030119195957.GA54865@walton.maths.tcd.ie>
In-Reply-To: <ygelm1hm96h.wl%ume@mahoroba.org>
References:  <ygelm1hm96h.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030119195957.GA54865>