Contents

setMediaHeaderLength

Sets the size of the media header.

Declaration

virtual bool setMediaHeaderLength(
 UInt8length );

Parameters

  • length:

    The size of the media header in bytes.

Return Value

Always returns true.

Overview

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

See Also

Miscellaneous