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

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.