> > One final consideration: in the PF_INET / PF_INET6 case, if the interface > > is e.g. only plumbed for PF_INET and one performs a PF_INET6 > > SIOCGIFHWADDR, will ENXIO be returned? For consistency with with other > > SIOC* ioctls I'd expect so, but it is not explicitly stated above. > > Yes, it will.
OK, thanks for the clarifications. I think these semantics are all correct, though it means that using PF_PACKET / SIOCGIFHWADDR will really be what most applications want since most applications want a datalink's hardware address regardless of whether an IP interface has been plumbed on top of it. In any case, the subtle semantic distinctions between the three (PF_PACKET / PF_INET / PF_INET6) variants of SIOCGIFHWADDR would be valuable to capture in our manpages. -- meem _______________________________________________ opensolaris-arc mailing list [email protected]
