>>>>> On Mon, 08 Apr 2002 19:05:58 +0200,
>>>>> S�bastien Peterson <[EMAIL PROTECTED]> said:
>> what should be filled in the sin6_scope_id field of
>> the sockaddr_in6 structure ?
>> Is it the interface index ? If yes, how do I determine
>> the interface index of my ethernet card ?
>> i
> I'm also having some trouble with the sin6_scope_id field... I filled
> it up (succesfully!!) with the interface index, wich I determined with
> #include <net/if.h>
> unsigned int if_nametoindex(const char *ifname);
> But I don't understand why the kernel doesn't fill that field up,
> knowing the destination address and the routes tables...??? If someone
> could tell me more about that, it would help.
First of all, please tell us the OS you're using and its version. The
API spec about the sin6_scope_id field are still quite vague, so the
situation may differ among different OSes (and their versions).
Secondly, I in fact do not understand your question...what did you
mean by "the kernel doesn't fill that field up"? Are you talking
about the receive side?
JINMEI, Tatuya
Communication Platform Lab.
Corporate R&D Center, Toshiba Corp.
[EMAIL PROTECTED]
---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]