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. More...
 
uint8_t hash
 Hash algorithm. More...
 
uint64_t offset
 Offset of the first segment within the content. More...
 
uint64_t index
 Index of the first segment within the content. More...
 
uint32_t first
 Length to skip in first segment. More...
 
uint64_t len
 Length of content range, or zero. More...
 

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

union peerdist_info_version peerdist_info_v2::version

Version number.

Definition at line 198 of file pccrc.h.

◆ hash

uint8_t peerdist_info_v2::hash

Hash algorithm.

This is a PEERDIST_INFO_V2_HASH_XXX constant.

Definition at line 203 of file pccrc.h.

◆ offset

uint64_t peerdist_info_v2::offset

Offset of the first segment within the content.

Definition at line 205 of file pccrc.h.

◆ index

uint64_t peerdist_info_v2::index

Index of the first segment within the content.

Definition at line 207 of file pccrc.h.

◆ first

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

◆ len

uint64_t peerdist_info_v2::len

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.


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