> > I looked at the documentation for 2009/232 but didn't see the answer to a
 > > couple of semantic issues:
 > >
 > >    * Does the SIOCGIFHWADDR fail if the given interface is not plumbed
 > >      for the requested address family?
 > >    
 > 
 > For PF_PACKET, the interface must be known to GLD, so it doesn't need to 
 > be plumbed, as such. For PF_INET and PF_INET6, yes, the interface must 
 > at least be plumb'd.

That sounds like a datalink, not an interface.  Given that the protocol
family is PF_INET/PF_INET6, it seems like the namespace should be objects
in that namespace -- i.e., IPv4 and IPv6 interfaces, not datalinks.  (Note
that it is possible (though certainly not recommended) to have a datalink
named foo0 and an interface named foo0 that have no relationship to one
another.)

--
meem
_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to