iPXE
peerdist_block_queue Struct Reference

PeerDist block download queue. More...

#include <peerblk.h>

Data Fields

struct process process
 Download opening process.
struct list_head list
 List of queued downloads.
unsigned int count
 Number of open downloads.
unsigned int max
 Maximum number of open downloads.
int(* open )(struct peerdist_block *peerblk)
 Open block download.

Detailed Description

PeerDist block download queue.

Definition at line 133 of file peerblk.h.

Field Documentation

◆ process

struct process peerdist_block_queue::process

Download opening process.

Definition at line 135 of file peerblk.h.

◆ list

struct list_head peerdist_block_queue::list

List of queued downloads.

Definition at line 137 of file peerblk.h.

◆ count

unsigned int peerdist_block_queue::count

Number of open downloads.

Definition at line 140 of file peerblk.h.

◆ max

unsigned int peerdist_block_queue::max

Maximum number of open downloads.

Definition at line 142 of file peerblk.h.

◆ open

int(* peerdist_block_queue::open) (struct peerdist_block *peerblk)

Open block download.

Parameters
peerblkPeerDist block download
Return values
rcReturn status code

Definition at line 149 of file peerblk.h.


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