>>>>> On Thu, 16 Aug 2001 11:01:30 -0400, 
>>>>> "Roy Brabson" <[EMAIL PROTECTED]> said:

>> Seems like, to the extent that there are existing applications
>> which use if_nametoindex() -> sin6_scope_id for link-local addresses,
>> we need to also support the top 4 being zero as an alias for the
>> interface or link scope.
>> 
>> Does anybody know of such applications?
>> Does anybody know of applications doing the reverse (taking sin6_scope_id
>> and passing it to if_indextoname())?

> This may work when the default link-local zones are used, but how will it
> work in the presence of manually-configured link-local zones?

It simply won't.  We're talking about some existing implementations
that assume a one-to-one mapping between links and interfaces.

> It is probably useful to have a standard (or at least agreed upon) way to
> map between the sin6_scope_id and the zone name, something akin to the
> if_nametoindex() and if_indextoname() calls for converting an interface
> name to an index and vice-versa.

Probably.  But once we define clear semantics, it would not be so
hard.

                                        JINMEI, Tatuya
                                        Communication Platform Lab.
                                        Corporate R&D Center, Toshiba Corp.
                                        [EMAIL PROTECTED]
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to