ZeroTierOne/node
2018-05-02 11:22:07 -07:00
..
Address.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
AtomicCounter.hpp A little more cleanup. 2018-01-26 20:06:11 -05:00
Buffer.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
C25519.cpp Use X64 ASM ed25519 signatures on Linux/x64, which are about 10X faster. Will matter a lot for network controllers, not so much for other things. 2018-03-13 06:51:17 -07:00
C25519.hpp Clean up some old stuff. 2018-01-26 20:00:37 -05:00
Capability.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Capability.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
CertificateOfMembership.cpp Clean up some old stuff. 2018-01-26 20:00:37 -05:00
CertificateOfMembership.hpp Clean up some old stuff. 2018-01-26 20:00:37 -05:00
CertificateOfOwnership.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
CertificateOfOwnership.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Constants.hpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Credential.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Dictionary.hpp A few fixes dicatated by valgrind. 2018-02-09 06:35:01 +00:00
Hashtable.hpp Fix build on Intel C/C++ Compiler for Linux. 2018-02-01 12:46:35 -08:00
Identity.cpp Clean up some old stuff. 2018-01-26 20:00:37 -05:00
Identity.hpp Clean up some old stuff. 2018-01-26 20:00:37 -05:00
IncomingPacket.cpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
IncomingPacket.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
InetAddress.cpp GitHub issue #675 2018-03-29 10:44:57 -07:00
InetAddress.hpp GitHub issue #675 2018-03-29 10:44:57 -07:00
MAC.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Membership.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Membership.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Multicaster.cpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Multicaster.hpp Add support for designated multicast replicators to Multicaster::send(). 2018-01-26 21:19:51 -05:00
MulticastGroup.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Mutex.hpp More cleanup of old stuff. 2018-01-26 21:34:56 -05:00
Network.cpp Add specification of anchor and multicast hub address (optional) to new multicast and IPv4 enabled ad-hoc network ID format. 2018-03-21 15:31:48 -07:00
Network.hpp More cleanup of old stuff. 2018-01-26 21:34:56 -05:00
NetworkConfig.cpp Tie up the rest of hub and spoke designated replicator multicast mode. 2018-01-26 22:14:10 -05:00
NetworkConfig.hpp Tie up the rest of hub and spoke designated replicator multicast mode. 2018-01-26 22:14:10 -05:00
NetworkController.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Node.cpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Node.hpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
OutboundMulticast.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
OutboundMulticast.hpp Do not send to origin in second buffered multicast path. 2018-01-26 21:22:51 -05:00
Packet.cpp cleanup 2018-01-10 16:55:07 -08:00
Packet.hpp Tie up the rest of hub and spoke designated replicator multicast mode. 2018-01-26 22:14:10 -05:00
Path.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Path.hpp Cleanup. Misc type conversion and signedness fixes 2018-05-02 11:22:07 -07:00
Peer.cpp Cleanup. Misc type conversion and signedness fixes 2018-05-02 11:22:07 -07:00
Peer.hpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Poly1305.cpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Poly1305.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Revocation.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
RingBuffer.hpp Cleanup. Misc type conversion and signedness fixes 2018-05-02 11:22:07 -07:00
RuntimeEnvironment.hpp A small memory use reduction. 2018-01-25 09:57:02 -05: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 Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
SelfAwareness.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
SHA512.cpp Use X64 ASM ed25519 signatures on Linux/x64, which are about 10X faster. Will matter a lot for network controllers, not so much for other things. 2018-03-13 06:51:17 -07:00
SHA512.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
SharedPtr.hpp Refactor some potentially unsafe SharedPtr<> code. 2018-04-06 08:10:34 -07:00
Switch.cpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Switch.hpp More cleanup of old stuff. 2018-01-26 21:34:56 -05:00
Tag.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Tag.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Topology.cpp Refactor some potentially unsafe SharedPtr<> code. 2018-04-06 08:10:34 -07:00
Topology.hpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Trace.cpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Trace.hpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Utils.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Utils.hpp Fix build on Intel C/C++ Compiler for Linux. 2018-02-01 12:46:35 -08:00
World.hpp Clean up some old stuff. 2018-01-26 20:00:37 -05: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.