Data Fields
peerdist_info_segment Struct Reference

A content information segment. More...

#include <pccrc.h>

Data Fields

const struct peerdist_infoinfo
 Content information. More...
unsigned int index
 Segment index. More...
struct peerdist_range range
 Content range. More...
unsigned int blocks
 Number of blocks within this segment. More...
size_t blksize
 Block size. More...
 Segment hash of data. More...
 Segment secret. More...
 Segment identifier. More...

Detailed Description

A content information segment.

Definition at line 347 of file pccrc.h.

Field Documentation

◆ info

const struct peerdist_info* peerdist_info_segment::info

Content information.

Definition at line 349 of file pccrc.h.

◆ index

unsigned int peerdist_info_segment::index

Segment index.

Definition at line 351 of file pccrc.h.

◆ range

struct peerdist_range peerdist_info_segment::range

Content range.

Note that this range may exceed the overall content range.

Definition at line 357 of file pccrc.h.

◆ blocks

unsigned int peerdist_info_segment::blocks

Number of blocks within this segment.

Definition at line 359 of file pccrc.h.

◆ blksize

size_t peerdist_info_segment::blksize

Block size.

Definition at line 361 of file pccrc.h.

◆ hash

uint8_t peerdist_info_segment::hash[PEERDIST_DIGEST_MAX_SIZE]

Segment hash of data.

This is MS-PCCRC's "HoD".

Definition at line 366 of file pccrc.h.

◆ secret

uint8_t peerdist_info_segment::secret[PEERDIST_DIGEST_MAX_SIZE]

Segment secret.

This is MS-PCCRC's "Ke = Kp".

Definition at line 371 of file pccrc.h.

◆ id

uint8_t peerdist_info_segment::id[PEERDIST_DIGEST_MAX_SIZE]

Segment identifier.

This is MS-PCCRC's "HoHoDk".

Definition at line 376 of file pccrc.h.

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