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.
uint32_t hash
 Hash algorithm.
uint32_t first
 Length to skip in first segment.
uint32_t last
 Length to read in last segment, or zero.
uint32_t segments
 Number of segments within the content information.

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 number.

Definition at line 64 of file pccrc.h.

Referenced by peerdist_info_v1().

Hash algorithm.

This is a PEERDIST_INFO_V1_HASH_XXX constant.

Definition at line 69 of file pccrc.h.

Referenced by peerdist_info_v1().

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.

Referenced by peerdist_info_v1().

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.

Referenced by peerdist_info_v1().

Number of segments within the content information.

Definition at line 84 of file pccrc.h.

Referenced by peerdist_info_v1().


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