Skip to main content

Crate ts_disco_protocol

Crate ts_disco_protocol 

Source
Expand description

§ts_disco_protocol

Implementation of Tailscale’s peer-to-peer discovery (“disco”) protocol.

Structs§

CallMeMaybe
A message sent only over derp to request that the recipient try to opn a magicsock path back to the sender.
Endpoint
An endpoint included in a CallMeMaybe message: a socket address on which this node believes it’s reachable.
Header
A disco message header.
Packet
A disco packet that may hold an encrypted or plaintext payload.
Ping
A ping message from one node to another.
Pong
A pong message responds to a Ping with the same tx_id.

Enums§

Error
Errors that may be encountered during disco message processing.
MessageType
Disco message types.

Traits§

Message
Common disco message functionality.

Functions§

is_disco_message
Report whether buf looks like a disco message.