1#ifndef _IPXE_PEERDISC_H
2#define _IPXE_PEERDISC_H
37#define PEERDISC_SOCKETS __table ( struct peerdisc_socket, "peerdisc_sockets" )
40#define __peerdisc_socket __table_entry ( PEERDISC_SOCKETS, 01 )
115#define peerdisc_stat_TYPE( object_type ) \
116 typeof ( void ( object_type, struct peerdisc_peer *peer, \
117 struct list_head *peers ) )
uint64_t address
Base address.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
struct mschapv2_challenge peer
Peer challenge.
static uint16_t struct vmbus_xfer_pages_operations * op
Peer Content Caching and Retrieval: Content Identification [MS-PCCRC].
unsigned int peerdisc_timeout_secs
Recommended discovery timeout (in seconds)
void peerdisc_stat(struct interface *intf, struct peerdisc_peer *peer, struct list_head *peers)
Report peer discovery statistics.
int peerdisc_open(struct peerdisc_client *peerdisc, const void *id, size_t len)
Open PeerDist discovery client.
void peerdisc_close(struct peerdisc_client *peerdisc)
Close PeerDist discovery client.
static void peerdisc_init(struct peerdisc_client *peerdisc, struct peerdisc_client_operations *op)
Initialise PeerDist discovery.
A doubly-linked list entry (or list head)
PeerDist discovery client operations.
void(* discovered)(struct peerdisc_client *peerdisc)
New peers have been discovered.
A PeerDist discovery client.
struct list_head list
List of clients.
struct peerdisc_segment * segment
Discovery segment.
struct peerdisc_client_operations * op
Operations.
A PeerDist discovery peer.
struct list_head list
List of peers.
char location[0]
Peer location.
A PeerDist discovery segment.
struct retry_timer timer
Transmission timer.
const char * uuid
Message UUID string.
const char * id
Segment identifier string.
struct list_head list
List of segments.
struct list_head peers
List of discovered peers.
struct list_head clients
List of active clients.
struct refcnt refcnt
Reference count.
A PeerDist discovery socket.
struct interface xfer
Data transfer interface.
Generalized socket address structure.