iPXE
peerdist_retrieval Struct Reference

A retrieval protocol mechanism. More...

#include <pccrr.h>

Data Fields

const char * name
 Name.
int(* open )(struct interface *xfer, const char *location, size_t digestsize, const uint8_t *id, unsigned int block)
 Open retrieval protocol connection.

Detailed Description

A retrieval protocol mechanism.

Definition at line 356 of file pccrr.h.

Field Documentation

◆ name

const char* peerdist_retrieval::name

Name.

Definition at line 358 of file pccrr.h.

Referenced by peerblk_retrieval_open().

◆ open

int(* peerdist_retrieval::open) (struct interface *xfer, const char *location, size_t digestsize, const uint8_t *id, unsigned int block)

Open retrieval protocol connection.

Parameters
xferData transfer interface
locationPeer location
digestsizeDigest size
idSegment identifier
blockBlock index
Return values
rcReturn status code

Definition at line 369 of file pccrr.h.

Referenced by peerblk_retrieval_open().


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