Contents

SetDataOffset

Changes the offset to the beginning of the packet’s data to the specified value.

Declaration

virtual kern_return_t SetDataOffset(uint16_t offset);

Parameters

  • offset:

    The new data offset value, specified in bytes from the beginning of the buffer.

Return Value

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

See Also

Configuring the Packet State Information