1 #ifndef _IPXE_PEERMUX_H 2 #define _IPXE_PEERMUX_H 22 #define PEERMUX_MAX_BLOCKS 32
A content information segment.
int peermux_filter(struct interface *xfer, struct interface *info, struct uri *uri)
Add PeerDist content-encoding filter.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Uniform Resource Identifiers.
A PeerDist multiplexed block download.
unsigned int peers
Maximum observed number of peers.
struct peerdist_info_cache cache
Content information cache.
A doubly-linked list entry (or list head)
struct peerdist_multiplexer * peermux
PeerDist download multiplexer.
A content information block.
A PeerDist download multiplexer.
unsigned int total
Number of blocks downloaded in total.
Peer Content Caching and Retrieval: Content Identification [MS-PCCRC].
struct list_head list
List of multiplexed blocks.
struct peerdist_multiplexed_block block[PEERMUX_MAX_BLOCKS]
Block downloads.
struct peerdist_info_block block
Content information block.
struct interface xfer
Data transfer interface.
PeerDist download content information cache.
struct list_head idle
List of idle block downloads.
struct peerdist_statistics stats
Statistics.
struct interface xfer
Data transfer interface.
struct peerdist_info_segment segment
Content information segment.
unsigned int local
Number of blocks downloaded from peers.
struct list_head busy
List of busy block downloads.
A Uniform Resource Identifier.
struct xfer_buffer buffer
Content information data transfer buffer.
#define PEERMUX_MAX_BLOCKS
Maximum number of concurrent block downloads.
struct interface info
Content information interface.
struct uri * uri
Original URI.
struct peerdist_info info
Content information.