Adam Ierymenko db6045fe9c clang-format 5 ay önce
..
AES.cpp ba2a4a605c clang-format 5 ay önce
AES.hpp ba2a4a605c clang-format 5 ay önce
AES_aesni.cpp ba2a4a605c clang-format 5 ay önce
AES_armcrypto.cpp ba2a4a605c clang-format 5 ay önce
Address.hpp ba2a4a605c clang-format 5 ay önce
AtomicCounter.hpp ba2a4a605c clang-format 5 ay önce
Bond.cpp db6045fe9c clang-format 5 ay önce
Bond.hpp ba2a4a605c clang-format 5 ay önce
Buffer.hpp ba2a4a605c clang-format 5 ay önce
Capability.cpp ba2a4a605c clang-format 5 ay önce
Capability.hpp 342fa9d33f clang-format this branch 5 ay önce
CertificateOfMembership.cpp 342fa9d33f clang-format this branch 5 ay önce
CertificateOfMembership.hpp 342fa9d33f clang-format this branch 5 ay önce
CertificateOfOwnership.cpp ba2a4a605c clang-format 5 ay önce
CertificateOfOwnership.hpp 342fa9d33f clang-format this branch 5 ay önce
Constants.hpp ba2a4a605c clang-format 5 ay önce
Credential.hpp 342fa9d33f clang-format this branch 5 ay önce
DNS.hpp ba2a4a605c clang-format 5 ay önce
Dictionary.hpp ba2a4a605c clang-format 5 ay önce
ECC.cpp 342fa9d33f clang-format this branch 5 ay önce
ECC.hpp 342fa9d33f clang-format this branch 5 ay önce
Hashtable.hpp ba2a4a605c clang-format 5 ay önce
Identity.cpp 342fa9d33f clang-format this branch 5 ay önce
Identity.hpp 342fa9d33f clang-format this branch 5 ay önce
IncomingPacket.cpp 342fa9d33f clang-format this branch 5 ay önce
IncomingPacket.hpp ba2a4a605c clang-format 5 ay önce
InetAddress.cpp ba2a4a605c clang-format 5 ay önce
InetAddress.hpp ba2a4a605c clang-format 5 ay önce
MAC.hpp ba2a4a605c clang-format 5 ay önce
Membership.cpp ba2a4a605c clang-format 5 ay önce
Membership.hpp ba2a4a605c clang-format 5 ay önce
Metrics.cpp 813fb7a394 one more clang-format fix 5 ay önce
Metrics.hpp 6d532944bd stop clang-format from breaking the build by sorting headers here 5 ay önce
MulticastGroup.hpp ba2a4a605c clang-format 5 ay önce
Multicaster.cpp b0889e1454 Merge branch 'dev' into hello-encryption 5 ay önce
Multicaster.hpp ba2a4a605c clang-format 5 ay önce
Mutex.hpp ba2a4a605c clang-format 5 ay önce
Network.cpp 342fa9d33f clang-format this branch 5 ay önce
Network.hpp ba2a4a605c clang-format 5 ay önce
NetworkConfig.cpp ba2a4a605c clang-format 5 ay önce
NetworkConfig.hpp ba2a4a605c clang-format 5 ay önce
NetworkController.hpp ba2a4a605c clang-format 5 ay önce
Node.cpp 342fa9d33f clang-format this branch 5 ay önce
Node.hpp ba2a4a605c clang-format 5 ay önce
OutboundMulticast.cpp ba2a4a605c clang-format 5 ay önce
OutboundMulticast.hpp ba2a4a605c clang-format 5 ay önce
Packet.cpp 342fa9d33f clang-format this branch 5 ay önce
Packet.hpp 342fa9d33f clang-format this branch 5 ay önce
PacketMultiplexer.cpp ba2a4a605c clang-format 5 ay önce
PacketMultiplexer.hpp b813ea70a5 Simplify packet critical path. Plus more platform fixes 1 yıl önce
Path.cpp ba2a4a605c clang-format 5 ay önce
Path.hpp ba2a4a605c clang-format 5 ay önce
Peer.cpp 342fa9d33f clang-format this branch 5 ay önce
Peer.hpp ba2a4a605c clang-format 5 ay önce
Poly1305.cpp ba2a4a605c clang-format 5 ay önce
Poly1305.hpp ba2a4a605c clang-format 5 ay önce
README.md 8a2ff0b31e Actual documentation. 8 yıl önce
Revocation.cpp ba2a4a605c clang-format 5 ay önce
Revocation.hpp 342fa9d33f clang-format this branch 5 ay önce
RingBuffer.hpp ba2a4a605c clang-format 5 ay önce
RuntimeEnvironment.hpp ba2a4a605c clang-format 5 ay önce
SHA512.cpp ba2a4a605c clang-format 5 ay önce
SHA512.hpp ba2a4a605c clang-format 5 ay önce
Salsa20.cpp ba2a4a605c clang-format 5 ay önce
Salsa20.hpp ba2a4a605c clang-format 5 ay önce
SelfAwareness.cpp ba2a4a605c clang-format 5 ay önce
SelfAwareness.hpp ba2a4a605c clang-format 5 ay önce
SharedPtr.hpp ba2a4a605c clang-format 5 ay önce
Switch.cpp 342fa9d33f clang-format this branch 5 ay önce
Switch.hpp ba2a4a605c clang-format 5 ay önce
Tag.cpp ba2a4a605c clang-format 5 ay önce
Tag.hpp 342fa9d33f clang-format this branch 5 ay önce
Topology.cpp ba2a4a605c clang-format 5 ay önce
Topology.hpp ba2a4a605c clang-format 5 ay önce
Trace.cpp ba2a4a605c clang-format 5 ay önce
Trace.hpp ba2a4a605c clang-format 5 ay önce
Utils.cpp ba2a4a605c clang-format 5 ay önce
Utils.hpp ba2a4a605c clang-format 5 ay önce
World.hpp 342fa9d33f clang-format this branch 5 ay önce

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.