Contents

setMediaAddressLength

Sets the size of the media (MAC-layer) address.

Declaration

virtual bool setMediaAddressLength(
 UInt8length );

Parameters

  • length:

    The size of the media address in bytes.

Return Value

Always returns true.

Overview

Calls ifnet_set_addrlen if interface is attached to the network stack, and updates the kIOMediaAddressLength property using the provided value.

See Also

Miscellaneous