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

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.