Copyright (c) 2017-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copyright (C) 2015-2016 Mellanox Technologies Ltd. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Open Source Software (OSS) that is compiled for the project without changes.
NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=3435760&cmtNo=

  boost 1.82.0.      http://netix.dl.sourceforge.net/project/boost/boost/1.82.0/boost_1_82_0.tar.gz
  libb64             https://github.com/libb64/libb64/commit/ce864b17ea0e24a91e77c7dd3eb2d1ac4175b3f0
  libev 4.33.        http://dist.schmorp.de/libev/libev-4.33.tar.gz
  msgpack/msgpack-c. https://github.com/msgpack/msgpack-c/tree/c_master
  spdlog.            https://github.com/gabime/spdlog/commit/10e809cf644d55e5bd7d66d02e2604e2ddd7fb48
  uri.               https://github.com/cpp-netlib/uri/commit/9f477677a1fefa235027a64c47db5fca53e7f61d
  pcm.               https://github.com/opcm/pcm/commit/769c8ddd440a3769656b4dadfb2d50c57f9bb688
  inih version r53.  https://github.com/benhoyt/inih/blob/r53
  klib.              https://raw.githubusercontent.com/attractivechaos/klib/master/khash.h
  parson 1.1.2.      https://github.com/kgabis/parson.git
  rapidjson 1.1.0.   https://github.com/Tencent/rapidjson/commit/a77b49dcb83e8bb2aac3c41a18a30a3e5749fede


Open Source Software (OSS) that is compiled for the project without changes.
NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=3597480&cmtNo=

  hostap             received from:      https://w1.fi/cgit/hostap/tree/src/utils/list.h?id=bba926350a0e28fa181af7caee24a11619ad10fc


kubernetes pod resources API   https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.proto
gogo protobuf                  https://github.com/gogo/protobuf/blob/master/gogoproto/gogo.proto


NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=4458908
  MD5               https://openwall.info/wiki/people/solar/software/public-domain-source-code/md5

NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=4560320
  Snappy            origin https://github.com/google/snappy
                    license https://github.com/google/snappy?tab=License-1-ov-file#readme

NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=4560896
  Prometheus proto  origin https://github.com/prometheus/prometheus/tree/main/prompb
                    license Apache-2.0 https://github.com/prometheus/prometheus/blob/main/LICENSE

NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=4175441&cmtNo=

  gRPC  1.39.0      origin https://github.com/grpc/grpc/releases/tag/v1.39.0
                    license Apach 2.0 https://github.com/grpc/grpc/blob/master/LICENSE

  indirect OSS dependencies:
      Abseil          origin https://github.com/abseil/abseil-cpp
                      license Apache-2.0 https://github.com/abseil/abseil-cpp/blob/master/LICENSE
      Benchmark       origin https://github.com/google/benchmark
                      license Apache-2.0 https://github.com/google/benchmark/blob/main/LICENSE
      Bloaty          origin https://github.com/google/bloaty
                      license Apache-2.0
      c-ares          origin https://github.com/c-ares/c-ares
                      license custom permissive https://github.com/c-ares/c-ares/blob/main/LICENSE.md
      Data plane API  origin https://github.com/envoyproxy/data-plane-api
                      license Apache-2.0 https://github.com/envoyproxy/data-plane-api/blob/main/LICENSE
      Google APIs     origin https://github.com/googleapis/googleapis
                      license Apache-2.0 https://github.com/googleapis/googleapis/blob/master/LICENSE
      libuv           origin https://github.com/libuv/libuv.git
                      license MIT https://github.com/libuv/libuv/blob/v1.x/LICENSE
                              CC https://github.com/libuv/libuv/blob/v1.x/LICENSE-docs
                              Extra (permissive) https://github.com/libuv/libuv/blob/v1.x/LICENSE-extra
                                  ISC License https://en.wikipedia.org/wiki/ISC_license
                                  Two clause BSD license
      OpenCensus Proto
                      origin https://github.com/census-instrumentation/opencensus-proto
                      license Apache-2.0 https://github.com/census-instrumentation/opencensus-proto/blob/master/LICENSE
      OpenTelemetry Protocol
                      origin https://github.com/open-telemetry/opentelemetry-proto
                      license Apache-2.0 https://github.com/open-telemetry/opentelemetry-proto/blob/main/LICENSE
      Protocol Buffers
                      origin https://github.com/protocolbuffers/protobuf.git
                      Custom permissive https://github.com/protocolbuffers/protobuf/blob/main/LICENSE
      RE2             origin https://github.com/google/re2
                      license BSD 3-Clause https://github.com/google/re2/blob/main/LICENSE
      xDS API         origin https://github.com/cncf/xds
                      license Apache-2.0 https://github.com/cncf/xds/blob/main/LICENSE

NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=4687489
  JSON for Modern C++ https://github.com/nlohmann/json/releases/tag/v3.11.3
  License https://github.com/nlohmann/json?tab=MIT-1-ov-file

NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=4182117&cmtNo=

  gNMI  0.9.1       origin https://github.com/openconfig/gnmi/releases/tag/v0.9.1
                    license Apache 2.0 https://github.com/openconfig/gnmi/blob/master/LICENSE

Open Source Software (OSS) that is compiled for the project with changes.
NVBug https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=3422024&cmtNo=

  FluentBit 1.6.2.   exact commit with our change is https://github.com/Mellanox/fluent-bit/commit/b3b5688e78b6f66a0b66994a73faabb73de73b82 ,
                     our change updated with copyrights: https://github.com/Mellanox/fluent-bit/commit/83913610c67b4c18f35f7cf6a37313401d4c597f
                     originally checked out from https://github.com/fluent/fluent-bit/commit/0ff6a3c750c973455225a1cc7f69aa2c30ad7f9c

                     latest change: https://github.com/Mellanox/fluent-bit/tree/in_raw_msgpack



==================================================================================================================================================
LICENSES:

boost_1_68_0

Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.



libev_4.33:

All files in libev are
Copyright (c)2007,2008,2009,2010,2011,2012,2013 Marc Alexander Lehmann.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above
      copyright notice, this list of conditions and the following
      disclaimer in the documentation and/or other materials provided
      with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Alternatively, the contents of this package may be used under the terms
of the GNU General Public License ("GPL") version 2 or any later version,
in which case the provisions of the GPL are applicable instead of the
above. If you wish to allow the use of your version of this package only
under the terms of the GPL and not to allow others to use your version of
this file under the BSD license, indicate your decision by deleting the
provisions above and replace them with the notice and other provisions
required by the GPL in this and the other files of this package. If you do
not delete the provisions above, a recipient may use your version of this
file under either the BSD or the GPL.


inih:

SPDX-License-Identifier: BSD-3-Clause
Copyright (C) 2009-2020, Ben Hoyt
inih is released under the New BSD license (see LICENSE.txt). Go to the project
home page for more info:
https://github.com/benhoyt/inih



klib: MIT licence:

 The MIT License
   Copyright (c) 2008, 2009, 2011 by Attractive Chaos <attractor@live.co.uk>
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
   "Software"), to deal in the Software without restriction, including
   without limitation the rights to use, copy, modify, merge, publish,
   distribute, sublicense, and/or sell copies of the Software, and to
   permit persons to whom the Software is furnished to do so, subject to
   the following conditions:
   The above copyright notice and this permission notice shall be
   included in all copies or substantial portions of the Software.
   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
   BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   SOFTWARE.

parson 1.1.2: MIT license:

