From 3b3cee7c46714f7355158914e576c397c123b93e Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 10 Oct 2025 11:32:13 +0200 Subject: [PATCH] treewide: replace license header with SPDX tags Replace all license headers in source files with machine readable SPDX license and copyright headers. Year is based on initial check in of a file, according to git log --follow (to catch renames). License headers update with the reuse tool[1], the following way: YEAR=$(git log --format %as | tail -n 1 | cut -d- -f 1) reuse annotate -y $YEAR -c "BISDN GmbH" \ -l "MPL-2.0-no-copyleft-exception" \ --copyright-prefix spdx-symbol \ --style cpp --single-line $file (--style cpp was needed for headers, omitted for python script) License used is based on the presence of Exhibit B at the end of COPYING. [1] https://reuse.software/ Signed-off-by: Jonas Gorski --- scripts/baseboxd-knet-reset.py | 9 ++++----- src/basebox_api.cc | 6 +++--- src/basebox_api.h | 6 +++--- src/basebox_grpc_statistics.cc | 6 +++--- src/basebox_grpc_statistics.h | 6 +++--- src/baseboxd.cc | 6 +++--- src/netlink/cnetlink.cc | 6 +++--- src/netlink/cnetlink.h | 6 +++--- src/netlink/ctapdev.cc | 6 +++--- src/netlink/ctapdev.h | 6 +++--- src/netlink/knet_manager.cc | 6 +++--- src/netlink/knet_manager.h | 6 +++--- src/netlink/nbi_impl.cc | 6 +++--- src/netlink/nbi_impl.h | 6 +++--- src/netlink/netlink-utils.cc | 6 +++--- src/netlink/netlink-utils.h | 6 +++--- src/netlink/nl_bond.cc | 6 +++--- src/netlink/nl_bond.h | 6 +++--- src/netlink/nl_bridge.cc | 6 +++--- src/netlink/nl_bridge.h | 6 +++--- src/netlink/nl_fdb_flush.h | 6 +++--- src/netlink/nl_hashing.h | 6 +++--- src/netlink/nl_interface.cc | 6 +++--- src/netlink/nl_interface.h | 6 +++--- src/netlink/nl_l3.cc | 6 +++--- src/netlink/nl_l3.h | 6 +++--- src/netlink/nl_l3_interfaces.h | 6 +++--- src/netlink/nl_obj.cc | 6 +++--- src/netlink/nl_obj.h | 6 +++--- src/netlink/nl_output.cc | 6 +++--- src/netlink/nl_output.h | 6 +++--- src/netlink/nl_route_query.h | 6 +++--- src/netlink/nl_vlan.cc | 6 +++--- src/netlink/nl_vlan.h | 6 +++--- src/netlink/nl_vxlan.cc | 6 +++--- src/netlink/nl_vxlan.h | 6 +++--- src/netlink/port_manager.h | 6 +++--- src/netlink/tap_io.cc | 6 +++--- src/netlink/tap_io.h | 6 +++--- src/netlink/tap_manager.cc | 6 +++--- src/netlink/tap_manager.h | 6 +++--- src/of-dpa/controller.cc | 6 +++--- src/of-dpa/controller.h | 6 +++--- src/of-dpa/ofdpa_client.cc | 6 +++--- src/of-dpa/ofdpa_client.h | 6 +++--- src/of-dpa/ofdpa_datatypes.h | 6 +++--- src/sai.h | 6 +++--- src/utils/rofl-utils.h | 6 +++--- src/utils/utils.h | 6 +++--- 49 files changed, 148 insertions(+), 149 deletions(-) diff --git a/scripts/baseboxd-knet-reset.py b/scripts/baseboxd-knet-reset.py index b34aaabbe..1d38a8b9a 100755 --- a/scripts/baseboxd-knet-reset.py +++ b/scripts/baseboxd-knet-reset.py @@ -1,13 +1,12 @@ #!/usr/bin/env python3 + +# SPDX-FileCopyrightText: © 2022 BISDN GmbH # +# SPDX-License-Identifier: MPL-2.0-no-copyleft-exception + # Helper script for resetting KNET to its initial state by removing all # added interfaces and filters, intended to be called after stopping # baseboxd. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - from ctypes import * import fcntl diff --git a/src/basebox_api.cc b/src/basebox_api.cc index 9c7c78d9b..f8b152f3c 100644 --- a/src/basebox_api.cc +++ b/src/basebox_api.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2017 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include "basebox_api.h" #include "basebox_grpc_statistics.h" diff --git a/src/basebox_api.h b/src/basebox_api.h index 5f2a513fd..3fb2382d6 100644 --- a/src/basebox_api.h +++ b/src/basebox_api.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2017 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/basebox_grpc_statistics.cc b/src/basebox_grpc_statistics.cc index dead0ecbb..5855302fa 100644 --- a/src/basebox_grpc_statistics.cc +++ b/src/basebox_grpc_statistics.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2017 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/basebox_grpc_statistics.h b/src/basebox_grpc_statistics.h index c92b7498c..785b45ef6 100644 --- a/src/basebox_grpc_statistics.h +++ b/src/basebox_grpc_statistics.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2017 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/baseboxd.cc b/src/baseboxd.cc index 74a6bd7be..a24117766 100644 --- a/src/baseboxd.cc +++ b/src/baseboxd.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2013 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/cnetlink.cc b/src/netlink/cnetlink.cc index 62b4aba4d..d2fda51a8 100644 --- a/src/netlink/cnetlink.cc +++ b/src/netlink/cnetlink.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2014 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/cnetlink.h b/src/netlink/cnetlink.h index 530e73552..aef68e0de 100644 --- a/src/netlink/cnetlink.h +++ b/src/netlink/cnetlink.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2013 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/ctapdev.cc b/src/netlink/ctapdev.cc index de66386a1..1ebb91d59 100644 --- a/src/netlink/ctapdev.cc +++ b/src/netlink/ctapdev.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2013 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/ctapdev.h b/src/netlink/ctapdev.h index 406471fe8..c11a22399 100644 --- a/src/netlink/ctapdev.h +++ b/src/netlink/ctapdev.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2013 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/knet_manager.cc b/src/netlink/knet_manager.cc index 7a2e69ccb..c626de4b9 100644 --- a/src/netlink/knet_manager.cc +++ b/src/netlink/knet_manager.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2022 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/knet_manager.h b/src/netlink/knet_manager.h index a22a59376..e9dc29541 100644 --- a/src/netlink/knet_manager.h +++ b/src/netlink/knet_manager.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2022 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nbi_impl.cc b/src/netlink/nbi_impl.cc index f369598f4..083ccb435 100644 --- a/src/netlink/nbi_impl.cc +++ b/src/netlink/nbi_impl.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include diff --git a/src/netlink/nbi_impl.h b/src/netlink/nbi_impl.h index a7729ff4f..f39d29875 100644 --- a/src/netlink/nbi_impl.h +++ b/src/netlink/nbi_impl.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/netlink-utils.cc b/src/netlink/netlink-utils.cc index cbc3e9cff..374e2c612 100644 --- a/src/netlink/netlink-utils.cc +++ b/src/netlink/netlink-utils.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/netlink-utils.h b/src/netlink/netlink-utils.h index c12badce5..b5fbc3bb7 100644 --- a/src/netlink/netlink-utils.h +++ b/src/netlink/netlink-utils.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_bond.cc b/src/netlink/nl_bond.cc index 54ff9eb5d..f09097c63 100644 --- a/src/netlink/nl_bond.cc +++ b/src/netlink/nl_bond.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include "nl_bond.h" diff --git a/src/netlink/nl_bond.h b/src/netlink/nl_bond.h index 064aee2cb..8073ff34b 100644 --- a/src/netlink/nl_bond.h +++ b/src/netlink/nl_bond.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_bridge.cc b/src/netlink/nl_bridge.cc index 01fa7d0b7..019a0e131 100644 --- a/src/netlink/nl_bridge.cc +++ b/src/netlink/nl_bridge.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2015 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/nl_bridge.h b/src/netlink/nl_bridge.h index ff7756e9c..d75c22d90 100644 --- a/src/netlink/nl_bridge.h +++ b/src/netlink/nl_bridge.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2015 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_fdb_flush.h b/src/netlink/nl_fdb_flush.h index 8a7f10a6b..de121e843 100644 --- a/src/netlink/nl_fdb_flush.h +++ b/src/netlink/nl_fdb_flush.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2024 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_hashing.h b/src/netlink/nl_hashing.h index d3791e38f..975947d02 100644 --- a/src/netlink/nl_hashing.h +++ b/src/netlink/nl_hashing.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_interface.cc b/src/netlink/nl_interface.cc index 9053b0101..688a8990f 100644 --- a/src/netlink/nl_interface.cc +++ b/src/netlink/nl_interface.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2019 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include diff --git a/src/netlink/nl_interface.h b/src/netlink/nl_interface.h index 546c1c0f4..20f915628 100644 --- a/src/netlink/nl_interface.h +++ b/src/netlink/nl_interface.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2019 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_l3.cc b/src/netlink/nl_l3.cc index c31112bfe..386e33d68 100644 --- a/src/netlink/nl_l3.cc +++ b/src/netlink/nl_l3.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/nl_l3.h b/src/netlink/nl_l3.h index d666a5991..fc3e65f04 100644 --- a/src/netlink/nl_l3.h +++ b/src/netlink/nl_l3.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_l3_interfaces.h b/src/netlink/nl_l3_interfaces.h index b52fe2122..f0b445b0f 100644 --- a/src/netlink/nl_l3_interfaces.h +++ b/src/netlink/nl_l3_interfaces.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2019 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_obj.cc b/src/netlink/nl_obj.cc index 337380785..e9b3654a6 100644 --- a/src/netlink/nl_obj.cc +++ b/src/netlink/nl_obj.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include "nl_obj.h" #include diff --git a/src/netlink/nl_obj.h b/src/netlink/nl_obj.h index 8db388cb6..2e3f118f8 100644 --- a/src/netlink/nl_obj.h +++ b/src/netlink/nl_obj.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_output.cc b/src/netlink/nl_output.cc index 39512fe29..23bd6d5a9 100644 --- a/src/netlink/nl_output.cc +++ b/src/netlink/nl_output.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/nl_output.h b/src/netlink/nl_output.h index 812ae9d73..69b998b59 100644 --- a/src/netlink/nl_output.h +++ b/src/netlink/nl_output.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_route_query.h b/src/netlink/nl_route_query.h index a42103416..c17ce36ca 100644 --- a/src/netlink/nl_route_query.h +++ b/src/netlink/nl_route_query.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2019 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/nl_vlan.cc b/src/netlink/nl_vlan.cc index d983cfad3..f3f7b3312 100644 --- a/src/netlink/nl_vlan.cc +++ b/src/netlink/nl_vlan.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include diff --git a/src/netlink/nl_vlan.h b/src/netlink/nl_vlan.h index 38d8a9e13..26f4b545e 100644 --- a/src/netlink/nl_vlan.h +++ b/src/netlink/nl_vlan.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/nl_vxlan.cc b/src/netlink/nl_vxlan.cc index ba1d82a1a..89dd2e09a 100644 --- a/src/netlink/nl_vxlan.cc +++ b/src/netlink/nl_vxlan.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2019 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/nl_vxlan.h b/src/netlink/nl_vxlan.h index 07fa02834..8df66bf04 100644 --- a/src/netlink/nl_vxlan.h +++ b/src/netlink/nl_vxlan.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2019 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/port_manager.h b/src/netlink/port_manager.h index 510afc187..b10b4f6e8 100644 --- a/src/netlink/port_manager.h +++ b/src/netlink/port_manager.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2022 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/netlink/tap_io.cc b/src/netlink/tap_io.cc index b7559af8a..94dec2393 100644 --- a/src/netlink/tap_io.cc +++ b/src/netlink/tap_io.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/tap_io.h b/src/netlink/tap_io.h index 2a667927d..3f0a0e067 100644 --- a/src/netlink/tap_io.h +++ b/src/netlink/tap_io.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include diff --git a/src/netlink/tap_manager.cc b/src/netlink/tap_manager.cc index 45121024b..b80698847 100644 --- a/src/netlink/tap_manager.cc +++ b/src/netlink/tap_manager.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/netlink/tap_manager.h b/src/netlink/tap_manager.h index f1e1546c4..5b1416e21 100644 --- a/src/netlink/tap_manager.h +++ b/src/netlink/tap_manager.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/of-dpa/controller.cc b/src/of-dpa/controller.cc index f41e5356e..ab2689ac0 100644 --- a/src/of-dpa/controller.cc +++ b/src/of-dpa/controller.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2014 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include #include diff --git a/src/of-dpa/controller.h b/src/of-dpa/controller.h index d8b2e80fb..f8944495a 100644 --- a/src/of-dpa/controller.h +++ b/src/of-dpa/controller.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2014 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/of-dpa/ofdpa_client.cc b/src/of-dpa/ofdpa_client.cc index b39881f9d..315a9de5f 100644 --- a/src/of-dpa/ofdpa_client.cc +++ b/src/of-dpa/ofdpa_client.cc @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #include diff --git a/src/of-dpa/ofdpa_client.h b/src/of-dpa/ofdpa_client.h index a2dbbeb02..d697a3e62 100644 --- a/src/of-dpa/ofdpa_client.h +++ b/src/of-dpa/ofdpa_client.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/of-dpa/ofdpa_datatypes.h b/src/of-dpa/ofdpa_datatypes.h index 4a26ac7c2..1e8133e57 100644 --- a/src/of-dpa/ofdpa_datatypes.h +++ b/src/of-dpa/ofdpa_datatypes.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/sai.h b/src/sai.h index b5fef4946..0218014e5 100644 --- a/src/sai.h +++ b/src/sai.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2016 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/utils/rofl-utils.h b/src/utils/rofl-utils.h index 13fa2465c..9ec55e2b5 100644 --- a/src/utils/rofl-utils.h +++ b/src/utils/rofl-utils.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2018 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once diff --git a/src/utils/utils.h b/src/utils/utils.h index 45c20b853..8bc53d42a 100644 --- a/src/utils/utils.h +++ b/src/utils/utils.h @@ -1,6 +1,6 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// SPDX-FileCopyrightText: © 2017 BISDN GmbH +// +// SPDX-License-Identifier: MPL-2.0-no-copyleft-exception #pragma once