getHardwareAddress(IOEthernetAddress *)
Gets the Ethernet controller's permanent station address.
Declaration
virtual IOReturn getHardwareAddress(
IOEthernetAddress *addrP) = 0;Parameters
- addrP:
Pointer to an IOEthernetAddress where the hardware address should be returned.
Return Value
Returns kIOReturnSuccess on success, or an error return code otherwise.
Overview
Ethernet drivers must implement this method, by reading the address from hardware and writing it to the buffer provided. This method is called from the workloop context.
See Also
Miscellaneous
createInterfacedisablePacketFilterenablePacketFilterfreegetHardwareAddress(void *, UInt32 *)getMaxPacketSizegetMinPacketSizegetPacketFilters(const OSSymbol *, UInt32 *)getPacketFilters(UInt32 *)getVlanTagDemandinitinitializepublishPropertiessetHardwareAddress(const IOEthernetAddress *)setHardwareAddress(const void *, UInt32)setMulticastListsetMulticastModesetPromiscuousModesetVlanTagsetWakeOnMagicPacket