SPDX-License-Identifier: MIT
 Parson 1.1.2 ( http://kgabis.github.com/parson/ )
 Copyright (c) 2012 - 2021 Krzysztof Gabis
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.



rapidjson 1.1.0: Mit licence:

// Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://opensource.org/licenses/MIT
//
// Unless required by applicable law or agreed to in writing, software distributed
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
// specific language governing permissions and limitations under the License.


msgpack/msgpack-c (Boost Software License 1.0): https://github.com/msgpack/msgpack-c/blob/c_master/LICENSE_1_0.txt

spdlog (MIT licence): https://github.com/gabime/spdlog/blob/10e809cf644d55e5bd7d66d02e2604e2ddd7fb48/LICENSE

uri (Boost Software License 1.0): https://github.com/cpp-netlib/uri/blob/9f477677a1fefa235027a64c47db5fca53e7f61d/LICENSE_1_0.txt

pcm (BSD 3-Clause License): https://github.com/opcm/pcm/blob/769c8ddd440a3769656b4dadfb2d50c57f9bb688/LICENSE

hostap (BSD):  https://w1.fi/cgit/hostap/tree/src/utils/list.h?id=bba926350a0e28fa181af7caee24a11619ad10fc

libb64 (Public Domain): https://github.com/libb64/libb64/blob/3519f6f95d1c1810f0eacf8eacf3717ed5d35bff/LICENSE.md

kubernetes pod resources API (Apache License 2.0) https://github.com/kubernetes/kubernetes/blob/master/LICENSE

gogo protobuf (3-Clause BSD License) https://github.com/gogo/protobuf/blob/master/LICENSE

A portable, fast, and free implementation of the MD5 Message-Digest Algorithm (RFC 1321)
    This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
    MD5 Message-Digest Algorithm (RFC 1321).
    Homepage:
    http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
    Author:
    Alexander Peslyak, better known as Solar Designer <solar at openwall.com>
    This software was written by Alexander Peslyak in 2001.  No copyright is
    claimed, and the software is hereby placed in the public domain.
    In case this attempt to disclaim copyright and place the software in the
    public domain is deemed null and void, then the software is
    Copyright (c) 2001 Alexander Peslyak and it is hereby released to the
    general public under the following terms:
    Redistribution and use in source and binary forms, with or without
    modification, are permitted.
    There's ABSOLUTELY NO WARRANTY, express or implied.
    (This is a heavily cut-down "BSD license".)
    This differs from Colin Plumb's older public domain implementation in that
    no exactly 32-bit integer data type is required (any 32-bit or wider
    unsigned integer data type will do), there's no compile-time endianness
    configuration, and the function prototypes match OpenSSL's.  No code from
    Colin Plumb's implementation has been reused; this comment merely compares
    the properties of the two independent implementations.
    The primary goals of this implementation are portability and ease of use.
    It is meant to be fast, but not as fast as possible.  Some known
    optimizations are not included to reduce source code size and avoid
    compile-time configuration.
 
 snappy 1.1.x https://github.com/google/snappy?tab=License-1-ov-file#readme

 Copyright 2011, Google Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

    * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
    * Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

===

Some of the benchmark data in testdata/ is licensed differently:

 - fireworks.jpeg is Copyright 2013 Steinar H. Gunderson, and
   is licensed under the Creative Commons Attribution 3.0 license
   (CC-BY-3.0). See https://creativecommons.org/licenses/by/3.0/
   for more information.

 - kppkn.gtb is taken from the Gaviota chess tablebase set, and
   is licensed under the MIT License. See
   https://sites.google.com/site/gaviotachessengine/Home/endgame-tablebases-1
   for more information.

 - paper-100k.pdf is an excerpt (bytes 92160 to 194560) from the paper
   “Combinatorial Modeling of Chromatin Features Quantitatively Predicts DNA
   Replication Timing in _Drosophila_” by Federico Comoglio and Renato Paro,
   which is licensed under the CC-BY license. See
   http://www.ploscompbiol.org/static/license for more ifnormation.

 - alice29.txt, asyoulik.txt, plrabn12.txt and lcet10.txt are from Project
   Gutenberg. The first three have expired copyrights and are in the public
   domain; the latter does not have expired copyright, but is still in the
   public domain according to the license information
   (http://www.gutenberg.org/ebooks/53).


JSON for Modern C++

MIT License

Copyright (c) 2013-2022 Niels Lohmann

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
