Documentation
¶
Index ¶
Constants ¶
View Source
const ( CmdData = iota CmdHandshake CmdAuthenticate CmdServer = 0x80 CmdServerMask = 0x7f )
The various commands for each message carried via the framing layer. Each command is 7 bits, with the most significant bit, signifying the direction.
View Source
const ( // MaxIPv4TcpSize is the typical Ethernet IPv4 TCP MSS. MaxIPv4TcpSize = 1500 - (20 + 20) // MaxIPv6TcpSize is the typical Ethernet IPv6 TCP MSS. MaxIPv6TcpSize = 1500 - (40 + 20) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package tentp implements the framing layer portion of the Trivial Encrypted Network Transport Protocol, a lightweight XChaCha20 + Poly1305 based authentication/encryption protocol for streams with reliable-in-order delivery semantics.
|
Package tentp implements the framing layer portion of the Trivial Encrypted Network Transport Protocol, a lightweight XChaCha20 + Poly1305 based authentication/encryption protocol for streams with reliable-in-order delivery semantics. |
Click to show internal directories.
Click to hide internal directories.