ZeroTierOne/node
2024-09-11 12:13:32 -04:00
..
Address.hpp
AES.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES.hpp
AES_aesni.cpp
AES_armcrypto.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AtomicCounter.hpp
Bond.cpp Fix issues that prevent user multipath preferences from being respected 2024-08-29 10:09:19 -07:00
Bond.hpp
Buffer.hpp
C25519.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
C25519.hpp
Capability.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Capability.hpp
CertificateOfMembership.cpp
CertificateOfMembership.hpp
CertificateOfOwnership.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
CertificateOfOwnership.hpp
Constants.hpp
Credential.hpp
Dictionary.hpp
DNS.hpp
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
IncomingPacket.cpp Merge branch 'dev' into jh-zerotier-multithreaded 2024-09-10 13:10:45 -04:00
IncomingPacket.hpp
InetAddress.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
InetAddress.hpp
MAC.hpp
Membership.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Membership.hpp
Metrics.cpp
Metrics.hpp
Multicaster.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Multicaster.hpp
MulticastGroup.hpp
Mutex.hpp
Network.cpp Add OS_ARCH to network config metadata. 2024-06-24 18:02:58 -04:00
Network.hpp
NetworkConfig.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
NetworkConfig.hpp
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
OutboundMulticast.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
OutboundMulticast.hpp
Packet.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Packet.hpp
PacketMultiplexer.cpp Comment out vestigial test code (improves mt performance) 2024-09-06 09:52:39 -07:00
PacketMultiplexer.hpp
Path.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Path.hpp
Peer.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Peer.hpp
Poly1305.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
Poly1305.hpp
README.md
Revocation.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Revocation.hpp
RingBuffer.hpp
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
SelfAwareness.cpp
SelfAwareness.hpp
SHA512.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
SHA512.hpp
SharedPtr.hpp
Switch.cpp Merge branch 'dev' into jh-zerotier-multithreaded 2024-08-18 15:08:42 -07:00
Switch.hpp
Tag.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Tag.hpp
Topology.cpp
Topology.hpp
Trace.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Trace.hpp
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

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.