On 05/ 5/10 05:29 PM, Darren Reed wrote:

At present, only the "struct ifreq" version of SIOCGIFHWADDR is planned
as the primary focus of this effort is compatibility and a "struct lifreq"
version of this ioctl is not present in other implementations. The work
in this case does not preclude such an extension at a later time.

If struct ifreq sufficiently large to return the hardware address (GUID) used for InfiniBand? Or do we need the larger struct lifreq for that?

A sockaddr is only 16 bytes, which doesn't have room for a (20 byte?) GUID AFAICT.

Thus I think it makes sense defining these ioctls using struct lifreq.

   Erik
_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to