iPXE
Data Fields
peerdist_info_block Struct Reference

A content information block. More...

#include <pccrc.h>

Data Fields

struct peerdist_info_segmentsegment
 Content information segment.
unsigned int index
 Block index.
struct peerdist_range range
 Content range.
struct peerdist_range trim
 Trimmed content range.
uint8_t hash [PEERDIST_DIGEST_MAX_SIZE]
 Block hash.

Detailed Description

A content information block.

Definition at line 394 of file pccrc.h.


Field Documentation

Content information segment.

Definition at line 396 of file pccrc.h.

Referenced by peerblk_open(), peerdist_info_block(), peerdist_info_block_okx(), peerdist_info_v1_block(), and peerdist_info_v2_block().

Content range.

Note that this range may exceed the overall content range.

Definition at line 404 of file pccrc.h.

Referenced by peerblk_open(), peerdist_info_block(), peerdist_info_block_okx(), peerdist_info_v1_block(), and peerdist_info_v2_block().

Trimmed content range.

Definition at line 406 of file pccrc.h.

Referenced by peerblk_open(), peerdist_info_block(), peerdist_info_block_okx(), and peermux_step().


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