ZeroTierOne/node
2024-09-11 12:13:32 -04: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 issues that prevent user multipath preferences from being respected 2024-08-29 10:09:19 -07:00
Bond.hpp Fix issues that prevent user multipath preferences from being respected 2024-08-29 10:09:19 -07: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 Add ios differentiation, and .clangd that works w/Zed and clangd. 2024-09-09 14:36:22 -04: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 Merge branch 'dev' into jh-zerotier-multithreaded 2024-09-10 13:10:45 -04: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 Add OS_ARCH to network config metadata. 2024-06-24 18:02:58 -04: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 Add OS_ARCH to network config metadata. 2024-06-24 18:02:58 -04:00
NetworkController.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Node.cpp Simplify packet critical path. Plus more platform fixes 2024-08-22 12:59:06 -07:00
Node.hpp Simplify packet critical path. Plus more platform fixes 2024-08-22 12:59:06 -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
PacketMultiplexer.cpp Comment out vestigial test code (improves mt performance) 2024-09-06 09:52:39 -07:00
PacketMultiplexer.hpp Simplify packet critical path. Plus more platform fixes 2024-08-22 12:59:06 -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 Merge branch 'dev' into jh-zerotier-multithreaded 2024-08-18 15:08:42 -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 Merge branch 'dev' into jh-zerotier-multithreaded 2024-08-18 15:08:42 -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 Merge branch 'dev' into lel-amri-fix-mac-handling-in-rules-parser 2024-09-11 12:13:32 -04: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.