Contents

GetHeadroom

Gets the number of bytes reserved at the front of the packet’s buffer.

Declaration

virtual kern_return_t GetHeadroom(uint8_t *headroom) const;

Parameters

  • headroom:

    On return, the headroom value.

Return Value

kIOReturnSuccess on success, or another value if an error occurred.

See Also

Getting the Packet Information