On 07/27/10 03:53 PM, sowmini.varad...@oracle.com wrote:
On (07/27/10 15:52), Sebastien Roy wrote:
  One weird thing about all of this is that sockaddr_dl is used at the
  link-layer, and our IP interface index concept doesn't exist at that layer;
  it's an IP interface concept.  It's odd that the range of IP interface index

not that weird: sockaddr_dl is a socket address of type (sa_type
and/or sdl_type) AF_LINK. That concept (as well as that of an interface
index) is more general across diverse OS'es than "datalink_id_t".

Yes, you're making my point. Solaris has no such general concept that cuts across the layers of the stack, and so picking one that solely exists at the IP layer isn't architecturally sane. For example, you can operate on a link that isn't plumbed by IP using sockaddr_dl...

-Seb
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org

Reply via email to