UDP-WG Implementation
Loading...
Searching...
No Matches
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 12]
 Cwireguard::configA WireGuard Configuration
 Cshared::connection
 Ccrypto::keypairA simple private-public keypair
 Cwireguard::PacketFor both security and ease of use, we want to use crypto::string as much as possible. This makes it easy to run all our cryptographic functions on the handshake and transport, but it raises an issue in that these objects are not contiguous values in memory (Or, they are, but casting it into a character array isn't going to get you the bytes). If you tried to just cast the string and send it across the wire, you'd get garbage. Instead, we need to Serialize and Expand from a collection of crypto::strings making up a packet (Whether that be the handshake packets or transport packets), so that we can work with crypto::string, but be able to serialize it down when we need to send it, and construct it back from bytes when receiving it. To unify this functionality, the Packet object contains a list of crypto::string's in a vector and will serialize the contents of it, and construct a itself from bytes. Other objects derive from this class, and specify the size of the vector and its elements, and values to access specific parts
 Cwireguard::CookiePacket
 Cwireguard::InitPacketThe initial packet sent from initiator to responder
 Cwireguard::ResponsePacketThe packet sent by the responder to the initiator during the handshake
 Cwireguard::TransportPacketA WireGuard packet for sending Transport Messages
 Cudp::packetA UDP Packet
 Cnetwork::queueA thread-safe queue
 Cwireguard::RmA controlled wrapper for the secret random value used for the WireGuard cookies
 Ccrypto::stringA cryptographically secure string
 Cshared::sys_packetA system packet