Loading...
Searching...
No Matches
DumpHardwareHeader Struct Reference

Header that precedes a sequence of dump hardware entries and their variable-length payload. More...

`#include <aaruformat/structs/dump.h>`

## Data Fields

uint32_t | identifier
| Block identifier, must be BlockType::DumpHardwareBlock.
uint16_t | entries
| Number of DumpHardwareEntry records that follow.
uint32_t | length
| Total payload bytes after this header (sum of entries, strings, and extents arrays).
uint64_t | crc64
| CRC64-ECMA of the payload (byte-swapped for legacy v1 images, handled automatically).

## Detailed Description

Header that precedes a sequence of dump hardware entries and their variable-length payload.

Definition at line 90 of file dump.h.

## Field Documentation

## crc64

uint64_t DumpHardwareHeader::crc64

CRC64-ECMA of the payload (byte-swapped for legacy v1 images, handled automatically).

Definition at line 95 of file dump.h.

Referenced by aaruf_get_dumphw(), aaruf_set_dumphw(), process_dumphw_block(), and write_dumphw_block().

## entries

uint16_t DumpHardwareHeader::entries

Number of DumpHardwareEntry records that follow.

Definition at line 93 of file dump.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), aaruf_set_dumphw(), process_dumphw_block(), reset_dump_hardware_context(), and write_dumphw_block().

## identifier

uint32_t DumpHardwareHeader::identifier

Block identifier, must be BlockType::DumpHardwareBlock.

Definition at line 92 of file dump.h.

Referenced by aaruf_get_dumphw(), aaruf_set_dumphw(), process_dumphw_block(), and write_dumphw_block().

## length

uint32_t DumpHardwareHeader::length

Total payload bytes after this header (sum of entries, strings, and extents arrays).

Definition at line 94 of file dump.h.

Referenced by aaruf_get_dumphw(), aaruf_set_dumphw(), process_dumphw_block(), and write_dumphw_block().

The documentation for this struct was generated from the following file:

- include/aaruformat/structs/dump.h