[PATCH]: implementation of SIOCGIFINDEX in linuxulator

Rui Paulo rpaulo at FreeBSD.org
Wed Nov 7 07:36:21 PST 2007


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



More information about the freebsd-net mailing list