Contents

GetDataLength

Gets the number of bytes of data in the packet.

Declaration

virtual kern_return_t GetDataLength(uint32_t *length) const;

Parameters

  • length:

    On return, the data length value.

Return Value

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

See Also

Getting the Packet Information