ZeroTierOne/node
2017-06-27 11:31:29 -07:00
..
Address.hpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
Array.hpp License header update. 2017-04-27 20:47:25 -07:00
AtomicCounter.hpp License header update. 2017-04-27 20:47:25 -07:00
Buffer.hpp . 2017-06-05 12:15:28 -07:00
C25519.cpp License header update. 2017-04-27 20:47:25 -07:00
C25519.hpp License header update. 2017-04-27 20:47:25 -07:00
Capability.cpp License header update. 2017-04-27 20:47:25 -07:00
Capability.hpp License header update. 2017-04-27 20:47:25 -07:00
CertificateOfMembership.cpp License header update. 2017-04-27 20:47:25 -07:00
CertificateOfMembership.hpp License header update. 2017-04-27 20:47:25 -07:00
CertificateOfOwnership.cpp License header update. 2017-04-27 20:47:25 -07:00
CertificateOfOwnership.hpp License header update. 2017-04-27 20:47:25 -07:00
CertificateOfRepresentation.hpp License header update. 2017-04-27 20:47:25 -07:00
Constants.hpp New clustering work. 2017-06-01 07:15:46 -07:00
Credential.hpp License header update. 2017-04-27 20:47:25 -07:00
Dictionary.hpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
Hashtable.hpp New clustering work. 2017-06-01 07:15:46 -07:00
Identity.cpp License header update. 2017-04-27 20:47:25 -07:00
Identity.hpp License header update. 2017-04-27 20:47:25 -07:00
IncomingPacket.cpp Remove Cluster.hpp 2017-06-23 16:10:26 -07:00
IncomingPacket.hpp Remove old circuit test code. Rules engine will let us do this much better and more simply. 2017-05-30 10:19:45 -07:00
InetAddress.cpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
InetAddress.hpp added isEqualPrefix to InetAddress 2017-05-04 15:25:48 -07:00
MAC.hpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
Membership.cpp License header update. 2017-04-27 20:47:25 -07:00
Membership.hpp License header update. 2017-04-27 20:47:25 -07:00
Multicaster.cpp License header update. 2017-04-27 20:47:25 -07:00
Multicaster.hpp License header update. 2017-04-27 20:47:25 -07:00
MulticastGroup.hpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
Mutex.hpp License header update. 2017-04-27 20:47:25 -07:00
Network.cpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
Network.hpp More clustering work. 2017-06-01 12:33:05 -07:00
NetworkConfig.cpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
NetworkConfig.hpp First pass of configurable MTU and max MTU increase. 2017-05-04 17:12:02 -07:00
NetworkController.hpp License header update. 2017-04-27 20:47:25 -07:00
Node.cpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
Node.hpp . 2017-06-05 12:15:28 -07:00
NonCopyable.hpp License header update. 2017-04-27 20:47:25 -07:00
OutboundMulticast.cpp License header update. 2017-04-27 20:47:25 -07:00
OutboundMulticast.hpp License header update. 2017-04-27 20:47:25 -07:00
Packet.cpp Remove old circuit test code. Rules engine will let us do this much better and more simply. 2017-05-30 10:19:45 -07:00
Packet.hpp Remove old circuit test code. Rules engine will let us do this much better and more simply. 2017-05-30 10:19:45 -07:00
Path.cpp License header update. 2017-04-27 20:47:25 -07:00
Path.hpp License header update. 2017-04-27 20:47:25 -07:00
Peer.cpp Remove Cluster.hpp 2017-06-23 16:10:26 -07:00
Peer.hpp License header update. 2017-04-27 20:47:25 -07:00
Poly1305.cpp Windows profile build target (CPU profiling), and a little bit of optimization revealed by such. 2017-04-17 15:45:49 -07:00
Poly1305.hpp License header update. 2017-04-27 20:47:25 -07:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp License header update. 2017-04-27 20:47:25 -07:00
Revocation.hpp License header update. 2017-04-27 20:47:25 -07:00
RuntimeEnvironment.hpp License header update. 2017-04-27 20:47:25 -07:00
Salsa20.cpp Some code cleanup and make sure any type punning is guarded with ZT_NO_TYPE_PUNNING. 2017-04-20 09:33:35 -07:00
Salsa20.hpp Another very small crypto optimization. 2017-05-03 07:43:23 -07:00
SelfAwareness.cpp License header update. 2017-04-27 20:47:25 -07:00
SelfAwareness.hpp License header update. 2017-04-27 20:47:25 -07:00
SHA512.cpp License header update. 2017-04-27 20:47:25 -07:00
SHA512.hpp License header update. 2017-04-27 20:47:25 -07:00
SharedPtr.hpp License header update. 2017-04-27 20:47:25 -07:00
Switch.cpp Remove Cluster.hpp 2017-06-23 16:10:26 -07:00
Switch.hpp License header update. 2017-04-27 20:47:25 -07:00
Tag.cpp License header update. 2017-04-27 20:47:25 -07:00
Tag.hpp License header update. 2017-04-27 20:47:25 -07:00
Topology.cpp More clustering work. 2017-06-01 12:33:05 -07:00
Topology.hpp License header update. 2017-04-27 20:47:25 -07:00
Utils.cpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
Utils.hpp Rename Utils::snprintf due to it being a #define on one platform. 2017-06-27 11:31:29 -07:00
World.hpp License header update. 2017-04-27 20:47:25 -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.