Contents

GetDataOffset

Gets the offset to the beginning of the packet’s data.

Declaration

virtual kern_return_t GetDataOffset(uint16_t *offset) const;

Parameters

  • offset:

    On return, the offset value.

Return Value

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

See Also

Getting the Packet Information