ZeroTierOne/node
2017-09-14 20:56:50 -07:00
..
Address.hpp Cleanup. 2017-07-06 16:11:11 -07:00
Array.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
AtomicCounter.hpp GCC/G++ build fixes, GitHub issue #563 2017-08-14 11:43:39 -07:00
Buffer.hpp Cleanup. 2017-07-17 14:24:57 -07:00
C25519.cpp Minor cleanup. 2017-07-17 14:21:09 -07:00
C25519.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Capability.cpp Clean up WHOIS code. 2017-08-23 16:42:17 -07:00
Capability.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
CertificateOfMembership.cpp Clean up WHOIS code. 2017-08-23 16:42:17 -07:00
CertificateOfMembership.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
CertificateOfOwnership.cpp Clean up WHOIS code. 2017-08-23 16:42:17 -07:00
CertificateOfOwnership.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
CertificateOfRepresentation.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Constants.hpp Another fix for ye old tyme clients. 2017-09-01 12:03:31 -07:00
Credential.hpp License header update. 2017-04-27 20:47:25 -07:00
Dictionary.hpp Bunch of remote tracing work. 2017-07-13 10:51:05 -07:00
Hashtable.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Identity.cpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Identity.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
IncomingPacket.cpp Clean up WHOIS code. 2017-08-23 16:42:17 -07:00
IncomingPacket.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
InetAddress.cpp Cleanup. 2017-07-06 16:11:11 -07:00
InetAddress.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
MAC.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Membership.cpp Get rid of some noisy remote traces that should not be needed. 2017-08-18 13:59:22 -07:00
Membership.hpp Bunch of remote tracing work. 2017-07-13 10:51:05 -07:00
Multicaster.cpp Add UDP MTU configurability. 2017-09-01 16:25:34 -07:00
Multicaster.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
MulticastGroup.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Mutex.hpp Non-x86 build fix. 2017-08-31 20:47:44 -04:00
Network.cpp Add UDP MTU configurability. 2017-09-01 16:25:34 -07:00
Network.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
NetworkConfig.cpp Another fix for ye old tyme clients. 2017-09-01 12:03:31 -07:00
NetworkConfig.hpp Remote tracing works. 2017-07-17 17:02:50 -07:00
NetworkController.hpp License header update. 2017-04-27 20:47:25 -07:00
Node.cpp Add UDP MTU configurability. 2017-09-01 16:25:34 -07:00
Node.hpp Add UDP MTU configurability. 2017-09-01 16:25:34 -07:00
NonCopyable.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
OutboundMulticast.cpp Remote trace: plumbing, replace old TRACE with calls to Trace object. 2017-07-07 16:58:05 -07:00
OutboundMulticast.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Packet.cpp Remote trace: plumbing, replace old TRACE with calls to Trace object. 2017-07-07 16:58:05 -07:00
Packet.hpp Add UDP MTU configurability. 2017-09-01 16:25:34 -07:00
Path.cpp . 2017-07-06 11:45:22 -07:00
Path.hpp . 2017-07-06 11:56:46 -07:00
Peer.cpp Keep attemting to upgrade direct path if path is not private to facilitate better use of LANs and backplane networks. 2017-09-14 20:56:50 -07:00
Peer.hpp Implement peer serialization and deserialization. 2017-08-23 13:40:51 -07:00
Poly1305.cpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Poly1305.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp Clean up WHOIS code. 2017-08-23 16:42:17 -07:00
Revocation.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
RuntimeEnvironment.hpp Remote trace: plumbing, replace old TRACE with calls to Trace object. 2017-07-07 16:58:05 -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 Symmetric NAT cleanup. 2017-08-23 15:12:00 -07:00
SelfAwareness.hpp . 2017-07-06 11:45:22 -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 More cleanup, Linux build fixes. 2017-07-07 06:50:40 -07:00
Switch.cpp Add UDP MTU configurability. 2017-09-01 16:25:34 -07:00
Switch.hpp Fix pointer bug. 2017-08-23 16:55:22 -07:00
Tag.cpp Clean up WHOIS code. 2017-08-23 16:42:17 -07:00
Tag.hpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Topology.cpp Add UDP MTU configurability. 2017-09-01 16:25:34 -07:00
Topology.hpp Add UDP MTU configurability. 2017-09-01 16:25:34 -07:00
Trace.cpp Get rid of some noisy remote traces that should not be needed. 2017-08-18 13:59:22 -07:00
Trace.hpp Get rid of some noisy remote traces that should not be needed. 2017-08-18 13:59:22 -07:00
Utils.cpp More cleanup. 2017-07-06 17:32:41 -07:00
Utils.hpp Fix for new identity generation bug. 2017-07-13 16:31:16 -07:00
World.hpp Minor cleanup. 2017-07-17 14:21:09 -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.