Lennon Day Reynolds 92af3bf7dd clang-format for Switch.cpp 6 ヶ月 前
..
AES.cpp ba2a4a605c clang-format 6 ヶ月 前
AES.hpp ba2a4a605c clang-format 6 ヶ月 前
AES_aesni.cpp ba2a4a605c clang-format 6 ヶ月 前
AES_armcrypto.cpp ba2a4a605c clang-format 6 ヶ月 前
Address.hpp ba2a4a605c clang-format 6 ヶ月 前
AtomicCounter.hpp ba2a4a605c clang-format 6 ヶ月 前
Bond.cpp db6045fe9c clang-format 6 ヶ月 前
Bond.hpp ba2a4a605c clang-format 6 ヶ月 前
Buffer.hpp ba2a4a605c clang-format 6 ヶ月 前
Capability.cpp ba2a4a605c clang-format 6 ヶ月 前
Capability.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
CertificateOfMembership.cpp 342fa9d33f clang-format this branch 6 ヶ月 前
CertificateOfMembership.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
CertificateOfOwnership.cpp ba2a4a605c clang-format 6 ヶ月 前
CertificateOfOwnership.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
Constants.hpp ba2a4a605c clang-format 6 ヶ月 前
Credential.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
DNS.hpp ba2a4a605c clang-format 6 ヶ月 前
Dictionary.hpp ba2a4a605c clang-format 6 ヶ月 前
ECC.cpp 342fa9d33f clang-format this branch 6 ヶ月 前
ECC.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
Hashtable.hpp ba2a4a605c clang-format 6 ヶ月 前
Identity.cpp 342fa9d33f clang-format this branch 6 ヶ月 前
Identity.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
IncomingPacket.cpp 7473d1942d Merge changes from dev 6 ヶ月 前
IncomingPacket.hpp ba2a4a605c clang-format 6 ヶ月 前
InetAddress.cpp ba2a4a605c clang-format 6 ヶ月 前
InetAddress.hpp ba2a4a605c clang-format 6 ヶ月 前
MAC.hpp ba2a4a605c clang-format 6 ヶ月 前
Membership.cpp ba2a4a605c clang-format 6 ヶ月 前
Membership.hpp ba2a4a605c clang-format 6 ヶ月 前
Metrics.cpp 8285e0f45b Add Prometheus metrics for packet fragmentation monitoring in nodes 6 ヶ月 前
Metrics.hpp 8285e0f45b Add Prometheus metrics for packet fragmentation monitoring in nodes 6 ヶ月 前
MulticastGroup.hpp ba2a4a605c clang-format 6 ヶ月 前
Multicaster.cpp b0889e1454 Merge branch 'dev' into hello-encryption 6 ヶ月 前
Multicaster.hpp ba2a4a605c clang-format 6 ヶ月 前
Mutex.hpp ba2a4a605c clang-format 6 ヶ月 前
Network.cpp 342fa9d33f clang-format this branch 6 ヶ月 前
Network.hpp ba2a4a605c clang-format 6 ヶ月 前
NetworkConfig.cpp ba2a4a605c clang-format 6 ヶ月 前
NetworkConfig.hpp ba2a4a605c clang-format 6 ヶ月 前
NetworkController.hpp ba2a4a605c clang-format 6 ヶ月 前
Node.cpp 342fa9d33f clang-format this branch 6 ヶ月 前
Node.hpp ba2a4a605c clang-format 6 ヶ月 前
OutboundMulticast.cpp ba2a4a605c clang-format 6 ヶ月 前
OutboundMulticast.hpp ba2a4a605c clang-format 6 ヶ月 前
Packet.cpp 342fa9d33f clang-format this branch 6 ヶ月 前
Packet.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
PacketMultiplexer.cpp ba2a4a605c clang-format 6 ヶ月 前
PacketMultiplexer.hpp b813ea70a5 Simplify packet critical path. Plus more platform fixes 1 年間 前
Path.cpp ba2a4a605c clang-format 6 ヶ月 前
Path.hpp ba2a4a605c clang-format 6 ヶ月 前
Peer.cpp 342fa9d33f clang-format this branch 6 ヶ月 前
Peer.hpp ba2a4a605c clang-format 6 ヶ月 前
Poly1305.cpp ba2a4a605c clang-format 6 ヶ月 前
Poly1305.hpp ba2a4a605c clang-format 6 ヶ月 前
README.md 8a2ff0b31e Actual documentation. 9 年 前
Revocation.cpp ba2a4a605c clang-format 6 ヶ月 前
Revocation.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
RingBuffer.hpp ba2a4a605c clang-format 6 ヶ月 前
RuntimeEnvironment.hpp ba2a4a605c clang-format 6 ヶ月 前
SHA512.cpp ba2a4a605c clang-format 6 ヶ月 前
SHA512.hpp ba2a4a605c clang-format 6 ヶ月 前
Salsa20.cpp ba2a4a605c clang-format 6 ヶ月 前
Salsa20.hpp ba2a4a605c clang-format 6 ヶ月 前
SelfAwareness.cpp ba2a4a605c clang-format 6 ヶ月 前
SelfAwareness.hpp ba2a4a605c clang-format 6 ヶ月 前
SharedPtr.hpp ba2a4a605c clang-format 6 ヶ月 前
Switch.cpp 92af3bf7dd clang-format for Switch.cpp 6 ヶ月 前
Switch.hpp 25b2814916 more consistent naming and formatting 6 ヶ月 前
Tag.cpp ba2a4a605c clang-format 6 ヶ月 前
Tag.hpp 342fa9d33f clang-format this branch 6 ヶ月 前
Topology.cpp ba2a4a605c clang-format 6 ヶ月 前
Topology.hpp ba2a4a605c clang-format 6 ヶ月 前
Trace.cpp ba2a4a605c clang-format 6 ヶ月 前
Trace.hpp ba2a4a605c clang-format 6 ヶ月 前
Utils.cpp ba2a4a605c clang-format 6 ヶ月 前
Utils.hpp ba2a4a605c clang-format 6 ヶ月 前
World.hpp 342fa9d33f clang-format this branch 6 ヶ月 前

README.md

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.