Skip to main content

Module v1

Module v1 

Source
Expand description

The Application layer protocol version 1.

Structs§

ApplicationData
Represents the to-be-sent or received decrypted packet carrying the application-layer data.
ApplicationDataIn
Wrapper for incoming ApplicationData with optional IncomingPacketInfo.
ApplicationDataOut
Wrapper for outgoing ApplicationData with optional IncomingPacketInfo.
IncomingPacketInfo
Holds packet transient information when ApplicationData is passed from the HOPR protocol layer to the Application layer.
OutgoingPacketInfo
Holds packet transient information when ApplicationData is passed to the HOPR protocol layer from the Application layer.
ReservedTagIter
An iterator over the variants of ReservedTag
SurbRefund
The SURB a sender has already counted as consumed for an outgoing return packet, given back if the packet is dropped before it takes one.

Enums§

ReservedTag
List of all reserved application tags for the protocol.
Tag
Tags distinguishing different application-layer protocols.

Functions§

check_len 🔒
Checks that len can hold the Tag and fits into a HOPR packet.