Skip to main content

ZT_RemoteTrace

More...

#include <ZeroTierOne.h>

Public Attributes#

Name
uint64_torigin
char *data
unsigned intlen

Detailed Description#

struct ZT_RemoteTrace;

Payload of REMOTE_TRACE event

Public Attributes Documentation#

variable origin#

uint64_t origin;

ZeroTier address of sender

variable data#

char * data;

Null-terminated Dictionary containing key/value pairs sent by origin

This should be a dictionary, but the implementation only checks that it is a valid non-empty C-style null-terminated string. Be very careful to use a well-tested parser to parse this as it represents data received from a potentially un-trusted peer on the network. Invalid payloads should be dropped.

The contents of data[] may be modified.

variable len#

unsigned int len;

Length of dict[] in bytes, including terminating null


Updated on 25 October 2021 at 23:59:59 UTC