ZeroTierOne/node
2024-03-19 14:38:48 -07:00
..
Address.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES_aesni.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES_armcrypto.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AtomicCounter.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Bond.cpp Fix condition where active-backup would fail to engage 2024-03-14 00:19:26 -07:00
Bond.hpp Port multipath improvements to newer version 2024-03-01 15:43:28 -08:00
Buffer.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
C25519.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
C25519.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Capability.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Capability.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
CertificateOfMembership.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
CertificateOfMembership.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
CertificateOfOwnership.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
CertificateOfOwnership.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Constants.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Credential.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Dictionary.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
DNS.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Hashtable.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Identity.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Identity.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
IncomingPacket.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
IncomingPacket.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
InetAddress.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
InetAddress.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
MAC.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Membership.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Membership.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Metrics.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Metrics.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Multicaster.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Multicaster.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
MulticastGroup.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Mutex.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Network.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Network.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
NetworkConfig.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
NetworkConfig.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
NetworkController.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Node.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Node.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
OutboundMulticast.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
OutboundMulticast.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Packet.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Packet.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Path.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Path.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Peer.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Peer.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Poly1305.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
Poly1305.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Revocation.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
RingBuffer.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
RuntimeEnvironment.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Salsa20.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
Salsa20.hpp ALMOST compiles for ARM64 Windows, only remaining barrier is ring in zeroidc. 2022-04-27 12:19:42 -04:00
SelfAwareness.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
SelfAwareness.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
SHA512.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
SHA512.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
SharedPtr.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Switch.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Switch.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Tag.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Tag.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Topology.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Topology.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Trace.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Trace.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Utils.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Utils.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
World.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00

ZeroTier Network Hypervisor Core

This directory contains the real ZeroTier: a completely OS-independent global virtual Ethernet switch engine. This is where the magic happens.

Give it wire packets and it gives you Ethernet packets, and vice versa. The core contains absolutely no actual I/O, port configuration, or other OS-specific code (except Utils::getSecureRandom()). It provides a simple C API via /include/ZeroTierOne.h. It's designed to be small and maximally portable for future use on small embedded and special purpose systems.

Code in here follows these guidelines:

  • Keep it minimal, especially in terms of code footprint and memory use.
  • There should be no OS-dependent code here unless absolutely necessary (e.g. getSecureRandom).
  • If it's not part of the core virtual Ethernet switch it does not belong here.
  • No C++11 or C++14 since older and embedded compilers don't support it yet and this should be maximally portable.
  • Minimize the use of complex C++ features since at some point we might end up "minus-minus'ing" this code if doing so proves necessary to port to tiny embedded systems.