iPXE
Data Fields
peerdist_info_segment_test Struct Reference

A content information segment test. More...

Data Fields

unsigned int index
 Segment index.
struct peerdist_range expected_range
 Expected content range.
unsigned int expected_blocks
 Expected number of blocks.
size_t expected_blksize
 Expected block size.
uint8_t expected_hash [PEERDIST_DIGEST_MAX_SIZE]
 Expected segment hash of data.
uint8_t expected_secret [PEERDIST_DIGEST_MAX_SIZE]
 Expected segment secret.
uint8_t expected_id [PEERDIST_DIGEST_MAX_SIZE]
 Expected segment identifier.

Detailed Description

A content information segment test.

Definition at line 130 of file pccrc_test.c.


Field Documentation

Segment index.

Definition at line 132 of file pccrc_test.c.

Referenced by peerdist_info_segment_okx().

Expected content range.

Definition at line 134 of file pccrc_test.c.

Referenced by peerdist_info_segment_okx().

Expected number of blocks.

Definition at line 136 of file pccrc_test.c.

Referenced by peerdist_info_segment_okx().

Expected block size.

Definition at line 138 of file pccrc_test.c.

Referenced by peerdist_info_segment_okx().

Expected segment hash of data.

Definition at line 140 of file pccrc_test.c.

Referenced by peerdist_info_passphrase_okx(), and peerdist_info_segment_okx().

Expected segment secret.

Definition at line 142 of file pccrc_test.c.

Referenced by peerdist_info_passphrase_okx(), and peerdist_info_segment_okx().

Expected segment identifier.

Definition at line 144 of file pccrc_test.c.

Referenced by peerdist_info_segment_okx().


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