ZeroTierOne/node
2024-09-27 17:52:43 -04:00
..
Address.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
AES_aesni.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
AES_armcrypto.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
AES.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
AES.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
AtomicCounter.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Bond.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Bond.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Buffer.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Capability.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Capability.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
CertificateOfMembership.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
CertificateOfMembership.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
CertificateOfOwnership.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
CertificateOfOwnership.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Constants.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Credential.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Dictionary.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
DNS.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
ECC.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
ECC.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Hashtable.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Identity.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Identity.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
IncomingPacket.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
IncomingPacket.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
InetAddress.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
InetAddress.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
MAC.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Membership.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Membership.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Metrics.cpp Bug fix in extended armor. 2024-09-26 20:13:10 -04:00
Metrics.hpp Bug fix in extended armor. 2024-09-26 20:13:10 -04:00
Multicaster.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Multicaster.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
MulticastGroup.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Mutex.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Network.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Network.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
NetworkConfig.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
NetworkConfig.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
NetworkController.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Node.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Node.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
OutboundMulticast.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
OutboundMulticast.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Packet.cpp Bug fix in extended armor. 2024-09-26 20:13:10 -04:00
Packet.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
PacketMultiplexer.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
PacketMultiplexer.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Path.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Path.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Peer.cpp Actually invoke extended armor 2024-09-27 17:52:43 -04:00
Peer.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Poly1305.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Poly1305.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Revocation.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
RingBuffer.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
RuntimeEnvironment.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Salsa20.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Salsa20.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
SelfAwareness.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
SelfAwareness.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
SHA512.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
SHA512.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
SharedPtr.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Switch.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Switch.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Tag.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Tag.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Topology.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Topology.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Trace.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Trace.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Utils.cpp Clang-format!!! 2024-09-26 08:52:29 -04:00
Utils.hpp Clang-format!!! 2024-09-26 08:52:29 -04:00
World.hpp Clang-format!!! 2024-09-26 08:52:29 -04: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.