hg: jdk7/jsn/jdk: 6717876: Make java.net.NetworkInterface.getIndex() public

Florian Weimer fw at deneb.enyo.de
Fri Aug 29 14:17:33 PDT 2008


* Mark Wielaard:

> Aha. OK. I might be dense, but I don't think I am the only person not
> immediately making the link between these methods and the RFC 2133
> "Interface Identification" and how they are used as described in RFC
> 2292 for selecting the outgoing interface.

For the record, RFC 2133 has been obsoleted by RFC 3493, and RFC 2292 by
RFC 3542.

> So I assume the Index returned can be used as an Scope identifier when
> creating a Inet6Address.

Scoped addresses are described in RFC 4007.  Site-local addresses have
been deprecated (in RFC 3879). The documentation in the Inet6Address
class should be updated accordingly.

I don't know how relevant these docs are for real-world IPv6 operation.



More information about the net-dev mailing list