ZeroTierOne/core
2020-12-04 15:52:30 -05:00
..
Address.hpp Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00
AES.cpp Mirror over a few more AES fixes. 2020-12-03 22:29:38 -05:00
AES.hpp Bust out ARM crypto extensions AES into a separate file too. 2020-10-16 17:41:03 -04:00
AES_aesni.cpp Mirror over a few more AES fixes. 2020-12-03 22:29:38 -05:00
AES_armcrypto.cpp Mirror over a few more AES fixes. 2020-12-03 22:29:38 -05:00
Blob.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Buf.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Buf.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
C25519.cpp Warning removal, Go work... 2020-08-10 12:35:26 -07:00
C25519.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
CapabilityCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
CapabilityCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
CAPI.cpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Certificate.cpp Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00
Certificate.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
CMakeLists.txt Bust out ARM crypto extensions AES into a separate file too. 2020-10-16 17:41:03 -04:00
Constants.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Containers.hpp AES software optimizations to make rpi4 faster. 2020-08-06 09:34:37 -07:00
Credential.cpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Credential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Defaults.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Defaults.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Defragmenter.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Dictionary.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Dictionary.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
ECC384.cpp Define uint since that is not a standard symbol. 2020-06-15 13:13:03 -07:00
ECC384.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Endpoint.cpp One more thing to move to CAPI.cpp. 2020-10-14 19:02:32 -04:00
Endpoint.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
EphemeralKey.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Expect.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
FCV.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Fingerprint.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Identity.cpp Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00
Identity.hpp Linux/GCC fixes. 2020-07-31 16:18:06 -07:00
InetAddress.cpp InetAddress fix ported from 1.6 2020-12-03 22:28:40 -05:00
InetAddress.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Locator.cpp Locator CGo API fixes. 2020-10-26 19:35:10 -04:00
Locator.hpp Locator CGo API fixes. 2020-10-26 19:35:10 -04:00
LZ4.cpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
LZ4.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
MAC.hpp Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00
Member.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Member.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
MembershipCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
MembershipCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Meter.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
MulticastGroup.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Mutex.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Network.cpp Linux/GCC fixes. 2020-07-31 16:18:06 -07:00
Network.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
NetworkConfig.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
NetworkConfig.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
NetworkController.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Node.cpp Fix and modernize API peer list function. 2020-10-22 15:53:35 -04:00
Node.hpp Remove HTTP stuff from core API. This will be handled entirely in the service. 2020-08-13 17:46:58 -07:00
OS.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
OwnershipCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
OwnershipCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Path.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Path.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Peer.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Peer.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Poly1305.cpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Poly1305.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Protocol.hpp cleanup 2020-10-08 19:03:46 -04:00
README.md More reorg, work in progress. 2020-06-05 13:04:37 -07:00
RevocationCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
RevocationCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
RuntimeEnvironment.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Salsa20.cpp Some optimization work on crypto code. 2020-07-15 14:33:02 -07:00
Salsa20.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
ScopedPtr.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
SelfAwareness.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
SelfAwareness.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
SHA512.cpp Some cleanup and optimization. 2020-07-02 10:33:34 -07:00
SHA512.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
SharedPtr.hpp Build fix-- these are not needed. 2020-07-31 15:48:18 -07:00
SymmetricKey.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
TagCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
TagCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Tests.cpp More test timing fixes. 2020-08-06 09:53:33 -07:00
Tests.h Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Topology.cpp More certificate stuff... 2020-08-12 21:28:06 -07:00
Topology.hpp Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00
Trace.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Trace.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
TriviallyCopyable.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Utils.cpp Port back over some improvements from 1.6 2020-11-18 21:56:16 -05:00
Utils.hpp Linux/GCC fixes. 2020-07-31 16:18:06 -07:00
version.h.in Change date bump for v2.0 2020-07-31 14:26:55 -07:00
VL1.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
VL1.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
VL2.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
VL2.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
zerotier.h Fix and modernize API peer list function. 2020-10-22 15:53:35 -04: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.
  • 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.