iPXE
Data Fields
peerdisc_segment Struct Reference

A PeerDist discovery segment. More...

#include <peerdisc.h>

Data Fields

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

Detailed Description

A PeerDist discovery segment.

Definition at line 42 of file peerdisc.h.

Field Documentation

◆ refcnt

struct refcnt peerdisc_segment::refcnt

Reference count.

Definition at line 44 of file peerdisc.h.

◆ list

struct list_head peerdisc_segment::list

List of segments.

Definition at line 46 of file peerdisc.h.

Referenced by peerdisc_find().

◆ id

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.

◆ uuid

const char* peerdisc_segment::uuid

Message UUID string.

Definition at line 54 of file peerdisc.h.

◆ peers

struct list_head peerdisc_segment::peers

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_open().

◆ clients

struct list_head peerdisc_segment::clients

List of active clients.

Definition at line 65 of file peerdisc.h.

◆ timer

struct retry_timer peerdisc_segment::timer

Transmission timer.

Definition at line 67 of file peerdisc.h.


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