iPXE
Data Fields
peerdisc_segment Struct Reference

A PeerDist discovery segment. More...

#include <peerdisc.h>

Data Fields

struct refcnt refcnt
 Reference count.
struct list_head list
 List of segments.
const char * id
 Segment identifier string.
const char * uuid
 Message UUID string.
struct list_head peers
 List of discovered peers.
struct list_head clients
 List of active clients.
struct retry_timer timer
 Transmission timer.

Detailed Description

A PeerDist discovery segment.

Definition at line 42 of file peerdisc.h.


Field Documentation

Reference count.

Definition at line 44 of file peerdisc.h.

Referenced by peerdisc_close(), peerdisc_create(), peerdisc_destroy(), and peerdisc_open().

List of segments.

Definition at line 46 of file peerdisc.h.

Referenced by peerdisc_create(), peerdisc_destroy(), and peerdisc_find().

const char* peerdisc_segment::id

Segment identifier string.

This is MS-PCCRC's "HoHoDk", transcribed as an upper-case Base16-encoded string.

Definition at line 52 of file peerdisc.h.

Referenced by peerdisc_create(), peerdisc_expired(), and peerdisc_find().

Message UUID string.

Definition at line 54 of file peerdisc.h.

Referenced by peerdisc_create(), and peerdisc_expired().

List of discovered peers.

The list of peers may be appended to during the lifetime of the discovery segment. Discovered peers will not be removed from the list until the last discovery has been closed; this allows users to safely maintain a pointer to a current position within the list.

Definition at line 63 of file peerdisc.h.

Referenced by peerblk_done(), peerblk_expired(), peerblk_open(), peerdisc_close(), peerdisc_create(), peerdisc_discovered(), and peerdisc_free().

List of active clients.

Definition at line 65 of file peerdisc.h.

Referenced by peerdisc_close(), peerdisc_create(), peerdisc_destroy(), peerdisc_discovered(), and peerdisc_open().

Transmission timer.

Definition at line 67 of file peerdisc.h.

Referenced by peerdisc_create(), peerdisc_destroy(), and peerdisc_expired().


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