Contents

GetMemorySegmentOffset

Gets the offset to the beginning of the packet in the corresponding memory buffer.

Declaration

virtual kern_return_t GetMemorySegmentOffset(uint64_t *offset) const;

Parameters

  • offset:

    On return, the memory segment offset value.

Return Value

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

See Also

Getting the Packet Information