13 #define PEERDIST_DISCOVERY_PORT 3702 16 #define PEERDIST_DISCOVERY_IPV4 \ 17 ( ( 239 << 24 ) | ( 255 << 16 ) | ( 255 << 8 ) | ( 250 << 0 ) ) 20 #define PEERDIST_DISCOVERY_IPV6 \ 21 { 0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xc } A PeerDist discovery reply block count.
struct peerdist_discovery_reply __attribute__
int peerdist_discovery_reply(char *data, size_t len, struct peerdist_discovery_reply *reply)
Parse discovery reply.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
A PeerDist discovery reply.
char * locations
List of peer locations.
char * peerdist_discovery_request(const char *uuid, const char *id)
Construct discovery request.
char hex[8]
Count (as an eight-digit hex value)
char * ids
List of segment ID strings.
uint8_t data[48]
Additional event data.