ZeroTierOne/node
2017-01-27 14:05:09 -08:00
..
Address.hpp
Array.hpp
AtomicCounter.hpp
Buffer.hpp
C25519.cpp
C25519.hpp
Capability.cpp
Capability.hpp
CertificateOfMembership.cpp
CertificateOfMembership.hpp
Cluster.cpp
Cluster.hpp
Constants.hpp
Dictionary.hpp
Hashtable.hpp
Identity.cpp
Identity.hpp
IncomingPacket.cpp little fix 2017-01-27 13:52:29 -08:00
IncomingPacket.hpp Wire up VERB_USER_MESSAGE in core. 2017-01-09 15:55:07 -08:00
InetAddress.cpp
InetAddress.hpp
MAC.hpp
Membership.cpp
Membership.hpp
Multicaster.cpp
Multicaster.hpp Windows build fixes, Software update fix, warning removal. 2017-01-13 14:22:36 -08:00
MulticastGroup.hpp
Mutex.hpp
Network.cpp Relay policy can now be computed. 2017-01-27 14:05:09 -08:00
Network.hpp
NetworkConfig.cpp
NetworkConfig.hpp Relay policy can now be computed. 2017-01-27 14:05:09 -08:00
NetworkController.hpp
Node.cpp Relay policy can now be computed. 2017-01-27 14:05:09 -08:00
Node.hpp Relay policy can now be computed. 2017-01-27 14:05:09 -08:00
NonCopyable.hpp
OutboundMulticast.cpp
OutboundMulticast.hpp
Packet.cpp Encapsulate LZ4 in Packet.cpp to eliminate dependency. 2017-01-19 15:16:04 -08:00
Packet.hpp Extend in-band world updates to handle moons too. 2017-01-27 13:50:56 -08:00
Path.cpp
Path.hpp
Peer.cpp Extend in-band world updates to handle moons too. 2017-01-27 13:50:56 -08:00
Peer.hpp
Poly1305.cpp
Poly1305.hpp
README.md
Revocation.cpp
Revocation.hpp
RuntimeEnvironment.hpp
Salsa20.cpp
Salsa20.hpp
SelfAwareness.cpp
SelfAwareness.hpp
SHA512.cpp
SHA512.hpp
SharedPtr.hpp
Switch.cpp Relay policy can now be computed. 2017-01-27 14:05:09 -08:00
Switch.hpp
Tag.cpp
Tag.hpp
Topology.cpp Replace piecemeal designation of upstreams with the concept of moons, which is simpler and easier to use and inherits all the cool live update stuff of worlds (now called planets) and global roots. 2017-01-27 13:27:52 -08:00
Topology.hpp Extend in-band world updates to handle moons too. 2017-01-27 13:50:56 -08:00
Utils.cpp
Utils.hpp Add a build version for software update use so we can do very minor updates within a version. 2017-01-18 09:16:23 -08:00
World.hpp Extend in-band world updates to handle moons too. 2017-01-27 13:50:56 -08:00

ZeroTier Virtual Switch 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.