On 6/05/10 01:00 AM, Erik Nordmark wrote:
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.
I will add SIOCGLIFHWADDR to the case (a "struct lifreq" version of the
ioctl)
and update PF_PACKET to support it as well.
Darren
_______________________________________________
opensolaris-arc mailing list
[email protected]