MDI return MAC address ioctl
This ioctl requests that the MDI driver
return the current MAC address.
data contains space
into which the MDI driver
should copy its MAC address.
The MDI driver should fill
the ioctl data area with its MAC address.
This address is the current in-use MAC address.
The data is one of the following:
Acknowledge successful completion of the operation.
ioc_rval set to zero
ioc_count set to the size of
the MAC address in the associated
block, with control information passed in an
Acknowledge unsuccessful completion of the operation.
ioc_count to zero,
ioc_rval to -1,
ioc_error set to EINVAL
if the device does not use MAC addresses.
For other error conditions,
set ioc_error to an appropriate value from
1, 2, 2.1
``MDI ioctls'' in HDK Technical Reference
02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
HDK 7.1.0b - 15 March 2000