Data Fields
peerdist_info_segment_test Struct Reference

A content information segment test. More...

Data Fields

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

Detailed Description

A content information segment test.

Definition at line 130 of file pccrc_test.c.

Field Documentation

◆ index

unsigned int peerdist_info_segment_test::index

Segment index.

Definition at line 132 of file pccrc_test.c.

◆ expected_range

struct peerdist_range peerdist_info_segment_test::expected_range

Expected content range.

Definition at line 134 of file pccrc_test.c.

◆ expected_blocks

unsigned int peerdist_info_segment_test::expected_blocks

Expected number of blocks.

Definition at line 136 of file pccrc_test.c.

◆ expected_blksize

size_t peerdist_info_segment_test::expected_blksize

Expected block size.

Definition at line 138 of file pccrc_test.c.

◆ expected_hash

uint8_t peerdist_info_segment_test::expected_hash[PEERDIST_DIGEST_MAX_SIZE]

Expected segment hash of data.

Definition at line 140 of file pccrc_test.c.

◆ expected_secret

uint8_t peerdist_info_segment_test::expected_secret[PEERDIST_DIGEST_MAX_SIZE]

Expected segment secret.

Definition at line 142 of file pccrc_test.c.

◆ expected_id

uint8_t peerdist_info_segment_test::expected_id[PEERDIST_DIGEST_MAX_SIZE]

Expected segment identifier.

Definition at line 144 of file pccrc_test.c.

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