llarp::dtls::DialbackFrame

Public Functions

Name
bool BEncode(llarp_buffer_t * buf) const
bool BDecode(llarp_buffer_t * buf)
bool DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * buf)

Public Attributes

Name
constexpr size_t ChallengeSize
DialbackAction action
AlignedBuffer< ChallengeSize > challenge
uint64_t timestamp
Signature signature
std::string error
bool relayMarker
bool xMarker
bool yMarker

Public Functions Documentation

function BEncode

bool BEncode(
    llarp_buffer_t * buf
) const

function BDecode

bool BDecode(
    llarp_buffer_t * buf
)

function DecodeKey

bool DecodeKey(
    const llarp_buffer_t & key,
    llarp_buffer_t * buf
)

Public Attributes Documentation

variable ChallengeSize

static constexpr size_t ChallengeSize = 32;

variable action

DialbackAction action = DialbackAction::Challenge;

variable challenge

AlignedBuffer< ChallengeSize > challenge {};

variable timestamp

uint64_t timestamp = 0;

variable signature

Signature signature {};

variable error

std::string error;

variable relayMarker

bool relayMarker = true;

variable xMarker

bool xMarker = true;

variable yMarker

bool yMarker = true;

Updated on 2026-08-23 at 15:46:33 +0000