iPXE
Data Fields
peerdist_info_v1 Struct Reference

Content Information version 1 data structure header. More...

#include <pccrc.h>

Data Fields

union peerdist_info_version version
 Version number. More...
 
uint32_t hash
 Hash algorithm. More...
 
uint32_t first
 Length to skip in first segment. More...
 
uint32_t last
 Length to read in last segment, or zero. More...
 
uint32_t segments
 Number of segments within the content information. More...
 

Detailed Description

Content Information version 1 data structure header.

All fields are little-endian.

Definition at line 62 of file pccrc.h.

Field Documentation

◆ version

union peerdist_info_version peerdist_info_v1::version

Version number.

Definition at line 64 of file pccrc.h.

◆ hash

uint32_t peerdist_info_v1::hash

Hash algorithm.

This is a PEERDIST_INFO_V1_HASH_XXX constant.

Definition at line 69 of file pccrc.h.

◆ first

uint32_t peerdist_info_v1::first

Length to skip in first segment.

Length at the start of the first segment which is not included within the content range.

Definition at line 75 of file pccrc.h.

◆ last

uint32_t peerdist_info_v1::last

Length to read in last segment, or zero.

Length within the last segment which is included within the content range. A zero value indicates that the whole of the last segment is included within the content range.

Definition at line 82 of file pccrc.h.

◆ segments

uint32_t peerdist_info_v1::segments

Number of segments within the content information.

Definition at line 84 of file pccrc.h.


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