Date: Wed, 7 Nov 2007 13:32:05 +0100 From: Roman Divacky <rdivacky@FreeBSD.org> To: Rui Paulo <rpaulo@FreeBSD.org> Cc: net@FreeBSD.org Subject: Re: [PATCH]: implementation of SIOCGIFINDEX in linuxulator Message-ID: <20071107123204.GA30802@freebsd.org> In-Reply-To: <0AB7127C-ED54-474A-897E-0DB8EF94F42D@FreeBSD.org> References: <20071105153459.GA52205@freebsd.org> <0AB7127C-ED54-474A-897E-0DB8EF94F42D@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071107123204.GA30802>