Date: Wed, 7 Nov 2007 15:36:03 +0000 From: Rui Paulo <rpaulo@FreeBSD.org> To: Roman Divacky <rdivacky@freebsd.org> Cc: net@FreeBSD.org Subject: Re: [PATCH]: implementation of SIOCGIFINDEX in linuxulator Message-ID: <E941646F-26C1-457B-85AA-7E2C371B8EB0@FreeBSD.org> In-Reply-To: <20071107123204.GA30802@freebsd.org> References: <20071105153459.GA52205@freebsd.org> <0AB7127C-ED54-474A-897E-0DB8EF94F42D@FreeBSD.org> <20071107123204.GA30802@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7 Nov 2007, at 12:32, Roman Divacky wrote: > On Wed, Nov 07, 2007 at 11:30:34AM +0000, Rui Paulo wrote: >> >> On 5 Nov 2007, at 15:34, Roman Divacky wrote: >> >>> hi >>> >>> I implemented SIOCGIFINDEX in linuxulator and I would like you >>> to review the patch.. the implementation is trivial, just mapping >>> it to the native fbsd call. >>> >>> the patch can be found here: >>> http://www.vlakno.cz/~rdivacky/linux_socket.patch >>> >>> I have a report that it helps some java program. please review it so >>> it can be commited >> >> >> Perhaps I'm missing something, but what should happen with >> LINUX_SIOCGIFCOUNT ? > > it should just return 0. its not implemented in linux and just > returns 0 > there too.. the tester reports that it works in this implementation > so I guess it's just ok. Alright, thanks for the clarification. Your patch looks fine. Regards. -- Rui Paulo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E941646F-26C1-457B-85AA-7E2C371B8EB0>