getHardwareAddress(void *, UInt32 *)
Gets the Ethernet controller's station address.
Declaration
virtual IOReturn getHardwareAddress(
void *addr,
UInt32 *inOutAddrBytes);Parameters
- addr:
The buffer where the controller's hardware address should be written.
- inOutAddrBytes:
The size of the address buffer provided by the client, and replaced by this method with the actual size of the hardware address in bytes.
Return Value
Returns kIOReturnSuccess on success, or an error otherwise.
Overview
The default implementation of the abstract method inherited from IONetworkController. This method will call the overloaded form IOEthernetController::getHardwareAddress() that subclasses are expected to override.
See Also
Miscellaneous
createInterfacedisablePacketFilterenablePacketFilterfreegetHardwareAddress(IOEthernetAddress *)getMaxPacketSizegetMinPacketSizegetPacketFilters(const OSSymbol *, UInt32 *)getPacketFilters(UInt32 *)getVlanTagDemandinitinitializepublishPropertiessetHardwareAddress(const IOEthernetAddress *)setHardwareAddress(const void *, UInt32)setMulticastListsetMulticastModesetPromiscuousModesetVlanTagsetWakeOnMagicPacket