iPXE
Data Fields
peerdist_info_v2 Struct Reference

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

#include <pccrc.h>

Data Fields

union peerdist_info_version version
 Version number.
uint8_t hash
 Hash algorithm.
uint64_t offset
 Offset of the first segment within the content.
uint64_t index
 Index of the first segment within the content.
uint32_t first
 Length to skip in first segment.
uint64_t len
 Length of content range, or zero.

Detailed Description

Content Information version 2 data structure header.

All fields are big-endian.

Definition at line 196 of file pccrc.h.


Field Documentation

Version number.

Definition at line 198 of file pccrc.h.

Referenced by peerdist_info_v2().

Hash algorithm.

This is a PEERDIST_INFO_V2_HASH_XXX constant.

Definition at line 203 of file pccrc.h.

Referenced by peerdist_info_v2().

Offset of the first segment within the content.

Definition at line 205 of file pccrc.h.

Referenced by peerdist_info_v2().

Index of the first segment within the content.

Definition at line 207 of file pccrc.h.

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 213 of file pccrc.h.

Referenced by peerdist_info_v2().

Length of content range, or zero.

Length of the content range. A zero indicates that everything up to the end of the last segment is included in the content range.

Definition at line 220 of file pccrc.h.

Referenced by peerdist_info_v2().


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