[PATCH]: implementation of SIOCGIFINDEX in linuxulator
Roman Divacky
rdivacky at FreeBSD.org
Wed Nov 7 04:32:27 PST 2007
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
More information about the freebsd-net
mailing list