node/ -> MPL

This commit is contained in:
Adam Ierymenko 2025-08-06 12:10:18 -04:00
commit 9aff094b6f
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
73 changed files with 367 additions and 731 deletions

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "AES.hpp" #include "AES.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_AES_HPP #ifndef ZT_AES_HPP
#define ZT_AES_HPP #define ZT_AES_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "AES.hpp" #include "AES.hpp"
#include "Constants.hpp" #include "Constants.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "AES.hpp" #include "AES.hpp"
#include "Constants.hpp" #include "Constants.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_ADDRESS_HPP #ifndef ZT_ADDRESS_HPP
#define ZT_ADDRESS_HPP #define ZT_ADDRESS_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_ATOMICCOUNTER_HPP #ifndef ZT_ATOMICCOUNTER_HPP
#define ZT_ATOMICCOUNTER_HPP #define ZT_ATOMICCOUNTER_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2021 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Bond.hpp" #include "Bond.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2021 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_BOND_HPP #ifndef ZT_BOND_HPP
#define ZT_BOND_HPP #define ZT_BOND_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_BUFFER_HPP #ifndef ZT_BUFFER_HPP
#define ZT_BUFFER_HPP #define ZT_BUFFER_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Capability.hpp" #include "Capability.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_CAPABILITY_HPP #ifndef ZT_CAPABILITY_HPP
#define ZT_CAPABILITY_HPP #define ZT_CAPABILITY_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "CertificateOfMembership.hpp" #include "CertificateOfMembership.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_CERTIFICATEOFMEMBERSHIP_HPP #ifndef ZT_CERTIFICATEOFMEMBERSHIP_HPP
#define ZT_CERTIFICATEOFMEMBERSHIP_HPP #define ZT_CERTIFICATEOFMEMBERSHIP_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "CertificateOfOwnership.hpp" #include "CertificateOfOwnership.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_CERTIFICATEOFOWNERSHIP_HPP #ifndef ZT_CERTIFICATEOFOWNERSHIP_HPP
#define ZT_CERTIFICATEOFOWNERSHIP_HPP #define ZT_CERTIFICATEOFOWNERSHIP_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_CONSTANTS_HPP #ifndef ZT_CONSTANTS_HPP
#define ZT_CONSTANTS_HPP #define ZT_CONSTANTS_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_CREDENTIAL_HPP #ifndef ZT_CREDENTIAL_HPP
#define ZT_CREDENTIAL_HPP #define ZT_CREDENTIAL_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_DNS_HPP #ifndef ZT_DNS_HPP
#define ZT_DNS_HPP #define ZT_DNS_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_DICTIONARY_HPP #ifndef ZT_DICTIONARY_HPP
#define ZT_DICTIONARY_HPP #define ZT_DICTIONARY_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
/* /*
* This file defines the elliptic curve crypto used for ZeroTier V1. The normal * This file defines the elliptic curve crypto used for ZeroTier V1. The normal

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_HASHTABLE_HPP #ifndef ZT_HASHTABLE_HPP
#define ZT_HASHTABLE_HPP #define ZT_HASHTABLE_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Identity.hpp" #include "Identity.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_IDENTITY_HPP #ifndef ZT_IDENTITY_HPP
#define ZT_IDENTITY_HPP #define ZT_IDENTITY_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "IncomingPacket.hpp" #include "IncomingPacket.hpp"
@ -27,8 +22,6 @@
#include "Peer.hpp" #include "Peer.hpp"
#include "Revocation.hpp" #include "Revocation.hpp"
#include "RuntimeEnvironment.hpp" #include "RuntimeEnvironment.hpp"
#include "SHA512.hpp"
#include "Salsa20.hpp"
#include "SelfAwareness.hpp" #include "SelfAwareness.hpp"
#include "Switch.hpp" #include "Switch.hpp"
#include "Tag.hpp" #include "Tag.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_INCOMINGPACKET_HPP #ifndef ZT_INCOMINGPACKET_HPP
#define ZT_INCOMINGPACKET_HPP #define ZT_INCOMINGPACKET_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "InetAddress.hpp" #include "InetAddress.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_INETADDRESS_HPP #ifndef ZT_INETADDRESS_HPP
#define ZT_INETADDRESS_HPP #define ZT_INETADDRESS_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_MAC_HPP #ifndef ZT_MAC_HPP
#define ZT_MAC_HPP #define ZT_MAC_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Membership.hpp" #include "Membership.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_MEMBERSHIP_HPP #ifndef ZT_MEMBERSHIP_HPP
#define ZT_MEMBERSHIP_HPP #define ZT_MEMBERSHIP_HPP

View file

@ -1,13 +1,9 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2023 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
// clang-format off // clang-format off

View file

@ -1,14 +1,11 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2023 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
#ifndef METRICS_H_ #ifndef METRICS_H_
#define METRICS_H_ #define METRICS_H_

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_MULTICASTGROUP_HPP #ifndef ZT_MULTICASTGROUP_HPP
#define ZT_MULTICASTGROUP_HPP #define ZT_MULTICASTGROUP_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Multicaster.hpp" #include "Multicaster.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_MULTICASTER_HPP #ifndef ZT_MULTICASTER_HPP
#define ZT_MULTICASTER_HPP #define ZT_MULTICASTER_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_MUTEX_HPP #ifndef ZT_MUTEX_HPP
#define ZT_MUTEX_HPP #define ZT_MUTEX_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Network.hpp" #include "Network.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_NETWORK_HPP #ifndef ZT_NETWORK_HPP
#define ZT_NETWORK_HPP #define ZT_NETWORK_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "NetworkConfig.hpp" #include "NetworkConfig.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_NETWORKCONFIG_HPP #ifndef ZT_NETWORKCONFIG_HPP
#define ZT_NETWORKCONFIG_HPP #define ZT_NETWORKCONFIG_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_NETWORKCONFIGMASTER_HPP #ifndef ZT_NETWORKCONFIGMASTER_HPP
#define ZT_NETWORKCONFIGMASTER_HPP #define ZT_NETWORKCONFIGMASTER_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Node.hpp" #include "Node.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_NODE_HPP #ifndef ZT_NODE_HPP
#define ZT_NODE_HPP #define ZT_NODE_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "OutboundMulticast.hpp" #include "OutboundMulticast.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_OUTBOUNDMULTICAST_HPP #ifndef ZT_OUTBOUNDMULTICAST_HPP
#define ZT_OUTBOUNDMULTICAST_HPP #define ZT_OUTBOUNDMULTICAST_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Packet.hpp" #include "Packet.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_N_PACKET_HPP #ifndef ZT_N_PACKET_HPP
#define ZT_N_PACKET_HPP #define ZT_N_PACKET_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2021 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "PacketMultiplexer.hpp" #include "PacketMultiplexer.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2021 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_PACKET_MULTIPLEXER_HPP #ifndef ZT_PACKET_MULTIPLEXER_HPP
#define ZT_PACKET_MULTIPLEXER_HPP #define ZT_PACKET_MULTIPLEXER_HPP
@ -62,4 +57,4 @@ class PacketMultiplexer {
} // namespace ZeroTier } // namespace ZeroTier
#endif // ZT_PACKET_MULTIPLEXER_HPP #endif // ZT_PACKET_MULTIPLEXER_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Path.hpp" #include "Path.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_PATH_HPP #ifndef ZT_PATH_HPP
#define ZT_PATH_HPP #define ZT_PATH_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Peer.hpp" #include "Peer.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_PEER_HPP #ifndef ZT_PEER_HPP
#define ZT_PEER_HPP #define ZT_PEER_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_POLY1305_HPP #ifndef ZT_POLY1305_HPP
#define ZT_POLY1305_HPP #define ZT_POLY1305_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Revocation.hpp" #include "Revocation.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_REVOCATION_HPP #ifndef ZT_REVOCATION_HPP
#define ZT_REVOCATION_HPP #define ZT_REVOCATION_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_RINGBUFFER_H #ifndef ZT_RINGBUFFER_H
#define ZT_RINGBUFFER_H #define ZT_RINGBUFFER_H

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_RUNTIMEENVIRONMENT_HPP #ifndef ZT_RUNTIMEENVIRONMENT_HPP
#define ZT_RUNTIMEENVIRONMENT_HPP #define ZT_RUNTIMEENVIRONMENT_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_SHA512_HPP #ifndef ZT_SHA512_HPP
#define ZT_SHA512_HPP #define ZT_SHA512_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "SelfAwareness.hpp" #include "SelfAwareness.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_SELFAWARENESS_HPP #ifndef ZT_SELFAWARENESS_HPP
#define ZT_SELFAWARENESS_HPP #define ZT_SELFAWARENESS_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_SHAREDPTR_HPP #ifndef ZT_SHAREDPTR_HPP
#define ZT_SHAREDPTR_HPP #define ZT_SHAREDPTR_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Switch.hpp" #include "Switch.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2013-2020 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_N_SWITCH_HPP #ifndef ZT_N_SWITCH_HPP
#define ZT_N_SWITCH_HPP #define ZT_N_SWITCH_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Tag.hpp" #include "Tag.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_TAG_HPP #ifndef ZT_TAG_HPP
#define ZT_TAG_HPP #define ZT_TAG_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Topology.hpp" #include "Topology.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_TOPOLOGY_HPP #ifndef ZT_TOPOLOGY_HPP
#define ZT_TOPOLOGY_HPP #define ZT_TOPOLOGY_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
// #define ZT_TRACE // #define ZT_TRACE

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_TRACE_HPP #ifndef ZT_TRACE_HPP
#define ZT_TRACE_HPP #define ZT_TRACE_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#include "Constants.hpp" #include "Constants.hpp"

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_UTILS_HPP #ifndef ZT_UTILS_HPP
#define ZT_UTILS_HPP #define ZT_UTILS_HPP

View file

@ -1,15 +1,10 @@
/* /* This Source Code Form is subject to the terms of the Mozilla Public
* Copyright (c)2019 ZeroTier, Inc. * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
* *
* Use of this software is governed by the Business Source License included * (c) ZeroTier, Inc.
* in the LICENSE.TXT file in the project's root directory. * https://www.zerotier.com/
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2.0 of the Apache License.
*/ */
/****/
#ifndef ZT_WORLD_HPP #ifndef ZT_WORLD_HPP
#define ZT_WORLD_HPP #define ZT_WORLD_HPP