iPXE
Data Fields
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 132 of file peerblk.h.


Field Documentation

Download opening process.

Definition at line 134 of file peerblk.h.

Referenced by peerblk_dequeue(), peerblk_enqueue(), and peerblk_step().

List of queued downloads.

Definition at line 136 of file peerblk.h.

Referenced by peerblk_enqueue(), and peerblk_step().

Number of open downloads.

Definition at line 139 of file peerblk.h.

Referenced by peerblk_dequeue(), and peerblk_step().

Maximum number of open downloads.

Definition at line 141 of file peerblk.h.

Referenced by peerblk_step().

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

Open block download.

Parameters:
peerblkPeerDist block download
Return values:
rcReturn status code

Definition at line 148 of file peerblk.h.

Referenced by peerblk_step().


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