From facde1d4320fc62ce5d182d04656a69e1dfba40a Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sun, 9 Oct 2022 16:30:02 +0000 Subject: [PATCH 001/142] utils: Find latest clang-format versions first in check-style-clang-format.py --- utils/check-style-clang-format.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index 7e019f92a..f80260650 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -47,9 +47,9 @@ from typing import List, Tuple # PARAMETERS ########################################################### CLANG_FORMAT_VERSIONS = [ - 14, - 15, 16, + 15, + 14, ] DIRECTORIES_TO_SKIP = [ From 05e28c23ee06b0567effec7a87c254691b6f2aee Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sun, 9 Oct 2022 16:39:29 +0000 Subject: [PATCH 002/142] utils: Find default clang-format in check-style-clang-format.py --- utils/check-style-clang-format.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index f80260650..bdd57798f 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -234,12 +234,30 @@ def find_clang_format_path() -> str: @return Path to clang-format. """ + # Find exact version for version in CLANG_FORMAT_VERSIONS: clang_format_path = shutil.which(f'clang-format-{version}') if clang_format_path: return clang_format_path + # Find default version and check if it is supported + clang_format_path = shutil.which('clang-format') + + if clang_format_path: + process = subprocess.run([clang_format_path, '--version'], + capture_output=True, + text=True, + check=True, + ) + + version = process.stdout.strip().split(' ')[-1] + major_version = int(version.split('.')[0]) + + if major_version in CLANG_FORMAT_VERSIONS: + return clang_format_path + + # No supported version of clang-format found raise RuntimeError( f'Could not find any supported version of clang-format installed on this system. ' f'List of supported versions: {CLANG_FORMAT_VERSIONS}.' From 68855672f9a7ce7ec58ac7a6249b7d63129318bc Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Fri, 30 Sep 2022 15:12:21 +0100 Subject: [PATCH 003/142] gitignore: Create dedicated ".gitignore" for .vscode/ --- .gitignore | 3 --- .vscode/.gitignore | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .vscode/.gitignore diff --git a/.gitignore b/.gitignore index 4bef5b43a..ee2d5cb41 100644 --- a/.gitignore +++ b/.gitignore @@ -46,9 +46,6 @@ cmake-build-relwithdebinfo/ cmake-build-minsizerel/ cmake-build-release/ -.vscode/* -!.vscode/launch.json -!.vscode/tasks.json .vs/ # Ignore local cache used by e.g. clangd diff --git a/.vscode/.gitignore b/.vscode/.gitignore new file mode 100644 index 000000000..4b537ac9c --- /dev/null +++ b/.vscode/.gitignore @@ -0,0 +1,5 @@ +* +!.gitignore + +!launch.json +!tasks.json From f115e188bd6c60ce0214662e1ee0cae14626dd62 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Fri, 30 Sep 2022 15:13:08 +0100 Subject: [PATCH 004/142] gitignore: Update scratch/ .gitignore to not exclude itself --- scratch/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scratch/.gitignore b/scratch/.gitignore index fc504faed..7d959a29d 100644 --- a/scratch/.gitignore +++ b/scratch/.gitignore @@ -1,5 +1,7 @@ # Ignore everything on scratch by default, except the provided examples /* +!.gitignore + !subdir/ !scratch-simulator.cc !CMakeLists.txt From 78984d28b9d4355fd7397c76e25a90b31ad290ba Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Mon, 10 Oct 2022 19:25:49 +0100 Subject: [PATCH 005/142] doc: Minor adjustments to coding-style.rst --- doc/contributing/source/coding-style.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/contributing/source/coding-style.rst b/doc/contributing/source/coding-style.rst index 81e3a924b..5b0232b9c 100644 --- a/doc/contributing/source/coding-style.rst +++ b/doc/contributing/source/coding-style.rst @@ -1083,7 +1083,7 @@ of rules that should be observed while developing code. - Prefer to use ``.emplace_back()`` over ``.push_back()`` to optimize performance. - When creating STL smart pointers, prefer to use ``std::make_shared`` or - ``std::make_unique``, instead of creating the pointer with ``new``: + ``std::make_unique``, instead of creating the pointer with ``new``. .. sourcecode:: cpp @@ -1091,21 +1091,21 @@ of rules that should be observed while developing code. auto node = std::shared_ptr(new Node()); // Avoid - When looping through containers, prefer to use range-based for loops rather than - index-based loops: + index-based loops. .. sourcecode:: cpp - std::vector myVector = {1, 2, 3}; + std::vector myVector {1, 2, 3}; for (const auto& v : myVector) { ... } // Prefer for (int i = 0; i < myVector.size(); i++) { ... } // Avoid - When looping through containers, prefer to use const-ref syntax over copying - elements: + elements. .. sourcecode:: cpp - std::vector myVector = {1, 2, 3}; + std::vector myVector {1, 2, 3}; for (const auto& v : myVector) { ... } // OK for (auto v : myVector) { ... } // Avoid From 49430233ee16c978839045cb0d862c2815e66871 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sun, 9 Oct 2022 00:17:19 -0300 Subject: [PATCH 006/142] lte: add missing header to lte-spectrum-value-helper.h --- src/lte/model/lte-spectrum-value-helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lte/model/lte-spectrum-value-helper.h b/src/lte/model/lte-spectrum-value-helper.h index c03a4ab0a..819cc3958 100644 --- a/src/lte/model/lte-spectrum-value-helper.h +++ b/src/lte/model/lte-spectrum-value-helper.h @@ -23,6 +23,7 @@ #include +#include #include namespace ns3 From 4d8ef16f608f42c05600f74c9422572866597410 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Thu, 6 Oct 2022 15:42:26 -0300 Subject: [PATCH 007/142] build: remove C++ format checking tests from test-ns3.py --- utils/tests/test-ns3.py | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) mode change 100644 => 100755 utils/tests/test-ns3.py diff --git a/utils/tests/test-ns3.py b/utils/tests/test-ns3.py old mode 100644 new mode 100755 index a7f4eebd6..6a44bc5b4 --- a/utils/tests/test-ns3.py +++ b/utils/tests/test-ns3.py @@ -428,42 +428,7 @@ class NS3StyleTestCase(unittest.TestCase): if NS3StyleTestCase.starting_diff is None: self.skipTest("Unmet dependencies") - def test_01_CheckWhitespace(self): - """! - Check if there is any difference between tracked file after - applying whitespace trimming, uncrustify and cmake-format - @return None - """ - - # Trim all trailing whitespaces in the repository - return_code, stdout, stderr = run_program("./utils/trim-trailing-whitespace.py", "./", python=True) - self.assertEqual(return_code, 0) - - # Check if the diff still is the same - new_diff = NS3StyleTestCase.repo.head.commit.diff(None) - self.assertEqual(NS3StyleTestCase.starting_diff, new_diff) - - def test_02_CheckUncrustify(self): - """! - Check if there is any difference between tracked file after - applying uncrustify - @return None - """ - - for required_program in ["bash", "find", "xargs", "uncrustify"]: - if shutil.which(required_program) is None: - self.skipTest("%s was not found" % required_program) - - # Run in-place uncrustify for each *.cc and *.h file - uncrustify_cmd = """-c "find . -type f -name '*.[cc|h]' | xargs -I{} ./utils/check-style.py -i -f {}" """ - return_code, stdout, stderr = run_program("bash", uncrustify_cmd) - self.assertEqual(return_code, 0) - - # Check if the diff still is the same - new_diff = NS3StyleTestCase.repo.head.commit.diff(None) - self.assertEqual(NS3StyleTestCase.starting_diff, new_diff) - - def test_03_CheckCMakeFormat(self): + def test_01_CheckCMakeFormat(self): """! Check if there is any difference between tracked file after applying cmake-format @@ -1005,7 +970,7 @@ class NS3ConfigureTestCase(NS3BaseTestCase): # Build target before using below run_ns3("configure -G \"{generator}\" -d release --enable-verbose") - run_ns3("build scratch-simulator") + return_code, stdout, stderr = run_ns3("build scratch-simulator") # Run all cases and then check outputs return_code0, stdout0, stderr0 = run_ns3("--dry-run run scratch-simulator") From 881f64017f279a1deab66793da7e22b53dbaa4f1 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:11:38 -0300 Subject: [PATCH 008/142] build: support "private" headers (unlisted in module headers) --- build-support/cmake-format-modules.txt | 1 + build-support/cmake-format.txt | 1 + .../custom-modules/ns3-module-macros.cmake | 16 +++++++++++----- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/build-support/cmake-format-modules.txt b/build-support/cmake-format-modules.txt index 706d0011e..963cefa50 100644 --- a/build-support/cmake-format-modules.txt +++ b/build-support/cmake-format-modules.txt @@ -17,6 +17,7 @@ additional_commands: LIBNAME : '1' SOURCE_FILES : '*' HEADER_FILES : '*' + PRIVATE_HEADER_FILES : '*' LIBRARIES_TO_LINK : '*' TEST_SOURCES : '*' DEPRECATED_HEADER_FILES : '*' diff --git a/build-support/cmake-format.txt b/build-support/cmake-format.txt index 8b925366e..58d38a3dd 100644 --- a/build-support/cmake-format.txt +++ b/build-support/cmake-format.txt @@ -17,6 +17,7 @@ additional_commands: LIBNAME : '1' SOURCE_FILES : '*' HEADER_FILES : '*' + PRIVATE_HEADER_FILES : '*' LIBRARIES_TO_LINK : '*' TEST_SOURCES : '*' DEPRECATED_HEADER_FILES : '*' diff --git a/build-support/custom-modules/ns3-module-macros.cmake b/build-support/custom-modules/ns3-module-macros.cmake index 963c59b5b..ec9f00523 100644 --- a/build-support/custom-modules/ns3-module-macros.cmake +++ b/build-support/custom-modules/ns3-module-macros.cmake @@ -35,8 +35,14 @@ function(build_lib) # Argument parsing set(options IGNORE_PCH) set(oneValueArgs LIBNAME) - set(multiValueArgs SOURCE_FILES HEADER_FILES LIBRARIES_TO_LINK TEST_SOURCES - DEPRECATED_HEADER_FILES MODULE_ENABLED_FEATURES + set(multiValueArgs + SOURCE_FILES + HEADER_FILES + LIBRARIES_TO_LINK + TEST_SOURCES + DEPRECATED_HEADER_FILES + MODULE_ENABLED_FEATURES + PRIVATE_HEADER_FILES ) cmake_parse_arguments( "BLIB" "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} @@ -119,7 +125,7 @@ function(build_lib) ${lib${BLIB_LIBNAME}} PROPERTIES PUBLIC_HEADER - "${BLIB_HEADER_FILES};${BLIB_DEPRECATED_HEADER_FILES};${config_headers};${CMAKE_HEADER_OUTPUT_DIRECTORY}/${BLIB_LIBNAME}-module.h" + "${BLIB_HEADER_FILES};${BLIB_DEPRECATED_HEADER_FILES};${config_headers};${BLIB_PRIVATE_HEADER_FILES};${CMAKE_HEADER_OUTPUT_DIRECTORY}/${BLIB_LIBNAME}-module.h" RUNTIME_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} # set output # directory for # DLLs @@ -221,8 +227,8 @@ function(build_lib) # Copy all header files to outputfolder/include before each build copy_headers_before_building_lib( - ${BLIB_LIBNAME} ${CMAKE_HEADER_OUTPUT_DIRECTORY} "${BLIB_HEADER_FILES}" - public + ${BLIB_LIBNAME} ${CMAKE_HEADER_OUTPUT_DIRECTORY} + "${BLIB_HEADER_FILES};${BLIB_PRIVATE_HEADER_FILES}" public ) if(BLIB_DEPRECATED_HEADER_FILES) copy_headers_before_building_lib( From 14c4221f159c8e46d8d5b9460221c33e55d7a1ec Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:13:26 -0300 Subject: [PATCH 009/142] core: rename unix-fd-reader.h to fd-reader.h --- src/core/CMakeLists.txt | 2 +- src/core/model/{unix-fd-reader.h => fd-reader.h} | 8 ++++---- src/core/model/unix-fd-reader.cc | 3 +-- src/fd-net-device/model/fd-net-device.h | 2 +- src/tap-bridge/model/tap-bridge.cc | 2 +- src/tap-bridge/model/tap-bridge.h | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) rename src/core/model/{unix-fd-reader.h => fd-reader.h} (97%) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index ee25e4e16..a4125edbc 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -230,6 +230,7 @@ set(header_files model/event-impl.h model/fatal-error.h model/fatal-impl.h + model/fd-reader.h model/global-value.h model/hash-fnv.h model/hash-function.h @@ -290,7 +291,6 @@ set(header_files model/type-name.h model/type-traits.h model/uinteger.h - model/unix-fd-reader.h model/unused.h model/valgrind.h model/vector.h diff --git a/src/core/model/unix-fd-reader.h b/src/core/model/fd-reader.h similarity index 97% rename from src/core/model/unix-fd-reader.h rename to src/core/model/fd-reader.h index 22fc0a5a0..f8f3f55ed 100644 --- a/src/core/model/unix-fd-reader.h +++ b/src/core/model/fd-reader.h @@ -18,13 +18,13 @@ * Author: Tom Goff */ -#ifndef UNIX_FD_READER_H -#define UNIX_FD_READER_H +#ifndef FD_READER_H +#define FD_READER_H #include "callback.h" #include "event-id.h" -#include +#include #include /** @@ -146,4 +146,4 @@ class FdReader : public SimpleRefCount } // namespace ns3 -#endif /* UNIX_FD_READER_H */ +#endif /* FD_READER_H */ diff --git a/src/core/model/unix-fd-reader.cc b/src/core/model/unix-fd-reader.cc index bc3f50f1b..b8b3da6b2 100644 --- a/src/core/model/unix-fd-reader.cc +++ b/src/core/model/unix-fd-reader.cc @@ -19,9 +19,8 @@ * Author: Tom Goff */ -#include "unix-fd-reader.h" - #include "fatal-error.h" +#include "fd-reader.h" #include "log.h" #include "simple-ref-count.h" #include "simulator.h" diff --git a/src/fd-net-device/model/fd-net-device.h b/src/fd-net-device/model/fd-net-device.h index 4989abfae..639c7c9d8 100644 --- a/src/fd-net-device/model/fd-net-device.h +++ b/src/fd-net-device/model/fd-net-device.h @@ -26,13 +26,13 @@ #include "ns3/callback.h" #include "ns3/data-rate.h" #include "ns3/event-id.h" +#include "ns3/fd-reader.h" #include "ns3/mac48-address.h" #include "ns3/net-device.h" #include "ns3/node.h" #include "ns3/packet.h" #include "ns3/ptr.h" #include "ns3/traced-callback.h" -#include "ns3/unix-fd-reader.h" #include #include diff --git a/src/tap-bridge/model/tap-bridge.cc b/src/tap-bridge/model/tap-bridge.cc index 25ce968ef..b3aeb018e 100644 --- a/src/tap-bridge/model/tap-bridge.cc +++ b/src/tap-bridge/model/tap-bridge.cc @@ -25,6 +25,7 @@ #include "ns3/channel.h" #include "ns3/enum.h" #include "ns3/ethernet-header.h" +#include "ns3/fd-reader.h" #include "ns3/ipv4.h" #include "ns3/llc-snap-header.h" #include "ns3/log.h" @@ -34,7 +35,6 @@ #include "ns3/simulator.h" #include "ns3/string.h" #include "ns3/uinteger.h" -#include "ns3/unix-fd-reader.h" #include #include diff --git a/src/tap-bridge/model/tap-bridge.h b/src/tap-bridge/model/tap-bridge.h index 73098720b..9a327f420 100644 --- a/src/tap-bridge/model/tap-bridge.h +++ b/src/tap-bridge/model/tap-bridge.h @@ -23,6 +23,7 @@ #include "ns3/callback.h" #include "ns3/data-rate.h" #include "ns3/event-id.h" +#include "ns3/fd-reader.h" #include "ns3/mac48-address.h" #include "ns3/net-device.h" #include "ns3/node.h" @@ -30,7 +31,6 @@ #include "ns3/packet.h" #include "ns3/ptr.h" #include "ns3/traced-callback.h" -#include "ns3/unix-fd-reader.h" #include From 83099b7bda187f12c55ad6d6102c5f62bfd45340 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:13:54 -0300 Subject: [PATCH 010/142] core: add win32-fd-reader --- src/core/CMakeLists.txt | 17 ++- src/core/model/fd-reader.h | 15 ++ src/core/model/win32-fd-reader.cc | 244 ++++++++++++++++++++++++++++++ 3 files changed, 275 insertions(+), 1 deletion(-) create mode 100644 src/core/model/win32-fd-reader.cc diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index a4125edbc..93d915953 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -123,9 +123,25 @@ if(${ENABLE_BUILD_VERSION}) ) endif() +if(WIN32) + set(libraries_to_link + ${libraries_to_link} + wsock32 + ws2_32 + ) + set(fd-reader-sources + model/win32-fd-reader.cc + ) +else() + set(fd-reader-sources + model/unix-fd-reader.cc + ) +endif() + # Define core lib sources set(source_files ${int64x64_sources} + ${fd-reader-sources} ${example_as_test_sources} ${embedded_version_sources} helper/csv-reader.cc @@ -191,7 +207,6 @@ set(source_files model/system-wall-clock-timestamp.cc model/length.cc model/trickle-timer.cc - model/unix-fd-reader.cc model/realtime-simulator-impl.cc model/wall-clock-synchronizer.cc ) diff --git a/src/core/model/fd-reader.h b/src/core/model/fd-reader.h index f8f3f55ed..029772248 100644 --- a/src/core/model/fd-reader.h +++ b/src/core/model/fd-reader.h @@ -27,6 +27,15 @@ #include #include +#ifdef __WIN32__ +#include + +/** + * Signed version of size_t + */ +typedef SSIZE_T ssize_t; +#endif + /** * \file * \ingroup system @@ -69,6 +78,12 @@ class FdReader : public SimpleRefCount */ void Stop(); +#ifdef __WIN32__ + /** + * Keeps track if the Winsock library has been initialized. + */ + static bool winsock_initialized; +#endif protected: /** * \brief A structure representing data read. diff --git a/src/core/model/win32-fd-reader.cc b/src/core/model/win32-fd-reader.cc new file mode 100644 index 000000000..9d6777813 --- /dev/null +++ b/src/core/model/win32-fd-reader.cc @@ -0,0 +1,244 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2010 The Boeing Company + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Tom Goff + */ +#include "fatal-error.h" +#include "fd-reader.h" +#include "log.h" +#include "simple-ref-count.h" +#include "simulator.h" + +#include +#include +#include +#include + +//#define pipe(fds) _pipe(fds,4096, _O_BINARY) + +/** + * \file + * \ingroup system + * ns3::FdReader implementation. + */ + +namespace ns3 +{ + +NS_LOG_COMPONENT_DEFINE("FdReader"); + +bool FdReader::winsock_initialized = false; + +FdReader::FdReader() + : m_fd(-1), + m_stop(false), + m_destroyEvent() +{ + NS_LOG_FUNCTION(this); + m_evpipe[0] = -1; + m_evpipe[1] = -1; +} + +FdReader::~FdReader() +{ + NS_LOG_FUNCTION(this); + Stop(); +} + +void +FdReader::Start(int fd, Callback readCallback) +{ + NS_LOG_FUNCTION(this << fd << &readCallback); + int tmp; + + if (!winsock_initialized) + { + WSADATA wsaData; + tmp = WSAStartup(MAKEWORD(2, 2), &wsaData); + NS_ASSERT_MSG(tmp != NO_ERROR, "Error at WSAStartup()"); + winsock_initialized = true; + } + + NS_ASSERT_MSG(!m_readThread.joinable(), "read thread already exists"); + + // create a pipe for inter-thread event notification + m_evpipe[0] = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); + m_evpipe[1] = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); + if ((static_cast(m_evpipe[0]) == INVALID_SOCKET) || + (static_cast(m_evpipe[1]) == INVALID_SOCKET)) + { + NS_FATAL_ERROR("pipe() failed: " << std::strerror(errno)); + } + + // make the read end non-blocking + ULONG iMode = 1; + tmp = ioctlsocket(m_evpipe[0], FIONBIO, &iMode); + if (tmp != NO_ERROR) + { + NS_FATAL_ERROR("fcntl() failed: " << std::strerror(errno)); + } + + m_fd = fd; + m_readCallback = readCallback; + + // + // We're going to spin up a thread soon, so we need to make sure we have + // a way to tear down that thread when the simulation stops. Do this by + // scheduling a "destroy time" method to make sure the thread exits before + // proceeding. + // + if (!m_destroyEvent.IsRunning()) + { + // hold a reference to ensure that this object is not + // deallocated before the destroy-time event fires + this->Ref(); + m_destroyEvent = Simulator::ScheduleDestroy(&FdReader::DestroyEvent, this); + } + + // + // Now spin up a thread to read from the fd + // + NS_LOG_LOGIC("Spinning up read thread"); + + m_readThread = std::thread(&FdReader::Run, this); +} + +void +FdReader::DestroyEvent() +{ + NS_LOG_FUNCTION(this); + Stop(); + this->Unref(); +} + +void +FdReader::Stop() +{ + NS_LOG_FUNCTION(this); + m_stop = true; + + // signal the read thread + if (m_evpipe[1] != -1) + { + char zero = 0; + ssize_t len = send(m_evpipe[1], &zero, sizeof(zero), 0); + if (len != sizeof(zero)) + { + NS_LOG_WARN("incomplete write(): " << std::strerror(errno)); + } + } + + if (m_readThread.joinable()) + { + m_readThread.join(); + } + + // close the write end of the event pipe + if (m_evpipe[1] != -1) + { + closesocket(m_evpipe[1]); + m_evpipe[1] = -1; + } + + // close the read end of the event pipe + if (m_evpipe[0] != -1) + { + closesocket(m_evpipe[0]); + m_evpipe[0] = -1; + } + + // reset everything else + m_fd = -1; + m_readCallback.Nullify(); + m_stop = false; +} + +// This runs in a separate thread +void +FdReader::Run() +{ + NS_LOG_FUNCTION(this); + int nfds; + fd_set rfds; + + nfds = (m_fd > m_evpipe[0] ? m_fd : m_evpipe[0]) + 1; + + FD_ZERO(&rfds); + FD_SET(m_fd, &rfds); + FD_SET(m_evpipe[0], &rfds); + + for (;;) + { + int r; + fd_set readfds = rfds; + + r = select(nfds, &readfds, nullptr, nullptr, nullptr); + if (r == -1 && errno != EINTR) + { + NS_FATAL_ERROR("select() failed: " << std::strerror(errno)); + } + + if (FD_ISSET(m_evpipe[0], &readfds)) + { + // drain the event pipe + for (;;) + { + char buf[1024]; + ssize_t len = recv(m_evpipe[0], buf, sizeof(buf), 0); + if (len == 0) + { + NS_FATAL_ERROR("event pipe closed"); + } + if (len < 0) + { + if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK) + { + break; + } + else + { + NS_FATAL_ERROR("read() failed: " << std::strerror(errno)); + } + } + } + } + + if (m_stop) + { + // this thread is done + break; + } + + if (FD_ISSET(m_fd, &readfds)) + { + struct FdReader::Data data = DoRead(); + // reading stops when m_len is zero + if (data.m_len == 0) + { + break; + } + // the callback is only called when m_len is positive (data + // is ignored if m_len is negative) + else if (data.m_len > 0) + { + m_readCallback(data.m_buf, data.m_len); + } + } + } +} + +} // namespace ns3 From 10673c56e92ca8ca1d5c961b384f2fe8f7a5c57e Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:15:08 -0300 Subject: [PATCH 011/142] core: capture example-as-tests return code directly from ns3 --- src/core/model/example-as-test.cc | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/core/model/example-as-test.cc b/src/core/model/example-as-test.cc index ed3d71408..112b4f4e2 100644 --- a/src/core/model/example-as-test.cc +++ b/src/core/model/example-as-test.cc @@ -40,9 +40,8 @@ namespace ns3 NS_LOG_COMPONENT_DEFINE("ExampleAsTestCase"); -// Running tests as examples currently requires bash shell; uses Unix -// piping that does not work on Windows. -#if defined(NS3_ENABLE_EXAMPLES) && !defined(__win32__) +// Running tests as examples currently requires Python. +#if defined(NS3_ENABLE_EXAMPLES) ExampleAsTestCase::ExampleAsTestCase(const std::string name, const std::string program, @@ -89,21 +88,15 @@ ExampleAsTestCase::DoRun() std::stringstream ss; - // Use bash as shell to allow use of PIPESTATUS - ss << "bash -c './ns3 run " << m_program << " --no-build --command-template=\"" + ss << "python3 ./ns3 run " << m_program << " --no-build --command-template=\"" << GetCommandTemplate() << "\"" // redirect std::clog, std::cerr to std::cout << " 2>&1 " - // Suppress the waf lines from output; waf output contains directory paths which will // obviously differ during a test run - << " | grep -v 'Waf:' " << GetPostProcessingCommand() << " > " - << testFile - - // Get the status of ns3 - << "; exit ${PIPESTATUS[0]}'"; + << " " << GetPostProcessingCommand() << " > " << testFile; int status = std::system(ss.str().c_str()); @@ -147,6 +140,6 @@ ExampleAsTestSuite::ExampleAsTestSuite(const std::string name, AddTestCase(new ExampleAsTestCase(name, program, dataDir, args), duration); } -#endif // NS3_ENABLE_EXAMPLES && !defined (__win32__) +#endif // NS3_ENABLE_EXAMPLES } // namespace ns3 From 529d30b0daa69a6653658283eb4a12e6688cfb2b Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:15:21 -0300 Subject: [PATCH 012/142] core: handle sigaction on Windows --- src/core/model/fatal-impl.cc | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/core/model/fatal-impl.cc b/src/core/model/fatal-impl.cc index 6f8db52f4..36d31e6e2 100644 --- a/src/core/model/fatal-impl.cc +++ b/src/core/model/fatal-impl.cc @@ -27,6 +27,39 @@ #include #include +#ifdef __WIN32__ +struct sigaction +{ + void (*sa_handler)(int); + int sa_flags; + int sa_mask; +}; + +int +sigaction(int sig, struct sigaction* action, struct sigaction* old) +{ + if (sig == -1) + { + return 0; + } + if (old == nullptr) + { + if (signal(sig, SIG_DFL) == SIG_ERR) + { + return -1; + } + } + else + { + if (signal(sig, action->sa_handler) == SIG_ERR) + { + return -1; + } + } + return 0; +} +#endif + /** * \file * \ingroup fatalimpl From d88afc437926313f4713379916c68607a822bbdc Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:19:05 -0300 Subject: [PATCH 013/142] core: replace 32-bit lround (Windows) with llround in Time constructor --- src/core/model/nstime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/model/nstime.h b/src/core/model/nstime.h index aa4e2b4ab..ff2ec4ce9 100644 --- a/src/core/model/nstime.h +++ b/src/core/model/nstime.h @@ -184,7 +184,7 @@ class Time * \param [in] v The value. */ explicit inline Time(double v) - : m_data(lround(v)) + : m_data(llround(v)) { if (g_markingTimes) { From cf96b77c12e7a2e7e93608b1d67c76e18a45cad2 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:19:21 -0300 Subject: [PATCH 014/142] core: trim short program name for Windows compatibility --- src/core/model/command-line.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/model/command-line.cc b/src/core/model/command-line.cc index 0c1fa2b37..21c4b73af 100644 --- a/src/core/model/command-line.cc +++ b/src/core/model/command-line.cc @@ -125,6 +125,7 @@ CommandLine::CommandLine(const std::string filename) NS_LOG_FUNCTION(this << filename); std::string basename = SystemPath::Split(filename).back(); m_shortName = basename.substr(0, basename.rfind(".cc")); + m_shortName = m_shortName.substr(basename.find_last_of('/') + 1); } CommandLine::CommandLine(const CommandLine& cmd) From 19433392de5e7d3cf181ea188c603bd2bfc9f1ba Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:20:14 -0300 Subject: [PATCH 015/142] core: rework RUNNING_ON_VALGRIND to support Windows in int64x64 tests --- src/core/test/int64x64-test-suite.cc | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/core/test/int64x64-test-suite.cc b/src/core/test/int64x64-test-suite.cc index b420a3a3e..3a595d18a 100644 --- a/src/core/test/int64x64-test-suite.cc +++ b/src/core/test/int64x64-test-suite.cc @@ -26,6 +26,18 @@ #include #include // numeric_limits<>::epsilon () +#ifdef __WIN32__ +/** + * Indicates that Windows long doubles are 64-bit doubles + */ +#define RUNNING_WITH_LIMITED_PRECISION 1 +#else +/** + * Checks if running on Valgrind, which assumes long doubles are 64-bit doubles + */ +#define RUNNING_WITH_LIMITED_PRECISION RUNNING_ON_VALGRIND +#endif + using namespace ns3; namespace ns3 @@ -1256,9 +1268,9 @@ Int64x64DoubleTestCase::Check(const long double dec, // Darwin 12.5.0 (Mac 10.8.5) g++ 4.2.1 margin = 1.0; } - if (RUNNING_ON_VALGRIND) + if (RUNNING_WITH_LIMITED_PRECISION) { - // Valgrind uses 64-bit doubles for long doubles + // Valgrind and Windows use 64-bit doubles for long doubles // See ns-3 bug 1882 // Need non-zero margin to ensure final tolerance is non-zero margin = 1.0; @@ -1515,9 +1527,9 @@ Int64x64ImplTestCase::DoRun() std::cout << "cairo_impl128: " << cairo_impl128 << std::endl; #endif - if (RUNNING_ON_VALGRIND != 0) + if (RUNNING_WITH_LIMITED_PRECISION != 0) { - std::cout << "Running with valgrind" << std::endl; + std::cout << "Running with 64-bit long doubles" << std::endl; } } From a29d8ad5524bf65fd97a94e827a93bdd9a56bf0c Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:21:53 -0300 Subject: [PATCH 016/142] internet: add win32-internet.h internet header wrapper Undefines colliding symbols defined in winsock2.h. --- src/internet/CMakeLists.txt | 8 ++++++++ src/internet/model/win32-internet.h | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/internet/model/win32-internet.h diff --git a/src/internet/CMakeLists.txt b/src/internet/CMakeLists.txt index 68fc7ec07..b4b294417 100644 --- a/src/internet/CMakeLists.txt +++ b/src/internet/CMakeLists.txt @@ -253,6 +253,13 @@ set(header_files model/windowed-filter.h ) +set(private_header_files) +if(WIN32) + set(private_header_files + model/win32-internet.h + ) +endif() + set(test_sources test/global-route-manager-impl-test-suite.cc test/icmp-test.cc @@ -333,6 +340,7 @@ build_lib( LIBNAME internet SOURCE_FILES ${source_files} HEADER_FILES ${header_files} + PRIVATE_HEADER_FILES ${private_header_files} LIBRARIES_TO_LINK ${libnetwork} ${libcore} diff --git a/src/internet/model/win32-internet.h b/src/internet/model/win32-internet.h new file mode 100644 index 000000000..ad890d798 --- /dev/null +++ b/src/internet/model/win32-internet.h @@ -0,0 +1,20 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ + +#ifndef WIN32_INTERNET_H +#define WIN32_INTERNET_H + +/* Winsock2.h is a cursed header that + * causes multiple name collisions + * + * We use this private header to prevent them + */ + +#include +#undef GetObject +#undef SetPort +#undef SendMessage +#undef CreateFile +#undef Rectangle +#undef interface + +#endif // WIN32_INTERNET_H From 67c512c3ef1b1889e0aeff5d7616bacdd1cdbcbb Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:23:38 -0300 Subject: [PATCH 017/142] internet, sixlowpan: use win32-internet.h as an alternative to netinet/in.h and sys/socket.h --- src/internet/model/ipv4-raw-socket-impl.cc | 5 ++++ src/internet/model/ipv6-raw-socket-impl.cc | 5 ++++ src/internet/test/ipv4-fragmentation-test.cc | 7 ++++- src/internet/test/ipv4-header-test.cc | 9 ++++-- src/internet/test/ipv4-raw-test.cc | 9 ++++-- src/internet/test/ipv6-fragmentation-test.cc | 30 +++++++++++-------- src/internet/test/ipv6-raw-test.cc | 9 ++++-- .../test/sixlowpan-fragmentation-test.cc | 7 ++++- 8 files changed, 60 insertions(+), 21 deletions(-) diff --git a/src/internet/model/ipv4-raw-socket-impl.cc b/src/internet/model/ipv4-raw-socket-impl.cc index 150814223..e49a64fa1 100644 --- a/src/internet/model/ipv4-raw-socket-impl.cc +++ b/src/internet/model/ipv4-raw-socket-impl.cc @@ -12,8 +12,13 @@ #include "ns3/packet.h" #include "ns3/uinteger.h" +#ifdef __WIN32__ +#include "ns3/win32-internet.h" +#else #include #include +#endif + #include namespace ns3 diff --git a/src/internet/model/ipv6-raw-socket-impl.cc b/src/internet/model/ipv6-raw-socket-impl.cc index 72a866623..b0720553c 100644 --- a/src/internet/model/ipv6-raw-socket-impl.cc +++ b/src/internet/model/ipv6-raw-socket-impl.cc @@ -33,8 +33,13 @@ #include "ns3/packet.h" #include "ns3/uinteger.h" +#ifdef __WIN32__ +#include "ns3/win32-internet.h" +#else #include #include +#endif + #include namespace ns3 diff --git a/src/internet/test/ipv4-fragmentation-test.cc b/src/internet/test/ipv4-fragmentation-test.cc index a4b080429..3a165a8f5 100644 --- a/src/internet/test/ipv4-fragmentation-test.cc +++ b/src/internet/test/ipv4-fragmentation-test.cc @@ -45,8 +45,13 @@ #include "ns3/udp-socket.h" #include "ns3/uinteger.h" -#include +#ifdef __WIN32__ +#include "ns3/win32-internet.h" +#else #include +#endif + +#include #include using namespace ns3; diff --git a/src/internet/test/ipv4-header-test.cc b/src/internet/test/ipv4-header-test.cc index afbc3ccf1..f6f6c335b 100644 --- a/src/internet/test/ipv4-header-test.cc +++ b/src/internet/test/ipv4-header-test.cc @@ -38,11 +38,16 @@ #include "ns3/test.h" #include "ns3/traffic-control-layer.h" -#include +#ifdef __WIN32__ +#include "ns3/win32-internet.h" +#else #include +#include +#endif + +#include #include #include -#include #include using namespace ns3; diff --git a/src/internet/test/ipv4-raw-test.cc b/src/internet/test/ipv4-raw-test.cc index 333595a49..242d66d36 100644 --- a/src/internet/test/ipv4-raw-test.cc +++ b/src/internet/test/ipv4-raw-test.cc @@ -40,10 +40,15 @@ #include "ns3/socket.h" #include "ns3/test.h" -#include +#ifdef __WIN32__ +#include "ns3/win32-internet.h" +#else #include -#include #include +#endif + +#include +#include #include using namespace ns3; diff --git a/src/internet/test/ipv6-fragmentation-test.cc b/src/internet/test/ipv6-fragmentation-test.cc index ff74f0700..52dafa401 100644 --- a/src/internet/test/ipv6-fragmentation-test.cc +++ b/src/internet/test/ipv6-fragmentation-test.cc @@ -23,11 +23,20 @@ * This is the test code for ipv6-l3protocol.cc (only the fragmentation and reassembly part). */ +#include "ns3/arp-l3-protocol.h" #include "ns3/boolean.h" #include "ns3/config.h" +#include "ns3/error-channel.h" +#include "ns3/icmpv4-l4-protocol.h" +#include "ns3/icmpv6-l4-protocol.h" #include "ns3/inet-socket-address.h" #include "ns3/inet6-socket-address.h" +#include "ns3/internet-stack-helper.h" +#include "ns3/ipv4-l3-protocol.h" +#include "ns3/ipv4-list-routing.h" #include "ns3/ipv4-raw-socket-factory.h" +#include "ns3/ipv4-static-routing.h" +#include "ns3/ipv6-l3-protocol.h" #include "ns3/ipv6-list-routing.h" #include "ns3/ipv6-raw-socket-factory.h" #include "ns3/ipv6-static-routing.h" @@ -38,24 +47,19 @@ #include "ns3/socket-factory.h" #include "ns3/socket.h" #include "ns3/test.h" +#include "ns3/traffic-control-layer.h" +#include "ns3/udp-l4-protocol.h" #include "ns3/udp-socket-factory.h" #include "ns3/udp-socket.h" #include "ns3/uinteger.h" -# -#include "ns3/arp-l3-protocol.h" -#include "ns3/error-channel.h" -#include "ns3/icmpv4-l4-protocol.h" -#include "ns3/icmpv6-l4-protocol.h" -#include "ns3/internet-stack-helper.h" -#include "ns3/ipv4-l3-protocol.h" -#include "ns3/ipv4-list-routing.h" -#include "ns3/ipv4-static-routing.h" -#include "ns3/ipv6-l3-protocol.h" -#include "ns3/traffic-control-layer.h" -#include "ns3/udp-l4-protocol.h" + +#ifdef __WIN32__ +#include "ns3/win32-internet.h" +#else +#include +#endif #include -#include #include using namespace ns3; diff --git a/src/internet/test/ipv6-raw-test.cc b/src/internet/test/ipv6-raw-test.cc index 755d6119d..9ba59ae1b 100644 --- a/src/internet/test/ipv6-raw-test.cc +++ b/src/internet/test/ipv6-raw-test.cc @@ -42,10 +42,15 @@ #include "ns3/test.h" #include "ns3/uinteger.h" -#include +#ifdef __WIN32__ +#include "ns3/win32-internet.h" +#else #include -#include #include +#endif + +#include +#include #include using namespace ns3; diff --git a/src/sixlowpan/test/sixlowpan-fragmentation-test.cc b/src/sixlowpan/test/sixlowpan-fragmentation-test.cc index 8702a89a2..0b0efb484 100644 --- a/src/sixlowpan/test/sixlowpan-fragmentation-test.cc +++ b/src/sixlowpan/test/sixlowpan-fragmentation-test.cc @@ -36,8 +36,13 @@ #include "ns3/udp-socket.h" #include "ns3/uinteger.h" -#include +#ifdef __WIN32__ +#include "ns3/win32-internet.h" +#else #include +#endif + +#include #include using namespace ns3; From 72240683a6559ff965e240e5b74eb93e8006e13f Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:26:27 -0300 Subject: [PATCH 018/142] doc: Windows section Includes: - Native Windows shells usage (CMD/PowerShell) - Unix-like shells (Msys2/Bash) - Installation instructions - Packaging instructions for Docker container and Vagrant VM --- doc/manual/Makefile | 1 + doc/manual/source/develop.rst | 1 + doc/manual/source/windows.rst | 797 ++++++++++++++++++++++++ doc/tutorial/source/getting-started.rst | 83 ++- doc/tutorial/source/tracing.rst | 2 +- 5 files changed, 855 insertions(+), 29 deletions(-) create mode 100644 doc/manual/source/windows.rst diff --git a/doc/manual/Makefile b/doc/manual/Makefile index 1c6bd19bf..4fff33698 100644 --- a/doc/manual/Makefile +++ b/doc/manual/Makefile @@ -45,6 +45,7 @@ SOURCES = \ source/tracing.rst \ source/troubleshoot.rst \ source/utilities.rst \ + source/windows.rst \ source/working-with-cmake.rst \ source/working-with-git.rst \ source/working-with-gitlab-ci-local.rst \ diff --git a/doc/manual/source/develop.rst b/doc/manual/source/develop.rst index 81e9faf88..545175eed 100644 --- a/doc/manual/source/develop.rst +++ b/doc/manual/source/develop.rst @@ -17,4 +17,5 @@ This chapter describes the development ecosystem generally used to create new mo documentation profiling working-with-gitlab-ci-local + windows diff --git a/doc/manual/source/windows.rst b/doc/manual/source/windows.rst new file mode 100644 index 000000000..9588c0fef --- /dev/null +++ b/doc/manual/source/windows.rst @@ -0,0 +1,797 @@ +.. include:: replace.txt +.. highlight:: console + +.. Section Separators: + ---- + **** + ++++ + ==== + ~~~~ + +.. _Windows 10: + +Windows 10 +---------- + +This chapter describes installation steps specific to Windows 10 and its +derivatives (e.g. Home, Pro, Enterprise) using the Msys2/MinGW64 toolchain. + +.. _Windows 10 package prerequisites: + +Windows 10 package prerequisites +******************************** + +The following instructions are relevant to the ns-3.37 release and Windows 10. + +Installation of the Msys2 environment ++++++++++++++++++++++++++++++++++++++ + +.. _Msys2: https://www.msys2.org/ + +The `Msys2`_ includes ports of Unix tools for Windows built with multiple toolchains, +including: MinGW32, MinGW64, Clang64, UCRT. + +The MinGW64 (GCC) toolchain is the one ns-3 was tested. + +The `Msys2`_ installer can be found on their site. +Msys2 will be installed by default in the ``C:\msys64`` directory. + +The next required step is adding the binaries directories from the MinGW64 toolchain and generic Msys2 tools +to the PATH environment variable. This can be accomplished via the GUI (search for system environment variable), +or via the following command (assuming it was installed to the default directory): + +.. sourcecode:: console + + C:\> setx PATH "C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%;" /m + +Note: if the MinGW64 binary directory doesn't precede the Windows/System32 directory (already in ``%PATH%``), +the documentation build will fail since Windows has a conflicting ``convert`` command (FAT-to-NTFS). Similarly, +the Msys64 binary directory doesn't precede the Windows/System2 directory, running the ``bash`` command will +result in Windows trying to run the Windows Subsystem for Linux (WSL) bash shell. + +Accessing the MinGW64 shell ++++++++++++++++++++++++++++ + +After installing Msys2 and adding the binary directories to the ``PATH``, we can access the Unix-like MinGW64 shell +and use the Pacman package manager. + +The Pacman package manager is similar to the one used by Arch Linux, and can be accessed via one of the Msys2 shells. +In this case, we will be using the MinGW64 shell. We can take this opportunity to update the package cache and packages. + +.. sourcecode:: console + + C:\ns-3-dev\> set MSYSTEM MINGW64 + C:\ns-3-dev\> bash + /c/ns-3-dev/ MINGW64$ pacman -Syu + +Pacman will request you to close the shell and re-open it to proceed after the upgrade. + + +Minimal requirements for C++ (release) +++++++++++++++++++++++++++++++++++++++ + +This is the minimal set of packages needed to run ns-3 C++ programs from a released tarball. + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake \ + mingw-w64-x86_64-ninja mingw-w64-x86_64-grep mingw-w64-x86_64-sed mingw-w64-x86_64-python + + +Netanim animator +++++++++++++++++ + +Qt5 development tools are needed for Netanim animator. Qt4 will also work but we have migrated to qt5. + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-qt5 git + + +Support for MPI-based distributed emulation ++++++++++++++++++++++++++++++++++++++++++++ + +The MPI setup requires two parts. + +The first part is the Microsoft MPI SDK required to build the MPI applications, +which is distributed via Msys2. + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-msmpi + +.. _Microsoft MPI: https://www.microsoft.com/en-us/download/details.aspx?id=100593 + +The second part is the `Microsoft MPI`_ executors (mpiexec, mpirun) package, +which is distributed as an installable (``msmpisetup.exe``). + +After installing it, the path containing the executors also need to be included to ``PATH`` +environment variable of the Windows and/or the MinGW64 shell, depending on whether +you want to run MPI programs in either shell or both of them. + +.. sourcecode:: console + + C:\ns-3-dev\> setx PATH "%PATH%;C:\Program Files\Microsoft MPI\Bin" /m + C:\ns-3-dev\> set MSYSTEM MINGW64 + C:\ns-3-dev\> bash + /c/ns-3-dev/ MINGW64$ echo "export PATH=$PATH:/c/Program\ Files/Microsoft\ MPI/Bin" >> ~/.bashrc + +Debugging ++++++++++ + +GDB is installed along with the mingw-w64-x86_64-toolchain package. + +Support for utils/check-style.py code style check program ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-uncrustify + + +Doxygen and related inline documentation +++++++++++++++++++++++++++++++++++++++++ + +To build the Doxygen-based documentation, we need doxygen and a Latex toolchain. +Getting Doxygen from Msys2 is straightforward. + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-imagemagick mingw-w64-x86_64-doxygen mingw-w64-x86_64-graphviz + +For unknown reasons, the texlive packages in Msys2 are broken, +so we recommend manually installing the official Texlive. + +.. _Texlive for Windows: https://tug.org/texlive/windows.html + +Start by installing `Texlive for Windows`_. It can be installed either via the network installer or +directly from the ISO with all optional packages. + +To install it with the network installer, start by creating a texlive folder and downloading the +texlive configuration profile below. You can change the installation directory (starting with +``C:/texlive/2022``). + +.. sourcecode:: raw + + selected_scheme scheme-custom + TEXDIR C:/texlive/2022 + TEXMFCONFIG ~/.texlive2022/texmf-config + TEXMFHOME ~/texmf + TEXMFLOCAL C:/texlive/texmf-local + TEXMFSYSCONFIG C:/texlive/2022/texmf-config + TEXMFSYSVAR C:/texlive/2022/texmf-var + TEXMFVAR ~/.texlive2022/texmf-var + binary_win32 1 + collection-basic 1 + collection-bibtexextra 1 + collection-binextra 1 + collection-context 1 + collection-fontsrecommended 1 + collection-fontutils 1 + collection-games 1 + collection-humanities 1 + collection-langenglish 1 + collection-latex 1 + collection-latexextra 1 + collection-latexrecommended 1 + collection-luatex 1 + collection-mathscience 1 + collection-metapost 1 + collection-music 1 + collection-pictures 1 + collection-plaingeneric 1 + collection-pstricks 1 + collection-publishers 1 + collection-texworks 1 + collection-wintools 1 + collection-xetex 1 + instopt_adjustpath 1 + instopt_adjustrepo 1 + instopt_letter 0 + instopt_portable 0 + instopt_write18_restricted 1 + tlpdbopt_autobackup 1 + tlpdbopt_backupdir tlpkg/backups + tlpdbopt_create_formats 1 + tlpdbopt_desktop_integration 1 + tlpdbopt_file_assocs 1 + tlpdbopt_generate_updmap 0 + tlpdbopt_install_docfiles 0 + tlpdbopt_install_srcfiles 0 + tlpdbopt_post_code 1 + tlpdbopt_sys_bin /usr/local/bin + tlpdbopt_sys_info /usr/local/share/info + tlpdbopt_sys_man /usr/local/share/man + tlpdbopt_w32_multi_user 0 + + +Then, download Texlive's web installer and unpack it to the texlive directory, +and run the installer. + +.. sourcecode:: console + + ~$ wget https://linorg.usp.br/CTAN/systems/texlive/tlnet/install-tl.zip + ~$ python3 -c "import shutil; shutil.unpack_archive('install-tl.zip', './')" + ~$ cd install-tl-* + ~/install-tl-20220923$ .\install-tl-windows.bat --no-gui --lang en -profile ..\texlive.profile + +After the installation finishes, add the installation directory to the PATH environment variable. + +.. sourcecode:: console + + setx PATH "%PATH%;C:\texlive\2022\bin\win32" /m + C:\ns-3-dev\> set MSYSTEM MINGW64 + C:\ns-3-dev\> bash + /c/ns-3-dev/ MINGW64$ echo "export PATH=$PATH:/c/texlive/2022/bin/win32" >> ~/.bashrc + +The ns-3 manual, models and tutorial +++++++++++++++++++++++++++++++++++++ + +These documents are written in reStructuredText for Sphinx (doc/tutorial, doc/manual, doc/models). +The figures are typically written in dia. + +The documents can be generated into multiple formats, one of them being pdf, +which requires the same Latex setup for doxygen. + +Sphinx can be installed via Msys2's package manager: + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-python-sphinx + +.. _Dia: https://sourceforge.net/projects/dia-installer/ + +`Dia`_ on the other hand needs to be downloaded and installed manually. +After installing it, or unzipping the package (example below), add Dia/bin to the PATH. + +.. sourcecode:: console + + C:\ns-3-dev\> setx PATH "%PATH%;C:\dia_0.97.2_win32\bin" /m + C:\ns-3-dev\> set MSYSTEM MINGW64 + C:\ns-3-dev\> bash + /c/ns-3-dev/ MINGW64$ echo "export PATH=$PATH:/c/dia_0.97.2_win32/bin" >> ~/.bashrc + +GNU Scientific Library (GSL) +++++++++++++++++++++++++++++ + +GSL is used to provide more accurate WiFi error models and can be installed with: + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-gsl + +Database support for statistics framework ++++++++++++++++++++++++++++++++++++++++++ + +SQLite3 is installed along with the mingw-w64-x86_64-toolchain package. + + +Xml-based version of the config store ++++++++++++++++++++++++++++++++++++++ + +Requires libxml2 >= version 2.7, which can be installed with the following. + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-libxml2 + +Support for openflow module ++++++++++++++++++++++++++++ + +Requires some boost libraries that can be installed with the following. + +.. sourcecode:: console + + /c/ns-3-dev/ MINGW64$ pacman -S mingw-w64-x86_64-boost + +Windows 10 Docker container +*************************** + +Docker containers are not as useful for Windows, since only Windows hosts can use them, +however we add directions on how to use the Windows container and how to update the Docker +image for reference. + +First, gather all dependencies previously mentioned to cover all supported features. +Install them to a base directory for the container (e.g. ``C:\tools``). + +Save the following Dockerfile to the base directory. + +.. sourcecode:: docker + + # It is really unfortunate we need a 16 GB base image just to get the installers working, but such is life + FROM mcr.microsoft.com/windows:20H2 + + # Copy the current host directory to the container + COPY .\\ C:/tools + WORKDIR C:\\tools + + # Create temporary dir + RUN mkdir C:\\tools\\temp + + # Export environment variables + RUN setx PATH "C:\\tools\\msys64\\mingw64\\bin;C:\\tools\\msys64\\usr\\bin;%PATH%" /m + RUN setx PATH "%PATH%;C:\\Program Files\\Microsoft MPI\\bin;C:\\tools\\dia\bin;C:\tools\texlive\2022\bin\win32" /m + RUN setx MSYSTEM "MINGW64" /m + + # Install Msys2 + RUN .\\msys2-x86_64-20220503.exe in --confirm-command --accept-messages --root C:\\tools\\msys64 + + # Update base packages + RUN C:\\tools\\msys64\\usr\\bin\\pacman -Syyuu --noconfirm + + # Install base packages + RUN bash -c "echo export PATH=$PATH:/c/Program\ Files/Microsoft\ MPI/Bin >> /c/tools/msys64/home/$USER/.bashrc" && \ + bash -c "echo export PATH=$PATH:/c/tools/dia/bin >> /c/tools/msys64/home/$USER/.bashrc" && \ + bash -c "echo export PATH=$PATH:/c/tools/texlive/2022/bin/win32 >> /c/tools/msys64/home/$USER/.bashrc" && \ + bash -c "pacman -S mingw-w64-x86_64-toolchain \ + mingw-w64-x86_64-cmake \ + mingw-w64-x86_64-ninja \ + mingw-w64-x86_64-grep \ + mingw-w64-x86_64-sed \ + mingw-w64-x86_64-qt5 \ + git \ + mingw-w64-x86_64-msmpi \ + mingw-w64-x86_64-uncrustify \ + mingw-w64-x86_64-imagemagick \ + mingw-w64-x86_64-doxygen \ + mingw-w64-x86_64-graphviz \ + mingw-w64-x86_64-python-sphinx \ + mingw-w64-x86_64-gsl \ + mingw-w64-x86_64-libxml2 \ + mingw-w64-x86_64-boost \ + --noconfirm" + + # Install Microsoft MPI + RUN .\\msmpisetup.exe -unattend -force -full -verbose + + # Install TexLive + RUN .\\install-tl-20220526\\install-tl-windows.bat --no-gui --lang en -profile .\\texlive.profile + + # Move working directory to temp and start cmd + WORKDIR C:\\tools\\temp + ENTRYPOINT ["cmd"] + +Now you should be able to run ``docker build -t username/image .``. + +After building the container image, you should be able to use it: + +.. sourcecode:: console + + $ docker run -it username/image + C:\tools\temp$ git clone https://gitlab.com/nsnam/ns-3-dev + C:\tools\temp$ cd ns-3-dev + C:\tools\temp\ns-3-dev$ python ns3 configure --enable-tests --enable-examples + C:\tools\temp\ns-3-dev$ python ns3 build + C:\tools\temp\ns-3-dev$ python test.py + +If testing succeeds, the container image can then be pushed to the Docker Hub using +``docker push username/image``. + + +Windows 10 Vagrant +****************** + +.. _VirtualBox: https://www.virtualbox.org/ +.. _Vagrant: https://www.vagrantup.com/ +.. _virtual machine: https://www.redhat.com/en/topics/virtualization/what-is-a-virtual-machine +.. _boxes available: https://app.vagrantup.com/boxes/search + +As an alternative to manually setting up all dependencies required by ns-3, +one can use a pre-packaged `virtual machine`_. There are many ways to do that, +but for automation, the most used certainly is `Vagrant`_. + +Vagrant supports multiple virtual machine providers, is available in all platforms and is +fairly straightforward to use and configure. + +There are many `boxes available`_ offering guests operating systems such as BSD, Mac, Linux and Windows. + +Using the pre-packaged Vagrant box +++++++++++++++++++++++++++++++++++ + +The provider for the ns-3 Vagrant box is `VirtualBox`_. + +The virtual machine can be downloaded via the following Vagrant command + +.. sourcecode:: console + + ~/mingw64_test $ vagrant init gabrielcarvfer/ns3_win10_mingw64 + +After that, a Vagrantfile will be created in the current directory (in this case, mingw64_test). + +The file can be modified to adjust the number of processors and memory available to the virtual machine (VM). + +.. sourcecode:: console + + ~/mingw64_test $ cat Vagrantfile + # -*- mode: ruby -*- + # vi: set ft=ruby : + + # All Vagrant configuration is done below. The "2" in Vagrant.configure + # configures the configuration version (we support older styles for + # backwards compatibility). Please don't change it unless you know what + # you're doing. + Vagrant.configure("2") do |config| + # The most common configuration options are documented and commented below. + # For a complete reference, please see the online documentation at + # https://docs.vagrantup.com. + + # Every Vagrant development environment requires a box. You can search for + # boxes at https://vagrantcloud.com/search. + config.vm.box = "gabrielcarvfer/ns3_win10_mingw64" + + # Disable automatic box update checking. If you disable this, then + # boxes will only be checked for updates when the user runs + # `vagrant box outdated`. This is not recommended. + # config.vm.box_check_update = false + + # Create a forwarded port mapping which allows access to a specific port + # within the machine from a port on the host machine. In the example below, + # accessing "localhost:8080" will access port 80 on the guest machine. + # NOTE: This will enable public access to the opened port + # config.vm.network "forwarded_port", guest: 80, host: 8080 + + # Create a forwarded port mapping which allows access to a specific port + # within the machine from a port on the host machine and only allow access + # via 127.0.0.1 to disable public access + # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" + + # Create a private network, which allows host-only access to the machine + # using a specific IP. + # config.vm.network "private_network", ip: "192.168.33.10" + + # Create a public network, which generally matched to bridged network. + # Bridged networks make the machine appear as another physical device on + # your network. + # config.vm.network "public_network" + + # Share an additional folder to the guest VM. The first argument is + # the path on the host to the actual folder. The second argument is + # the path on the guest to mount the folder. And the optional third + # argument is a set of non-required options. + # config.vm.synced_folder "../data", "/vagrant_data" + + # Provider-specific configuration so you can fine-tune various + # backing providers for Vagrant. These expose provider-specific options. + # Example for VirtualBox: + # + # config.vm.provider "virtualbox" do |vb| + # # Display the VirtualBox GUI when booting the machine + # vb.gui = true + # + # # Customize the amount of memory on the VM: + # vb.memory = "1024" + # end + # + # View the documentation for the provider you are using for more + # information on available options. + + # Enable provisioning with a shell script. Additional provisioners such as + # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the + # documentation for more information about their specific syntax and use. + # config.vm.provision "shell", inline: <<-SHELL + # apt-get update + # apt-get install -y apache2 + # SHELL + end + +We can uncomment the virtualbox provider block and change vCPUs and RAM. +It is recommended never to match the number of vCPUs to the number of thread of the machine, +or the host operating system can become unresponsive. +For compilation workloads, it is recommended to allocate 1-2 GB of RAM per vCPU. + +.. _user Vagrantfile: + +.. sourcecode:: console + + ~/mingw64_test/ $ cat Vagrantfile + # -*- mode: ruby -*- + # vi: set ft=ruby : + Vagrant.configure("2") do |config| + config.vm.box = "gabrielcarvfer/ns3_win10_mingw64" + config.vm.provider "virtualbox" do |vb| + vb.cpus = "8" + vb.memory = "8096" # 8GB of RAM + end + end + +After changing the settings, we can start the VM and login via ssh. The default password is "vagrant". + +.. sourcecode:: console + + ~/mingw64_test/ $ vagrant up + ~/mingw64_test/ $ vagrant ssh + C:\Users\vagrant> + + +We are now logged into the machine and ready to work. If you prefer to update the tools, get into the +MinGW64 shell and run pacman. + +.. sourcecode:: console + + C:\Users\vagrant\> set MSYSTEM MINGW64 + C:\Users\vagrant\> bash + /c/Users/vagrant/ MINGW64$ pacman -Syu + /c/Users/vagrant/ MINGW64$ exit + C:\Users\vagrant\> + +At this point, we can clone ns-3 locally: + +.. sourcecode:: console + + C:\Users\vagrant> git clone -b mingw_patches `https://gitlab.com/gabrielcarvfer/ns-3-dev` + C:\Users\vagrant> cd ns-3-dev + C:\Users\vagrant\ns-3-dev> python3 ns3 configure --enable-tests --enable-examples --enable-mpi + C:\Users\vagrant\ns-3-dev> python3 test.py + +We can also access the ~/mingw64_test/ from the host machine, where the Vagrantfile resides, by accessing +the synchronized folder C:\vagrant. +If the Vagrantfile is in the host ns-3-dev directory, we can continue working on it. + +.. sourcecode:: console + + C:\Users\vagrant> cd C:\vagrant + C:\vagrant\> python3 ns3 configure --enable-tests --enable-examples --enable-mpi + C:\vagrant\> python3 test.py + +If all the PATH variables were set for the MinGW64 shell, we can also use it instead of the +default CMD shell. + +.. sourcecode:: console + + C:\vagrant\> set MSYSTEM=MINGW64 + C:\vagrant\> bash + /c/vagrant/ MINGW64$ ./ns3 clean + /c/vagrant/ MINGW64$ ./ns3 configure --enable-tests --enable-examples --enable-mpi + /c/vagrant/ MINGW64$ ./test.py + +To stop the Vagrant machine, we should close the SSH session then halt. + +.. sourcecode:: console + + /c/vagrant/ MINGW64$ exit + C:\vagrant\> exit + ~/mingw64_test/ vagrant halt + +To destroy the machine (e.g. to restore the default settings), use the following. + +.. sourcecode:: console + + vagrant destroy + +Packaging a new Vagrant box ++++++++++++++++++++++++++++ + +**BEWARE: DO NOT CHANGE THE SETTINGS MENTIONED ON A REAL MACHINE** + +**THE SETTINGS ARE MEANT FOR A DISPOSABLE VIRTUAL MACHINE** + +.. _Windows 10 ISO: https://www.microsoft.com/pt-br/software-download/windows10ISO + +Start by downloading the `Windows 10 ISO`_. + +Then install `VirtualBox`_. + +Configure a VirtualBox VM and use the Windows 10 ISO file as the install source. + +During the installation, create a local user named "vagrant" and set its password to "vagrant". + +Check for any Windows updates and install them. + +The following commands assume administrative permissions and a PowerShell shell. + +Install the VirtualBox guest extensions +======================================= + +On the VirtualBox GUI, click on ``Devices->Insert Guest Additions CD Image...`` +to download the VirtualBox guest extensions ISO and mount it as a CD drive on the guest VM. + +Run the installer to enable USB-passthrough, folder syncing and others. + +After installing, unmount the drive by removing it from the VM. Click on ``Settings->Storage``, +select the guest drive and remove it clicking the button with an red ``x``. + +Install the OpenSSH server +========================== + +Open PowerShell and run the following to install OpenSSH server, +then set it to start automatically and open the firewall ports. + +.. sourcecode:: console + + Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 + Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 + Start-Service sshd + Set-Service -Name sshd -StartupType 'Automatic' + if (!(Get-NetFirewallRule -Name "OpenSSH-Server-In-TCP" -ErrorAction SilentlyContinue | Select-Object Name, Enabled)) { + Write-Output "Firewall Rule 'OpenSSH-Server-In-TCP' does not exist, creating it..." + New-NetFirewallRule -Name 'OpenSSH-Server-In-TCP' -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 + } else { + Write-Output "Firewall rule 'OpenSSH-Server-In-TCP' has been created and exists." + } + +Enable essential services and disable unnecessary ones +====================================================== + +Ensure the following services are set to **automatic** from the Services panel(services.msc): + + - Base Filtering Engine + - Remote Procedure Call (RPC) + - DCOM Server Process Launcher + - RPC Endpoint Mapper + - Windows Firewall + +Ensure the following services are set to **disabled** from the Services panel(services.msc): + + - Windows Update + - Windows Update Remediation + - Windows Search + +The same can be accomplished via the command-line with the following commands: + +.. sourcecode:: console + + Set-Service -Name BFE -StartupType 'Automatic' + Set-Service -Name RpcSs -StartupType 'Automatic' + Set-Service -Name DcomLaunch -StartupType 'Automatic' + Set-Service -Name RpcEptMapper -StartupType 'Automatic' + Set-Service -Name mpssvc -StartupType 'Automatic' + Set-Service -Name wuauserv -StartupType 'Disabled' + Set-Service -Name WaaSMedicSvc -StartupType 'Disabled' + Set-Service -Name WSearch -StartupType 'Disabled' + +Install the packages you need +============================= + +In this step we install all the software required by ns-3, as listed in the Section `Windows 10 package prerequisites`_. + +Disable Windows Defender +======================== + +After installing everything, it should be safe to disable the Windows security. + +Enter in the Windows Security settings and disable "anti-tamper protection". +It rollbacks changes to security settings periodically. + +Enter in the Group Policy Editor (gpedit.msc) and disable: + + - Realtime protection + - Behavior monitoring + - Scanning of archives, removable drives, network files, scripts + - Windows defender + + +The same can be accomplished with the following command-line commands. + +.. sourcecode:: console + + Set-MpPreference -DisableArchiveScanning 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableBehaviorMonitoring 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableIntrusionPreventionSystem 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableIOAVProtection 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableRemovableDriveScanning 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableBlockAtFirstSeen 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableScanningMappedNetworkDrivesForFullScan 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableScanningNetworkFiles 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableScriptScanning 1 -ErrorAction SilentlyContinue + Set-MpPreference -DisableRealtimeMonitoring 1 -ErrorAction SilentlyContinue + Set-Service -Name WdNisSvc -StartupType 'Disabled' + Set-Service -Name WinDefend -StartupType 'Disabled' + Set-Service -Name Sense -StartupType 'Disabled' + Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" -Name SpyNetReporting -Value 0 + Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" -Name SubmitSamplesConsent -Value 0 + Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Defender\Features" -Name TamperProtection -Value 4 + Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Defender" -Name DisableAntiSpyware -Value 1 + Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender" -Name DisableAntiSpyware -Value 1 + +Note: the previous commands were an excerpt from the complete script in: +https://github.com/jeremybeaume/tools/blob/master/disable-defender.ps1 + +Turn off UAC notifications +========================== + +The UAC notifications are the popups where you can give your OK to elevation to administrative privileges. +It can be disabled via User Account Control Settings, or via the following commands. + +.. sourcecode:: console + + reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f + + +Change the strong password security Policy +========================================== + +Open the Local Security Policy management window. Under Security Settings/Account Policy/Password Policy, +disable the option saying "Password must meet complexity requirements". + + +Testing +======= + +After you reach this point, reboot your machine then log back in. + +Test if all your packages are working as expected. + +In the case of ns-3, try to enable all supported features, run the test.py and test-ns3.py suites. + +If everything works, then try to log in via SSH. + +If everything works, shut down the machine and prepare for packaging. + +The network interface configured should be a NAT. Other interfaces won't work correctly. + +Default Vagrantfile +=================== + +Vagrant can package VirtualBox VMs into Vagrant boxes without much more work. +However, it still needs one more file to do that: the default Vagrantfile. + +This file will be used by Vagrant to configure the VM later on and how to connect to it. + +.. sourcecode:: ruby + # -*- mode: ruby -*- + # vi: set ft=ruby : + + Vagrant.configure("2") do |config| + config.vm.box = "BOX_FILE.box" # name of the box + config.vm.communicator = "winssh" # indicate that we are talking to a windows box via ssh + config.vm.guest = :windows # indicate that the guest is a windows machine + config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true + config.ssh.password = "vagrant" # give the default password, so that it stops trying to use a .ssh key-pair + config.ssh.insert_key = false # let the user use a written password + config.ssh.keys_only = false + config.winssh.shell = "cmd" # select the default shell (could be cmd or powershell) + config.vm.provider :virtualbox do |v, override| + #v.gui = true # do not show the VirtualBox GUI if unset or set to false + v.customize ["modifyvm", :id, "--memory", 8096] # the default settings for the VM are 8GB of RAM + v.customize ["modifyvm", :id, "--cpus", 8] # the default settings for the VM are 8 vCPUs + v.customize ["modifyvm", :id, "--vram", 128] # 128 MB or vGPU RAM + v.customize ["modifyvm", :id, "--clipboard", "bidirectional"] + v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ] + end + end + +This Vagrantfile will be baked into the Vagrant box, and can be modified by the `user Vagrantfile`_. +After writing the Vagrantfile, we can call the following command. + +.. sourcecode:: console + + vagrant package --vagrantfile Vagrantfile --base VIRTUALBOX_VM_NAME --output BOX_FILE.box + +It will take an awful long time depending on your drive. + +After it finishes, we can add the box to test it. + +.. sourcecode:: console + + vagrant box add BOX_NAME BOX_FILE + vagrant up BOX_NAME + vagrant ssh + +If it can connect to the box, you are ready to upload it to the Vagrant servers. + +Publishing the Vagrant box +========================== + +Create an account in https://app.vagrantup.com/ or log in with yours. +In the dashboard, you can create a new box named BOX_NAME or select an existing one to update. + +After you select your box, click to add a provider. Pick Virtualbox. +Calculate the MD5 hash of your BOX_FILE.box and fill the field then click to proceed. + +Upload the box. + +Now you should be able to download your box from the Vagrant servers via the the following command. + +.. sourcecode:: console + + vagrant init yourUserName/BOX_NAME + vagrant up + vagrant ssh + +More information on Windows packaging to Vagrant boxes is available here: + + - https://www.vagrantup.com/docs/boxes/base + - https://www.vagrantup.com/docs/vagrantfile/machine_settings + - https://www.vagrantup.com/docs/vagrantfile/ssh_settings + - https://www.vagrantup.com/docs/vagrantfile/winssh_settings + - https://github.com/pghalliday/windows-vagrant-boxes diff --git a/doc/tutorial/source/getting-started.rst b/doc/tutorial/source/getting-started.rst index 0cb0751d7..8f05ead4b 100644 --- a/doc/tutorial/source/getting-started.rst +++ b/doc/tutorial/source/getting-started.rst @@ -989,7 +989,7 @@ confusing to newcomers, and when done poorly it leads to subtle build errors. The solutions above are the way to go. Building with CMake -+++++++++++++++++++++++ ++++++++++++++++++++ The ns3 wrapper script calls CMake directly, mapping Waf-like options to the verbose settings used by CMake. Calling ``./ns3`` will execute @@ -1064,13 +1064,40 @@ Corresponds to: Note: the command above would fail if ``./ns3 build`` was not executed first, since the examples won't be built by the test-runner target. +On Windows, the Msys2/MinGW64/bin directory path must be on the PATH environment variable, +otherwise the dll's required by the C++ runtime will not be found, resulting in crashes +without any explicit reasoning. + +Note: The ns-3 script adds only the ns-3 lib directory path to the PATH, +ensuring the ns-3 dlls will be found by running programs. If you are using CMake directly or +an IDE, make sure to also include the path to ns-3-dev/build/lib in the PATH variable. + +If you are using one of Windows's terminals (CMD, PowerShell or Terminal), you can use the +`setx__` +command to change environment variables permanently or `set` to set them temporarily for that shell: + +.. sourcecode:: console + + C:\\Windows\\system32>echo %PATH% + C:\\Windows\\system32;C:\\Windows;D:\\tools\\msys64\\mingw64\\bin; + + C:\\Windows\\system32>setx PATH "%PATH%;D:\\tools\\msys64\\usr\\bin;" /m + + C:\\Windows\\system32>echo %PATH% + C:\\Windows\\system32;C:\\Windows;D:\\tools\\msys64\\mingw64\\bin; + D:\\tools\\msys64\\usr\\bin; + +Note: running on an administrator terminal will change the system PATH, +while the user terminal will change the user PATH, unless the `/m` flag is added. + + Building with IDEs ++++++++++++++++++ With CMake, IDE integration is much easier. We list the steps on how to use ns-3 with a few IDEs. -Microsoft Visual Code -===================== +Microsoft Visual Studio Code +============================ Start by downloading `VS Code `_. @@ -1078,38 +1105,38 @@ Then install it and then install the CMake and C++ plugins. This can be done accessing the extensions' menu button on the left. -.. figure:: figures/vscode/install_cmake_tools.png +.. figure:: ../figures/vscode/install_cmake_tools.png -.. figure:: figures/vscode/install_cpp_tools.png +.. figure:: ../figures/vscode/install_cpp_tools.png It will take a while, but it will locate the available toolchains for you to use. After that, open the ns-3-dev folder. It should run CMake automatically and preconfigure it. -.. figure:: figures/vscode/open_project.png +.. figure:: ../figures/vscode/open_project.png After this happens, you can choose ns-3 features by opening the CMake cache and toggling them on or off. -.. figure:: figures/vscode/open_cmake_cache.png +.. figure:: ../figures/vscode/open_cmake_cache.png -.. figure:: figures/vscode/configure_ns3.png +.. figure:: ../figures/vscode/configure_ns3.png Just as an example, here is how to enable examples -.. figure:: figures/vscode/enable_examples_and_save_to_reload_cache.png +.. figure:: ../figures/vscode/enable_examples_and_save_to_reload_cache.png After saving the cache, CMake will run, refreshing the cache. Then VsCode will update its list of targets on the left side of the screen in the CMake menu. After selecting a target on the left side menu, there are options to build, run or debug it. -.. figure:: figures/vscode/select_target_build_and_debug.png +.. figure:: ../figures/vscode/select_target_build_and_debug.png Any of them will automatically build the selected target. If you choose run or debug, the executable targets will be executed. You can open the source files you want, put some breakpoints and then click debug to visually debug programs. -.. figure:: figures/vscode/debugging.png +.. figure:: ../figures/vscode/debugging.png JetBrains CLion =============== @@ -1120,30 +1147,30 @@ Start by downloading `CLion `_. The following image contains the toolchain configuration window for CLion running on Windows (only WSLv2 is currently supported). -.. figure:: figures/clion/toolchains.png +.. figure:: ../figures/clion/toolchains.png CLion uses Makefiles for your platform as the default generator. Here you can choose a better generator like `ninja` by setting the cmake options flag to `-G Ninja`. You can also set options to enable examples (`-DNS3_EXAMPLES=ON`) and tests (`-DNS3_TESTS=ON`). -.. figure:: figures/clion/cmake_configuration.png +.. figure:: ../figures/clion/cmake_configuration.png To refresh the CMake cache, triggering the discovery of new targets (libraries, executables and/or modules), you can either configure to re-run CMake automatically after editing CMake files (pretty slow and easily triggered) or reload it manually. The following image shows how to trigger the CMake cache refresh. -.. figure:: figures/clion/reload_cache.png +.. figure:: ../figures/clion/reload_cache.png After configuring the project, the available targets are listed in a drop-down list on the top right corner. Select the target you want and then click the hammer symbol to build, as shown in the image below. -.. figure:: figures/clion/build_targets.png +.. figure:: ../figures/clion/build_targets.png If you have selected and executable target, you can click either the play button to execute the program; the bug to debug the program; the play button with a chip, to run Valgrind and analyze memory usage, leaks and so on. -.. figure:: figures/clion/run_target.png +.. figure:: ../figures/clion/run_target.png Code::Blocks ============ @@ -1168,30 +1195,30 @@ This is a Code::Blocks project file that can be opened by the IDE. When you first open the IDE, you will be greeted by a window asking you to select the compiler you want. -.. figure:: figures/codeblocks/compiler_detection.png +.. figure:: ../figures/codeblocks/compiler_detection.png After that you will get into the landing page where you can open the project. -.. figure:: figures/codeblocks/landing.png +.. figure:: ../figures/codeblocks/landing.png Loading it will take a while. -.. figure:: figures/codeblocks/open_project.png +.. figure:: ../figures/codeblocks/open_project.png After that we can select a target in the top menu (where it says "all") and click to build, run or debug. We can also set breakpoints on the source code. -.. figure:: figures/codeblocks/breakpoint_and_debug.png +.. figure:: ../figures/codeblocks/breakpoint_and_debug.png After clicking to build, the build commands of the underlying build system will be printed in the tab at the bottom. If you clicked to debug, the program will start automatically and stop at the first breakpoint. -.. figure:: figures/codeblocks/build_finished_breakpoint_waiting.png +.. figure:: ../figures/codeblocks/build_finished_breakpoint_waiting.png You can inspect memory and the current stack enabling those views in Debug->Debugging Windows->Watches and Call Stack. Using the debugging buttons, you can advance line by line, continue until the next breakpoint. -.. figure:: figures/codeblocks/debug_watches.png +.. figure:: ../figures/codeblocks/debug_watches.png Note: as Code::Blocks doesn't natively support CMake projects, it doesn't refresh the CMake cache, which means you will need to close the project, run the ``./ns3`` command to refresh the CMake caches after adding/removing @@ -1204,7 +1231,7 @@ Start by installing `XCode `_. Then open it for the first time and accept the license. Then open Xcode->Preferences->Locations and select the command-line tools location. -.. figure:: figures/xcode/select_command_line.png +.. figure:: ../figures/xcode/select_command_line.png XCode does not support CMake project natively, but we can use the corresponding CMake generator to generate a project in order to use it. The generator name depends on the operating @@ -1225,27 +1252,27 @@ There will be a NS3.xcodeproj file inside the cache folder used during configura Loading the project will take a while, and you will be greeted with the following prompt. Select to automatically create the schemes. -.. figure:: figures/xcode/create_schemes.png +.. figure:: ../figures/xcode/create_schemes.png After that we can select a target in the top menu and click to run, which will build and run (if executable, or debug if build with debugging symbols). -.. figure:: figures/xcode/target_dropdown.png +.. figure:: ../figures/xcode/target_dropdown.png After clicking to build, the build will start and progress is shown in the top bar. -.. figure:: figures/xcode/select_target_and_build.png +.. figure:: ../figures/xcode/select_target_and_build.png Before debugging starts, Xcode will request for permissions to attach to the process (as an attacker could pretend to be a debugging tool and steal data from other processes). -.. figure:: figures/xcode/debug_permission_to_attach.png +.. figure:: ../figures/xcode/debug_permission_to_attach.png After attaching, we are greeted with profiling information and call stack on the left panel, source code, breakpoint and warnings on the central panel. At the bottom there are the memory watches panel in the left and the output panel on the right, which is also used to read the command line. -.. figure:: figures/xcode/profiling_stack_watches_output.png +.. figure:: ../figures/xcode/profiling_stack_watches_output.png Note: as XCode doesn't natively support CMake projects, it doesn't refresh the CMake cache, which means you diff --git a/doc/tutorial/source/tracing.rst b/doc/tutorial/source/tracing.rst index 293e7ad67..4683bed12 100644 --- a/doc/tutorial/source/tracing.rst +++ b/doc/tutorial/source/tracing.rst @@ -2078,7 +2078,7 @@ generate some pretty pictures: You should now have a graph of the congestion window versus time sitting in the file "cwnd.png" that looks like: -.. figure:: figures/cwnd.png +.. figure:: ../figures/cwnd.png Using Mid-Level Helpers +++++++++++++++++++++++ From d3b011b0dbb2fbe8c5ab40405ac63b8ed31dfd78 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Oct 2022 21:26:53 -0300 Subject: [PATCH 019/142] CI: add Github CI jobs for Windows, MacOS, code coverage and CodeQL --- .github/workflows/per_commit.yml | 255 +++++++++++++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 .github/workflows/per_commit.yml diff --git a/.github/workflows/per_commit.yml b/.github/workflows/per_commit.yml new file mode 100644 index 000000000..5611e6962 --- /dev/null +++ b/.github/workflows/per_commit.yml @@ -0,0 +1,255 @@ +name: "CI" + +on: [push] +jobs: + Ubuntu: + runs-on: ubuntu-latest + outputs: + cache_misses: ${{ steps.ccache_results.outputs.cache_misses }} + steps: + - uses: actions/checkout@v1 + - name: Install required packages + run: | + sudo apt-get update + sudo apt-get -y install apt-utils + sudo apt-get -y install git gcc g++ cmake python make ninja-build + sudo apt-get -y install tcpdump libgsl-dev libxml2-dev + sudo apt-get -y install curl unzip tar + sudo apt-get -y install ccache + - name: Get timestamp + id: time + run: python3 -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + - name: Restore ccache + id: ccache + uses: actions/cache@v1.1.0 + with: + path: .ccache + key: ubuntu-ci-${{steps.time.outputs.time}} + restore-keys: ubuntu-ci- + - name: Setup ccache + run: | + ccache --set-config=cache_dir="$GITHUB_WORKSPACE/.ccache" + ccache --set-config=max_size=400M + ccache --set-config=compression=true + ccache -z + - name: Configure CMake + run: | + mkdir cmake-cache + cd cmake-cache + cmake -DCMAKE_BUILD_TYPE=release -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + - name: Build ns-3 + run: | + cd cmake-cache + ninja + - name: Print ccache statistics + id: ccache_results + run: | + ccache -s + python3 -c "import re, subprocess;print('::set-output name=cache_misses::%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" + - name: Run tests and examples + if: steps.ccache_results.outputs.cache_misses != '0' + run: python3 test.py --no-build + + CodeQL: + runs-on: ubuntu-latest + needs: Ubuntu + if: needs.Ubuntu.outputs.cache_misses != '0' + strategy: + fail-fast: false + steps: + - name: Checkout repository + uses: actions/checkout@v2 + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: 'cpp' + - name: Install required packages + run: | + sudo apt-get update + sudo apt-get -y install apt-utils + sudo apt-get -y install git gcc g++ cmake python make ninja-build + sudo apt-get -y install tcpdump libgsl-dev libxml2-dev + sudo apt-get -y install curl unzip tar + sudo apt-get -y install ccache + - name: Get timestamp + id: time + run: python3 -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + - name: Restore ccache + id: ccache + uses: actions/cache@v1.1.0 + with: + path: .ccache + key: ubuntu-ci-${{steps.time.outputs.time}} + restore-keys: ubuntu-ci- + - name: Setup ccache + run: | + ccache --set-config=cache_dir="$GITHUB_WORKSPACE/.ccache" + ccache --set-config=max_size=400M + ccache --set-config=compression=true + ccache -z + - name: Configure CMake + run: | + mkdir cmake-cache + cd cmake-cache + cmake -DCMAKE_BUILD_TYPE=release -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + - name: Build ns-3 + run: | + cd cmake-cache + ninja + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + + Codecov: + runs-on: ubuntu-latest + needs: Ubuntu + if: needs.Ubuntu.outputs.cache_misses != '0' + steps: + - uses: actions/checkout@v1 + - name: Install required packages + run: | + sudo apt-get update + sudo apt-get -y install apt-utils + sudo apt-get -y install git gcc g++ cmake python3 make ninja-build + sudo apt-get -y install tcpdump libgsl-dev libxml2-dev + sudo apt-get -y install curl unzip tar + sudo apt-get -y install ccache + sudo apt-get -y install lcov + - name: Get timestamp + id: time + run: python3 -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + - name: Restore ccache + id: ccache + uses: actions/cache@v1.1.0 + with: + path: .ccache + key: ubuntu-coverage-${{steps.time.outputs.time}} + restore-keys: ubuntu-coverage- + - name: Setup ccache + run: | + ccache --set-config=cache_dir="$GITHUB_WORKSPACE/.ccache" + ccache --set-config=max_size=400M + ccache --set-config=compression=true + ccache -z + - name: Configure CMake + run: | + mkdir cmake-cache + cd cmake-cache + cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_COVERAGE=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + - name: Build ns-3 + run: | + cd cmake-cache + cmake --build . -j3 + - name: Print ccache statistics + id: ccache_results + run: | + ccache -s + python3 -c "import re, subprocess;print('::set-output name=cache_misses::%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" + - name: Generate coverage data and submit to codecov.io + if: steps.ccache_results.outputs.cache_misses != '0' + run: | + cd cmake-cache + ninja coverage_gcc + cd ../build/coverage + bash <(curl -s https://codecov.io/bash) -f ns3.info || echo "Codecov did not collect coverage reports" + + Windows_MinGW: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v1 + - uses: msys2/setup-msys2@v2 + - name: Install required msys2/mingw64 packages + run: | + pacman -S --noconfirm unzip + pacman -S --noconfirm tar + pacman -S --noconfirm mingw-w64-x86_64-curl + pacman -S --noconfirm mingw-w64-x86_64-binutils + pacman -S --noconfirm mingw-w64-x86_64-cmake + pacman -S --noconfirm mingw-w64-x86_64-gcc + pacman -S --noconfirm mingw-w64-x86_64-ninja + pacman -S --noconfirm mingw-w64-x86_64-python + pacman -S --noconfirm mingw-w64-x86_64-ccache + pacman -S --noconfirm mingw-w64-x86_64-gsl + pacman -S --noconfirm mingw-w64-x86_64-libxml2 + pacman -S --noconfirm mingw-w64-x86_64-lld + pacman --noconfirm -Scc + - name: Get timestamp + id: time + run: python -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + - name: Restore ccache + id: ccache + uses: actions/cache@v1.1.0 + with: + path: .ccache + key: msys2-${{steps.time.outputs.time}} + restore-keys: msys2- + - name: Setup ccache + run: | + ccache --set-config=cache_dir="$GITHUB_WORKSPACE/.ccache" + ccache --set-config=max_size=400M + ccache --set-config=compression=true + ccache -z + - name: Configure CMake + run: | + mkdir cmake-cache + cd cmake-cache + cmake -DCMAKE_BUILD_TYPE=release -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + - name: Build ns-3 + run: | + cd cmake-cache + ninja + - name: Print ccache statistics + id: ccache_results + run: | + ccache -s + python3 -c "import re, subprocess;print('::set-output name=cache_misses::%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" + - name: Run tests and examples + if: steps.ccache_results.outputs.cache_misses != '0' + run: python test.py --no-build + + Mac_OS_X: + runs-on: macos-latest + steps: + - uses: actions/checkout@v1 + - name: Install required packages + run: | + brew install ninja cmake ccache libxml2 gsl open-mpi #qt5 + - name: Get timestamp + id: time + run: python3 -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + - name: Restore ccache + id: ccache + uses: actions/cache@v1.1.0 + with: + path: .ccache + key: osx_brew-ci-${{steps.time.outputs.time}} + restore-keys: osx_brew-ci- + - name: Setup ccache + run: | + export PATH=/usr/local/bin:$PATH #:/usr/local/opt/qt/bin + ccache --set-config=cache_dir="$GITHUB_WORKSPACE/.ccache" + ccache --set-config=max_size=400M + ccache --set-config=compression=true + ccache -z + - name: Configure CMake + run: | + export PATH=/usr/local/bin:$PATH #:/usr/local/opt/qt/bin + mkdir cmake-cache + cd cmake-cache + cmake -DCMAKE_BUILD_TYPE=release -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + - name: Build ns-3 + run: | + export PATH="$PATH" #:/usr/local/opt/qt/bin + cd cmake-cache + ninja + - name: Print ccache statistics + id: ccache_results + run: | + ccache -s + python3 -c "import re, subprocess;print('::set-output name=cache_misses::%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" + - name: Run tests and examples + if: steps.ccache_results.outputs.cache_misses != '0' + run: python3 test.py --no-build From 1c417da68596fb3766d5fcf0867362be0b23bf9c Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sun, 9 Oct 2022 13:22:31 -0300 Subject: [PATCH 020/142] docs: enable doxygen CREATE_SUBDIRS and DOT_MULTI_TARGETS The first option is nicer to slow filesystems and the second speeds up the build by reusing the same Dot (graphviz) process for multiple steps of a single target --- doc/doxygen.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/doxygen.conf b/doc/doxygen.conf index 9007f6097..0fd6387d5 100644 --- a/doc/doxygen.conf +++ b/doc/doxygen.conf @@ -70,7 +70,7 @@ OUTPUT_DIRECTORY = doc # performance problems for the file system. # The default value is: NO. -CREATE_SUBDIRS = NO +CREATE_SUBDIRS = YES # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII # characters to appear in the names of generated files. If set to NO, non-ASCII @@ -2671,7 +2671,7 @@ DOT_TRANSPARENT = NO # The default value is: NO. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_MULTI_TARGETS = NO +DOT_MULTI_TARGETS = YES # If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page # explaining the meaning of the various boxes and arrows in the dot generated From 23872428f09baef503654e7c78c13ae00c23fd9a Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Mon, 10 Oct 2022 19:42:07 -0300 Subject: [PATCH 021/142] build: update NS3_CLANG_FORMAT and NS3_CLANG_TIDY messages to throw error when not found --- build-support/macros-and-definitions.cmake | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index 5634892be..8944362fd 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -434,7 +434,7 @@ macro(process_options) if(${NS3_CLANG_FORMAT}) find_program(CLANG_FORMAT clang-format) if("${CLANG_FORMAT}" STREQUAL "CLANG_FORMAT-NOTFOUND") - message(${HIGHLIGHTED_STATUS} "Proceeding without clang-format") + message(FATAL_ERROR "Clang-format was not found") else() file( GLOB_RECURSE @@ -449,7 +449,7 @@ macro(process_options) scratch/*.h ) add_custom_target( - clang-format COMMAND clang-format -style=file -i + clang-format COMMAND ${CLANG_FORMAT} -style=file -i ${ALL_CXX_SOURCE_FILES} ) unset(ALL_CXX_SOURCE_FILES) @@ -457,13 +457,13 @@ macro(process_options) endif() if(${NS3_CLANG_TIDY}) - find_program(CLANG_TIDY clang-tidy) + find_program( + CLANG_TIDY NAMES clang-tidy clang-tidy-14 clang-tidy-15 clang-tidy-16 + ) if("${CLANG_TIDY}" STREQUAL "CLANG_TIDY-NOTFOUND") - message(${HIGHLIGHTED_STATUS} - "Proceeding without clang-tidy static analysis" - ) + message(FATAL_ERROR "Clang-tidy was not found") else() - set(CMAKE_CXX_CLANG_TIDY "clang-tidy") + set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY}") endif() else() unset(CMAKE_CXX_CLANG_TIDY) From 087e71393ee1af71d295bbdbd322621685dc0078 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Mon, 10 Oct 2022 20:04:41 -0300 Subject: [PATCH 022/142] core: Fix clang-tidy modernize-use-nullptr warnings --- src/core/model/breakpoint.cc | 6 +++--- src/core/model/system-path.cc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/model/breakpoint.cc b/src/core/model/breakpoint.cc index cf395b031..9c7c751e5 100644 --- a/src/core/model/breakpoint.cc +++ b/src/core/model/breakpoint.cc @@ -52,17 +52,17 @@ BreakpointFallback() #else void -BreakpointFallback(void) +BreakpointFallback() { NS_LOG_FUNCTION_NOARGS(); - int* a = 0; + int* a = nullptr; /** * we test here to allow a debugger to change the value of * the variable 'a' to allow the debugger to avoid the * subsequent segfault. */ - if (a == 0) + if (a == nullptr) { *a = 0; } diff --git a/src/core/model/system-path.cc b/src/core/model/system-path.cc index 0074dc5f0..a72e7166a 100644 --- a/src/core/model/system-path.cc +++ b/src/core/model/system-path.cc @@ -186,13 +186,13 @@ FindSelfDirectory() // LPTSTR = char * DWORD size = 1024; LPTSTR lpFilename = (LPTSTR)malloc(sizeof(TCHAR) * size); - DWORD status = GetModuleFileName(0, lpFilename, size); + DWORD status = GetModuleFileName(nullptr, lpFilename, size); while (status == size) { size = size * 2; free(lpFilename); lpFilename = (LPTSTR)malloc(sizeof(TCHAR) * size); - status = GetModuleFileName(0, lpFilename, size); + status = GetModuleFileName(nullptr, lpFilename, size); } NS_ASSERT(status != 0); filename = lpFilename; From 82bbdfacb1ce4de10c473a0ce08967f93bf07035 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Tue, 11 Oct 2022 13:48:46 -0300 Subject: [PATCH 023/142] ci: Cleanup build artifacts after testing --- utils/tests/gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/tests/gitlab-ci.yml b/utils/tests/gitlab-ci.yml index 268590688..e7952872f 100644 --- a/utils/tests/gitlab-ci.yml +++ b/utils/tests/gitlab-ci.yml @@ -39,6 +39,7 @@ stages: - CXX=$COMPILER ./ns3 configure -d $MODE -GNinja --enable-examples --enable-tests --enable-asserts $ENABLE_MPI - ./ns3 build - if [ "$MODE" != "debug" ]; then ./test.py -n; fi + - ./ns3 clean cache: # Use separate key for each (debug/default/optimized) jobs because # they run in parallel and will otherwise overwrite each other From 8a4ac80069ed82d5590eb640402e1fc1cb80028d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Wed, 31 Aug 2022 11:28:20 +0200 Subject: [PATCH 024/142] visualizer: Remove gnomedesktop dependency --- src/visualizer/visualizer/core.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/visualizer/visualizer/core.py b/src/visualizer/visualizer/core.py index 487f53be1..682ada441 100644 --- a/src/visualizer/visualizer/core.py +++ b/src/visualizer/visualizer/core.py @@ -1051,14 +1051,12 @@ class Visualizer(GObject.GObject): hbox.pack_start(screenshot_button, False, False, 4) def load_button_icon(button, icon_name): - try: - import gnomedesktop - except ImportError: - sys.stderr.write("Could not load icon %s due to missing gnomedesktop Python module\n" % icon_name) - else: - icon = gnomedesktop.find_icon(Gtk.IconTheme.get_default(), icon_name, 16, 0) - if icon is not None: - button.props.image = GObject.new(Gtk.Image, file=icon, visible=True) + if not Gtk.IconTheme.get_default().has_icon(icon_name): + print(f"Could not load icon {icon_name}", file=sys.stderr) + return + image = Gtk.Image.new_from_icon_name(icon_name, Gtk.IconSize.BUTTON) + button.set_image(image) + button.props.always_show_image = True load_button_icon(screenshot_button, "applets-screenshooter") screenshot_button.connect("clicked", self._take_screenshot) From 3480f0324d1cb7e670527b10d4a04e55cb25c27a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Wed, 31 Aug 2022 20:43:40 +0200 Subject: [PATCH 025/142] visualizer: Replace deprecated stock icon https://lazka.github.io/pgi-docs/#Gtk-3.0/constants.html#Gtk.STOCK_MEDIA_PLAY --- src/visualizer/visualizer/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/visualizer/visualizer/core.py b/src/visualizer/visualizer/core.py index 682ada441..b4126182e 100644 --- a/src/visualizer/visualizer/core.py +++ b/src/visualizer/visualizer/core.py @@ -1073,10 +1073,10 @@ class Visualizer(GObject.GObject): # Play button self.play_button = GObject.new(Gtk.ToggleButton, - image=GObject.new(Gtk.Image, stock=Gtk.STOCK_MEDIA_PLAY, visible=True), label="Simulate (F3)", relief=Gtk.ReliefStyle.NONE, focus_on_click=False, - use_stock=True, visible=True) + visible=True) + load_button_icon(self.play_button, "media-playback-start") accel_group = Gtk.AccelGroup() self.window.add_accel_group(accel_group) self.play_button.add_accelerator("clicked", accel_group, From 45dc0ed6042e01f2151c3313c1b324a8e4358fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Fri, 9 Sep 2022 09:05:15 +0200 Subject: [PATCH 026/142] visualizer: Remove Python 2 compatibility code --- src/visualizer/model/visual-simulator-impl.cc | 6 ------ src/visualizer/visualizer/base.py | 2 -- src/visualizer/visualizer/core.py | 9 ++------- src/visualizer/visualizer/ipython_view.py | 1 - src/visualizer/visualizer/plugins/olsr.py | 1 - 5 files changed, 2 insertions(+), 17 deletions(-) diff --git a/src/visualizer/model/visual-simulator-impl.cc b/src/visualizer/model/visual-simulator-impl.cc index 5551b17d1..df1d04d1a 100644 --- a/src/visualizer/model/visual-simulator-impl.cc +++ b/src/visualizer/model/visual-simulator-impl.cc @@ -121,15 +121,9 @@ VisualSimulatorImpl::Run(void) { if (!Py_IsInitialized()) { -#if PY_MAJOR_VERSION >= 3 const wchar_t* argv[] = {L"python", NULL}; Py_Initialize(); PySys_SetArgv(1, (wchar_t**)argv); -#else - const char* argv[] = {"python", NULL}; - Py_Initialize(); - PySys_SetArgv(1, (char**)argv); -#endif PyRun_SimpleString("import visualizer\n" "visualizer.start();\n"); } diff --git a/src/visualizer/visualizer/base.py b/src/visualizer/visualizer/base.py index 0c06011c2..98bacc887 100644 --- a/src/visualizer/visualizer/base.py +++ b/src/visualizer/visualizer/base.py @@ -1,5 +1,3 @@ -from __future__ import print_function - from gi.repository import GObject import os.path import sys diff --git a/src/visualizer/visualizer/core.py b/src/visualizer/visualizer/core.py index b4126182e..6edb3d701 100644 --- a/src/visualizer/visualizer/core.py +++ b/src/visualizer/visualizer/core.py @@ -1,6 +1,4 @@ # -*- Mode: python; coding: utf-8 -*- -from __future__ import division, print_function -#from __future__ import with_statement from ctypes import c_double LAYOUT_ALGORITHM = 'neato' # ['neato'|'dot'|'twopi'|'circo'|'fdp'|'nop'] @@ -25,9 +23,6 @@ import math import os import sys -if sys.version_info > (3,): - long = int - try: import gi gi.require_version('GooCanvas', '2.0') @@ -1238,7 +1233,7 @@ class Visualizer(GObject.GObject): def center_on_node(self, node): if isinstance(node, ns.Node): node = self.nodes[node.GetId()] - elif isinstance(node, (int, long)): + elif isinstance(node, int): node = self.nodes[node] elif isinstance(node, Node): pass @@ -1658,7 +1653,7 @@ class Visualizer(GObject.GObject): def select_node(self, node): if isinstance(node, ns.Node): node = self.nodes[node.GetId()] - elif isinstance(node, (int, long)): + elif isinstance(node, int): node = self.nodes[node] elif isinstance(node, Node): pass diff --git a/src/visualizer/visualizer/ipython_view.py b/src/visualizer/visualizer/ipython_view.py index 017ea8f09..40604273c 100644 --- a/src/visualizer/visualizer/ipython_view.py +++ b/src/visualizer/visualizer/ipython_view.py @@ -13,7 +13,6 @@ is available at U{http://www.opensource.org/licenses/bsd-license.php} # this file is a modified version of source code from the Accerciser project # https://wiki.gnome.org/Apps/Accerciser -from __future__ import print_function import gtk, gobject import re import sys diff --git a/src/visualizer/visualizer/plugins/olsr.py b/src/visualizer/visualizer/plugins/olsr.py index 802df45ed..77f0ecdca 100644 --- a/src/visualizer/visualizer/plugins/olsr.py +++ b/src/visualizer/visualizer/plugins/olsr.py @@ -1,4 +1,3 @@ -from __future__ import print_function from gi.repository import Gtk from gi.repository import Gdk From 783dd6827071bed3769d08f93a357e0e9f4692ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Fri, 9 Sep 2022 09:09:11 +0200 Subject: [PATCH 027/142] visualizer: Remove deprecated GTK stock images --- src/visualizer/visualizer/core.py | 11 +++++------ .../visualizer/plugins/interface_statistics.py | 2 +- .../visualizer/plugins/ipv4_routing_table.py | 2 +- src/visualizer/visualizer/plugins/olsr.py | 2 +- .../visualizer/plugins/show_last_packets.py | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/visualizer/visualizer/core.py b/src/visualizer/visualizer/core.py index 6edb3d701..8e6c230ca 100644 --- a/src/visualizer/visualizer/core.py +++ b/src/visualizer/visualizer/core.py @@ -1709,11 +1709,10 @@ class Visualizer(GObject.GObject): return False def _get_export_file_name(self): - sel = Gtk.FileChooserDialog("Save...", self.canvas.get_toplevel(), - Gtk.FileChooserAction.SAVE, - (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, - Gtk.STOCK_SAVE, Gtk.ResponseType.OK)) - sel.set_default_response(Gtk.ResponseType.OK) + sel = Gtk.FileChooserNative.new("Save...", self.canvas.get_toplevel(), + Gtk.FileChooserAction.SAVE, + "_Save", + "_Cancel") sel.set_local_only(True) sel.set_do_overwrite_confirmation(True) sel.set_current_name("Unnamed.pdf") @@ -1734,7 +1733,7 @@ class Visualizer(GObject.GObject): sel.add_filter(filter) resp = sel.run() - if resp != Gtk.ResponseType.OK: + if resp != Gtk.ResponseType.ACCEPT: sel.destroy() return None diff --git a/src/visualizer/visualizer/plugins/interface_statistics.py b/src/visualizer/visualizer/plugins/interface_statistics.py index a8162e33a..f60e34ab6 100644 --- a/src/visualizer/visualizer/plugins/interface_statistics.py +++ b/src/visualizer/visualizer/plugins/interface_statistics.py @@ -130,7 +130,7 @@ class ShowInterfaceStatistics(InformationWindow): InformationWindow.__init__(self) self.win = Gtk.Dialog(parent=visualizer.window, flags=Gtk.DialogFlags.DESTROY_WITH_PARENT, - buttons=(Gtk.STOCK_CLOSE, Gtk.ResponseType.CLOSE)) + buttons=("_Close", Gtk.ResponseType.CLOSE)) self.win.connect("response", self._response_cb) self.win.set_title("Statistics for node %i" % node_index) self.visualizer = visualizer diff --git a/src/visualizer/visualizer/plugins/ipv4_routing_table.py b/src/visualizer/visualizer/plugins/ipv4_routing_table.py index 7f84ef91b..724781beb 100644 --- a/src/visualizer/visualizer/plugins/ipv4_routing_table.py +++ b/src/visualizer/visualizer/plugins/ipv4_routing_table.py @@ -30,7 +30,7 @@ class ShowIpv4RoutingTable(InformationWindow): InformationWindow.__init__(self) self.win = Gtk.Dialog(parent=visualizer.window, flags=Gtk.DialogFlags.DESTROY_WITH_PARENT, - buttons=(Gtk.STOCK_CLOSE, Gtk.ResponseType.CLOSE)) + buttons=("_Close", Gtk.ResponseType.CLOSE)) self.win.connect("response", self._response_cb) self.win.set_title("IPv4 routing table for node %i" % node_index) self.visualizer = visualizer diff --git a/src/visualizer/visualizer/plugins/olsr.py b/src/visualizer/visualizer/plugins/olsr.py index 77f0ecdca..66c6aece3 100644 --- a/src/visualizer/visualizer/plugins/olsr.py +++ b/src/visualizer/visualizer/plugins/olsr.py @@ -30,7 +30,7 @@ class ShowOlsrRoutingTable(InformationWindow): InformationWindow.__init__(self) self.win = Gtk.Dialog(parent=visualizer.window, flags=Gtk.DialogFlags.DESTROY_WITH_PARENT|Gtk.DialogFlags.NO_SEPARATOR, - buttons=(Gtk.STOCK_CLOSE, Gtk.ResponseType.CLOSE)) + buttons=("_Close", Gtk.ResponseType.CLOSE)) self.win.set_default_size(Gdk.Screen.width()/2, Gdk.Screen.height()/2) self.win.connect("response", self._response_cb) self.win.set_title("OLSR routing table for node %i" % node_index) diff --git a/src/visualizer/visualizer/plugins/show_last_packets.py b/src/visualizer/visualizer/plugins/show_last_packets.py index b48abb0d3..9b3ac55c6 100644 --- a/src/visualizer/visualizer/plugins/show_last_packets.py +++ b/src/visualizer/visualizer/plugins/show_last_packets.py @@ -102,7 +102,7 @@ class ShowLastPackets(InformationWindow): InformationWindow.__init__(self) self.win = Gtk.Dialog(parent=visualizer.window, flags=Gtk.DialogFlags.DESTROY_WITH_PARENT|Gtk.DialogFlags.NO_SEPARATOR, - buttons=(Gtk.STOCK_CLOSE, Gtk.ResponseType.CLOSE)) + buttons=("_Close", Gtk.ResponseType.CLOSE)) self.win.connect("response", self._response_cb) self.win.set_title("Last packets for node %i" % node_index) self.visualizer = visualizer From b44f4911fc9e6ae750c389fa6496c5a2705c96c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Fri, 9 Sep 2022 09:10:31 +0200 Subject: [PATCH 028/142] visualizer: Remove unavailable GTK dialog flag --- src/visualizer/visualizer/plugins/olsr.py | 2 +- src/visualizer/visualizer/plugins/show_last_packets.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/visualizer/visualizer/plugins/olsr.py b/src/visualizer/visualizer/plugins/olsr.py index 66c6aece3..286bf1048 100644 --- a/src/visualizer/visualizer/plugins/olsr.py +++ b/src/visualizer/visualizer/plugins/olsr.py @@ -29,7 +29,7 @@ class ShowOlsrRoutingTable(InformationWindow): """ InformationWindow.__init__(self) self.win = Gtk.Dialog(parent=visualizer.window, - flags=Gtk.DialogFlags.DESTROY_WITH_PARENT|Gtk.DialogFlags.NO_SEPARATOR, + flags=Gtk.DialogFlags.DESTROY_WITH_PARENT, buttons=("_Close", Gtk.ResponseType.CLOSE)) self.win.set_default_size(Gdk.Screen.width()/2, Gdk.Screen.height()/2) self.win.connect("response", self._response_cb) diff --git a/src/visualizer/visualizer/plugins/show_last_packets.py b/src/visualizer/visualizer/plugins/show_last_packets.py index 9b3ac55c6..7f9bb6289 100644 --- a/src/visualizer/visualizer/plugins/show_last_packets.py +++ b/src/visualizer/visualizer/plugins/show_last_packets.py @@ -101,7 +101,7 @@ class ShowLastPackets(InformationWindow): """ InformationWindow.__init__(self) self.win = Gtk.Dialog(parent=visualizer.window, - flags=Gtk.DialogFlags.DESTROY_WITH_PARENT|Gtk.DialogFlags.NO_SEPARATOR, + flags=Gtk.DialogFlags.DESTROY_WITH_PARENT, buttons=("_Close", Gtk.ResponseType.CLOSE)) self.win.connect("response", self._response_cb) self.win.set_title("Last packets for node %i" % node_index) From e10586ee0229d0f7a94c12da3751a238d79184cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Fri, 9 Sep 2022 09:13:08 +0200 Subject: [PATCH 029/142] visualizer: Fix warning when using wayland 'window [..] is a temporary window without parent, application will not be able to position it on screen' --- src/visualizer/visualizer/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visualizer/visualizer/core.py b/src/visualizer/visualizer/core.py index 8e6c230ca..226f80340 100644 --- a/src/visualizer/visualizer/core.py +++ b/src/visualizer/visualizer/core.py @@ -1628,7 +1628,7 @@ class Visualizer(GObject.GObject): def popup_node_menu(self, node, event): menu = Gtk.Menu() self.emit("populate-node-menu", node, menu) - menu.popup(None, None, None, None, event.button, event.time) + menu.popup_at_pointer(event) def _update_ipython_selected_node(self): # If we are running under ipython -gthread, make this new From 3a5fa9727155ae851e19964c811f98f82fc1bb9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Mon, 19 Sep 2022 10:02:29 +0200 Subject: [PATCH 030/142] visualizer: Improve module import --- src/visualizer/visualizer/core.py | 39 ++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/src/visualizer/visualizer/core.py b/src/visualizer/visualizer/core.py index 226f80340..2a6b6d80b 100644 --- a/src/visualizer/visualizer/core.py +++ b/src/visualizer/visualizer/core.py @@ -23,31 +23,48 @@ import math import os import sys +try: + import threading +except ImportError: + import dummy_threading as threading + +try: + import pygraphviz +except ImportError: + print("Pygraphviz is required by the visualizer module and could not be found") + exit(1) + +try: + import cairo +except ImportError: + print("Pycairo is required by the visualizer module and could not be found") + exit(1) + try: import gi +except ImportError: + print("PyGObject is required by the visualizer module and could not be found") + exit(1) + +try: + import svgitem +except ImportError: + svgitem = None + +try: gi.require_version('GooCanvas', '2.0') gi.require_version('Gtk', '3.0') gi.require_version('Gdk', '3.0') + gi.require_foreign("cairo") from gi.repository import GObject from gi.repository import GLib - import cairo - gi.require_foreign("cairo") - import pygraphviz from gi.repository import Gtk from gi.repository import Gdk from gi.repository import Pango from gi.repository import GooCanvas - import threading from . import hud - - #import time - try: - import svgitem - except ImportError: - svgitem = None except ImportError as e: _import_error = e - import dummy_threading as threading else: _import_error = None From f957f3996e1aa98c67a104c6f7f073817c84edc4 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Tue, 11 Oct 2022 19:52:28 -0300 Subject: [PATCH 031/142] visualizer: dereference cppyy's smartptr to get the real netdevice --- src/visualizer/visualizer/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visualizer/visualizer/core.py b/src/visualizer/visualizer/core.py index 2a6b6d80b..5e76e24d2 100644 --- a/src/visualizer/visualizer/core.py +++ b/src/visualizer/visualizer/core.py @@ -1139,7 +1139,7 @@ class Visualizer(GObject.GObject): for devI in range(node.GetNDevices()): device = node.GetDevice(devI) - device_traits = lookup_netdevice_traits(type(device)) + device_traits = lookup_netdevice_traits(type(device.__deref__())) if device_traits.is_wireless: continue if device_traits.is_virtual: From 0367e1777264a721d818daeb732f92ed0678b529 Mon Sep 17 00:00:00 2001 From: Alberto Gallegos Date: Sun, 9 Oct 2022 21:34:00 +0900 Subject: [PATCH 032/142] lr-wpan: Queue pointer fixes and queue limits addition --- CHANGES.md | 2 + RELEASE_NOTES.md | 2 + src/lr-wpan/doc/lr-wpan.rst | 26 +++-- src/lr-wpan/model/lr-wpan-mac.cc | 164 +++++++++++++++++++++---------- src/lr-wpan/model/lr-wpan-mac.h | 63 ++++++++++-- 5 files changed, 189 insertions(+), 68 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d71d6da35..e07d3d182 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -49,6 +49,8 @@ Changes from ns-3.36 to ns-3.37 * Adds support for **LrWpanMac** devices association. * Pan Id compression is now possible in **LrWpanMac** when transmitting data frames. i.e. When src and dst pan ID are the same, only one PanId is used, making the MAC header 2 bytes smaller. See IEEE 802.15.4-2006 (7.5.6.1). * Add O2I Low/High Building Penetration Losses in 3GPP propagation loss model (`ThreeGppPropagationLossModel`) according to **3GPP TR 38.901 7.4.3.1**. Currently, UMa, UMi and RMa scenarios are supported. +* Replace **LrWpanMac** Tx Queue and Ind Tx Queue pointers for smart pointers. +* Add **LrWpanMac** packet traces and queue limits to Tx queue and Ind Tx queue. ### Changes to build system diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 901537eb4..054418438 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -30,6 +30,7 @@ Release 3-dev - (utils) `utils/bench-simulator` has been moved to `utils/bench-scheduler` to better reflect what it actually tests - (utils) `utils/bench-scheduler` has been enhanced to test multiple schedulers. - (lte) LTE handover failure is now handled for joining and leaving timeouts, RACH failure, and preamble allocation failure. +- (lr-wpan) !1131 - Add support for configurable tx queue and ind tx queue limits. ### Bugs fixed @@ -47,6 +48,7 @@ Release 3-dev - (wifi) Fix the TID of QoS Null frames in response to BSRP TF - (core) #756 - Fix `CsvReader::GetValueAs()` functions for `char` arguments - #758 - Fix warnings about `for` loops with variables that are "too small" to fully represent the data being looped +- (lr-wpan) #692 - Replace raw pointers for smart pointers in Tx queue and Ind Tx queue. Release 3.36.1 -------------- diff --git a/src/lr-wpan/doc/lr-wpan.rst b/src/lr-wpan/doc/lr-wpan.rst index f0a576837..5c312f0fc 100644 --- a/src/lr-wpan/doc/lr-wpan.rst +++ b/src/lr-wpan/doc/lr-wpan.rst @@ -175,6 +175,14 @@ Bootstrap (a.k.a. network initialization) is possible with a combination of scan Bootstrap as whole depends on procedures that also take place on higher layers of devices and coordinators. These procedures are briefly described in the standard but out of its scope (See IEE 802.15.4-2011 Section 5.1.3.1.). However, these procedures are necessary for a "complete bootstrap" process. In the examples in |ns3|, these high layer procedures are only briefly implemented to demonstrate a complete example that shows the use of scan and association. A full high layer (e.g. such as those found in Zigbee and Thread protocol stacks) should complete these procedures more robustly. +MAC queues +++++++++++ + +By default, ``Tx queue`` and ``Ind Tx queue`` (the pending transaction list) are not limited but they can configure to drop packets after they +reach a limit of elements (transaction overflow). Additionally, the ``Ind Tx queue`` drop packets when the packet has been longer than +``macTransactionPersistenceTime`` (transaction expiration). Expiration of packets in the Tx queue is not supported. +Finally, packets in the ``Tx queue`` may be dropped due to excessive transmission retries or channel access failure. + PHY ### @@ -285,16 +293,16 @@ Scope and Limitations Future versions of this document will contain a PICS proforma similar to Appendix D of IEEE 802.15.4-2006. The current emphasis is on direct transmissions running on both, slotted and unslotted mode (CSMA/CA) of 802.15.4 operation for use in Zigbee. -Indirect data transmissions are not supported but planned for a future update. -Devices are capable of associating with a single PAN coordinator. Interference is modeled as AWGN but this is currently not thoroughly tested. -The standard describes the support of multiple PHY band-modulations but currently, only 250kbps O-QPSK (channel page 0) is supported. - -The NetDevice Tx queue is not limited, i.e., packets are never dropped -due to queue becoming full. They may be dropped due to excessive transmission -retries or channel access failure. - -Active and passive MAC scans are able to obtain a LQI value from a beacon frame, however, the scan primitives assumes LQI is correctly implemented and does not check the validity of its value. +- Indirect data transmissions are not supported but planned for a future update. +- Devices are capable of associating with a single PAN coordinator. Interference is modeled as AWGN but this is currently not thoroughly tested. +- The standard describes the support of multiple PHY band-modulations but currently, only 250kbps O-QPSK (channel page 0) is supported. +- Active and passive MAC scans are able to obtain a LQI value from a beacon frame, however, the scan primitives assumes LQI is correctly implemented and does not check the validity of its value. +- Configuration of Rx Sensitivity and ED thresholds are currently not supported. +- Orphan scans are not supported. +- Disassociation primitives are not supported. +- Security is not supported. +- Beacon enabled mode GTS are not supported. References ========== diff --git a/src/lr-wpan/model/lr-wpan-mac.cc b/src/lr-wpan/model/lr-wpan-mac.cc index 52f97a334..b67ccc0bf 100644 --- a/src/lr-wpan/model/lr-wpan-mac.cc +++ b/src/lr-wpan/model/lr-wpan-mac.cc @@ -70,6 +70,16 @@ LrWpanMac::GetTypeId() "dequeued from the transaction queue", MakeTraceSourceAccessor(&LrWpanMac::m_macTxDequeueTrace), "ns3::Packet::TracedCallback") + .AddTraceSource("MacIndTxEnqueue", + "Trace source indicating a packet has been " + "enqueued in the indirect transaction queue", + MakeTraceSourceAccessor(&LrWpanMac::m_macIndTxEnqueueTrace), + "ns3::Packet::TracedCallback") + .AddTraceSource("MacIndTxDequeue", + "Trace source indicating a packet has was " + "dequeued from the indirect transaction queue", + MakeTraceSourceAccessor(&LrWpanMac::m_macIndTxDequeueTrace), + "ns3::Packet::TracedCallback") .AddTraceSource("MacTx", "Trace source indicating a packet has " "arrived for transmission by this device", @@ -85,6 +95,12 @@ LrWpanMac::GetTypeId() "dropped during transmission", MakeTraceSourceAccessor(&LrWpanMac::m_macTxDropTrace), "ns3::Packet::TracedCallback") + .AddTraceSource("MacIndTxDrop", + "Trace source indicating a packet has been " + "dropped from the indirect transaction queue" + "(The pending transaction list)", + MakeTraceSourceAccessor(&LrWpanMac::m_macIndTxDropTrace), + "ns3::Packet::TracedCallback") .AddTraceSource("MacPromiscRx", "A packet has been received by this device, " "has been passed up from the physical layer " @@ -190,6 +206,9 @@ LrWpanMac::LrWpanMac() m_macResponseWaitTime = aBaseSuperframeDuration * 32; m_assocRespCmdWaitTime = 960; + m_maxTxQueueSize = m_txQueue.max_size(); + m_maxIndTxQueueSize = m_indTxQueue.max_size(); + Ptr uniformVar = CreateObject(); uniformVar->SetAttribute("Min", DoubleValue(0.0)); uniformVar->SetAttribute("Max", DoubleValue(255.0)); @@ -230,14 +249,16 @@ LrWpanMac::DoDispose() for (uint32_t i = 0; i < m_txQueue.size(); i++) { m_txQueue[i]->txQPkt = nullptr; - delete m_txQueue[i]; + m_txQueue[i]->txQMsduHandle = 0; } m_txQueue.clear(); for (uint32_t i = 0; i < m_indTxQueue.size(); i++) { m_indTxQueue[i]->txQPkt = nullptr; - m_indTxQueue[i].release(); + m_indTxQueue[i]->seqNum = 0; + m_indTxQueue[i]->dstExtAddress = nullptr; + m_indTxQueue[i]->dstShortAddress = nullptr; } m_indTxQueue.clear(); @@ -480,22 +501,11 @@ LrWpanMac::McpsDataRequest(McpsDataRequestParams params, Ptr p) } p->AddTrailer(macTrailer); - if (m_txQueue.size() == m_txQueue.max_size()) - { - confirmParams.m_status = IEEE_802_15_4_TRANSACTION_OVERFLOW; - if (!m_mcpsDataConfirmCallback.IsNull()) - { - m_mcpsDataConfirmCallback(confirmParams); - } - } - else - { - NS_LOG_ERROR(this << " Indirect transmissions not currently supported"); - // Note: The current Pending transaction list should work for indirect transmissions. - // However, this is not tested yet. For now, we block the use of indirect transmissions. - // TODO: Save packet in the Pending Transaction list. - // EnqueueInd (p); - } + NS_LOG_ERROR(this << " Indirect transmissions not currently supported"); + // Note: The current Pending transaction list should work for indirect transmissions. + // However, this is not tested yet. For now, we block the use of indirect transmissions. + // TODO: Save packet in the Pending Transaction list. + // EnqueueInd (p); } else { @@ -516,12 +526,10 @@ LrWpanMac::McpsDataRequest(McpsDataRequestParams params, Ptr p) } p->AddTrailer(macTrailer); - m_macTxEnqueueTrace(p); - - TxQueueElement* txQElement = new TxQueueElement; + Ptr txQElement = Create(); txQElement->txQMsduHandle = params.m_msduHandle; txQElement->txQPkt = p; - m_txQueue.push_back(txQElement); + EnqueueTxQElement(txQElement); CheckQueue(); } } @@ -911,9 +919,9 @@ LrWpanMac::SendBeaconRequestCommand() commandPacket->AddTrailer(macTrailer); - TxQueueElement* txQElement = new TxQueueElement; + Ptr txQElement = Create(); txQElement->txQPkt = commandPacket; - m_txQueue.push_back(txQElement); + EnqueueTxQElement(txQElement); CheckQueue(); } @@ -960,9 +968,9 @@ LrWpanMac::SendAssocRequestCommand() commandPacket->AddTrailer(macTrailer); - TxQueueElement* txQElement = new TxQueueElement; + Ptr txQElement = Create(); txQElement->txQPkt = commandPacket; - m_txQueue.push_back(txQElement); + EnqueueTxQElement(txQElement); CheckQueue(); } @@ -1019,9 +1027,9 @@ LrWpanMac::SendDataRequestCommand() commandPacket->AddTrailer(macTrailer); // Set the Command packet to be transmitted - TxQueueElement* txQElement = new TxQueueElement; + Ptr txQElement = Create(); txQElement->txQPkt = commandPacket; - m_txQueue.push_back(txQElement); + EnqueueTxQElement(txQElement); CheckQueue(); } @@ -1035,12 +1043,12 @@ LrWpanMac::SendAssocResponseCommand(Ptr rxDataReqPkt) NS_ASSERT(receivedMacPayload.GetCommandFrameType() == CommandPayloadHeader::DATA_REQ); - IndTxQueueElement* indTxQElement = new IndTxQueueElement; + Ptr indTxQElement = Create(); bool elementFound; elementFound = DequeueInd(receivedMacHdr.GetExtSrcAddr(), indTxQElement); if (elementFound) { - TxQueueElement* txQElement = new TxQueueElement; + Ptr txQElement = Create(); txQElement->txQPkt = indTxQElement->txQPkt; m_txQueue.emplace_back(txQElement); } @@ -1448,7 +1456,7 @@ LrWpanMac::CheckQueue() // check MAC is not in a IFS if (!m_ifsEvent.IsRunning()) { - TxQueueElement* txQElement = m_txQueue.front(); + Ptr txQElement = m_txQueue.front(); m_txPkt = txQElement->txQPkt; m_setMacState = @@ -2192,7 +2200,7 @@ LrWpanMac::PdDataIndication(uint32_t psduLength, Ptr p, uint8_t lqi) { if (!m_mcpsDataConfirmCallback.IsNull()) { - TxQueueElement* txQElement = m_txQueue.front(); + Ptr txQElement = m_txQueue.front(); McpsDataConfirmParams confirmParams; confirmParams.m_msduHandle = txQElement->txQMsduHandle; confirmParams.m_status = IEEE_802_15_4_SUCCESS; @@ -2270,10 +2278,32 @@ LrWpanMac::SendAck(uint8_t seqno) m_phy->PlmeSetTRXStateRequest(IEEE_802_15_4_PHY_TX_ON); } +void +LrWpanMac::EnqueueTxQElement(Ptr txQElement) +{ + if (m_txQueue.size() < m_maxTxQueueSize) + { + m_txQueue.emplace_back(txQElement); + m_macTxEnqueueTrace(txQElement->txQPkt); + } + else + { + if (!m_mcpsDataConfirmCallback.IsNull()) + { + McpsDataConfirmParams confirmParams; + confirmParams.m_msduHandle = txQElement->txQMsduHandle; + confirmParams.m_status = IEEE_802_15_4_TRANSACTION_OVERFLOW; + m_mcpsDataConfirmCallback(confirmParams); + } + NS_LOG_DEBUG("TX Queue with size " << m_txQueue.size() << " is full, dropping packet"); + m_macTxDropTrace(txQElement->txQPkt); + } +} + void LrWpanMac::RemoveFirstTxQElement() { - TxQueueElement* txQElement = m_txQueue.front(); + Ptr txQElement = m_txQueue.front(); Ptr p = txQElement->txQPkt; m_numCsmacaRetry += m_csmaCa->GetNB() + 1; @@ -2286,7 +2316,7 @@ LrWpanMac::RemoveFirstTxQElement() } txQElement->txQPkt = nullptr; - delete txQElement; + txQElement = nullptr; m_txQueue.pop_front(); m_txPkt = nullptr; m_retransmission = 0; @@ -2427,7 +2457,7 @@ LrWpanMac::PrepareRetransmission() { // Maximum number of retransmissions has been reached. // remove the copy of the DATA packet that was just sent - TxQueueElement* txQElement = m_txQueue.front(); + Ptr txQElement = m_txQueue.front(); m_macTxDropTrace(txQElement->txQPkt); if (!m_mcpsDataConfirmCallback.IsNull()) { @@ -2453,7 +2483,7 @@ LrWpanMac::PrepareRetransmission() void LrWpanMac::EnqueueInd(Ptr p) { - std::unique_ptr indTxQElement = std::make_unique(); + Ptr indTxQElement = Create(); LrWpanMacHeader peekedMacHdr; p->PeekHeader(peekedMacHdr); @@ -2487,18 +2517,37 @@ LrWpanMac::EnqueueInd(Ptr p) m_macTransactionPersistenceTime; } - double symbolRate = m_phy->GetDataOrSymbolRate(false); - Time expireTime = Seconds(unit / symbolRate); - expireTime += Simulator::Now(); - - indTxQElement->expireTime = expireTime; - indTxQElement->txQPkt = p; - - m_indTxQueue.emplace_back(std::move(indTxQElement)); + if (m_indTxQueue.size() < m_maxIndTxQueueSize) + { + double symbolRate = m_phy->GetDataOrSymbolRate(false); + Time expireTime = Seconds(unit / symbolRate); + expireTime += Simulator::Now(); + indTxQElement->expireTime = expireTime; + indTxQElement->txQPkt = p; + m_indTxQueue.emplace_back(indTxQElement); + m_macIndTxEnqueueTrace(p); + } + else + { + if (!m_mlmeCommStatusIndicationCallback.IsNull()) + { + LrWpanMacHeader peekedMacHdr; + indTxQElement->txQPkt->PeekHeader(peekedMacHdr); + MlmeCommStatusIndicationParams commStatusParams; + commStatusParams.m_panId = m_macPanId; + commStatusParams.m_srcAddrMode = LrWpanMacHeader::EXTADDR; + commStatusParams.m_srcExtAddr = peekedMacHdr.GetExtSrcAddr(); + commStatusParams.m_dstAddrMode = LrWpanMacHeader::EXTADDR; + commStatusParams.m_dstExtAddr = peekedMacHdr.GetExtDstAddr(); + commStatusParams.m_status = MLMECOMMSTATUS_TRANSACTION_OVERFLOW; + m_mlmeCommStatusIndicationCallback(commStatusParams); + } + m_macIndTxDropTrace(p); + } } bool -LrWpanMac::DequeueInd(Mac64Address dst, IndTxQueueElement* entry) +LrWpanMac::DequeueInd(Mac64Address dst, Ptr entry) { PurgeInd(); @@ -2507,6 +2556,7 @@ LrWpanMac::DequeueInd(Mac64Address dst, IndTxQueueElement* entry) if ((*iter)->dstExtAddress == dst) { *entry = **iter; + m_macIndTxDequeueTrace((*iter)->txQPkt->Copy()); m_indTxQueue.erase(iter); return true; } @@ -2523,7 +2573,7 @@ LrWpanMac::PurgeInd() { // Transaction expired, remove and send proper confirmation/indication to a higher layer LrWpanMacHeader peekedMacHdr; - m_indTxQueue[i]->txQPkt->Copy()->PeekHeader(peekedMacHdr); + m_indTxQueue[i]->txQPkt->PeekHeader(peekedMacHdr); if (peekedMacHdr.IsCommand()) { @@ -2551,7 +2601,7 @@ LrWpanMac::PurgeInd() m_mcpsDataConfirmCallback(confParams); } } - m_macTxDropTrace(m_indTxQueue[i]->txQPkt); + m_macIndTxDropTrace(m_indTxQueue[i]->txQPkt->Copy()); m_indTxQueue.erase(m_indTxQueue.begin() + i); } else @@ -2642,7 +2692,7 @@ LrWpanMac::RemovePendTxQElement(Ptr p) if (((*it)->dstExtAddress == peekedMacHdr.GetExtDstAddr()) && ((*it)->seqNum == peekedMacHdr.GetSeqNum())) { - m_macPendTxDequeueTrace(p); + m_macIndTxDequeueTrace(p); m_indTxQueue.erase(it); break; } @@ -2652,7 +2702,7 @@ LrWpanMac::RemovePendTxQElement(Ptr p) if (((*it)->dstShortAddress == peekedMacHdr.GetShortDstAddr()) && ((*it)->seqNum == peekedMacHdr.GetSeqNum())) { - m_macPendTxDequeueTrace(p); + m_macIndTxDequeueTrace(p); m_indTxQueue.erase(it); break; } @@ -2741,7 +2791,7 @@ LrWpanMac::PdDataConfirm(LrWpanPhyEnumeration status) { McpsDataConfirmParams confirmParams; NS_ASSERT_MSG(m_txQueue.size() > 0, "TxQsize = 0"); - TxQueueElement* txQElement = m_txQueue.front(); + Ptr txQElement = m_txQueue.front(); confirmParams.m_msduHandle = txQElement->txQMsduHandle; confirmParams.m_status = IEEE_802_15_4_SUCCESS; m_mcpsDataConfirmCallback(confirmParams); @@ -2846,7 +2896,7 @@ LrWpanMac::PdDataConfirm(LrWpanPhyEnumeration status) if (!macHdr.IsAcknowledgment()) { NS_ASSERT_MSG(m_txQueue.size() > 0, "TxQsize = 0"); - TxQueueElement* txQElement = m_txQueue.front(); + Ptr txQElement = m_txQueue.front(); m_macTxDropTrace(txQElement->txQPkt); if (!m_mcpsDataConfirmCallback.IsNull()) { @@ -3335,6 +3385,18 @@ LrWpanMac::SetAssociationStatus(LrWpanAssociationStatus status) m_associationStatus = status; } +void +LrWpanMac::SetTxQMaxSize(uint32_t queueSize) +{ + m_maxTxQueueSize = queueSize; +} + +void +LrWpanMac::SetIndTxQMaxSize(uint32_t queueSize) +{ + m_maxIndTxQueueSize = queueSize; +} + uint16_t LrWpanMac::GetPanId() const { diff --git a/src/lr-wpan/model/lr-wpan-mac.h b/src/lr-wpan/model/lr-wpan-mac.h index 76c57bbea..d1dc89530 100644 --- a/src/lr-wpan/model/lr-wpan-mac.h +++ b/src/lr-wpan/model/lr-wpan-mac.h @@ -1097,6 +1097,20 @@ class LrWpanMac : public Object */ void SetAssociationStatus(LrWpanAssociationStatus status); + /** + * Set the max size of the transmit queue. + * + * \param queueSize The transmit queue size. + */ + void SetTxQMaxSize(uint32_t queueSize); + + /** + * Set the max size of the indirect transmit queue (Pending Transaction list) + * + * \param queueSize The indirect transmit queue size. + */ + void SetIndTxQMaxSize(uint32_t queueSize); + // MAC PIB attributes /** @@ -1445,7 +1459,7 @@ class LrWpanMac : public Object /** * Helper structure for managing transmission queue elements. */ - struct TxQueueElement + struct TxQueueElement : public SimpleRefCount { uint8_t txQMsduHandle; //!< MSDU Handle Ptr txQPkt; //!< Queued packet @@ -1454,7 +1468,7 @@ class LrWpanMac : public Object /** * Helper structure for managing pending transaction list elements (Indirect transmissions). */ - struct IndTxQueueElement + struct IndTxQueueElement : public SimpleRefCount { uint8_t seqNum; //!< The sequence number of the queued packet Mac16Address dstShortAddress; //!< The destination short Mac Address @@ -1560,6 +1574,13 @@ class LrWpanMac : public Object */ void SendAck(uint8_t seqno); + /** + * Add an element to the transmission queue. + * + * \param txQElement The element added to the Tx Queue. + */ + void EnqueueTxQElement(Ptr txQElement); + /** * Remove the tip of the transmission queue, including clean up related to the * last packet transmission. @@ -1609,7 +1630,7 @@ class LrWpanMac : public Object * transaction list. \param entry The dequeued element from the pending transaction list. * \return The status of the dequeue */ - bool DequeueInd(Mac64Address dst, IndTxQueueElement* entry); + bool DequeueInd(Mac64Address dst, Ptr entry); /** * Purge expired transactions from the pending transactions list. @@ -1687,13 +1708,21 @@ class LrWpanMac : public Object */ TracedCallback> m_macTxDequeueTrace; + /** + * The trace source fired when packets come into the "top" of the device + * at the L3/L2 transition, when being queued for indirect transmission + * (pending transaction list). + * \see class CallBackTraceSource + */ + TracedCallback> m_macIndTxEnqueueTrace; + /** * The trace source fired when packets are dequeued from the - * L3/l2 pending transaction list. + * L3/l2 indirect transmission queue (Pending transaction list). * * \see class CallBackTraceSource */ - TracedCallback> m_macPendTxDequeueTrace; + TracedCallback> m_macIndTxDequeueTrace; /** * The trace source fired when packets are being sent down to L1. @@ -1719,6 +1748,14 @@ class LrWpanMac : public Object */ TracedCallback> m_macTxDropTrace; + /** + * The trace source fired when packets are dropped due to indirect Tx queue + * overflows or expiration. + * + * \see class CallBackTraceSource + */ + TracedCallback> m_macIndTxDropTrace; + /** * The trace source fired for packets successfully received by the device * immediately before being forwarded up to higher layers (at the L2/L3 @@ -1918,13 +1955,23 @@ class LrWpanMac : public Object /** * The transmit queue used by the MAC. */ - std::deque m_txQueue; + std::deque> m_txQueue; /** - * The indirect transmit queue used by the MAC pending messages (a.k.a. The pending transaction + * The indirect transmit queue used by the MAC pending messages (The pending transaction * list). */ - std::deque> m_indTxQueue; + std::deque> m_indTxQueue; + + /** + * The maximum size of the transmit queue. + */ + uint32_t m_maxTxQueueSize; + + /** + * The maximum size of the indirect transmit queue (The pending transaction list). + */ + uint32_t m_maxIndTxQueueSize; /** * The list of PAN descriptors accumulated during channel scans, used to select a PAN to From 8f250053b5203b3d173276ec348d2a64aa4fdf70 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 12 Oct 2022 11:31:05 -0300 Subject: [PATCH 033/142] doc: add missing line to default Vagrantfile contents for Windows --- doc/manual/source/windows.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/manual/source/windows.rst b/doc/manual/source/windows.rst index 9588c0fef..da0f87b68 100644 --- a/doc/manual/source/windows.rst +++ b/doc/manual/source/windows.rst @@ -728,6 +728,7 @@ However, it still needs one more file to do that: the default Vagrantfile. This file will be used by Vagrant to configure the VM later on and how to connect to it. .. sourcecode:: ruby + # -*- mode: ruby -*- # vi: set ft=ruby : From aee234645a2274337036afcccafcb47a8ce39446 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Tue, 23 Aug 2022 18:08:14 -0300 Subject: [PATCH 034/142] build: remove bindings dependency on the lock, add opt-in installation --- bindings/python/ns/_placeholder_ | 0 bindings/python/ns3/_placeholder_ | 0 bindings/python/ns__init__.py | 118 ++++++++++++++++----- bindings/python/pch/_placeholder_ | 1 - build-support/macros-and-definitions.cmake | 29 +++++ src/visualizer/CMakeLists.txt | 23 ++++ 6 files changed, 146 insertions(+), 25 deletions(-) delete mode 100644 bindings/python/ns/_placeholder_ delete mode 100644 bindings/python/ns3/_placeholder_ delete mode 100644 bindings/python/pch/_placeholder_ diff --git a/bindings/python/ns/_placeholder_ b/bindings/python/ns/_placeholder_ deleted file mode 100644 index e69de29bb..000000000 diff --git a/bindings/python/ns3/_placeholder_ b/bindings/python/ns3/_placeholder_ deleted file mode 100644 index e69de29bb..000000000 diff --git a/bindings/python/ns__init__.py b/bindings/python/ns__init__.py index 5e80cab30..6e35697b4 100644 --- a/bindings/python/ns__init__.py +++ b/bindings/python/ns__init__.py @@ -11,27 +11,87 @@ def find_ns3_lock(): lock_file = (".lock-ns3_%s_build" % sys.platform) # Move upwards until we reach the directory with the ns3 script + prev_path = None while "ns3" not in os.listdir(path_to_lock): + prev_path = path_to_lock path_to_lock = os.path.dirname(path_to_lock) + if prev_path == path_to_lock: + break # We should be now at the directory that contains a lock if the project is configured if lock_file in os.listdir(path_to_lock): path_to_lock += os.sep + lock_file else: - raise Exception("ns-3 lock file was not found.\n" - "Are you sure %s is inside your ns-3 directory?" % path_to_this_init_file) + path_to_lock = None return path_to_lock def load_modules(): - # Load NS3_ENABLED_MODULES from the lock file inside the build directory - values = {} + lock_file = find_ns3_lock() - exec(open(find_ns3_lock()).read(), {}, values) - suffix = "-" + values["BUILD_PROFILE"] if values["BUILD_PROFILE"] != "release" else "" - required_modules = [module.replace("ns3-", "") for module in values["NS3_ENABLED_MODULES"]] - ns3_output_directory = values["out_dir"] - libraries = {x.split(".")[0]: x for x in os.listdir(os.path.join(ns3_output_directory, "lib"))} + if lock_file: + # Load NS3_ENABLED_MODULES from the lock file inside the build directory + values = {} + + # If we find a lock file, load the ns-3 modules from it + # Should be the case when running from the source directory + exec(open(lock_file).read(), {}, values) + suffix = "-" + values["BUILD_PROFILE"] if values["BUILD_PROFILE"] != "release" else "" + modules = [module.replace("ns3-", "") for module in values["NS3_ENABLED_MODULES"]] + prefix = values["out_dir"] + libraries = {x.split(".")[0]: x for x in os.listdir(os.path.join(prefix, "lib"))} + version = values["VERSION"] + else: + # Otherwise, search for ns-3 libraries + # Should be the case when ns-3 is installed as a package + import glob + env_sep = ";" if sys.platform == "win32" else ":" + + # Search in default directories PATH and LD_LIBRARY_PATH + library_search_paths = os.getenv("PATH", "").split(env_sep) + library_search_paths += os.getenv("LD_LIBRARY_PATH", "").split(env_sep) + if "" in library_search_paths: + library_search_paths.remove("") + del env_sep + + # And the current working directory too + library_search_paths += [os.path.abspath(os.getcwd())] + + # And finally the directories containing this file and its parent directory + library_search_paths += [os.path.abspath(os.path.dirname(__file__))] + library_search_paths += [os.path.dirname(library_search_paths[-1])] + library_search_paths += [os.path.dirname(library_search_paths[-1])] + + # Search for the core library in the search paths + libraries = [] + for search_path in library_search_paths: + libraries += glob.glob("%s/**/libns3*" % search_path, recursive=True) + del search_path, library_search_paths + + if not libraries: + raise Exception("ns-3 libraries were not found.") + + # The prefix is the directory with the lib directory + # libns3-dev-core.so/../../ + prefix = os.path.dirname(os.path.dirname(libraries[0])) + + # Extract version and build suffix (if it exists) + def filter_module_name(library): + library = os.path.basename(library) + # Drop extension and libns3.version prefix + components = ".".join(library.split(".")[:-1]).split("-")[1:] + + # Drop build profile suffix and test libraries + if components[0] == "dev": + components.pop(0) + if components[-1] in ["debug", "default", "optimized", "release", "relwithdebinfo"]: + components.pop(-1) + if components[-1] == "test": + components.pop(-1) + return "-".join(components) + + # Filter out module names + modules = set([filter_module_name(library) for library in libraries]) # Try to import Cppyy and warn the user in case it is not found try: @@ -49,30 +109,37 @@ def load_modules(): libcppyy.AddSmartPtrType('Ptr') # Import ns-3 libraries - cppyy.add_library_path("%s/lib" % ns3_output_directory) - cppyy.add_include_path("%s/include" % ns3_output_directory) + prefix = os.path.abspath(prefix) + cppyy.add_library_path("%s/lib" % prefix) + cppyy.add_include_path("%s/include" % prefix) - for module in required_modules: + for module in modules: cppyy.include("ns3/%s-module.h" % module) - for module in required_modules: - library_name = "libns{version}-{module}{suffix}".format( - version=values["VERSION"], - module=module, - suffix=suffix - ) - if library_name not in libraries: - raise Exception("Missing library %s\n" % library_name, - "Build all modules with './ns3 build'" - ) - cppyy.load_library(libraries[library_name]) + if lock_file: + # When we have the lock file, we assemble the correct library name + for module in modules: + library_name = "libns{version}-{module}{suffix}".format( + version=version, + module=module, + suffix=suffix + ) + if library_name not in libraries: + raise Exception("Missing library %s\n" % library_name, + "Build all modules with './ns3 build'" + ) + cppyy.load_library(libraries[library_name]) + else: + # When we don't have the lock, we just load the known libraries + for library in libraries: + cppyy.load_library(os.path.basename(library)) # We expose cppyy to consumers of this module as ns.cppyy setattr(cppyy.gbl.ns3, "cppyy", cppyy) # To maintain compatibility with pybindgen scripts, # we set an attribute per module that just redirects to the upper object - for module in required_modules: + for module in modules: setattr(cppyy.gbl.ns3, module.replace("-", "_"), cppyy.gbl.ns3) # Set up a few tricks @@ -102,6 +169,7 @@ def load_modules(): def Node_del(self: cppyy.gbl.ns3.Node) -> None: cppyy.gbl.ns3.__nodes_pending_deletion.append(self) return None + cppyy.gbl.ns3.Node.__del__ = Node_del # Define ns.cppyy.gbl.addressFromIpv4Address and others @@ -172,6 +240,7 @@ def load_modules(): except Exception as e: exit(-1) return getattr(cppyy.gbl, func)() + setattr(cppyy.gbl.ns3, "CreateObject", CreateObject) def GetObject(parentObject, aggregatedObject): @@ -199,6 +268,7 @@ def load_modules(): """ % (aggregatedType, aggregatedType, aggregatedType, aggregatedType) ) return cppyy.gbl.getAggregatedObject(parentObject, aggregatedObject if aggregatedIsClass else aggregatedObject.__class__) + setattr(cppyy.gbl.ns3, "GetObject", GetObject) return cppyy.gbl.ns3 diff --git a/bindings/python/pch/_placeholder_ b/bindings/python/pch/_placeholder_ deleted file mode 100644 index 48cdce852..000000000 --- a/bindings/python/pch/_placeholder_ +++ /dev/null @@ -1 +0,0 @@ -placeholder diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index 8944362fd..eec4125b7 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -832,6 +832,35 @@ macro(process_options) configure_file( bindings/python/ns__init__.py ${destination_dir}/__init__.py COPYONLY ) + + # And create an install target for the bindings + if(NOT NS3_BINDINGS_INSTALL_DIR) + # If the installation directory for the python bindings is not set, + # suggest the user site-packages directory + execute_process( + COMMAND python3 -m site --user-site + OUTPUT_VARIABLE SUGGESTED_BINDINGS_INSTALL_DIR + ) + string(STRIP "${SUGGESTED_BINDINGS_INSTALL_DIR}" + SUGGESTED_BINDINGS_INSTALL_DIR + ) + message( + ${HIGHLIGHTED_STATUS} + "NS3_BINDINGS_INSTALL_DIR was not set. The python bindings won't be installed with ./ns3 install." + ) + message( + ${HIGHLIGHTED_STATUS} + "Set NS3_BINDINGS_INSTALL_DIR=\"${SUGGESTED_BINDINGS_INSTALL_DIR}\" to install it to the default location." + ) + else() + install(FILES bindings/python/ns__init__.py + DESTINATION ${NS3_BINDINGS_INSTALL_DIR}/ns RENAME __init__.py + ) + add_custom_target( + uninstall_bindings COMMAND rm -R ${NS3_BINDINGS_INSTALL_DIR}/ns + ) + add_dependencies(uninstall uninstall_bindings) + endif() endif() endif() diff --git a/src/visualizer/CMakeLists.txt b/src/visualizer/CMakeLists.txt index 97f662d52..9030dacbb 100644 --- a/src/visualizer/CMakeLists.txt +++ b/src/visualizer/CMakeLists.txt @@ -39,3 +39,26 @@ foreach( COPYONLY ) endforeach() + +if(NOT + NS3_BINDINGS_INSTALL_DIR +) + message( + ${HIGHLIGHTED_STATUS} + "NS3_BINDINGS_INSTALL_DIR was not set. The visualizer python module won't be installed with ./ns3 install." + ) +else() + install( + DIRECTORY ./visualizer + DESTINATION ${NS3_BINDINGS_INSTALL_DIR}/ + ) + + add_custom_target( + uninstall_visualizer + COMMAND rm -R ${NS3_BINDINGS_INSTALL_DIR}/visualizer + ) + add_dependencies( + uninstall + uninstall_visualizer + ) +endif() From 6ac24de27c55d1922cd536af94b013f03ec96d78 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 12 Oct 2022 20:57:06 -0300 Subject: [PATCH 035/142] doc: fix typos in Windows docs --- doc/manual/source/windows.rst | 4 ++-- doc/tutorial/source/getting-started.rst | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/manual/source/windows.rst b/doc/manual/source/windows.rst index da0f87b68..aebdeffe2 100644 --- a/doc/manual/source/windows.rst +++ b/doc/manual/source/windows.rst @@ -390,7 +390,7 @@ Using the pre-packaged Vagrant box The provider for the ns-3 Vagrant box is `VirtualBox`_. -The virtual machine can be downloaded via the following Vagrant command +The reference Windows virtual machine can be downloaded via the following Vagrant command .. sourcecode:: console @@ -518,7 +518,7 @@ At this point, we can clone ns-3 locally: .. sourcecode:: console - C:\Users\vagrant> git clone -b mingw_patches `https://gitlab.com/gabrielcarvfer/ns-3-dev` + C:\Users\vagrant> git clone `https://gitlab.com/nsnam/ns-3-dev` C:\Users\vagrant> cd ns-3-dev C:\Users\vagrant\ns-3-dev> python3 ns3 configure --enable-tests --enable-examples --enable-mpi C:\Users\vagrant\ns-3-dev> python3 test.py diff --git a/doc/tutorial/source/getting-started.rst b/doc/tutorial/source/getting-started.rst index 8f05ead4b..dbd6a3e0c 100644 --- a/doc/tutorial/source/getting-started.rst +++ b/doc/tutorial/source/getting-started.rst @@ -1072,8 +1072,9 @@ Note: The ns-3 script adds only the ns-3 lib directory path to the PATH, ensuring the ns-3 dlls will be found by running programs. If you are using CMake directly or an IDE, make sure to also include the path to ns-3-dev/build/lib in the PATH variable. -If you are using one of Windows's terminals (CMD, PowerShell or Terminal), you can use the -`setx__` +.. _setx : https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/setx/ + +If you are using one of Windows's terminals (CMD, PowerShell or Terminal), you can use the `setx`_ command to change environment variables permanently or `set` to set them temporarily for that shell: .. sourcecode:: console From 4d2bf393fcb59217c6fd133610f8fdf06f8824fa Mon Sep 17 00:00:00 2001 From: Pavinberg Date: Thu, 13 Oct 2022 15:26:53 +0000 Subject: [PATCH 036/142] internet: Fix index checking in Ipv[4,6]ListRouting::GetRoutingProtocol --- src/internet/model/ipv4-list-routing.cc | 2 +- src/internet/model/ipv6-list-routing.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internet/model/ipv4-list-routing.cc b/src/internet/model/ipv4-list-routing.cc index 3cc5c5336..4aef17ffd 100644 --- a/src/internet/model/ipv4-list-routing.cc +++ b/src/internet/model/ipv4-list-routing.cc @@ -283,7 +283,7 @@ Ptr Ipv4ListRouting::GetRoutingProtocol(uint32_t index, int16_t& priority) const { NS_LOG_FUNCTION(this << index << priority); - if (index > m_routingProtocols.size()) + if (index >= m_routingProtocols.size()) { NS_FATAL_ERROR("Ipv4ListRouting::GetRoutingProtocol(): index " << index << " out of range"); diff --git a/src/internet/model/ipv6-list-routing.cc b/src/internet/model/ipv6-list-routing.cc index 435efbf97..7f83c499c 100644 --- a/src/internet/model/ipv6-list-routing.cc +++ b/src/internet/model/ipv6-list-routing.cc @@ -283,7 +283,7 @@ Ptr Ipv6ListRouting::GetRoutingProtocol(uint32_t index, int16_t& priority) const { NS_LOG_FUNCTION(index); - if (index > m_routingProtocols.size()) + if (index >= m_routingProtocols.size()) { NS_FATAL_ERROR("Ipv6ListRouting::GetRoutingProtocol (): index " << index << " out of range"); From 3ac4bba216a1c911429b0a035df23e80807461a2 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sun, 9 Oct 2022 18:42:41 +0000 Subject: [PATCH 037/142] ci: Clean clang-tidy job output to only show errors and save it as artifact --- utils/tests/gitlab-ci-code-linting.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utils/tests/gitlab-ci-code-linting.yml b/utils/tests/gitlab-ci-code-linting.yml index 885b5e6b6..5ff851e6a 100644 --- a/utils/tests/gitlab-ci-code-linting.yml +++ b/utils/tests/gitlab-ci-code-linting.yml @@ -23,4 +23,10 @@ clang-tidy: clang-tidy-14 script: - ./ns3 configure --enable-examples --enable-tests --enable-clang-tidy - - run-clang-tidy-14 -p cmake-cache/ -quiet + - run-clang-tidy-14 -p cmake-cache/ -quiet 1> clang-tidy-errors.log 2> /dev/null || true + - (! egrep -A 3 "error:|warning:" clang-tidy-errors.log) + - echo "No clang-tidy errors found" + artifacts: + paths: + - clang-tidy-errors.log + when: on_failure From 2b01a49af3cd5d5841e2f22f9f8e19553c7cd67e Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Thu, 13 Oct 2022 19:24:56 +0100 Subject: [PATCH 038/142] ci: Add 3h timeout to code-linting jobs --- utils/tests/gitlab-ci-code-linting.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/tests/gitlab-ci-code-linting.yml b/utils/tests/gitlab-ci-code-linting.yml index 5ff851e6a..b13c241b0 100644 --- a/utils/tests/gitlab-ci-code-linting.yml +++ b/utils/tests/gitlab-ci-code-linting.yml @@ -12,6 +12,7 @@ check-style-clang-format: clang-format-14 script: - python3 utils/check-style-clang-format.py . + timeout: 3h clang-tidy: stage: code-linting @@ -30,3 +31,4 @@ clang-tidy: paths: - clang-tidy-errors.log when: on_failure + timeout: 3h From 9e0c6b281d3a92fa27bdb05f4ee298e3a8030d5f Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Thu, 13 Oct 2022 23:54:47 -0300 Subject: [PATCH 039/142] build: widen the dependencies search to streamline Bake use --- build-support/macros-and-definitions.cmake | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index eec4125b7..feb87e2df 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -2020,10 +2020,17 @@ function(find_external_library) set(not_found_libraries) set(library_dirs) set(libraries) + + # Include parent directories in the search paths to handle Bake cases + get_filename_component(parent_project_dir ${PROJECT_SOURCE_DIR} DIRECTORY) + get_filename_component(grandparent_project_dir ${parent_project_dir} DIRECTORY) + set(project_parent_dirs ${parent_project_dir} ${grandparent_project_dir}) + # Paths and suffixes where libraries will be searched on set(library_search_paths ${search_paths} + ${project_parent_dirs} ${CMAKE_OUTPUT_DIRECTORY} # Search for libraries in ns-3-dev/build ${CMAKE_INSTALL_PREFIX} # Search for libraries in the install directory # (e.g. /usr/) @@ -2135,8 +2142,9 @@ function(find_external_library) endforeach() set(header_search_paths - ${parent_dirs} ${search_paths} + ${parent_dirs} + ${project_parent_dirs} ${CMAKE_OUTPUT_DIRECTORY} # Search for headers in # ns-3-dev/build ${CMAKE_INSTALL_PREFIX} # Search for headers in the install From d03f12151e1cc67db716affe68c0d12bc2b23f77 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sun, 9 Oct 2022 16:12:41 +0000 Subject: [PATCH 040/142] fd-net-device: Fix alpine builds about "redefinition of struct ethhdr" --- src/fd-net-device/helper/emu-fd-net-device-helper.cc | 1 - src/fd-net-device/helper/tap-fd-net-device-helper.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/src/fd-net-device/helper/emu-fd-net-device-helper.cc b/src/fd-net-device/helper/emu-fd-net-device-helper.cc index 05f7a6a6e..20a6e18ad 100644 --- a/src/fd-net-device/helper/emu-fd-net-device-helper.cc +++ b/src/fd-net-device/helper/emu-fd-net-device-helper.cc @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include diff --git a/src/fd-net-device/helper/tap-fd-net-device-helper.cc b/src/fd-net-device/helper/tap-fd-net-device-helper.cc index 82d523591..52254b108 100644 --- a/src/fd-net-device/helper/tap-fd-net-device-helper.cc +++ b/src/fd-net-device/helper/tap-fd-net-device-helper.cc @@ -36,7 +36,6 @@ #include #include #include -#include #include #include #include From 453dd706129faf02473a2f625ebea1863b91cc4b Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Tue, 11 Oct 2022 11:21:54 +0100 Subject: [PATCH 041/142] core, internet, sixlowpan: Declare unused variables as [[maybe_unused]] --- src/core/model/attribute.cc | 18 +++++++----------- src/core/test/type-id-test-suite.cc | 4 ++-- .../test/ipv4-global-routing-test-suite.cc | 6 +----- src/internet/test/ipv4-rip-test.cc | 19 +++---------------- .../test/ipv4-static-routing-test-suite.cc | 6 +----- src/internet/test/ipv6-forwarding-test.cc | 6 +----- src/internet/test/ipv6-ripng-test.cc | 19 +++---------------- src/internet/test/tcp-error-model.cc | 4 +--- src/internet/test/tcp-general-test.cc | 3 +-- src/internet/test/udp-test.cc | 18 +++--------------- src/sixlowpan/test/sixlowpan-hc1-test.cc | 6 +----- src/sixlowpan/test/sixlowpan-iphc-test.cc | 6 +----- 12 files changed, 25 insertions(+), 90 deletions(-) diff --git a/src/core/model/attribute.cc b/src/core/model/attribute.cc index dc1ffa036..eb2ec06ed 100644 --- a/src/core/model/attribute.cc +++ b/src/core/model/attribute.cc @@ -126,18 +126,16 @@ EmptyAttributeAccessor::~EmptyAttributeAccessor() } bool -EmptyAttributeAccessor::Set(ObjectBase* object, const AttributeValue& value) const +EmptyAttributeAccessor::Set(ObjectBase* object [[maybe_unused]], + const AttributeValue& value [[maybe_unused]]) const { - (void)object; - (void)value; return true; } bool -EmptyAttributeAccessor::Get(const ObjectBase* object, AttributeValue& attribute) const +EmptyAttributeAccessor::Get(const ObjectBase* object [[maybe_unused]], + AttributeValue& attribute [[maybe_unused]]) const { - (void)object; - (void)attribute; return true; } @@ -163,9 +161,8 @@ EmptyAttributeChecker::~EmptyAttributeChecker() } bool -EmptyAttributeChecker::Check(const AttributeValue& value) const +EmptyAttributeChecker::Check(const AttributeValue& value [[maybe_unused]]) const { - (void)value; return true; } @@ -195,10 +192,9 @@ EmptyAttributeChecker::Create() const } bool -EmptyAttributeChecker::Copy(const AttributeValue& source, AttributeValue& destination) const +EmptyAttributeChecker::Copy(const AttributeValue& source [[maybe_unused]], + AttributeValue& destination [[maybe_unused]]) const { - (void)source; - (void)destination; return true; } diff --git a/src/core/test/type-id-test-suite.cc b/src/core/test/type-id-test-suite.cc index da1f023c0..1371ab2df 100644 --- a/src/core/test/type-id-test-suite.cc +++ b/src/core/test/type-id-test-suite.cc @@ -398,7 +398,7 @@ LookupTimeTestCase::DoRun() for (uint16_t i = 0; i < nids; ++i) { const TypeId tid = TypeId::GetRegistered(i); - const TypeId sid = TypeId::LookupByName(tid.GetName()); + const TypeId sid [[maybe_unused]] = TypeId::LookupByName(tid.GetName()); } } int stop = clock(); @@ -410,7 +410,7 @@ LookupTimeTestCase::DoRun() for (uint16_t i = 0; i < nids; ++i) { const TypeId tid = TypeId::GetRegistered(i); - const TypeId sid = TypeId::LookupByHash(tid.GetHash()); + const TypeId sid [[maybe_unused]] = TypeId::LookupByHash(tid.GetHash()); } } stop = clock(); diff --git a/src/internet/test/ipv4-global-routing-test-suite.cc b/src/internet/test/ipv4-global-routing-test-suite.cc index 11b095585..6c32f9838 100644 --- a/src/internet/test/ipv4-global-routing-test-suite.cc +++ b/src/internet/test/ipv4-global-routing-test-suite.cc @@ -1207,15 +1207,11 @@ Ipv4GlobalRoutingSlash32TestCase::~Ipv4GlobalRoutingSlash32TestCase() void Ipv4GlobalRoutingSlash32TestCase::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "Received packet size is not equal to Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void diff --git a/src/internet/test/ipv4-rip-test.cc b/src/internet/test/ipv4-rip-test.cc index b60b0a684..464786983 100644 --- a/src/internet/test/ipv4-rip-test.cc +++ b/src/internet/test/ipv4-rip-test.cc @@ -87,15 +87,11 @@ Ipv4RipTest::Ipv4RipTest() void Ipv4RipTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "Received Packet size is not equal to the Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void @@ -321,15 +317,11 @@ Ipv4RipCountToInfinityTest::Ipv4RipCountToInfinityTest() void Ipv4RipCountToInfinityTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "Received Packet size is not equal to the Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void @@ -553,8 +545,7 @@ Ipv4RipSplitHorizonStrategyTest::Ipv4RipSplitHorizonStrategyTest(Rip::SplitHoriz void Ipv4RipSplitHorizonStrategyTest::ReceivePktProbe(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); Address srcAddr; Ptr receivedPacketProbe = socket->RecvFrom(std::numeric_limits::max(), 0, srcAddr); @@ -592,10 +583,6 @@ Ipv4RipSplitHorizonStrategyTest::ReceivePktProbe(Ptr socket) } } } - - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void diff --git a/src/internet/test/ipv4-static-routing-test-suite.cc b/src/internet/test/ipv4-static-routing-test-suite.cc index 454e62e56..35ea5abbe 100644 --- a/src/internet/test/ipv4-static-routing-test-suite.cc +++ b/src/internet/test/ipv4-static-routing-test-suite.cc @@ -88,15 +88,11 @@ Ipv4StaticRoutingSlash32TestCase::~Ipv4StaticRoutingSlash32TestCase() void Ipv4StaticRoutingSlash32TestCase::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "Received packet size is not equal to Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void diff --git a/src/internet/test/ipv6-forwarding-test.cc b/src/internet/test/ipv6-forwarding-test.cc index 1e680dc49..cee64f081 100644 --- a/src/internet/test/ipv6-forwarding-test.cc +++ b/src/internet/test/ipv6-forwarding-test.cc @@ -85,15 +85,11 @@ Ipv6ForwardingTest::Ipv6ForwardingTest() void Ipv6ForwardingTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "Received packet size is not equal to Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void diff --git a/src/internet/test/ipv6-ripng-test.cc b/src/internet/test/ipv6-ripng-test.cc index efb713220..c34f47011 100644 --- a/src/internet/test/ipv6-ripng-test.cc +++ b/src/internet/test/ipv6-ripng-test.cc @@ -86,15 +86,11 @@ Ipv6RipngTest::Ipv6RipngTest() void Ipv6RipngTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "Received packet size is not equal to Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void @@ -321,15 +317,11 @@ Ipv6RipngCountToInfinityTest::Ipv6RipngCountToInfinityTest() void Ipv6RipngCountToInfinityTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "Received packet size is not equal to Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void @@ -552,8 +544,7 @@ Ipv6RipngSplitHorizonStrategyTest::Ipv6RipngSplitHorizonStrategyTest( void Ipv6RipngSplitHorizonStrategyTest::ReceivePktProbe(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); Address srcAddr; Ptr receivedPacketProbe = socket->RecvFrom(std::numeric_limits::max(), 0, srcAddr); @@ -590,10 +581,6 @@ Ipv6RipngSplitHorizonStrategyTest::ReceivePktProbe(Ptr socket) } } } - - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void diff --git a/src/internet/test/tcp-error-model.cc b/src/internet/test/tcp-error-model.cc index 8bb3b51b2..434332222 100644 --- a/src/internet/test/tcp-error-model.cc +++ b/src/internet/test/tcp-error-model.cc @@ -132,12 +132,10 @@ TcpFlagErrorModel::TcpFlagErrorModel() bool TcpFlagErrorModel::ShouldDrop(const Ipv4Header& ipHeader, const TcpHeader& tcpHeader, - uint32_t packetSize) + uint32_t packetSize [[maybe_unused]]) { NS_LOG_FUNCTION(this << ipHeader << tcpHeader); - (void)packetSize; - bool toDrop = false; if ((tcpHeader.GetFlags() & m_flagsToKill) == m_flagsToKill) diff --git a/src/internet/test/tcp-general-test.cc b/src/internet/test/tcp-general-test.cc index ec29d0265..26165a5ce 100644 --- a/src/internet/test/tcp-general-test.cc +++ b/src/internet/test/tcp-general-test.cc @@ -271,9 +271,8 @@ TcpGeneralTest::DoConnect() } void -TcpGeneralTest::HandleAccept(Ptr socket, const Address& from) +TcpGeneralTest::HandleAccept(Ptr socket, const Address& from [[maybe_unused]]) { - (void)from; socket->SetRecvCallback(MakeCallback(&TcpGeneralTest::ReceivePacket, this)); socket->SetCloseCallbacks(MakeCallback(&TcpGeneralTest::NormalCloseCb, this), MakeCallback(&TcpGeneralTest::ErrorCloseCb, this)); diff --git a/src/internet/test/udp-test.cc b/src/internet/test/udp-test.cc index 71bcdcca2..42d43ec9a 100644 --- a/src/internet/test/udp-test.cc +++ b/src/internet/test/udp-test.cc @@ -142,15 +142,11 @@ Udp6SocketLoopbackTest::Udp6SocketLoopbackTest() void Udp6SocketLoopbackTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "ReceivedPacket size is not equal to the Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void @@ -601,29 +597,21 @@ Udp6SocketImplTest::ReceivePacket2(Ptr socket, Ptr packet, const void Udp6SocketImplTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), "ReceivedPacket size is not equal to the Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void Udp6SocketImplTest::ReceivePkt2(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket2 = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket2->GetSize(), "ReceivedPacket size is not equal to the Rx buffer size"); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void diff --git a/src/sixlowpan/test/sixlowpan-hc1-test.cc b/src/sixlowpan/test/sixlowpan-hc1-test.cc index e266e0641..8b425641a 100644 --- a/src/sixlowpan/test/sixlowpan-hc1-test.cc +++ b/src/sixlowpan/test/sixlowpan-hc1-test.cc @@ -96,13 +96,9 @@ SixlowpanHc1ImplTest::ReceivePacket(Ptr socket, Ptr packet, cons void SixlowpanHc1ImplTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_ASSERT(availableData == m_receivedPacket->GetSize()); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void diff --git a/src/sixlowpan/test/sixlowpan-iphc-test.cc b/src/sixlowpan/test/sixlowpan-iphc-test.cc index b19625c12..e1c8a8d64 100644 --- a/src/sixlowpan/test/sixlowpan-iphc-test.cc +++ b/src/sixlowpan/test/sixlowpan-iphc-test.cc @@ -96,13 +96,9 @@ SixlowpanIphcImplTest::ReceivePacket(Ptr socket, Ptr packet, con void SixlowpanIphcImplTest::ReceivePkt(Ptr socket) { - uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_ASSERT(availableData == m_receivedPacket->GetSize()); - // cast availableData to void, to suppress 'availableData' set but not used - // compiler warning - (void)availableData; } void From b2c5bcd03250def8a55dad93b4335f300e58a706 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 8 Oct 2022 23:21:14 +0100 Subject: [PATCH 042/142] doc: Remove emacs comment from coding-style.rst --- doc/contributing/source/coding-style.rst | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/doc/contributing/source/coding-style.rst b/doc/contributing/source/coding-style.rst index 5b0232b9c..1db8e53df 100644 --- a/doc/contributing/source/coding-style.rst +++ b/doc/contributing/source/coding-style.rst @@ -592,10 +592,8 @@ and implemented in a source file named ``my-class.cc``. The goal of this naming pattern is to allow a reader to quickly navigate through the |ns3| codebase to locate the source file relevant to a specific type. -Each ``my-class.h`` header should start with the following comments: the -first line ensures that developers who use the emacs editor will be able to -indent your code correctly. The following lines ensure that your code -is licensed under the GPL, that the copyright holders are properly +Each ``my-class.h`` header should start with the following comment to ensure +that your code is licensed under the GPL, that the copyright holders are properly identified (typically, you or your employer), and that the actual author of the code is identified. The latter is purely informational and we use it to try to track the most appropriate person to review a patch or fix a bug. @@ -604,7 +602,6 @@ statement. .. sourcecode:: cpp - /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) YEAR COPYRIGHTHOLDER * @@ -675,7 +672,6 @@ The ``my-class.cc`` file is structured similarly: .. sourcecode:: cpp - /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) YEAR COPYRIGHTHOLDER * @@ -1009,12 +1005,6 @@ language support forward as our minimally supported compiler moves forward. Miscellaneous items =================== -- The following emacs mode line should be the first line in a file: - - .. sourcecode:: cpp - - /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ - - ``NS_LOG_COMPONENT_DEFINE("log-component-name");`` statements should be placed within namespace ns3 (for module code) and after the ``using namespace ns3;``. In examples. From bfae0845172201a08e319303f8e69f6d16121068 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 8 Oct 2022 23:24:37 +0100 Subject: [PATCH 043/142] utils: Update utils scripts to not add emacs comment on new files - Update create-module.py - Update print-instrospected-doxygen.cc --- utils/create-module.py | 18 ++++++------------ utils/print-introspected-doxygen.cc | 8 -------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/utils/create-module.py b/utils/create-module.py index d51850d48..4afdcf59d 100755 --- a/utils/create-module.py +++ b/utils/create-module.py @@ -34,8 +34,7 @@ build_lib( ''' -MODEL_CC_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ - +MODEL_CC_TEMPLATE = '''\ #include "{MODULE}.h" namespace ns3 @@ -47,8 +46,7 @@ namespace ns3 ''' - -MODEL_H_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +MODEL_H_TEMPLATE = '''\ #ifndef {INCLUDE_GUARD} #define {INCLUDE_GUARD} @@ -63,9 +61,7 @@ namespace ns3 ''' - -HELPER_CC_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ - +HELPER_CC_TEMPLATE = '''\ #include "{MODULE}-helper.h" namespace ns3 @@ -77,8 +73,7 @@ namespace ns3 ''' - -HELPER_H_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +HELPER_H_TEMPLATE = '''\ #ifndef {INCLUDE_GUARD} #define {INCLUDE_GUARD} @@ -104,8 +99,7 @@ build_lib_example( ''' -EXAMPLE_CC_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ - +EXAMPLE_CC_TEMPLATE = '''\ #include "ns3/core-module.h" #include "ns3/{MODULE}-helper.h" @@ -130,7 +124,7 @@ main(int argc, char* argv[]) ''' -TEST_CC_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +TEST_CC_TEMPLATE = '''\ // Include a header file from your module to test. #include "ns3/{MODULE}.h" diff --git a/utils/print-introspected-doxygen.cc b/utils/print-introspected-doxygen.cc index 5869fa517..23317f3bd 100644 --- a/utils/print-introspected-doxygen.cc +++ b/utils/print-introspected-doxygen.cc @@ -1506,14 +1506,6 @@ main(int argc, char* argv[]) NodeContainer c; c.Create(1); - // mode-line: helpful when debugging introspected-doxygen.h - if (!outputText) - { - std::cout << "/* -*- Mode:C++; c-file-style:\"gnu\"; " - "indent-tabs-mode:nil; -*- */\n" - << std::endl; - } - std::cout << std::endl; std::cout << commentStart << file << "\n" << sectionStart << "utils\n" From dfc6fb9d2d032b4237e24fbfd1ee5aa8cb62fb74 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 8 Oct 2022 23:27:14 +0100 Subject: [PATCH 044/142] Remove emacs comment from C++ files --- examples/channel-models/three-gpp-v2v-channel-example.cc | 1 - examples/energy/energy-model-example.cc | 1 - examples/energy/energy-model-with-harvesting-example.cc | 1 - examples/error-model/simple-error-model.cc | 1 - examples/ipv6/fragmentation-ipv6-PMTU.cc | 1 - examples/ipv6/fragmentation-ipv6-two-MTU.cc | 1 - examples/ipv6/fragmentation-ipv6.cc | 1 - examples/ipv6/icmpv6-redirect.cc | 1 - examples/ipv6/loose-routing-ipv6.cc | 1 - examples/ipv6/ping6.cc | 1 - examples/ipv6/radvd-two-prefix.cc | 1 - examples/ipv6/radvd.cc | 1 - examples/ipv6/test-ipv6.cc | 1 - examples/ipv6/wsn-ping6.cc | 1 - examples/matrix-topology/matrix-topology.cc | 1 - examples/naming/object-names.cc | 1 - examples/realtime/realtime-udp-echo.cc | 1 - examples/routing/dynamic-global-routing.cc | 1 - examples/routing/global-injection-slash32.cc | 1 - examples/routing/global-routing-multi-switch-plus-router.cc | 1 - examples/routing/global-routing-slash32.cc | 1 - examples/routing/manet-routing-compare.cc | 1 - examples/routing/mixed-global-routing.cc | 1 - examples/routing/rip-simple-network.cc | 1 - examples/routing/ripng-simple-network.cc | 1 - examples/routing/simple-alternate-routing.cc | 1 - examples/routing/simple-global-routing.cc | 1 - examples/routing/simple-multicast-flooding.cc | 1 - examples/routing/simple-routing-ping6.cc | 1 - examples/routing/static-routing-slash32.cc | 1 - examples/socket/socket-bound-static-routing.cc | 1 - examples/socket/socket-bound-tcp-static-routing.cc | 1 - examples/socket/socket-options-ipv4.cc | 1 - examples/socket/socket-options-ipv6.cc | 1 - examples/stats/wifi-example-apps.cc | 1 - examples/stats/wifi-example-apps.h | 1 - examples/stats/wifi-example-sim.cc | 1 - examples/tcp/dctcp-example.cc | 1 - examples/tcp/star.cc | 1 - examples/tcp/tcp-bbr-example.cc | 1 - examples/tcp/tcp-bulk-send.cc | 1 - examples/tcp/tcp-large-transfer.cc | 1 - examples/tcp/tcp-linux-reno.cc | 1 - examples/tcp/tcp-pacing.cc | 1 - examples/tcp/tcp-pcap-nanosec-example.cc | 1 - examples/tcp/tcp-star-server.cc | 1 - examples/tcp/tcp-validation.cc | 1 - examples/tcp/tcp-variants-comparison.cc | 1 - examples/traffic-control/cobalt-vs-codel.cc | 1 - examples/traffic-control/queue-discs-benchmark.cc | 1 - examples/traffic-control/red-vs-fengadaptive.cc | 1 - examples/traffic-control/red-vs-nlred.cc | 1 - examples/traffic-control/tbf-example.cc | 1 - examples/traffic-control/traffic-control.cc | 1 - examples/tutorial/fifth.cc | 1 - examples/tutorial/first.cc | 1 - examples/tutorial/fourth.cc | 1 - examples/tutorial/hello-simulator.cc | 1 - examples/tutorial/second.cc | 1 - examples/tutorial/seventh.cc | 1 - examples/tutorial/sixth.cc | 1 - examples/tutorial/third.cc | 1 - examples/tutorial/tutorial-app.cc | 1 - examples/tutorial/tutorial-app.h | 1 - examples/udp-client-server/udp-client-server.cc | 1 - examples/udp-client-server/udp-trace-client-server.cc | 1 - examples/udp/udp-echo.cc | 1 - examples/wireless/mixed-wired-wireless.cc | 1 - examples/wireless/wifi-80211e-txop.cc | 1 - examples/wireless/wifi-80211n-mimo.cc | 1 - examples/wireless/wifi-adhoc.cc | 1 - examples/wireless/wifi-aggregation.cc | 1 - examples/wireless/wifi-ap.cc | 1 - examples/wireless/wifi-backward-compatibility.cc | 1 - examples/wireless/wifi-blockack.cc | 1 - examples/wireless/wifi-clear-channel-cmu.cc | 1 - examples/wireless/wifi-dsss-validation.cc | 1 - examples/wireless/wifi-error-models-comparison.cc | 1 - examples/wireless/wifi-he-network.cc | 1 - examples/wireless/wifi-hidden-terminal.cc | 1 - examples/wireless/wifi-ht-network.cc | 1 - examples/wireless/wifi-mixed-network.cc | 1 - examples/wireless/wifi-multi-tos.cc | 1 - examples/wireless/wifi-multirate.cc | 1 - examples/wireless/wifi-ofdm-eht-validation.cc | 1 - examples/wireless/wifi-ofdm-he-validation.cc | 1 - examples/wireless/wifi-ofdm-ht-validation.cc | 1 - examples/wireless/wifi-ofdm-validation.cc | 1 - examples/wireless/wifi-ofdm-vht-validation.cc | 1 - examples/wireless/wifi-power-adaptation-distance.cc | 1 - examples/wireless/wifi-power-adaptation-interference.cc | 1 - examples/wireless/wifi-rate-adaptation-distance.cc | 1 - examples/wireless/wifi-simple-adhoc-grid.cc | 1 - examples/wireless/wifi-simple-adhoc.cc | 1 - examples/wireless/wifi-simple-ht-hidden-stations.cc | 1 - examples/wireless/wifi-simple-infra.cc | 1 - examples/wireless/wifi-simple-interference.cc | 1 - examples/wireless/wifi-sleep.cc | 1 - examples/wireless/wifi-spatial-reuse.cc | 1 - examples/wireless/wifi-spectrum-per-example.cc | 1 - examples/wireless/wifi-spectrum-per-interference.cc | 1 - examples/wireless/wifi-spectrum-saturation-example.cc | 1 - examples/wireless/wifi-tcp.cc | 1 - examples/wireless/wifi-timing-attributes.cc | 1 - examples/wireless/wifi-txop-aggregation.cc | 1 - examples/wireless/wifi-vht-network.cc | 1 - examples/wireless/wifi-wired-bridging.cc | 1 - scratch/scratch-simulator.cc | 1 - scratch/subdir/scratch-subdir-additional-header.cc | 1 - scratch/subdir/scratch-subdir-additional-header.h | 1 - scratch/subdir/scratch-subdir.cc | 1 - src/antenna/model/angles.cc | 1 - src/antenna/model/angles.h | 1 - src/antenna/model/antenna-model.cc | 1 - src/antenna/model/antenna-model.h | 1 - src/antenna/model/cosine-antenna-model.cc | 1 - src/antenna/model/cosine-antenna-model.h | 1 - src/antenna/model/isotropic-antenna-model.cc | 1 - src/antenna/model/isotropic-antenna-model.h | 1 - src/antenna/model/parabolic-antenna-model.cc | 1 - src/antenna/model/parabolic-antenna-model.h | 1 - src/antenna/model/phased-array-model.cc | 1 - src/antenna/model/phased-array-model.h | 1 - src/antenna/model/three-gpp-antenna-model.cc | 1 - src/antenna/model/three-gpp-antenna-model.h | 1 - src/antenna/model/uniform-planar-array.cc | 1 - src/antenna/model/uniform-planar-array.h | 1 - src/antenna/test/test-angles.cc | 1 - src/antenna/test/test-cosine-antenna.cc | 1 - src/antenna/test/test-degrees-radians.cc | 1 - src/antenna/test/test-isotropic-antenna.cc | 1 - src/antenna/test/test-parabolic-antenna.cc | 1 - src/antenna/test/test-uniform-planar-array.cc | 1 - src/aodv/doc/aodv.h | 1 - src/aodv/examples/aodv.cc | 1 - src/aodv/helper/aodv-helper.cc | 1 - src/aodv/helper/aodv-helper.h | 1 - src/aodv/model/aodv-dpd.cc | 1 - src/aodv/model/aodv-dpd.h | 1 - src/aodv/model/aodv-id-cache.cc | 1 - src/aodv/model/aodv-id-cache.h | 1 - src/aodv/model/aodv-neighbor.cc | 1 - src/aodv/model/aodv-neighbor.h | 1 - src/aodv/model/aodv-packet.cc | 1 - src/aodv/model/aodv-packet.h | 1 - src/aodv/model/aodv-routing-protocol.cc | 1 - src/aodv/model/aodv-routing-protocol.h | 1 - src/aodv/model/aodv-rqueue.cc | 1 - src/aodv/model/aodv-rqueue.h | 1 - src/aodv/model/aodv-rtable.cc | 1 - src/aodv/model/aodv-rtable.h | 1 - src/aodv/test/aodv-id-cache-test-suite.cc | 1 - src/aodv/test/aodv-regression.cc | 1 - src/aodv/test/aodv-regression.h | 1 - src/aodv/test/aodv-test-suite.cc | 1 - src/aodv/test/bug-772.cc | 1 - src/aodv/test/bug-772.h | 1 - src/aodv/test/loopback.cc | 1 - src/applications/doc/applications.h | 1 - src/applications/examples/three-gpp-http-example.cc | 1 - src/applications/helper/bulk-send-helper.cc | 1 - src/applications/helper/bulk-send-helper.h | 1 - src/applications/helper/on-off-helper.cc | 1 - src/applications/helper/on-off-helper.h | 1 - src/applications/helper/packet-sink-helper.cc | 1 - src/applications/helper/packet-sink-helper.h | 1 - src/applications/helper/three-gpp-http-helper.cc | 1 - src/applications/helper/three-gpp-http-helper.h | 1 - src/applications/helper/udp-client-server-helper.cc | 1 - src/applications/helper/udp-client-server-helper.h | 1 - src/applications/helper/udp-echo-helper.cc | 1 - src/applications/helper/udp-echo-helper.h | 1 - src/applications/model/application-packet-probe.cc | 1 - src/applications/model/application-packet-probe.h | 1 - src/applications/model/bulk-send-application.cc | 1 - src/applications/model/bulk-send-application.h | 1 - src/applications/model/onoff-application.cc | 1 - src/applications/model/onoff-application.h | 1 - src/applications/model/packet-loss-counter.cc | 1 - src/applications/model/packet-loss-counter.h | 1 - src/applications/model/packet-sink.cc | 1 - src/applications/model/packet-sink.h | 1 - src/applications/model/seq-ts-echo-header.cc | 1 - src/applications/model/seq-ts-echo-header.h | 1 - src/applications/model/seq-ts-header.cc | 1 - src/applications/model/seq-ts-header.h | 1 - src/applications/model/seq-ts-size-header.cc | 1 - src/applications/model/seq-ts-size-header.h | 1 - src/applications/model/three-gpp-http-client.cc | 1 - src/applications/model/three-gpp-http-client.h | 1 - src/applications/model/three-gpp-http-header.cc | 1 - src/applications/model/three-gpp-http-header.h | 1 - src/applications/model/three-gpp-http-server.cc | 1 - src/applications/model/three-gpp-http-server.h | 1 - src/applications/model/three-gpp-http-variables.cc | 1 - src/applications/model/three-gpp-http-variables.h | 1 - src/applications/model/udp-client.cc | 1 - src/applications/model/udp-client.h | 1 - src/applications/model/udp-echo-client.cc | 1 - src/applications/model/udp-echo-client.h | 1 - src/applications/model/udp-echo-server.cc | 1 - src/applications/model/udp-echo-server.h | 1 - src/applications/model/udp-server.cc | 1 - src/applications/model/udp-server.h | 1 - src/applications/model/udp-trace-client.cc | 1 - src/applications/model/udp-trace-client.h | 1 - src/applications/test/bulk-send-application-test-suite.cc | 1 - src/applications/test/three-gpp-http-client-server-test.cc | 1 - src/applications/test/udp-client-server-test.cc | 1 - src/bridge/examples/csma-bridge-one-hop.cc | 1 - src/bridge/examples/csma-bridge.cc | 1 - src/bridge/helper/bridge-helper.cc | 1 - src/bridge/helper/bridge-helper.h | 1 - src/bridge/model/bridge-channel.cc | 1 - src/bridge/model/bridge-channel.h | 1 - src/bridge/model/bridge-net-device.cc | 1 - src/bridge/model/bridge-net-device.h | 1 - src/brite/examples/brite-MPI-example.cc | 1 - src/brite/examples/brite-generic-example.cc | 1 - src/brite/helper/brite-topology-helper.cc | 1 - src/brite/helper/brite-topology-helper.h | 1 - src/brite/test/brite-test-topology.cc | 1 - src/buildings/examples/buildings-pathloss-profiler.cc | 1 - src/buildings/examples/outdoor-group-mobility-example.cc | 1 - src/buildings/examples/outdoor-random-walk-example.cc | 1 - src/buildings/helper/building-allocator.cc | 1 - src/buildings/helper/building-allocator.h | 1 - src/buildings/helper/building-container.cc | 1 - src/buildings/helper/building-container.h | 1 - src/buildings/helper/building-position-allocator.cc | 1 - src/buildings/helper/building-position-allocator.h | 1 - src/buildings/helper/buildings-helper.cc | 1 - src/buildings/helper/buildings-helper.h | 1 - src/buildings/model/building-list.cc | 1 - src/buildings/model/building-list.h | 1 - src/buildings/model/building.cc | 1 - src/buildings/model/building.h | 1 - src/buildings/model/buildings-channel-condition-model.cc | 1 - src/buildings/model/buildings-channel-condition-model.h | 1 - src/buildings/model/buildings-propagation-loss-model.cc | 1 - src/buildings/model/buildings-propagation-loss-model.h | 1 - src/buildings/model/hybrid-buildings-propagation-loss-model.cc | 1 - src/buildings/model/hybrid-buildings-propagation-loss-model.h | 1 - src/buildings/model/itu-r-1238-propagation-loss-model.cc | 1 - src/buildings/model/itu-r-1238-propagation-loss-model.h | 1 - src/buildings/model/mobility-building-info.cc | 1 - src/buildings/model/mobility-building-info.h | 1 - src/buildings/model/oh-buildings-propagation-loss-model.cc | 1 - src/buildings/model/oh-buildings-propagation-loss-model.h | 1 - src/buildings/model/random-walk-2d-outdoor-mobility-model.cc | 1 - src/buildings/model/random-walk-2d-outdoor-mobility-model.h | 1 - src/buildings/model/three-gpp-v2v-channel-condition-model.cc | 1 - src/buildings/model/three-gpp-v2v-channel-condition-model.h | 1 - src/buildings/test/building-position-allocator-test.cc | 1 - src/buildings/test/buildings-channel-condition-model-test.cc | 1 - src/buildings/test/buildings-helper-test.cc | 1 - src/buildings/test/buildings-pathloss-test.cc | 1 - src/buildings/test/buildings-pathloss-test.h | 1 - src/buildings/test/buildings-shadowing-test.cc | 1 - src/buildings/test/buildings-shadowing-test.h | 1 - src/buildings/test/outdoor-random-walk-test.cc | 1 - .../test/three-gpp-v2v-channel-condition-model-test.cc | 1 - src/click/examples/nsclick-defines.cc | 1 - src/click/examples/nsclick-raw-wlan.cc | 1 - src/click/examples/nsclick-routing.cc | 1 - src/click/examples/nsclick-simple-lan.cc | 1 - src/click/examples/nsclick-udp-client-server-csma.cc | 1 - src/click/examples/nsclick-udp-client-server-wifi.cc | 1 - src/click/helper/click-internet-stack-helper.cc | 1 - src/click/helper/click-internet-stack-helper.h | 1 - src/click/model/ipv4-click-routing.cc | 1 - src/click/model/ipv4-click-routing.h | 1 - src/click/model/ipv4-l3-click-protocol.cc | 1 - src/click/model/ipv4-l3-click-protocol.h | 1 - src/click/test/ipv4-click-routing-test.cc | 1 - src/config-store/examples/config-store-save.cc | 1 - src/config-store/model/attribute-default-iterator.cc | 1 - src/config-store/model/attribute-default-iterator.h | 1 - src/config-store/model/attribute-iterator.cc | 1 - src/config-store/model/attribute-iterator.h | 1 - src/config-store/model/config-store.cc | 1 - src/config-store/model/config-store.h | 1 - src/config-store/model/display-functions.cc | 1 - src/config-store/model/display-functions.h | 1 - src/config-store/model/file-config.cc | 1 - src/config-store/model/file-config.h | 1 - src/config-store/model/gtk-config-store.cc | 1 - src/config-store/model/gtk-config-store.h | 1 - src/config-store/model/model-node-creator.cc | 1 - src/config-store/model/model-node-creator.h | 1 - src/config-store/model/model-typeid-creator.cc | 1 - src/config-store/model/model-typeid-creator.h | 1 - src/config-store/model/raw-text-config.cc | 1 - src/config-store/model/raw-text-config.h | 1 - src/config-store/model/xml-config.cc | 1 - src/config-store/model/xml-config.h | 1 - src/core/doc/core.h | 1 - src/core/doc/deprecated-example.h | 1 - src/core/examples/build-version-example.cc | 1 - src/core/examples/command-line-example.cc | 1 - src/core/examples/empirical-random-variable-example.cc | 1 - src/core/examples/fatal-example.cc | 1 - src/core/examples/hash-example.cc | 1 - src/core/examples/length-example.cc | 1 - src/core/examples/main-callback.cc | 1 - src/core/examples/main-ptr.cc | 1 - src/core/examples/main-random-variable-stream.cc | 1 - src/core/examples/main-test-sync.cc | 1 - src/core/examples/sample-log-time-format.cc | 1 - src/core/examples/sample-random-variable-stream.cc | 1 - src/core/examples/sample-random-variable.cc | 1 - src/core/examples/sample-show-progress.cc | 1 - src/core/examples/sample-simulator.cc | 1 - src/core/examples/system-path-examples.cc | 1 - src/core/examples/test-string-value-formatting.cc | 1 - src/core/helper/csv-reader.cc | 1 - src/core/helper/csv-reader.h | 1 - src/core/helper/event-garbage-collector.cc | 1 - src/core/helper/event-garbage-collector.h | 1 - src/core/helper/random-variable-stream-helper.cc | 1 - src/core/helper/random-variable-stream-helper.h | 1 - src/core/model/abort.h | 1 - src/core/model/ascii-file.cc | 1 - src/core/model/ascii-file.h | 1 - src/core/model/ascii-test.h | 1 - src/core/model/assert.h | 1 - src/core/model/attribute-accessor-helper.h | 1 - src/core/model/attribute-construction-list.cc | 1 - src/core/model/attribute-construction-list.h | 1 - src/core/model/attribute-container.h | 1 - src/core/model/attribute-helper.h | 1 - src/core/model/attribute.cc | 1 - src/core/model/attribute.h | 1 - src/core/model/boolean.cc | 1 - src/core/model/boolean.h | 1 - src/core/model/breakpoint.cc | 1 - src/core/model/breakpoint.h | 1 - src/core/model/build-profile.h | 1 - src/core/model/cairo-wideint-private.h | 1 - src/core/model/calendar-scheduler.cc | 1 - src/core/model/calendar-scheduler.h | 1 - src/core/model/callback.cc | 1 - src/core/model/callback.h | 1 - src/core/model/command-line.cc | 1 - src/core/model/command-line.h | 1 - src/core/model/config.cc | 1 - src/core/model/config.h | 1 - src/core/model/default-deleter.h | 1 - src/core/model/default-simulator-impl.cc | 1 - src/core/model/default-simulator-impl.h | 1 - src/core/model/deprecated.h | 1 - src/core/model/des-metrics.cc | 1 - src/core/model/des-metrics.h | 1 - src/core/model/double.cc | 1 - src/core/model/double.h | 1 - src/core/model/enum.cc | 1 - src/core/model/enum.h | 1 - src/core/model/event-id.cc | 1 - src/core/model/event-id.h | 1 - src/core/model/event-impl.cc | 1 - src/core/model/event-impl.h | 1 - src/core/model/example-as-test.cc | 1 - src/core/model/example-as-test.h | 1 - src/core/model/fatal-error.h | 1 - src/core/model/fatal-impl.cc | 1 - src/core/model/fatal-impl.h | 1 - src/core/model/fd-reader.h | 1 - src/core/model/global-value.cc | 1 - src/core/model/global-value.h | 1 - src/core/model/hash-fnv.cc | 1 - src/core/model/hash-fnv.h | 1 - src/core/model/hash-function.cc | 1 - src/core/model/hash-function.h | 1 - src/core/model/hash-murmur3.cc | 1 - src/core/model/hash-murmur3.h | 1 - src/core/model/hash.cc | 1 - src/core/model/hash.h | 1 - src/core/model/heap-scheduler.cc | 1 - src/core/model/heap-scheduler.h | 1 - src/core/model/int-to-type.h | 1 - src/core/model/int64x64-128.cc | 1 - src/core/model/int64x64-128.h | 1 - src/core/model/int64x64-cairo.cc | 1 - src/core/model/int64x64-cairo.h | 1 - src/core/model/int64x64-double.h | 1 - src/core/model/int64x64.cc | 1 - src/core/model/int64x64.h | 1 - src/core/model/integer.cc | 1 - src/core/model/integer.h | 1 - src/core/model/length.cc | 1 - src/core/model/length.h | 1 - src/core/model/list-scheduler.cc | 1 - src/core/model/list-scheduler.h | 1 - src/core/model/log-macros-disabled.h | 1 - src/core/model/log-macros-enabled.h | 1 - src/core/model/log.cc | 1 - src/core/model/log.h | 1 - src/core/model/make-event.cc | 1 - src/core/model/make-event.h | 1 - src/core/model/map-scheduler.cc | 1 - src/core/model/map-scheduler.h | 1 - src/core/model/math.h | 1 - src/core/model/names.cc | 1 - src/core/model/names.h | 1 - src/core/model/node-printer.cc | 1 - src/core/model/node-printer.h | 1 - src/core/model/nstime.h | 1 - src/core/model/object-base.cc | 1 - src/core/model/object-base.h | 1 - src/core/model/object-factory.cc | 1 - src/core/model/object-factory.h | 1 - src/core/model/object-map.h | 1 - src/core/model/object-ptr-container.cc | 1 - src/core/model/object-ptr-container.h | 1 - src/core/model/object-vector.h | 1 - src/core/model/object.cc | 1 - src/core/model/object.h | 1 - src/core/model/pair.h | 1 - src/core/model/pointer.cc | 1 - src/core/model/pointer.h | 1 - src/core/model/priority-queue-scheduler.cc | 1 - src/core/model/priority-queue-scheduler.h | 1 - src/core/model/ptr.h | 1 - src/core/model/random-variable-stream.cc | 1 - src/core/model/random-variable-stream.h | 1 - src/core/model/realtime-simulator-impl.cc | 1 - src/core/model/realtime-simulator-impl.h | 1 - src/core/model/ref-count-base.cc | 1 - src/core/model/ref-count-base.h | 1 - src/core/model/rng-seed-manager.cc | 1 - src/core/model/rng-seed-manager.h | 1 - src/core/model/rng-stream.cc | 1 - src/core/model/rng-stream.h | 1 - src/core/model/scheduler.cc | 1 - src/core/model/scheduler.h | 1 - src/core/model/show-progress.cc | 1 - src/core/model/show-progress.h | 1 - src/core/model/simple-ref-count.h | 1 - src/core/model/simulation-singleton.h | 1 - src/core/model/simulator-impl.cc | 1 - src/core/model/simulator-impl.h | 1 - src/core/model/simulator.cc | 1 - src/core/model/simulator.h | 1 - src/core/model/singleton.h | 1 - src/core/model/string.cc | 1 - src/core/model/string.h | 1 - src/core/model/synchronizer.cc | 1 - src/core/model/synchronizer.h | 1 - src/core/model/system-path.cc | 1 - src/core/model/system-path.h | 1 - src/core/model/system-wall-clock-ms.cc | 1 - src/core/model/system-wall-clock-ms.h | 1 - src/core/model/system-wall-clock-timestamp.cc | 1 - src/core/model/system-wall-clock-timestamp.h | 1 - src/core/model/test.cc | 1 - src/core/model/test.h | 1 - src/core/model/time-printer.cc | 1 - src/core/model/time-printer.h | 1 - src/core/model/time.cc | 1 - src/core/model/timer-impl.h | 1 - src/core/model/timer.cc | 1 - src/core/model/timer.h | 1 - src/core/model/trace-source-accessor.cc | 1 - src/core/model/trace-source-accessor.h | 1 - src/core/model/traced-callback.h | 1 - src/core/model/traced-value.h | 1 - src/core/model/trickle-timer.cc | 1 - src/core/model/trickle-timer.h | 1 - src/core/model/tuple.h | 1 - src/core/model/type-id.cc | 1 - src/core/model/type-id.h | 1 - src/core/model/type-name.h | 1 - src/core/model/type-traits.h | 1 - src/core/model/uinteger.cc | 1 - src/core/model/uinteger.h | 1 - src/core/model/unix-fd-reader.cc | 1 - src/core/model/unused.h | 1 - src/core/model/vector.cc | 1 - src/core/model/vector.h | 1 - src/core/model/version.cc | 1 - src/core/model/version.h | 1 - src/core/model/wall-clock-synchronizer.cc | 1 - src/core/model/wall-clock-synchronizer.h | 1 - src/core/model/watchdog.cc | 1 - src/core/model/watchdog.h | 1 - src/core/model/win32-fd-reader.cc | 1 - src/core/test/attribute-container-test-suite.cc | 1 - src/core/test/attribute-test-suite.cc | 1 - src/core/test/build-profile-test-suite.cc | 1 - src/core/test/callback-test-suite.cc | 1 - src/core/test/command-line-test-suite.cc | 1 - src/core/test/config-test-suite.cc | 1 - src/core/test/event-garbage-collector-test-suite.cc | 1 - src/core/test/examples-as-tests-test-suite.cc | 1 - src/core/test/global-value-test-suite.cc | 1 - src/core/test/hash-test-suite.cc | 1 - src/core/test/int64x64-test-suite.cc | 1 - src/core/test/length-test-suite.cc | 1 - ...ny-uniform-random-variables-one-get-value-call-test-suite.cc | 1 - src/core/test/names-test-suite.cc | 1 - src/core/test/object-test-suite.cc | 1 - ...e-uniform-random-variable-many-get-value-calls-test-suite.cc | 1 - src/core/test/pair-value-test-suite.cc | 1 - src/core/test/ptr-test-suite.cc | 1 - src/core/test/random-variable-stream-test-suite.cc | 1 - src/core/test/rng-test-suite.cc | 1 - src/core/test/sample-test-suite.cc | 1 - src/core/test/simulator-test-suite.cc | 1 - src/core/test/threaded-test-suite.cc | 1 - src/core/test/time-test-suite.cc | 1 - src/core/test/timer-test-suite.cc | 1 - src/core/test/traced-callback-test-suite.cc | 1 - src/core/test/trickle-timer-test-suite.cc | 1 - src/core/test/tuple-value-test-suite.cc | 1 - src/core/test/type-id-test-suite.cc | 1 - src/core/test/type-traits-test-suite.cc | 1 - src/core/test/watchdog-test-suite.cc | 1 - src/csma-layout/examples/csma-star.cc | 1 - src/csma-layout/model/csma-star-helper.cc | 1 - src/csma-layout/model/csma-star-helper.h | 1 - src/csma/examples/csma-broadcast.cc | 1 - src/csma/examples/csma-multicast.cc | 1 - src/csma/examples/csma-one-subnet.cc | 1 - src/csma/examples/csma-packet-socket.cc | 1 - src/csma/examples/csma-ping.cc | 1 - src/csma/examples/csma-raw-ip-socket.cc | 1 - src/csma/helper/csma-helper.cc | 1 - src/csma/helper/csma-helper.h | 1 - src/csma/model/backoff.cc | 1 - src/csma/model/backoff.h | 1 - src/csma/model/csma-channel.cc | 1 - src/csma/model/csma-channel.h | 1 - src/csma/model/csma-net-device.cc | 1 - src/csma/model/csma-net-device.h | 1 - src/dsdv/doc/dsdv.h | 1 - src/dsdv/examples/dsdv-manet.cc | 1 - src/dsdv/helper/dsdv-helper.cc | 1 - src/dsdv/helper/dsdv-helper.h | 1 - src/dsdv/model/dsdv-packet-queue.cc | 1 - src/dsdv/model/dsdv-packet-queue.h | 1 - src/dsdv/model/dsdv-packet.cc | 1 - src/dsdv/model/dsdv-packet.h | 1 - src/dsdv/model/dsdv-routing-protocol.cc | 1 - src/dsdv/model/dsdv-routing-protocol.h | 1 - src/dsdv/model/dsdv-rtable.cc | 1 - src/dsdv/model/dsdv-rtable.h | 1 - src/dsdv/test/dsdv-testcase.cc | 1 - src/dsr/doc/dsr.h | 1 - src/dsr/examples/dsr.cc | 1 - src/dsr/helper/dsr-helper.cc | 1 - src/dsr/helper/dsr-helper.h | 1 - src/dsr/helper/dsr-main-helper.cc | 1 - src/dsr/helper/dsr-main-helper.h | 1 - src/dsr/model/dsr-errorbuff.cc | 1 - src/dsr/model/dsr-errorbuff.h | 1 - src/dsr/model/dsr-fs-header.cc | 1 - src/dsr/model/dsr-fs-header.h | 1 - src/dsr/model/dsr-gratuitous-reply-table.cc | 1 - src/dsr/model/dsr-gratuitous-reply-table.h | 1 - src/dsr/model/dsr-maintain-buff.cc | 1 - src/dsr/model/dsr-maintain-buff.h | 1 - src/dsr/model/dsr-network-queue.cc | 1 - src/dsr/model/dsr-network-queue.h | 1 - src/dsr/model/dsr-option-header.cc | 1 - src/dsr/model/dsr-option-header.h | 1 - src/dsr/model/dsr-options.cc | 1 - src/dsr/model/dsr-options.h | 1 - src/dsr/model/dsr-passive-buff.cc | 1 - src/dsr/model/dsr-passive-buff.h | 1 - src/dsr/model/dsr-rcache.cc | 1 - src/dsr/model/dsr-rcache.h | 1 - src/dsr/model/dsr-routing.cc | 1 - src/dsr/model/dsr-routing.h | 1 - src/dsr/model/dsr-rreq-table.cc | 1 - src/dsr/model/dsr-rreq-table.h | 1 - src/dsr/model/dsr-rsendbuff.cc | 1 - src/dsr/model/dsr-rsendbuff.h | 1 - src/dsr/test/dsr-test-suite.cc | 1 - src/energy/examples/basic-energy-model-test.cc | 1 - src/energy/examples/li-ion-energy-source.cc | 1 - src/energy/examples/rv-battery-model-test.cc | 1 - src/energy/helper/basic-energy-harvester-helper.cc | 1 - src/energy/helper/basic-energy-harvester-helper.h | 1 - src/energy/helper/basic-energy-source-helper.cc | 1 - src/energy/helper/basic-energy-source-helper.h | 1 - src/energy/helper/energy-harvester-container.cc | 1 - src/energy/helper/energy-harvester-container.h | 1 - src/energy/helper/energy-harvester-helper.cc | 1 - src/energy/helper/energy-harvester-helper.h | 1 - src/energy/helper/energy-model-helper.cc | 1 - src/energy/helper/energy-model-helper.h | 1 - src/energy/helper/energy-source-container.cc | 1 - src/energy/helper/energy-source-container.h | 1 - src/energy/helper/li-ion-energy-source-helper.cc | 1 - src/energy/helper/li-ion-energy-source-helper.h | 1 - src/energy/helper/rv-battery-model-helper.cc | 1 - src/energy/helper/rv-battery-model-helper.h | 1 - src/energy/model/basic-energy-harvester.cc | 1 - src/energy/model/basic-energy-harvester.h | 1 - src/energy/model/basic-energy-source.cc | 1 - src/energy/model/basic-energy-source.h | 1 - src/energy/model/device-energy-model-container.cc | 1 - src/energy/model/device-energy-model-container.h | 1 - src/energy/model/device-energy-model.cc | 1 - src/energy/model/device-energy-model.h | 1 - src/energy/model/energy-harvester.cc | 1 - src/energy/model/energy-harvester.h | 1 - src/energy/model/energy-source.cc | 1 - src/energy/model/energy-source.h | 1 - src/energy/model/li-ion-energy-source.cc | 1 - src/energy/model/li-ion-energy-source.h | 1 - src/energy/model/rv-battery-model.cc | 1 - src/energy/model/rv-battery-model.h | 1 - src/energy/model/simple-device-energy-model.cc | 1 - src/energy/model/simple-device-energy-model.h | 1 - src/energy/test/basic-energy-harvester-test.cc | 1 - src/energy/test/li-ion-energy-source-test.cc | 1 - src/fd-net-device/examples/dummy-network.cc | 1 - src/fd-net-device/examples/fd-emu-onoff.cc | 1 - src/fd-net-device/examples/fd-emu-ping.cc | 1 - src/fd-net-device/examples/fd-emu-send.cc | 1 - src/fd-net-device/examples/fd-emu-tc.cc | 1 - src/fd-net-device/examples/fd-emu-udp-echo.cc | 1 - src/fd-net-device/examples/fd-tap-ping.cc | 1 - src/fd-net-device/examples/fd-tap-ping6.cc | 1 - src/fd-net-device/examples/fd2fd-onoff.cc | 1 - src/fd-net-device/examples/realtime-dummy-network.cc | 1 - src/fd-net-device/examples/realtime-fd2fd-onoff.cc | 1 - src/fd-net-device/helper/creator-utils.cc | 1 - src/fd-net-device/helper/creator-utils.h | 1 - src/fd-net-device/helper/dpdk-net-device-helper.cc | 1 - src/fd-net-device/helper/dpdk-net-device-helper.h | 1 - src/fd-net-device/helper/emu-fd-net-device-helper.cc | 1 - src/fd-net-device/helper/emu-fd-net-device-helper.h | 1 - src/fd-net-device/helper/encode-decode.cc | 1 - src/fd-net-device/helper/encode-decode.h | 1 - src/fd-net-device/helper/fd-net-device-helper.cc | 1 - src/fd-net-device/helper/fd-net-device-helper.h | 1 - src/fd-net-device/helper/netmap-device-creator.cc | 1 - src/fd-net-device/helper/netmap-net-device-helper.cc | 1 - src/fd-net-device/helper/netmap-net-device-helper.h | 1 - src/fd-net-device/helper/raw-sock-creator.cc | 1 - src/fd-net-device/helper/tap-device-creator.cc | 1 - src/fd-net-device/helper/tap-fd-net-device-helper.cc | 1 - src/fd-net-device/helper/tap-fd-net-device-helper.h | 1 - src/fd-net-device/model/dpdk-net-device.cc | 1 - src/fd-net-device/model/dpdk-net-device.h | 1 - src/fd-net-device/model/fd-net-device.cc | 1 - src/fd-net-device/model/fd-net-device.h | 1 - src/fd-net-device/model/netmap-net-device.cc | 1 - src/fd-net-device/model/netmap-net-device.h | 1 - src/flow-monitor/helper/flow-monitor-helper.cc | 1 - src/flow-monitor/helper/flow-monitor-helper.h | 1 - src/flow-monitor/model/flow-classifier.cc | 1 - src/flow-monitor/model/flow-classifier.h | 1 - src/flow-monitor/model/flow-monitor.cc | 1 - src/flow-monitor/model/flow-monitor.h | 1 - src/flow-monitor/model/flow-probe.cc | 1 - src/flow-monitor/model/flow-probe.h | 1 - src/flow-monitor/model/ipv4-flow-classifier.cc | 1 - src/flow-monitor/model/ipv4-flow-classifier.h | 1 - src/flow-monitor/model/ipv4-flow-probe.cc | 1 - src/flow-monitor/model/ipv4-flow-probe.h | 1 - src/flow-monitor/model/ipv6-flow-classifier.cc | 1 - src/flow-monitor/model/ipv6-flow-classifier.h | 1 - src/flow-monitor/model/ipv6-flow-probe.cc | 1 - src/flow-monitor/model/ipv6-flow-probe.h | 1 - src/internet-apps/doc/internet-apps.h | 2 -- src/internet-apps/examples/dhcp-example.cc | 1 - src/internet-apps/examples/traceroute-example.cc | 1 - src/internet-apps/helper/dhcp-helper.cc | 1 - src/internet-apps/helper/dhcp-helper.h | 1 - src/internet-apps/helper/ping6-helper.cc | 1 - src/internet-apps/helper/ping6-helper.h | 1 - src/internet-apps/helper/radvd-helper.cc | 1 - src/internet-apps/helper/radvd-helper.h | 1 - src/internet-apps/helper/v4ping-helper.cc | 1 - src/internet-apps/helper/v4ping-helper.h | 1 - src/internet-apps/helper/v4traceroute-helper.cc | 1 - src/internet-apps/helper/v4traceroute-helper.h | 1 - src/internet-apps/model/dhcp-client.cc | 1 - src/internet-apps/model/dhcp-client.h | 1 - src/internet-apps/model/dhcp-header.cc | 1 - src/internet-apps/model/dhcp-header.h | 1 - src/internet-apps/model/dhcp-server.cc | 1 - src/internet-apps/model/dhcp-server.h | 1 - src/internet-apps/model/ping6.cc | 1 - src/internet-apps/model/ping6.h | 1 - src/internet-apps/model/radvd-interface.cc | 1 - src/internet-apps/model/radvd-interface.h | 1 - src/internet-apps/model/radvd-prefix.cc | 1 - src/internet-apps/model/radvd-prefix.h | 1 - src/internet-apps/model/radvd.cc | 1 - src/internet-apps/model/radvd.h | 1 - src/internet-apps/model/v4ping.cc | 1 - src/internet-apps/model/v4ping.h | 1 - src/internet-apps/model/v4traceroute.cc | 1 - src/internet-apps/model/v4traceroute.h | 1 - src/internet-apps/test/dhcp-test.cc | 1 - src/internet-apps/test/ipv6-radvd-test.cc | 1 - src/internet/examples/main-simple.cc | 1 - src/internet/examples/neighbor-cache-dynamic.cc | 1 - src/internet/examples/neighbor-cache-example.cc | 1 - src/internet/helper/internet-stack-helper.cc | 1 - src/internet/helper/internet-stack-helper.h | 1 - src/internet/helper/internet-trace-helper.cc | 1 - src/internet/helper/internet-trace-helper.h | 1 - src/internet/helper/ipv4-address-helper.cc | 1 - src/internet/helper/ipv4-address-helper.h | 1 - src/internet/helper/ipv4-global-routing-helper.cc | 1 - src/internet/helper/ipv4-global-routing-helper.h | 1 - src/internet/helper/ipv4-interface-container.cc | 1 - src/internet/helper/ipv4-interface-container.h | 1 - src/internet/helper/ipv4-list-routing-helper.cc | 1 - src/internet/helper/ipv4-list-routing-helper.h | 1 - src/internet/helper/ipv4-routing-helper.cc | 1 - src/internet/helper/ipv4-routing-helper.h | 1 - src/internet/helper/ipv4-static-routing-helper.cc | 1 - src/internet/helper/ipv4-static-routing-helper.h | 1 - src/internet/helper/ipv6-address-helper.cc | 1 - src/internet/helper/ipv6-address-helper.h | 1 - src/internet/helper/ipv6-interface-container.cc | 1 - src/internet/helper/ipv6-interface-container.h | 1 - src/internet/helper/ipv6-list-routing-helper.cc | 1 - src/internet/helper/ipv6-list-routing-helper.h | 1 - src/internet/helper/ipv6-routing-helper.cc | 1 - src/internet/helper/ipv6-routing-helper.h | 1 - src/internet/helper/ipv6-static-routing-helper.cc | 1 - src/internet/helper/ipv6-static-routing-helper.h | 1 - src/internet/helper/neighbor-cache-helper.cc | 1 - src/internet/helper/neighbor-cache-helper.h | 1 - src/internet/helper/rip-helper.cc | 1 - src/internet/helper/rip-helper.h | 1 - src/internet/helper/ripng-helper.cc | 1 - src/internet/helper/ripng-helper.h | 1 - src/internet/model/arp-cache.cc | 1 - src/internet/model/arp-cache.h | 1 - src/internet/model/arp-header.cc | 1 - src/internet/model/arp-header.h | 1 - src/internet/model/arp-l3-protocol.cc | 1 - src/internet/model/arp-l3-protocol.h | 1 - src/internet/model/arp-queue-disc-item.cc | 1 - src/internet/model/arp-queue-disc-item.h | 1 - src/internet/model/candidate-queue.cc | 1 - src/internet/model/candidate-queue.h | 1 - src/internet/model/global-route-manager-impl.cc | 1 - src/internet/model/global-route-manager-impl.h | 1 - src/internet/model/global-route-manager.cc | 1 - src/internet/model/global-route-manager.h | 1 - src/internet/model/global-router-interface.cc | 1 - src/internet/model/global-router-interface.h | 1 - src/internet/model/global-routing.h | 1 - src/internet/model/icmpv4-l4-protocol.cc | 1 - src/internet/model/icmpv4-l4-protocol.h | 1 - src/internet/model/icmpv4.cc | 1 - src/internet/model/icmpv4.h | 1 - src/internet/model/icmpv6-header.cc | 1 - src/internet/model/icmpv6-header.h | 1 - src/internet/model/icmpv6-l4-protocol.cc | 1 - src/internet/model/icmpv6-l4-protocol.h | 1 - src/internet/model/ip-l4-protocol.cc | 1 - src/internet/model/ip-l4-protocol.h | 1 - src/internet/model/ipv4-address-generator.cc | 1 - src/internet/model/ipv4-address-generator.h | 1 - src/internet/model/ipv4-end-point-demux.cc | 1 - src/internet/model/ipv4-end-point-demux.h | 1 - src/internet/model/ipv4-end-point.cc | 1 - src/internet/model/ipv4-end-point.h | 1 - src/internet/model/ipv4-global-routing.cc | 1 - src/internet/model/ipv4-global-routing.h | 1 - src/internet/model/ipv4-header.cc | 1 - src/internet/model/ipv4-header.h | 1 - src/internet/model/ipv4-interface-address.cc | 1 - src/internet/model/ipv4-interface-address.h | 1 - src/internet/model/ipv4-interface.cc | 1 - src/internet/model/ipv4-interface.h | 1 - src/internet/model/ipv4-l3-protocol.cc | 1 - src/internet/model/ipv4-l3-protocol.h | 1 - src/internet/model/ipv4-list-routing.cc | 1 - src/internet/model/ipv4-list-routing.h | 1 - src/internet/model/ipv4-packet-filter.cc | 1 - src/internet/model/ipv4-packet-filter.h | 1 - src/internet/model/ipv4-packet-info-tag.cc | 1 - src/internet/model/ipv4-packet-info-tag.h | 1 - src/internet/model/ipv4-packet-probe.cc | 1 - src/internet/model/ipv4-packet-probe.h | 1 - src/internet/model/ipv4-queue-disc-item.cc | 1 - src/internet/model/ipv4-queue-disc-item.h | 1 - src/internet/model/ipv4-raw-socket-factory-impl.cc | 1 - src/internet/model/ipv4-raw-socket-factory-impl.h | 1 - src/internet/model/ipv4-raw-socket-factory.cc | 1 - src/internet/model/ipv4-raw-socket-factory.h | 1 - src/internet/model/ipv4-raw-socket-impl.cc | 1 - src/internet/model/ipv4-raw-socket-impl.h | 1 - src/internet/model/ipv4-route.cc | 1 - src/internet/model/ipv4-route.h | 1 - src/internet/model/ipv4-routing-protocol.cc | 1 - src/internet/model/ipv4-routing-protocol.h | 1 - src/internet/model/ipv4-routing-table-entry.cc | 1 - src/internet/model/ipv4-routing-table-entry.h | 1 - src/internet/model/ipv4-static-routing.cc | 1 - src/internet/model/ipv4-static-routing.h | 1 - src/internet/model/ipv4.cc | 1 - src/internet/model/ipv4.h | 1 - src/internet/model/ipv6-address-generator.cc | 1 - src/internet/model/ipv6-address-generator.h | 1 - src/internet/model/ipv6-autoconfigured-prefix.cc | 1 - src/internet/model/ipv6-autoconfigured-prefix.h | 1 - src/internet/model/ipv6-end-point-demux.cc | 1 - src/internet/model/ipv6-end-point-demux.h | 1 - src/internet/model/ipv6-end-point.cc | 1 - src/internet/model/ipv6-end-point.h | 1 - src/internet/model/ipv6-extension-demux.cc | 1 - src/internet/model/ipv6-extension-demux.h | 1 - src/internet/model/ipv6-extension-header.cc | 1 - src/internet/model/ipv6-extension-header.h | 1 - src/internet/model/ipv6-extension.cc | 1 - src/internet/model/ipv6-extension.h | 1 - src/internet/model/ipv6-header.cc | 1 - src/internet/model/ipv6-header.h | 1 - src/internet/model/ipv6-interface-address.cc | 1 - src/internet/model/ipv6-interface-address.h | 1 - src/internet/model/ipv6-interface.cc | 1 - src/internet/model/ipv6-interface.h | 1 - src/internet/model/ipv6-l3-protocol.cc | 1 - src/internet/model/ipv6-l3-protocol.h | 1 - src/internet/model/ipv6-list-routing.cc | 1 - src/internet/model/ipv6-list-routing.h | 1 - src/internet/model/ipv6-option-demux.cc | 1 - src/internet/model/ipv6-option-demux.h | 1 - src/internet/model/ipv6-option-header.cc | 1 - src/internet/model/ipv6-option-header.h | 1 - src/internet/model/ipv6-option.cc | 1 - src/internet/model/ipv6-option.h | 1 - src/internet/model/ipv6-packet-filter.cc | 1 - src/internet/model/ipv6-packet-filter.h | 1 - src/internet/model/ipv6-packet-info-tag.cc | 1 - src/internet/model/ipv6-packet-info-tag.h | 1 - src/internet/model/ipv6-packet-probe.cc | 1 - src/internet/model/ipv6-packet-probe.h | 1 - src/internet/model/ipv6-pmtu-cache.cc | 1 - src/internet/model/ipv6-pmtu-cache.h | 1 - src/internet/model/ipv6-queue-disc-item.cc | 1 - src/internet/model/ipv6-queue-disc-item.h | 1 - src/internet/model/ipv6-raw-socket-factory-impl.cc | 1 - src/internet/model/ipv6-raw-socket-factory-impl.h | 1 - src/internet/model/ipv6-raw-socket-factory.cc | 1 - src/internet/model/ipv6-raw-socket-factory.h | 1 - src/internet/model/ipv6-raw-socket-impl.cc | 1 - src/internet/model/ipv6-raw-socket-impl.h | 1 - src/internet/model/ipv6-route.cc | 1 - src/internet/model/ipv6-route.h | 1 - src/internet/model/ipv6-routing-protocol.cc | 1 - src/internet/model/ipv6-routing-protocol.h | 1 - src/internet/model/ipv6-routing-table-entry.cc | 1 - src/internet/model/ipv6-routing-table-entry.h | 1 - src/internet/model/ipv6-static-routing.cc | 1 - src/internet/model/ipv6-static-routing.h | 1 - src/internet/model/ipv6.cc | 1 - src/internet/model/ipv6.h | 1 - src/internet/model/loopback-net-device.cc | 1 - src/internet/model/loopback-net-device.h | 1 - src/internet/model/ndisc-cache.cc | 1 - src/internet/model/ndisc-cache.h | 1 - src/internet/model/pending-data.cc | 1 - src/internet/model/pending-data.h | 1 - src/internet/model/rip-header.cc | 1 - src/internet/model/rip-header.h | 1 - src/internet/model/rip.cc | 1 - src/internet/model/rip.h | 1 - src/internet/model/ripng-header.cc | 1 - src/internet/model/ripng-header.h | 1 - src/internet/model/ripng.cc | 1 - src/internet/model/ripng.h | 1 - src/internet/model/rtt-estimator.cc | 1 - src/internet/model/rtt-estimator.h | 1 - src/internet/model/tcp-bbr.cc | 1 - src/internet/model/tcp-bbr.h | 1 - src/internet/model/tcp-bic.cc | 1 - src/internet/model/tcp-bic.h | 1 - src/internet/model/tcp-congestion-ops.cc | 1 - src/internet/model/tcp-congestion-ops.h | 1 - src/internet/model/tcp-cubic.cc | 1 - src/internet/model/tcp-cubic.h | 1 - src/internet/model/tcp-dctcp.cc | 1 - src/internet/model/tcp-dctcp.h | 1 - src/internet/model/tcp-header.cc | 1 - src/internet/model/tcp-header.h | 1 - src/internet/model/tcp-highspeed.cc | 1 - src/internet/model/tcp-highspeed.h | 1 - src/internet/model/tcp-htcp.cc | 1 - src/internet/model/tcp-htcp.h | 1 - src/internet/model/tcp-hybla.cc | 1 - src/internet/model/tcp-hybla.h | 1 - src/internet/model/tcp-illinois.cc | 1 - src/internet/model/tcp-illinois.h | 1 - src/internet/model/tcp-l4-protocol.cc | 1 - src/internet/model/tcp-l4-protocol.h | 1 - src/internet/model/tcp-ledbat.cc | 1 - src/internet/model/tcp-ledbat.h | 1 - src/internet/model/tcp-linux-reno.cc | 1 - src/internet/model/tcp-linux-reno.h | 1 - src/internet/model/tcp-lp.cc | 1 - src/internet/model/tcp-lp.h | 1 - src/internet/model/tcp-option-rfc793.cc | 1 - src/internet/model/tcp-option-rfc793.h | 1 - src/internet/model/tcp-option-sack-permitted.cc | 1 - src/internet/model/tcp-option-sack-permitted.h | 1 - src/internet/model/tcp-option-sack.cc | 1 - src/internet/model/tcp-option-sack.h | 1 - src/internet/model/tcp-option-ts.cc | 1 - src/internet/model/tcp-option-ts.h | 1 - src/internet/model/tcp-option-winscale.cc | 1 - src/internet/model/tcp-option-winscale.h | 1 - src/internet/model/tcp-option.cc | 1 - src/internet/model/tcp-option.h | 1 - src/internet/model/tcp-prr-recovery.cc | 1 - src/internet/model/tcp-prr-recovery.h | 1 - src/internet/model/tcp-rate-ops.cc | 1 - src/internet/model/tcp-rate-ops.h | 1 - src/internet/model/tcp-recovery-ops.cc | 1 - src/internet/model/tcp-recovery-ops.h | 1 - src/internet/model/tcp-rx-buffer.cc | 1 - src/internet/model/tcp-rx-buffer.h | 1 - src/internet/model/tcp-scalable.cc | 1 - src/internet/model/tcp-scalable.h | 1 - src/internet/model/tcp-socket-base.cc | 1 - src/internet/model/tcp-socket-base.h | 1 - src/internet/model/tcp-socket-factory-impl.cc | 1 - src/internet/model/tcp-socket-factory-impl.h | 1 - src/internet/model/tcp-socket-factory.cc | 1 - src/internet/model/tcp-socket-factory.h | 1 - src/internet/model/tcp-socket-state.cc | 1 - src/internet/model/tcp-socket-state.h | 1 - src/internet/model/tcp-socket.cc | 1 - src/internet/model/tcp-socket.h | 1 - src/internet/model/tcp-tx-buffer.cc | 1 - src/internet/model/tcp-tx-buffer.h | 1 - src/internet/model/tcp-tx-item.cc | 1 - src/internet/model/tcp-tx-item.h | 1 - src/internet/model/tcp-vegas.cc | 1 - src/internet/model/tcp-vegas.h | 1 - src/internet/model/tcp-veno.cc | 1 - src/internet/model/tcp-veno.h | 1 - src/internet/model/tcp-westwood.cc | 1 - src/internet/model/tcp-westwood.h | 1 - src/internet/model/tcp-yeah.cc | 1 - src/internet/model/tcp-yeah.h | 1 - src/internet/model/udp-header.cc | 1 - src/internet/model/udp-header.h | 1 - src/internet/model/udp-l4-protocol.cc | 1 - src/internet/model/udp-l4-protocol.h | 1 - src/internet/model/udp-socket-factory-impl.cc | 1 - src/internet/model/udp-socket-factory-impl.h | 1 - src/internet/model/udp-socket-factory.cc | 1 - src/internet/model/udp-socket-factory.h | 1 - src/internet/model/udp-socket-impl.cc | 1 - src/internet/model/udp-socket-impl.h | 1 - src/internet/model/udp-socket.cc | 1 - src/internet/model/udp-socket.h | 1 - src/internet/model/win32-internet.h | 1 - src/internet/model/windowed-filter.h | 1 - src/internet/test/global-route-manager-impl-test-suite.cc | 1 - src/internet/test/icmp-test.cc | 1 - src/internet/test/ipv4-address-generator-test-suite.cc | 1 - src/internet/test/ipv4-address-helper-test-suite.cc | 1 - src/internet/test/ipv4-deduplication-test.cc | 1 - src/internet/test/ipv4-forwarding-test.cc | 1 - src/internet/test/ipv4-fragmentation-test.cc | 1 - src/internet/test/ipv4-global-routing-test-suite.cc | 1 - src/internet/test/ipv4-header-test.cc | 1 - src/internet/test/ipv4-list-routing-test-suite.cc | 1 - src/internet/test/ipv4-packet-info-tag-test-suite.cc | 1 - src/internet/test/ipv4-raw-test.cc | 1 - src/internet/test/ipv4-rip-test.cc | 1 - src/internet/test/ipv4-static-routing-test-suite.cc | 1 - src/internet/test/ipv4-test.cc | 1 - src/internet/test/ipv6-address-duplication-test.cc | 1 - src/internet/test/ipv6-address-generator-test-suite.cc | 1 - src/internet/test/ipv6-address-helper-test-suite.cc | 1 - src/internet/test/ipv6-dual-stack-test-suite.cc | 1 - src/internet/test/ipv6-extension-header-test-suite.cc | 1 - src/internet/test/ipv6-forwarding-test.cc | 1 - src/internet/test/ipv6-fragmentation-test.cc | 1 - src/internet/test/ipv6-list-routing-test-suite.cc | 1 - src/internet/test/ipv6-packet-info-tag-test-suite.cc | 1 - src/internet/test/ipv6-raw-test.cc | 1 - src/internet/test/ipv6-ripng-test.cc | 1 - src/internet/test/ipv6-test.cc | 1 - src/internet/test/neighbor-cache-test.cc | 1 - src/internet/test/rtt-test.cc | 1 - src/internet/test/tcp-advertised-window-test.cc | 1 - src/internet/test/tcp-bbr-test.cc | 1 - src/internet/test/tcp-bic-test.cc | 1 - src/internet/test/tcp-bytes-in-flight-test.cc | 1 - src/internet/test/tcp-classic-recovery-test.cc | 1 - src/internet/test/tcp-close-test.cc | 1 - src/internet/test/tcp-cong-avoid-test.cc | 1 - src/internet/test/tcp-datasentcb-test.cc | 1 - src/internet/test/tcp-dctcp-test.cc | 1 - src/internet/test/tcp-ecn-test.cc | 1 - src/internet/test/tcp-endpoint-bug2211.cc | 1 - src/internet/test/tcp-error-model.cc | 1 - src/internet/test/tcp-error-model.h | 1 - src/internet/test/tcp-fast-retr-test.cc | 1 - src/internet/test/tcp-general-test.cc | 1 - src/internet/test/tcp-general-test.h | 1 - src/internet/test/tcp-header-test.cc | 1 - src/internet/test/tcp-highspeed-test.cc | 1 - src/internet/test/tcp-htcp-test.cc | 1 - src/internet/test/tcp-hybla-test.cc | 1 - src/internet/test/tcp-illinois-test.cc | 1 - src/internet/test/tcp-ledbat-test.cc | 1 - src/internet/test/tcp-linux-reno-test.cc | 1 - src/internet/test/tcp-loss-test.cc | 1 - src/internet/test/tcp-lp-test.cc | 1 - src/internet/test/tcp-option-test.cc | 1 - src/internet/test/tcp-pacing-test.cc | 1 - src/internet/test/tcp-pkts-acked-test.cc | 1 - src/internet/test/tcp-prr-recovery-test.cc | 1 - src/internet/test/tcp-rate-ops-test.cc | 1 - src/internet/test/tcp-rto-test.cc | 1 - src/internet/test/tcp-rtt-estimation.cc | 1 - src/internet/test/tcp-rx-buffer-test.cc | 1 - src/internet/test/tcp-sack-permitted-test.cc | 1 - src/internet/test/tcp-scalable-test.cc | 1 - src/internet/test/tcp-slow-start-test.cc | 1 - src/internet/test/tcp-syn-connection-failed-test.cc | 1 - src/internet/test/tcp-test.cc | 1 - src/internet/test/tcp-timestamp-test.cc | 1 - src/internet/test/tcp-tx-buffer-test.cc | 1 - src/internet/test/tcp-vegas-test.cc | 1 - src/internet/test/tcp-veno-test.cc | 1 - src/internet/test/tcp-wscaling-test.cc | 1 - src/internet/test/tcp-yeah-test.cc | 1 - src/internet/test/tcp-zero-window-test.cc | 1 - src/internet/test/udp-test.cc | 1 - src/lr-wpan/examples/lr-wpan-active-scan.cc | 1 - src/lr-wpan/examples/lr-wpan-bootstrap.cc | 1 - src/lr-wpan/examples/lr-wpan-data.cc | 1 - src/lr-wpan/examples/lr-wpan-ed-scan.cc | 1 - src/lr-wpan/examples/lr-wpan-error-distance-plot.cc | 1 - src/lr-wpan/examples/lr-wpan-error-model-plot.cc | 1 - src/lr-wpan/examples/lr-wpan-mlme.cc | 1 - src/lr-wpan/examples/lr-wpan-packet-print.cc | 1 - src/lr-wpan/examples/lr-wpan-phy-test.cc | 1 - src/lr-wpan/helper/lr-wpan-helper.cc | 1 - src/lr-wpan/helper/lr-wpan-helper.h | 1 - src/lr-wpan/model/lr-wpan-csmaca.cc | 1 - src/lr-wpan/model/lr-wpan-csmaca.h | 1 - src/lr-wpan/model/lr-wpan-error-model.cc | 1 - src/lr-wpan/model/lr-wpan-error-model.h | 1 - src/lr-wpan/model/lr-wpan-fields.cc | 1 - src/lr-wpan/model/lr-wpan-fields.h | 1 - src/lr-wpan/model/lr-wpan-interference-helper.cc | 1 - src/lr-wpan/model/lr-wpan-interference-helper.h | 1 - src/lr-wpan/model/lr-wpan-lqi-tag.cc | 1 - src/lr-wpan/model/lr-wpan-lqi-tag.h | 1 - src/lr-wpan/model/lr-wpan-mac-header.cc | 1 - src/lr-wpan/model/lr-wpan-mac-header.h | 1 - src/lr-wpan/model/lr-wpan-mac-pl-headers.cc | 1 - src/lr-wpan/model/lr-wpan-mac-pl-headers.h | 1 - src/lr-wpan/model/lr-wpan-mac-trailer.cc | 1 - src/lr-wpan/model/lr-wpan-mac-trailer.h | 1 - src/lr-wpan/model/lr-wpan-mac.cc | 1 - src/lr-wpan/model/lr-wpan-mac.h | 1 - src/lr-wpan/model/lr-wpan-net-device.cc | 1 - src/lr-wpan/model/lr-wpan-net-device.h | 1 - src/lr-wpan/model/lr-wpan-phy.cc | 1 - src/lr-wpan/model/lr-wpan-phy.h | 1 - src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.cc | 1 - src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.h | 1 - src/lr-wpan/model/lr-wpan-spectrum-value-helper.cc | 1 - src/lr-wpan/model/lr-wpan-spectrum-value-helper.h | 1 - src/lr-wpan/test/lr-wpan-ack-test.cc | 1 - src/lr-wpan/test/lr-wpan-cca-test.cc | 1 - src/lr-wpan/test/lr-wpan-collision-test.cc | 1 - src/lr-wpan/test/lr-wpan-ed-test.cc | 1 - src/lr-wpan/test/lr-wpan-error-model-test.cc | 1 - src/lr-wpan/test/lr-wpan-ifs-test.cc | 1 - src/lr-wpan/test/lr-wpan-mac-test.cc | 1 - src/lr-wpan/test/lr-wpan-packet-test.cc | 1 - src/lr-wpan/test/lr-wpan-pd-plme-sap-test.cc | 1 - src/lr-wpan/test/lr-wpan-slotted-csmaca-test.cc | 1 - src/lr-wpan/test/lr-wpan-spectrum-value-helper-test.cc | 1 - src/lte/examples/lena-cc-helper.cc | 1 - src/lte/examples/lena-cqi-threshold.cc | 1 - src/lte/examples/lena-deactivate-bearer.cc | 1 - src/lte/examples/lena-distributed-ffr.cc | 1 - src/lte/examples/lena-dual-stripe.cc | 1 - src/lte/examples/lena-fading.cc | 1 - src/lte/examples/lena-frequency-reuse.cc | 1 - src/lte/examples/lena-intercell-interference.cc | 1 - src/lte/examples/lena-ipv6-addr-conf.cc | 1 - src/lte/examples/lena-ipv6-ue-rh.cc | 1 - src/lte/examples/lena-ipv6-ue-ue.cc | 1 - src/lte/examples/lena-pathloss-traces.cc | 1 - src/lte/examples/lena-profiling.cc | 1 - src/lte/examples/lena-radio-link-failure.cc | 1 - src/lte/examples/lena-rem-sector-antenna.cc | 1 - src/lte/examples/lena-rem.cc | 1 - src/lte/examples/lena-rlc-traces.cc | 1 - src/lte/examples/lena-simple-epc-backhaul.cc | 1 - src/lte/examples/lena-simple-epc-emu.cc | 1 - src/lte/examples/lena-simple-epc.cc | 1 - src/lte/examples/lena-simple.cc | 1 - src/lte/examples/lena-uplink-power-control.cc | 1 - src/lte/examples/lena-x2-handover-measures.cc | 1 - src/lte/examples/lena-x2-handover.cc | 1 - src/lte/helper/cc-helper.cc | 1 - src/lte/helper/cc-helper.h | 1 - src/lte/helper/emu-epc-helper.cc | 1 - src/lte/helper/emu-epc-helper.h | 1 - src/lte/helper/epc-helper.cc | 1 - src/lte/helper/epc-helper.h | 1 - src/lte/helper/lte-global-pathloss-database.cc | 1 - src/lte/helper/lte-global-pathloss-database.h | 1 - src/lte/helper/lte-helper.cc | 1 - src/lte/helper/lte-helper.h | 1 - src/lte/helper/lte-hex-grid-enb-topology-helper.cc | 1 - src/lte/helper/lte-hex-grid-enb-topology-helper.h | 1 - src/lte/helper/lte-stats-calculator.cc | 1 - src/lte/helper/lte-stats-calculator.h | 1 - src/lte/helper/mac-stats-calculator.cc | 1 - src/lte/helper/mac-stats-calculator.h | 1 - src/lte/helper/no-backhaul-epc-helper.cc | 1 - src/lte/helper/no-backhaul-epc-helper.h | 1 - src/lte/helper/phy-rx-stats-calculator.cc | 1 - src/lte/helper/phy-rx-stats-calculator.h | 1 - src/lte/helper/phy-stats-calculator.cc | 1 - src/lte/helper/phy-stats-calculator.h | 1 - src/lte/helper/phy-tx-stats-calculator.cc | 1 - src/lte/helper/phy-tx-stats-calculator.h | 1 - src/lte/helper/point-to-point-epc-helper.cc | 1 - src/lte/helper/point-to-point-epc-helper.h | 1 - src/lte/helper/radio-bearer-stats-calculator.cc | 1 - src/lte/helper/radio-bearer-stats-calculator.h | 1 - src/lte/helper/radio-bearer-stats-connector.cc | 1 - src/lte/helper/radio-bearer-stats-connector.h | 1 - src/lte/helper/radio-environment-map-helper.cc | 1 - src/lte/helper/radio-environment-map-helper.h | 1 - src/lte/model/a2-a4-rsrq-handover-algorithm.cc | 1 - src/lte/model/a2-a4-rsrq-handover-algorithm.h | 1 - src/lte/model/a3-rsrp-handover-algorithm.cc | 1 - src/lte/model/a3-rsrp-handover-algorithm.h | 1 - src/lte/model/component-carrier-enb.cc | 1 - src/lte/model/component-carrier-enb.h | 1 - src/lte/model/component-carrier-ue.cc | 1 - src/lte/model/component-carrier-ue.h | 1 - src/lte/model/component-carrier.cc | 1 - src/lte/model/component-carrier.h | 1 - src/lte/model/cqa-ff-mac-scheduler.cc | 1 - src/lte/model/cqa-ff-mac-scheduler.h | 1 - src/lte/model/epc-enb-application.cc | 1 - src/lte/model/epc-enb-application.h | 1 - src/lte/model/epc-enb-s1-sap.cc | 1 - src/lte/model/epc-enb-s1-sap.h | 1 - src/lte/model/epc-gtpc-header.cc | 1 - src/lte/model/epc-gtpc-header.h | 1 - src/lte/model/epc-gtpu-header.cc | 1 - src/lte/model/epc-gtpu-header.h | 1 - src/lte/model/epc-mme-application.cc | 1 - src/lte/model/epc-mme-application.h | 1 - src/lte/model/epc-pgw-application.cc | 1 - src/lte/model/epc-pgw-application.h | 1 - src/lte/model/epc-s11-sap.cc | 1 - src/lte/model/epc-s11-sap.h | 1 - src/lte/model/epc-s1ap-sap.cc | 1 - src/lte/model/epc-s1ap-sap.h | 1 - src/lte/model/epc-sgw-application.cc | 1 - src/lte/model/epc-sgw-application.h | 1 - src/lte/model/epc-tft-classifier.cc | 1 - src/lte/model/epc-tft-classifier.h | 1 - src/lte/model/epc-tft.cc | 1 - src/lte/model/epc-tft.h | 1 - src/lte/model/epc-ue-nas.cc | 1 - src/lte/model/epc-ue-nas.h | 1 - src/lte/model/epc-x2-header.cc | 1 - src/lte/model/epc-x2-header.h | 1 - src/lte/model/epc-x2-sap.cc | 1 - src/lte/model/epc-x2-sap.h | 1 - src/lte/model/epc-x2.cc | 1 - src/lte/model/epc-x2.h | 1 - src/lte/model/eps-bearer-tag.cc | 1 - src/lte/model/eps-bearer-tag.h | 1 - src/lte/model/eps-bearer.cc | 1 - src/lte/model/eps-bearer.h | 1 - src/lte/model/fdbet-ff-mac-scheduler.cc | 1 - src/lte/model/fdbet-ff-mac-scheduler.h | 1 - src/lte/model/fdmt-ff-mac-scheduler.cc | 1 - src/lte/model/fdmt-ff-mac-scheduler.h | 1 - src/lte/model/fdtbfq-ff-mac-scheduler.cc | 1 - src/lte/model/fdtbfq-ff-mac-scheduler.h | 1 - src/lte/model/ff-mac-common.cc | 1 - src/lte/model/ff-mac-common.h | 1 - src/lte/model/ff-mac-csched-sap.cc | 1 - src/lte/model/ff-mac-csched-sap.h | 1 - src/lte/model/ff-mac-sched-sap.cc | 1 - src/lte/model/ff-mac-sched-sap.h | 1 - src/lte/model/ff-mac-scheduler.cc | 1 - src/lte/model/ff-mac-scheduler.h | 1 - src/lte/model/lte-amc.cc | 1 - src/lte/model/lte-amc.h | 1 - src/lte/model/lte-anr-sap.cc | 1 - src/lte/model/lte-anr-sap.h | 1 - src/lte/model/lte-anr.cc | 1 - src/lte/model/lte-anr.h | 1 - src/lte/model/lte-as-sap.cc | 1 - src/lte/model/lte-as-sap.h | 1 - src/lte/model/lte-asn1-header.cc | 1 - src/lte/model/lte-asn1-header.h | 1 - src/lte/model/lte-ccm-mac-sap.cc | 1 - src/lte/model/lte-ccm-mac-sap.h | 1 - src/lte/model/lte-ccm-rrc-sap.cc | 1 - src/lte/model/lte-ccm-rrc-sap.h | 1 - src/lte/model/lte-chunk-processor.cc | 1 - src/lte/model/lte-chunk-processor.h | 1 - src/lte/model/lte-common.cc | 1 - src/lte/model/lte-common.h | 1 - src/lte/model/lte-control-messages.cc | 1 - src/lte/model/lte-control-messages.h | 1 - src/lte/model/lte-enb-cmac-sap.cc | 1 - src/lte/model/lte-enb-cmac-sap.h | 1 - src/lte/model/lte-enb-component-carrier-manager.cc | 1 - src/lte/model/lte-enb-component-carrier-manager.h | 1 - src/lte/model/lte-enb-cphy-sap.cc | 1 - src/lte/model/lte-enb-cphy-sap.h | 1 - src/lte/model/lte-enb-mac.cc | 1 - src/lte/model/lte-enb-mac.h | 1 - src/lte/model/lte-enb-net-device.cc | 1 - src/lte/model/lte-enb-net-device.h | 1 - src/lte/model/lte-enb-phy-sap.cc | 1 - src/lte/model/lte-enb-phy-sap.h | 1 - src/lte/model/lte-enb-phy.cc | 1 - src/lte/model/lte-enb-phy.h | 1 - src/lte/model/lte-enb-rrc.cc | 1 - src/lte/model/lte-enb-rrc.h | 1 - src/lte/model/lte-ffr-algorithm.cc | 1 - src/lte/model/lte-ffr-algorithm.h | 1 - src/lte/model/lte-ffr-distributed-algorithm.cc | 1 - src/lte/model/lte-ffr-distributed-algorithm.h | 1 - src/lte/model/lte-ffr-enhanced-algorithm.cc | 1 - src/lte/model/lte-ffr-enhanced-algorithm.h | 1 - src/lte/model/lte-ffr-rrc-sap.cc | 1 - src/lte/model/lte-ffr-rrc-sap.h | 1 - src/lte/model/lte-ffr-sap.cc | 1 - src/lte/model/lte-ffr-sap.h | 1 - src/lte/model/lte-ffr-soft-algorithm.cc | 1 - src/lte/model/lte-ffr-soft-algorithm.h | 1 - src/lte/model/lte-fr-hard-algorithm.cc | 1 - src/lte/model/lte-fr-hard-algorithm.h | 1 - src/lte/model/lte-fr-no-op-algorithm.cc | 1 - src/lte/model/lte-fr-no-op-algorithm.h | 1 - src/lte/model/lte-fr-soft-algorithm.cc | 1 - src/lte/model/lte-fr-soft-algorithm.h | 1 - src/lte/model/lte-fr-strict-algorithm.cc | 1 - src/lte/model/lte-fr-strict-algorithm.h | 1 - src/lte/model/lte-handover-algorithm.cc | 1 - src/lte/model/lte-handover-algorithm.h | 1 - src/lte/model/lte-handover-management-sap.cc | 1 - src/lte/model/lte-handover-management-sap.h | 1 - src/lte/model/lte-harq-phy.cc | 1 - src/lte/model/lte-harq-phy.h | 1 - src/lte/model/lte-interference.cc | 1 - src/lte/model/lte-interference.h | 1 - src/lte/model/lte-mac-sap.cc | 1 - src/lte/model/lte-mac-sap.h | 1 - src/lte/model/lte-mi-error-model.cc | 1 - src/lte/model/lte-mi-error-model.h | 1 - src/lte/model/lte-net-device.cc | 1 - src/lte/model/lte-net-device.h | 1 - src/lte/model/lte-pdcp-header.cc | 1 - src/lte/model/lte-pdcp-header.h | 1 - src/lte/model/lte-pdcp-sap.cc | 1 - src/lte/model/lte-pdcp-sap.h | 1 - src/lte/model/lte-pdcp-tag.cc | 1 - src/lte/model/lte-pdcp-tag.h | 1 - src/lte/model/lte-pdcp.cc | 1 - src/lte/model/lte-pdcp.h | 1 - src/lte/model/lte-phy-tag.cc | 1 - src/lte/model/lte-phy-tag.h | 1 - src/lte/model/lte-phy.cc | 1 - src/lte/model/lte-phy.h | 1 - src/lte/model/lte-radio-bearer-info.cc | 1 - src/lte/model/lte-radio-bearer-info.h | 1 - src/lte/model/lte-radio-bearer-tag.cc | 1 - src/lte/model/lte-radio-bearer-tag.h | 1 - src/lte/model/lte-rlc-am-header.cc | 1 - src/lte/model/lte-rlc-am-header.h | 1 - src/lte/model/lte-rlc-am.cc | 1 - src/lte/model/lte-rlc-am.h | 1 - src/lte/model/lte-rlc-header.cc | 1 - src/lte/model/lte-rlc-header.h | 1 - src/lte/model/lte-rlc-sap.cc | 1 - src/lte/model/lte-rlc-sap.h | 1 - src/lte/model/lte-rlc-sdu-status-tag.cc | 1 - src/lte/model/lte-rlc-sdu-status-tag.h | 1 - src/lte/model/lte-rlc-sequence-number.cc | 1 - src/lte/model/lte-rlc-sequence-number.h | 1 - src/lte/model/lte-rlc-tag.cc | 1 - src/lte/model/lte-rlc-tag.h | 1 - src/lte/model/lte-rlc-tm.cc | 1 - src/lte/model/lte-rlc-tm.h | 1 - src/lte/model/lte-rlc-um.cc | 1 - src/lte/model/lte-rlc-um.h | 1 - src/lte/model/lte-rlc.cc | 1 - src/lte/model/lte-rlc.h | 1 - src/lte/model/lte-rrc-header.cc | 1 - src/lte/model/lte-rrc-header.h | 1 - src/lte/model/lte-rrc-protocol-ideal.cc | 1 - src/lte/model/lte-rrc-protocol-ideal.h | 1 - src/lte/model/lte-rrc-protocol-real.cc | 1 - src/lte/model/lte-rrc-protocol-real.h | 1 - src/lte/model/lte-rrc-sap.cc | 1 - src/lte/model/lte-rrc-sap.h | 1 - src/lte/model/lte-spectrum-phy.cc | 1 - src/lte/model/lte-spectrum-phy.h | 1 - src/lte/model/lte-spectrum-signal-parameters.cc | 1 - src/lte/model/lte-spectrum-signal-parameters.h | 1 - src/lte/model/lte-spectrum-value-helper.cc | 1 - src/lte/model/lte-spectrum-value-helper.h | 1 - src/lte/model/lte-ue-ccm-rrc-sap.cc | 1 - src/lte/model/lte-ue-ccm-rrc-sap.h | 1 - src/lte/model/lte-ue-cmac-sap.cc | 1 - src/lte/model/lte-ue-cmac-sap.h | 1 - src/lte/model/lte-ue-component-carrier-manager.cc | 1 - src/lte/model/lte-ue-component-carrier-manager.h | 1 - src/lte/model/lte-ue-cphy-sap.cc | 1 - src/lte/model/lte-ue-cphy-sap.h | 1 - src/lte/model/lte-ue-mac.cc | 1 - src/lte/model/lte-ue-mac.h | 1 - src/lte/model/lte-ue-net-device.cc | 1 - src/lte/model/lte-ue-net-device.h | 1 - src/lte/model/lte-ue-phy-sap.cc | 1 - src/lte/model/lte-ue-phy-sap.h | 1 - src/lte/model/lte-ue-phy.cc | 1 - src/lte/model/lte-ue-phy.h | 1 - src/lte/model/lte-ue-power-control.cc | 1 - src/lte/model/lte-ue-power-control.h | 1 - src/lte/model/lte-ue-rrc.cc | 1 - src/lte/model/lte-ue-rrc.h | 1 - src/lte/model/lte-vendor-specific-parameters.cc | 1 - src/lte/model/lte-vendor-specific-parameters.h | 1 - src/lte/model/no-op-component-carrier-manager.cc | 1 - src/lte/model/no-op-component-carrier-manager.h | 1 - src/lte/model/no-op-handover-algorithm.cc | 1 - src/lte/model/no-op-handover-algorithm.h | 1 - src/lte/model/pf-ff-mac-scheduler.cc | 1 - src/lte/model/pf-ff-mac-scheduler.h | 1 - src/lte/model/pss-ff-mac-scheduler.cc | 1 - src/lte/model/pss-ff-mac-scheduler.h | 1 - src/lte/model/rem-spectrum-phy.cc | 1 - src/lte/model/rem-spectrum-phy.h | 1 - src/lte/model/rr-ff-mac-scheduler.cc | 1 - src/lte/model/rr-ff-mac-scheduler.h | 1 - src/lte/model/simple-ue-component-carrier-manager.cc | 1 - src/lte/model/simple-ue-component-carrier-manager.h | 1 - src/lte/model/tdbet-ff-mac-scheduler.cc | 1 - src/lte/model/tdbet-ff-mac-scheduler.h | 1 - src/lte/model/tdmt-ff-mac-scheduler.cc | 1 - src/lte/model/tdmt-ff-mac-scheduler.h | 1 - src/lte/model/tdtbfq-ff-mac-scheduler.cc | 1 - src/lte/model/tdtbfq-ff-mac-scheduler.h | 1 - src/lte/model/tta-ff-mac-scheduler.cc | 1 - src/lte/model/tta-ff-mac-scheduler.h | 1 - src/lte/test/epc-test-gtpu.cc | 1 - src/lte/test/epc-test-gtpu.h | 1 - src/lte/test/epc-test-s1u-downlink.cc | 1 - src/lte/test/epc-test-s1u-uplink.cc | 1 - src/lte/test/lte-ffr-simple.cc | 1 - src/lte/test/lte-ffr-simple.h | 1 - src/lte/test/lte-simple-helper.cc | 1 - src/lte/test/lte-simple-helper.h | 1 - src/lte/test/lte-simple-net-device.cc | 1 - src/lte/test/lte-simple-net-device.h | 1 - src/lte/test/lte-simple-spectrum-phy.cc | 1 - src/lte/test/lte-simple-spectrum-phy.h | 1 - src/lte/test/lte-test-aggregation-throughput-scale.cc | 1 - src/lte/test/lte-test-aggregation-throughput-scale.h | 1 - src/lte/test/lte-test-carrier-aggregation-configuration.cc | 1 - src/lte/test/lte-test-carrier-aggregation.cc | 1 - src/lte/test/lte-test-carrier-aggregation.h | 1 - src/lte/test/lte-test-cell-selection.cc | 1 - src/lte/test/lte-test-cell-selection.h | 1 - src/lte/test/lte-test-cqa-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-cqa-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-cqi-generation.cc | 1 - src/lte/test/lte-test-cqi-generation.h | 1 - src/lte/test/lte-test-deactivate-bearer.cc | 1 - src/lte/test/lte-test-deactivate-bearer.h | 1 - src/lte/test/lte-test-downlink-power-control.cc | 1 - src/lte/test/lte-test-downlink-power-control.h | 1 - src/lte/test/lte-test-downlink-sinr.cc | 1 - src/lte/test/lte-test-downlink-sinr.h | 1 - src/lte/test/lte-test-earfcn.cc | 1 - src/lte/test/lte-test-entities.cc | 1 - src/lte/test/lte-test-entities.h | 1 - src/lte/test/lte-test-fdbet-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-fdbet-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-fdmt-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-fdmt-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-frequency-reuse.cc | 1 - src/lte/test/lte-test-frequency-reuse.h | 1 - src/lte/test/lte-test-harq.cc | 1 - src/lte/test/lte-test-harq.h | 1 - src/lte/test/lte-test-interference-fr.cc | 1 - src/lte/test/lte-test-interference-fr.h | 1 - src/lte/test/lte-test-interference.cc | 1 - src/lte/test/lte-test-interference.h | 1 - src/lte/test/lte-test-ipv6-routing.cc | 1 - src/lte/test/lte-test-link-adaptation.cc | 1 - src/lte/test/lte-test-link-adaptation.h | 1 - src/lte/test/lte-test-mimo.cc | 1 - src/lte/test/lte-test-mimo.h | 1 - src/lte/test/lte-test-pathloss-model.cc | 1 - src/lte/test/lte-test-pathloss-model.h | 1 - src/lte/test/lte-test-pf-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-pf-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-phy-error-model.cc | 1 - src/lte/test/lte-test-phy-error-model.h | 1 - src/lte/test/lte-test-primary-cell-change.cc | 1 - src/lte/test/lte-test-primary-cell-change.h | 1 - src/lte/test/lte-test-pss-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-pss-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-radio-link-failure.cc | 1 - src/lte/test/lte-test-radio-link-failure.h | 1 - src/lte/test/lte-test-rlc-am-e2e.cc | 1 - src/lte/test/lte-test-rlc-am-e2e.h | 1 - src/lte/test/lte-test-rlc-am-transmitter.cc | 1 - src/lte/test/lte-test-rlc-am-transmitter.h | 1 - src/lte/test/lte-test-rlc-um-e2e.cc | 1 - src/lte/test/lte-test-rlc-um-e2e.h | 1 - src/lte/test/lte-test-rlc-um-transmitter.cc | 1 - src/lte/test/lte-test-rlc-um-transmitter.h | 1 - src/lte/test/lte-test-rr-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-rr-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-secondary-cell-handover.cc | 1 - src/lte/test/lte-test-secondary-cell-selection.cc | 1 - src/lte/test/lte-test-secondary-cell-selection.h | 1 - src/lte/test/lte-test-spectrum-value-helper.cc | 1 - src/lte/test/lte-test-tdbet-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-tdbet-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-tdmt-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-tdmt-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-tta-ff-mac-scheduler.cc | 1 - src/lte/test/lte-test-tta-ff-mac-scheduler.h | 1 - src/lte/test/lte-test-ue-measurements.cc | 1 - src/lte/test/lte-test-ue-measurements.h | 1 - src/lte/test/lte-test-ue-phy.cc | 1 - src/lte/test/lte-test-ue-phy.h | 1 - src/lte/test/lte-test-uplink-power-control.cc | 1 - src/lte/test/lte-test-uplink-power-control.h | 1 - src/lte/test/lte-test-uplink-sinr.cc | 1 - src/lte/test/lte-test-uplink-sinr.h | 1 - src/lte/test/test-asn1-encoding.cc | 1 - src/lte/test/test-epc-tft-classifier.cc | 1 - src/lte/test/test-lte-antenna.cc | 1 - src/lte/test/test-lte-epc-e2e-data.cc | 1 - src/lte/test/test-lte-handover-delay.cc | 1 - src/lte/test/test-lte-handover-failure.cc | 1 - src/lte/test/test-lte-handover-target.cc | 1 - src/lte/test/test-lte-rlc-header.cc | 1 - src/lte/test/test-lte-rrc.cc | 1 - src/lte/test/test-lte-x2-handover-measures.cc | 1 - src/lte/test/test-lte-x2-handover.cc | 1 - src/mesh/doc/mesh.h | 1 - src/mesh/examples/mesh.cc | 1 - src/mesh/helper/dot11s/dot11s-installer.cc | 1 - src/mesh/helper/dot11s/dot11s-installer.h | 1 - src/mesh/helper/flame/flame-installer.cc | 1 - src/mesh/helper/flame/flame-installer.h | 1 - src/mesh/helper/mesh-helper.cc | 1 - src/mesh/helper/mesh-helper.h | 1 - src/mesh/helper/mesh-stack-installer.cc | 1 - src/mesh/helper/mesh-stack-installer.h | 1 - src/mesh/model/dot11s/airtime-metric.cc | 1 - src/mesh/model/dot11s/airtime-metric.h | 1 - src/mesh/model/dot11s/dot11s-mac-header.cc | 1 - src/mesh/model/dot11s/dot11s-mac-header.h | 1 - src/mesh/model/dot11s/dot11s.h | 1 - src/mesh/model/dot11s/hwmp-protocol-mac.cc | 1 - src/mesh/model/dot11s/hwmp-protocol-mac.h | 1 - src/mesh/model/dot11s/hwmp-protocol.cc | 1 - src/mesh/model/dot11s/hwmp-protocol.h | 1 - src/mesh/model/dot11s/hwmp-rtable.cc | 1 - src/mesh/model/dot11s/hwmp-rtable.h | 1 - src/mesh/model/dot11s/hwmp-tag.cc | 1 - src/mesh/model/dot11s/hwmp-tag.h | 1 - src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc | 1 - src/mesh/model/dot11s/ie-dot11s-beacon-timing.h | 1 - src/mesh/model/dot11s/ie-dot11s-configuration.cc | 1 - src/mesh/model/dot11s/ie-dot11s-configuration.h | 1 - src/mesh/model/dot11s/ie-dot11s-id.cc | 1 - src/mesh/model/dot11s/ie-dot11s-id.h | 1 - src/mesh/model/dot11s/ie-dot11s-metric-report.cc | 1 - src/mesh/model/dot11s/ie-dot11s-metric-report.h | 1 - src/mesh/model/dot11s/ie-dot11s-peer-management.cc | 1 - src/mesh/model/dot11s/ie-dot11s-peer-management.h | 1 - src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc | 1 - src/mesh/model/dot11s/ie-dot11s-peering-protocol.h | 1 - src/mesh/model/dot11s/ie-dot11s-perr.cc | 1 - src/mesh/model/dot11s/ie-dot11s-perr.h | 1 - src/mesh/model/dot11s/ie-dot11s-prep.cc | 1 - src/mesh/model/dot11s/ie-dot11s-prep.h | 1 - src/mesh/model/dot11s/ie-dot11s-preq.cc | 1 - src/mesh/model/dot11s/ie-dot11s-preq.h | 1 - src/mesh/model/dot11s/ie-dot11s-rann.cc | 1 - src/mesh/model/dot11s/ie-dot11s-rann.h | 1 - src/mesh/model/dot11s/peer-link-frame.cc | 1 - src/mesh/model/dot11s/peer-link-frame.h | 1 - src/mesh/model/dot11s/peer-link.cc | 1 - src/mesh/model/dot11s/peer-link.h | 1 - src/mesh/model/dot11s/peer-management-protocol-mac.cc | 1 - src/mesh/model/dot11s/peer-management-protocol-mac.h | 1 - src/mesh/model/dot11s/peer-management-protocol.cc | 1 - src/mesh/model/dot11s/peer-management-protocol.h | 1 - src/mesh/model/flame/flame-header.cc | 1 - src/mesh/model/flame/flame-header.h | 1 - src/mesh/model/flame/flame-protocol-mac.cc | 1 - src/mesh/model/flame/flame-protocol-mac.h | 1 - src/mesh/model/flame/flame-protocol.cc | 1 - src/mesh/model/flame/flame-protocol.h | 1 - src/mesh/model/flame/flame-rtable.cc | 1 - src/mesh/model/flame/flame-rtable.h | 1 - src/mesh/model/mesh-information-element-vector.cc | 1 - src/mesh/model/mesh-information-element-vector.h | 1 - src/mesh/model/mesh-l2-routing-protocol.cc | 1 - src/mesh/model/mesh-l2-routing-protocol.h | 1 - src/mesh/model/mesh-point-device.cc | 1 - src/mesh/model/mesh-point-device.h | 1 - src/mesh/model/mesh-wifi-beacon.cc | 1 - src/mesh/model/mesh-wifi-beacon.h | 1 - src/mesh/model/mesh-wifi-interface-mac-plugin.h | 1 - src/mesh/model/mesh-wifi-interface-mac.cc | 1 - src/mesh/model/mesh-wifi-interface-mac.h | 1 - src/mesh/test/dot11s/dot11s-test-suite.cc | 1 - src/mesh/test/dot11s/hwmp-proactive-regression.cc | 1 - src/mesh/test/dot11s/hwmp-proactive-regression.h | 1 - src/mesh/test/dot11s/hwmp-reactive-regression.cc | 1 - src/mesh/test/dot11s/hwmp-reactive-regression.h | 1 - src/mesh/test/dot11s/hwmp-simplest-regression.cc | 1 - src/mesh/test/dot11s/hwmp-simplest-regression.h | 1 - src/mesh/test/dot11s/hwmp-target-flags-regression.cc | 1 - src/mesh/test/dot11s/hwmp-target-flags-regression.h | 1 - src/mesh/test/dot11s/pmp-regression.cc | 1 - src/mesh/test/dot11s/pmp-regression.h | 1 - src/mesh/test/dot11s/regression.cc | 1 - src/mesh/test/flame/flame-regression.cc | 1 - src/mesh/test/flame/flame-regression.h | 1 - src/mesh/test/flame/flame-test-suite.cc | 1 - src/mesh/test/flame/regression.cc | 1 - src/mesh/test/mesh-information-element-vector-test-suite.cc | 1 - src/mobility/examples/bonnmotion-ns2-example.cc | 1 - src/mobility/examples/main-grid-topology.cc | 1 - src/mobility/examples/main-random-topology.cc | 1 - src/mobility/examples/main-random-walk.cc | 1 - src/mobility/examples/mobility-trace-example.cc | 1 - src/mobility/examples/ns2-mobility-trace.cc | 1 - src/mobility/examples/reference-point-group-mobility-example.cc | 1 - src/mobility/helper/group-mobility-helper.cc | 1 - src/mobility/helper/group-mobility-helper.h | 1 - src/mobility/helper/mobility-helper.cc | 1 - src/mobility/helper/mobility-helper.h | 1 - src/mobility/helper/ns2-mobility-helper.cc | 1 - src/mobility/helper/ns2-mobility-helper.h | 1 - src/mobility/model/box.cc | 1 - src/mobility/model/box.h | 1 - src/mobility/model/constant-acceleration-mobility-model.cc | 1 - src/mobility/model/constant-acceleration-mobility-model.h | 1 - src/mobility/model/constant-position-mobility-model.cc | 1 - src/mobility/model/constant-position-mobility-model.h | 1 - src/mobility/model/constant-velocity-helper.cc | 1 - src/mobility/model/constant-velocity-helper.h | 1 - src/mobility/model/constant-velocity-mobility-model.cc | 1 - src/mobility/model/constant-velocity-mobility-model.h | 1 - src/mobility/model/gauss-markov-mobility-model.cc | 1 - src/mobility/model/gauss-markov-mobility-model.h | 1 - src/mobility/model/geographic-positions.cc | 1 - src/mobility/model/geographic-positions.h | 1 - src/mobility/model/hierarchical-mobility-model.cc | 1 - src/mobility/model/hierarchical-mobility-model.h | 1 - src/mobility/model/mobility-model.cc | 1 - src/mobility/model/mobility-model.h | 1 - src/mobility/model/mobility.h | 1 - src/mobility/model/position-allocator.cc | 1 - src/mobility/model/position-allocator.h | 1 - src/mobility/model/random-direction-2d-mobility-model.cc | 1 - src/mobility/model/random-direction-2d-mobility-model.h | 1 - src/mobility/model/random-walk-2d-mobility-model.cc | 1 - src/mobility/model/random-walk-2d-mobility-model.h | 1 - src/mobility/model/random-waypoint-mobility-model.cc | 1 - src/mobility/model/random-waypoint-mobility-model.h | 1 - src/mobility/model/rectangle.cc | 1 - src/mobility/model/rectangle.h | 1 - .../model/steady-state-random-waypoint-mobility-model.cc | 1 - .../model/steady-state-random-waypoint-mobility-model.h | 1 - src/mobility/model/waypoint-mobility-model.cc | 1 - src/mobility/model/waypoint-mobility-model.h | 1 - src/mobility/model/waypoint.cc | 1 - src/mobility/model/waypoint.h | 1 - src/mobility/test/box-line-intersection-test.cc | 1 - src/mobility/test/box-line-intersection-test.h | 1 - src/mobility/test/geo-to-cartesian-test.cc | 1 - src/mobility/test/mobility-test-suite.cc | 1 - src/mobility/test/mobility-trace-test-suite.cc | 1 - src/mobility/test/ns2-mobility-helper-test-suite.cc | 1 - src/mobility/test/rand-cart-around-geo-test.cc | 1 - .../test/steady-state-random-waypoint-mobility-model-test.cc | 1 - src/mobility/test/waypoint-mobility-model-test.cc | 1 - src/mpi/examples/mpi-test-fixtures.cc | 1 - src/mpi/examples/mpi-test-fixtures.h | 1 - src/mpi/examples/nms-p2p-nix-distributed.cc | 1 - src/mpi/examples/simple-distributed-empty-node.cc | 1 - src/mpi/examples/simple-distributed-mpi-comm.cc | 1 - src/mpi/examples/simple-distributed.cc | 1 - src/mpi/examples/third-distributed.cc | 1 - src/mpi/model/distributed-simulator-impl.cc | 1 - src/mpi/model/distributed-simulator-impl.h | 1 - src/mpi/model/granted-time-window-mpi-interface.cc | 1 - src/mpi/model/granted-time-window-mpi-interface.h | 1 - src/mpi/model/mpi-interface.cc | 1 - src/mpi/model/mpi-interface.h | 1 - src/mpi/model/mpi-receiver.cc | 1 - src/mpi/model/mpi-receiver.h | 1 - src/mpi/model/null-message-mpi-interface.cc | 1 - src/mpi/model/null-message-mpi-interface.h | 1 - src/mpi/model/null-message-simulator-impl.cc | 1 - src/mpi/model/null-message-simulator-impl.h | 1 - src/mpi/model/parallel-communication-interface.h | 1 - src/mpi/model/remote-channel-bundle-manager.cc | 1 - src/mpi/model/remote-channel-bundle-manager.h | 1 - src/mpi/model/remote-channel-bundle.cc | 1 - src/mpi/model/remote-channel-bundle.h | 1 - src/mpi/test/mpi-test-suite.cc | 1 - src/netanim/examples/colors-link-description.cc | 1 - src/netanim/examples/dumbbell-animation.cc | 1 - src/netanim/examples/grid-animation.cc | 1 - src/netanim/examples/resources-counters.cc | 1 - src/netanim/examples/star-animation.cc | 1 - src/netanim/examples/uan-animation.cc | 1 - src/netanim/examples/uan-animation.h | 1 - src/netanim/examples/wireless-animation.cc | 1 - src/netanim/model/animation-interface.cc | 1 - src/netanim/model/animation-interface.h | 1 - src/netanim/test/netanim-test.cc | 1 - src/network/doc/network.h | 1 - src/network/examples/bit-serializer.cc | 1 - src/network/examples/lollipop-comparisions.cc | 1 - src/network/examples/main-packet-header.cc | 1 - src/network/examples/main-packet-tag.cc | 1 - src/network/examples/packet-socket-apps.cc | 1 - src/network/helper/application-container.cc | 1 - src/network/helper/application-container.h | 1 - src/network/helper/delay-jitter-estimation.cc | 1 - src/network/helper/delay-jitter-estimation.h | 1 - src/network/helper/net-device-container.cc | 1 - src/network/helper/net-device-container.h | 1 - src/network/helper/node-container.cc | 1 - src/network/helper/node-container.h | 1 - src/network/helper/packet-socket-helper.cc | 1 - src/network/helper/packet-socket-helper.h | 1 - src/network/helper/simple-net-device-helper.cc | 1 - src/network/helper/simple-net-device-helper.h | 1 - src/network/helper/trace-helper.cc | 1 - src/network/helper/trace-helper.h | 1 - src/network/model/address.cc | 1 - src/network/model/address.h | 1 - src/network/model/application.cc | 1 - src/network/model/application.h | 1 - src/network/model/buffer.cc | 1 - src/network/model/buffer.h | 1 - src/network/model/byte-tag-list.cc | 1 - src/network/model/byte-tag-list.h | 1 - src/network/model/channel-list.cc | 1 - src/network/model/channel-list.h | 1 - src/network/model/channel.cc | 1 - src/network/model/channel.h | 1 - src/network/model/chunk.cc | 1 - src/network/model/chunk.h | 1 - src/network/model/header.cc | 1 - src/network/model/header.h | 1 - src/network/model/net-device.cc | 1 - src/network/model/net-device.h | 1 - src/network/model/nix-vector.cc | 1 - src/network/model/nix-vector.h | 1 - src/network/model/node-list.cc | 1 - src/network/model/node-list.h | 1 - src/network/model/node.cc | 1 - src/network/model/node.h | 1 - src/network/model/packet-metadata.cc | 1 - src/network/model/packet-metadata.h | 1 - src/network/model/packet-tag-list.cc | 1 - src/network/model/packet-tag-list.h | 1 - src/network/model/packet.cc | 1 - src/network/model/packet.h | 1 - src/network/model/socket-factory.cc | 1 - src/network/model/socket-factory.h | 1 - src/network/model/socket.cc | 1 - src/network/model/socket.h | 1 - src/network/model/tag-buffer.cc | 1 - src/network/model/tag-buffer.h | 1 - src/network/model/tag.cc | 1 - src/network/model/tag.h | 1 - src/network/model/trailer.cc | 1 - src/network/model/trailer.h | 1 - src/network/test/bit-serializer-test.cc | 1 - src/network/test/buffer-test.cc | 1 - src/network/test/drop-tail-queue-test-suite.cc | 1 - src/network/test/error-model-test-suite.cc | 1 - src/network/test/header-serialization-test.h | 1 - src/network/test/ipv6-address-test-suite.cc | 1 - src/network/test/lollipop-counter-test.cc | 1 - src/network/test/packet-metadata-test.cc | 1 - src/network/test/packet-socket-apps-test-suite.cc | 1 - src/network/test/packet-test-suite.cc | 1 - src/network/test/packetbb-test-suite.cc | 1 - src/network/test/pcap-file-test-suite.cc | 1 - src/network/test/sequence-number-test-suite.cc | 1 - src/network/test/test-data-rate.cc | 1 - src/network/utils/address-utils.cc | 1 - src/network/utils/address-utils.h | 1 - src/network/utils/bit-deserializer.cc | 1 - src/network/utils/bit-deserializer.h | 1 - src/network/utils/bit-serializer.cc | 1 - src/network/utils/bit-serializer.h | 1 - src/network/utils/crc32.cc | 1 - src/network/utils/crc32.h | 1 - src/network/utils/data-rate.cc | 1 - src/network/utils/data-rate.h | 1 - src/network/utils/drop-tail-queue.cc | 1 - src/network/utils/drop-tail-queue.h | 1 - src/network/utils/dynamic-queue-limits.cc | 1 - src/network/utils/dynamic-queue-limits.h | 1 - src/network/utils/error-channel.cc | 1 - src/network/utils/error-channel.h | 1 - src/network/utils/error-model.cc | 1 - src/network/utils/error-model.h | 1 - src/network/utils/ethernet-header.cc | 1 - src/network/utils/ethernet-header.h | 1 - src/network/utils/ethernet-trailer.cc | 1 - src/network/utils/ethernet-trailer.h | 1 - src/network/utils/flow-id-tag.cc | 1 - src/network/utils/flow-id-tag.h | 1 - src/network/utils/generic-phy.h | 1 - src/network/utils/inet-socket-address.cc | 1 - src/network/utils/inet-socket-address.h | 1 - src/network/utils/inet6-socket-address.cc | 1 - src/network/utils/inet6-socket-address.h | 1 - src/network/utils/ipv4-address.cc | 1 - src/network/utils/ipv4-address.h | 1 - src/network/utils/ipv6-address.cc | 1 - src/network/utils/ipv6-address.h | 1 - src/network/utils/llc-snap-header.cc | 1 - src/network/utils/llc-snap-header.h | 1 - src/network/utils/lollipop-counter.h | 1 - src/network/utils/mac16-address.cc | 1 - src/network/utils/mac16-address.h | 1 - src/network/utils/mac48-address.cc | 1 - src/network/utils/mac48-address.h | 1 - src/network/utils/mac64-address.cc | 1 - src/network/utils/mac64-address.h | 1 - src/network/utils/mac8-address.cc | 1 - src/network/utils/mac8-address.h | 1 - src/network/utils/net-device-queue-interface.cc | 1 - src/network/utils/net-device-queue-interface.h | 1 - src/network/utils/output-stream-wrapper.cc | 1 - src/network/utils/output-stream-wrapper.h | 1 - src/network/utils/packet-burst.cc | 1 - src/network/utils/packet-burst.h | 1 - src/network/utils/packet-data-calculators.cc | 1 - src/network/utils/packet-data-calculators.h | 1 - src/network/utils/packet-probe.cc | 1 - src/network/utils/packet-probe.h | 1 - src/network/utils/packet-socket-address.cc | 1 - src/network/utils/packet-socket-address.h | 1 - src/network/utils/packet-socket-client.cc | 1 - src/network/utils/packet-socket-client.h | 1 - src/network/utils/packet-socket-factory.cc | 1 - src/network/utils/packet-socket-factory.h | 1 - src/network/utils/packet-socket-server.cc | 1 - src/network/utils/packet-socket-server.h | 1 - src/network/utils/packet-socket.cc | 1 - src/network/utils/packet-socket.h | 1 - src/network/utils/packetbb.cc | 1 - src/network/utils/packetbb.h | 1 - src/network/utils/pcap-file-wrapper.cc | 1 - src/network/utils/pcap-file-wrapper.h | 1 - src/network/utils/pcap-file.cc | 1 - src/network/utils/pcap-file.h | 1 - src/network/utils/pcap-test.h | 1 - src/network/utils/queue-fwd.h | 1 - src/network/utils/queue-item.cc | 1 - src/network/utils/queue-item.h | 1 - src/network/utils/queue-limits.cc | 1 - src/network/utils/queue-limits.h | 1 - src/network/utils/queue-size.cc | 1 - src/network/utils/queue-size.h | 1 - src/network/utils/queue.cc | 1 - src/network/utils/queue.h | 1 - src/network/utils/radiotap-header.cc | 1 - src/network/utils/radiotap-header.h | 1 - src/network/utils/sequence-number.h | 1 - src/network/utils/simple-channel.cc | 1 - src/network/utils/simple-channel.h | 1 - src/network/utils/simple-net-device.cc | 1 - src/network/utils/simple-net-device.h | 1 - src/network/utils/sll-header.cc | 1 - src/network/utils/sll-header.h | 1 - src/nix-vector-routing/examples/nix-double-wifi.cc | 1 - src/nix-vector-routing/examples/nix-simple-multi-address.cc | 1 - src/nix-vector-routing/examples/nix-simple.cc | 1 - src/nix-vector-routing/examples/nms-p2p-nix.cc | 1 - src/nix-vector-routing/helper/ipv4-nix-vector-helper.h | 1 - src/nix-vector-routing/helper/nix-vector-helper.cc | 1 - src/nix-vector-routing/helper/nix-vector-helper.h | 1 - src/nix-vector-routing/model/ipv4-nix-vector-routing.h | 1 - src/nix-vector-routing/model/nix-vector-routing.cc | 1 - src/nix-vector-routing/model/nix-vector-routing.h | 1 - src/nix-vector-routing/test/nix-test.cc | 1 - src/olsr/examples/olsr-hna.cc | 1 - src/olsr/examples/simple-point-to-point-olsr.cc | 1 - src/olsr/helper/olsr-helper.cc | 1 - src/olsr/helper/olsr-helper.h | 1 - src/olsr/model/olsr-header.cc | 1 - src/olsr/model/olsr-header.h | 1 - src/olsr/model/olsr-repositories.h | 1 - src/olsr/model/olsr-routing-protocol.cc | 1 - src/olsr/model/olsr-routing-protocol.h | 1 - src/olsr/model/olsr-state.cc | 1 - src/olsr/model/olsr-state.h | 1 - src/olsr/test/bug780-test.cc | 1 - src/olsr/test/bug780-test.h | 1 - src/olsr/test/hello-regression-test.cc | 1 - src/olsr/test/hello-regression-test.h | 1 - src/olsr/test/olsr-header-test-suite.cc | 1 - src/olsr/test/olsr-routing-protocol-test-suite.cc | 1 - src/olsr/test/regression-test-suite.cc | 1 - src/olsr/test/tc-regression-test.cc | 1 - src/olsr/test/tc-regression-test.h | 1 - src/openflow/examples/openflow-switch.cc | 1 - src/openflow/helper/openflow-switch-helper.cc | 1 - src/openflow/helper/openflow-switch-helper.h | 1 - src/openflow/model/openflow-interface.cc | 1 - src/openflow/model/openflow-interface.h | 1 - src/openflow/model/openflow-switch-net-device.cc | 1 - src/openflow/model/openflow-switch-net-device.h | 1 - src/openflow/test/openflow-switch-test-suite.cc | 1 - src/point-to-point-layout/model/point-to-point-dumbbell.cc | 1 - src/point-to-point-layout/model/point-to-point-dumbbell.h | 1 - src/point-to-point-layout/model/point-to-point-grid.cc | 1 - src/point-to-point-layout/model/point-to-point-grid.h | 1 - src/point-to-point-layout/model/point-to-point-star.cc | 1 - src/point-to-point-layout/model/point-to-point-star.h | 1 - src/point-to-point/examples/main-attribute-value.cc | 1 - src/point-to-point/helper/point-to-point-helper.cc | 1 - src/point-to-point/helper/point-to-point-helper.h | 1 - src/point-to-point/model/point-to-point-channel.cc | 1 - src/point-to-point/model/point-to-point-channel.h | 1 - src/point-to-point/model/point-to-point-net-device.cc | 1 - src/point-to-point/model/point-to-point-net-device.h | 1 - src/point-to-point/model/point-to-point-remote-channel.cc | 1 - src/point-to-point/model/point-to-point-remote-channel.h | 1 - src/point-to-point/model/ppp-header.cc | 1 - src/point-to-point/model/ppp-header.h | 1 - src/point-to-point/test/point-to-point-test.cc | 1 - src/propagation/examples/jakes-propagation-model-example.cc | 1 - src/propagation/examples/main-propagation-loss.cc | 1 - src/propagation/model/channel-condition-model.cc | 1 - src/propagation/model/channel-condition-model.h | 1 - src/propagation/model/cost231-propagation-loss-model.cc | 1 - src/propagation/model/cost231-propagation-loss-model.h | 1 - src/propagation/model/itu-r-1411-los-propagation-loss-model.cc | 1 - src/propagation/model/itu-r-1411-los-propagation-loss-model.h | 1 - .../itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc | 1 - .../model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h | 1 - src/propagation/model/jakes-process.cc | 1 - src/propagation/model/jakes-process.h | 1 - src/propagation/model/jakes-propagation-loss-model.cc | 1 - src/propagation/model/jakes-propagation-loss-model.h | 1 - src/propagation/model/kun-2600-mhz-propagation-loss-model.cc | 1 - src/propagation/model/kun-2600-mhz-propagation-loss-model.h | 1 - src/propagation/model/okumura-hata-propagation-loss-model.cc | 1 - src/propagation/model/okumura-hata-propagation-loss-model.h | 1 - .../model/probabilistic-v2v-channel-condition-model.cc | 1 - .../model/probabilistic-v2v-channel-condition-model.h | 1 - src/propagation/model/propagation-cache.h | 1 - src/propagation/model/propagation-delay-model.cc | 1 - src/propagation/model/propagation-delay-model.h | 1 - src/propagation/model/propagation-environment.h | 1 - src/propagation/model/propagation-loss-model.cc | 1 - src/propagation/model/propagation-loss-model.h | 1 - src/propagation/model/three-gpp-propagation-loss-model.cc | 1 - src/propagation/model/three-gpp-propagation-loss-model.h | 1 - src/propagation/model/three-gpp-v2v-propagation-loss-model.cc | 1 - src/propagation/model/three-gpp-v2v-propagation-loss-model.h | 1 - src/propagation/test/channel-condition-model-test-suite.cc | 1 - src/propagation/test/itu-r-1411-los-test-suite.cc | 1 - src/propagation/test/itu-r-1411-nlos-over-rooftop-test-suite.cc | 1 - src/propagation/test/kun-2600-mhz-test-suite.cc | 1 - src/propagation/test/okumura-hata-test-suite.cc | 1 - .../test/probabilistic-v2v-channel-condition-model-test.cc | 1 - src/propagation/test/propagation-loss-model-test-suite.cc | 1 - .../test/three-gpp-propagation-loss-model-test-suite.cc | 1 - src/sixlowpan/examples/example-ping-lr-wpan-beacon.cc | 1 - src/sixlowpan/examples/example-ping-lr-wpan-mesh-under.cc | 1 - src/sixlowpan/examples/example-ping-lr-wpan.cc | 1 - src/sixlowpan/examples/example-sixlowpan.cc | 1 - src/sixlowpan/helper/sixlowpan-helper.cc | 1 - src/sixlowpan/helper/sixlowpan-helper.h | 1 - src/sixlowpan/model/sixlowpan-header.cc | 1 - src/sixlowpan/model/sixlowpan-header.h | 1 - src/sixlowpan/model/sixlowpan-net-device.cc | 1 - src/sixlowpan/model/sixlowpan-net-device.h | 1 - src/sixlowpan/test/mock-net-device.cc | 1 - src/sixlowpan/test/mock-net-device.h | 1 - src/sixlowpan/test/sixlowpan-fragmentation-test.cc | 1 - src/sixlowpan/test/sixlowpan-hc1-test.cc | 1 - src/sixlowpan/test/sixlowpan-iphc-stateful-test.cc | 1 - src/sixlowpan/test/sixlowpan-iphc-test.cc | 1 - .../adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc | 1 - .../examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc | 1 - src/spectrum/examples/adhoc-aloha-ideal-phy.cc | 1 - src/spectrum/examples/three-gpp-channel-example.cc | 1 - src/spectrum/examples/tv-trans-example.cc | 1 - src/spectrum/examples/tv-trans-regional-example.cc | 1 - src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc | 1 - src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.h | 1 - src/spectrum/helper/spectrum-analyzer-helper.cc | 1 - src/spectrum/helper/spectrum-analyzer-helper.h | 1 - src/spectrum/helper/spectrum-helper.cc | 1 - src/spectrum/helper/spectrum-helper.h | 1 - src/spectrum/helper/tv-spectrum-transmitter-helper.cc | 1 - src/spectrum/helper/tv-spectrum-transmitter-helper.h | 1 - src/spectrum/helper/waveform-generator-helper.cc | 1 - src/spectrum/helper/waveform-generator-helper.h | 1 - src/spectrum/model/aloha-noack-mac-header.cc | 1 - src/spectrum/model/aloha-noack-mac-header.h | 1 - src/spectrum/model/aloha-noack-net-device.cc | 1 - src/spectrum/model/aloha-noack-net-device.h | 1 - src/spectrum/model/constant-spectrum-propagation-loss.cc | 1 - src/spectrum/model/constant-spectrum-propagation-loss.h | 1 - src/spectrum/model/friis-spectrum-propagation-loss.cc | 1 - src/spectrum/model/friis-spectrum-propagation-loss.h | 1 - src/spectrum/model/half-duplex-ideal-phy-signal-parameters.cc | 1 - src/spectrum/model/half-duplex-ideal-phy-signal-parameters.h | 1 - src/spectrum/model/half-duplex-ideal-phy.cc | 1 - src/spectrum/model/half-duplex-ideal-phy.h | 1 - src/spectrum/model/matrix-based-channel-model.cc | 1 - src/spectrum/model/matrix-based-channel-model.h | 1 - src/spectrum/model/microwave-oven-spectrum-value-helper.cc | 1 - src/spectrum/model/microwave-oven-spectrum-value-helper.h | 1 - src/spectrum/model/multi-model-spectrum-channel.cc | 1 - src/spectrum/model/multi-model-spectrum-channel.h | 1 - src/spectrum/model/non-communicating-net-device.cc | 1 - src/spectrum/model/non-communicating-net-device.h | 1 - .../model/phased-array-spectrum-propagation-loss-model.cc | 1 - .../model/phased-array-spectrum-propagation-loss-model.h | 1 - src/spectrum/model/single-model-spectrum-channel.cc | 1 - src/spectrum/model/single-model-spectrum-channel.h | 1 - src/spectrum/model/spectrum-analyzer.cc | 1 - src/spectrum/model/spectrum-analyzer.h | 1 - src/spectrum/model/spectrum-channel.cc | 1 - src/spectrum/model/spectrum-channel.h | 1 - src/spectrum/model/spectrum-converter.cc | 1 - src/spectrum/model/spectrum-converter.h | 1 - src/spectrum/model/spectrum-error-model.cc | 1 - src/spectrum/model/spectrum-error-model.h | 1 - src/spectrum/model/spectrum-interference.cc | 1 - src/spectrum/model/spectrum-interference.h | 1 - src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc | 1 - src/spectrum/model/spectrum-model-300kHz-300GHz-log.h | 1 - src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc | 1 - src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h | 1 - src/spectrum/model/spectrum-model.cc | 1 - src/spectrum/model/spectrum-model.h | 1 - src/spectrum/model/spectrum-phy.cc | 1 - src/spectrum/model/spectrum-phy.h | 1 - src/spectrum/model/spectrum-propagation-loss-model.cc | 1 - src/spectrum/model/spectrum-propagation-loss-model.h | 1 - src/spectrum/model/spectrum-signal-parameters.cc | 1 - src/spectrum/model/spectrum-signal-parameters.h | 1 - src/spectrum/model/spectrum-value.cc | 1 - src/spectrum/model/spectrum-value.h | 1 - src/spectrum/model/three-gpp-channel-model.cc | 1 - src/spectrum/model/three-gpp-channel-model.h | 1 - src/spectrum/model/three-gpp-spectrum-propagation-loss-model.cc | 1 - src/spectrum/model/three-gpp-spectrum-propagation-loss-model.h | 1 - src/spectrum/model/trace-fading-loss-model.cc | 1 - src/spectrum/model/trace-fading-loss-model.h | 1 - src/spectrum/model/tv-spectrum-transmitter.cc | 1 - src/spectrum/model/tv-spectrum-transmitter.h | 1 - src/spectrum/model/waveform-generator.cc | 1 - src/spectrum/model/waveform-generator.h | 1 - src/spectrum/model/wifi-spectrum-value-helper.cc | 1 - src/spectrum/model/wifi-spectrum-value-helper.h | 1 - src/spectrum/test/spectrum-ideal-phy-test.cc | 1 - src/spectrum/test/spectrum-interference-test.cc | 1 - src/spectrum/test/spectrum-test.h | 1 - src/spectrum/test/spectrum-value-test.cc | 1 - src/spectrum/test/spectrum-waveform-generator-test.cc | 1 - src/spectrum/test/three-gpp-channel-test-suite.cc | 1 - src/spectrum/test/tv-helper-distribution-test.cc | 1 - src/spectrum/test/tv-spectrum-transmitter-test.cc | 1 - src/stats/examples/double-probe-example.cc | 1 - src/stats/examples/file-aggregator-example.cc | 1 - src/stats/examples/file-helper-example.cc | 1 - src/stats/examples/gnuplot-aggregator-example.cc | 1 - src/stats/examples/gnuplot-example.cc | 1 - src/stats/examples/gnuplot-helper-example.cc | 1 - src/stats/examples/time-probe-example.cc | 1 - src/stats/helper/file-helper.cc | 1 - src/stats/helper/file-helper.h | 1 - src/stats/helper/gnuplot-helper.cc | 1 - src/stats/helper/gnuplot-helper.h | 1 - src/stats/model/average.h | 1 - src/stats/model/basic-data-calculators.h | 1 - src/stats/model/boolean-probe.cc | 1 - src/stats/model/boolean-probe.h | 1 - src/stats/model/data-calculator.cc | 1 - src/stats/model/data-calculator.h | 1 - src/stats/model/data-collection-object.cc | 1 - src/stats/model/data-collection-object.h | 1 - src/stats/model/data-collector.cc | 1 - src/stats/model/data-collector.h | 1 - src/stats/model/data-output-interface.cc | 1 - src/stats/model/data-output-interface.h | 1 - src/stats/model/double-probe.cc | 1 - src/stats/model/double-probe.h | 1 - src/stats/model/file-aggregator.cc | 1 - src/stats/model/file-aggregator.h | 1 - src/stats/model/get-wildcard-matches.cc | 1 - src/stats/model/get-wildcard-matches.h | 1 - src/stats/model/gnuplot-aggregator.cc | 1 - src/stats/model/gnuplot-aggregator.h | 1 - src/stats/model/gnuplot.cc | 1 - src/stats/model/gnuplot.h | 1 - src/stats/model/histogram.cc | 1 - src/stats/model/histogram.h | 1 - src/stats/model/omnet-data-output.cc | 1 - src/stats/model/omnet-data-output.h | 1 - src/stats/model/probe.cc | 1 - src/stats/model/probe.h | 1 - src/stats/model/sqlite-data-output.cc | 1 - src/stats/model/sqlite-data-output.h | 1 - src/stats/model/sqlite-output.cc | 1 - src/stats/model/sqlite-output.h | 1 - src/stats/model/stats.h | 1 - src/stats/model/time-data-calculators.cc | 1 - src/stats/model/time-data-calculators.h | 1 - src/stats/model/time-probe.cc | 1 - src/stats/model/time-probe.h | 1 - src/stats/model/time-series-adaptor.cc | 1 - src/stats/model/time-series-adaptor.h | 1 - src/stats/model/uinteger-16-probe.cc | 1 - src/stats/model/uinteger-16-probe.h | 1 - src/stats/model/uinteger-32-probe.cc | 1 - src/stats/model/uinteger-32-probe.h | 1 - src/stats/model/uinteger-8-probe.cc | 1 - src/stats/model/uinteger-8-probe.h | 1 - src/stats/test/average-test-suite.cc | 1 - src/stats/test/basic-data-calculators-test-suite.cc | 1 - src/stats/test/double-probe-test-suite.cc | 1 - src/stats/test/histogram-test-suite.cc | 1 - src/tap-bridge/examples/tap-csma-virtual-machine.cc | 1 - src/tap-bridge/examples/tap-csma.cc | 1 - src/tap-bridge/examples/tap-wifi-dumbbell.cc | 1 - src/tap-bridge/examples/tap-wifi-virtual-machine.cc | 1 - src/tap-bridge/helper/tap-bridge-helper.cc | 1 - src/tap-bridge/helper/tap-bridge-helper.h | 1 - src/tap-bridge/model/tap-bridge.cc | 1 - src/tap-bridge/model/tap-bridge.h | 1 - src/tap-bridge/model/tap-creator.cc | 1 - src/tap-bridge/model/tap-encode-decode.cc | 1 - src/tap-bridge/model/tap-encode-decode.h | 1 - src/test/csma-system-test-suite.cc | 1 - src/test/doc/tests.h | 1 - src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc | 1 - src/test/ns3tc/fq-codel-queue-disc-test-suite.cc | 1 - src/test/ns3tc/fq-pie-queue-disc-test-suite.cc | 1 - src/test/ns3tc/pfifo-fast-queue-disc-test-suite.cc | 1 - src/test/ns3tcp/ns3tcp-loss-test-suite.cc | 1 - src/test/ns3tcp/ns3tcp-no-delay-test-suite.cc | 1 - src/test/ns3tcp/ns3tcp-socket-test-suite.cc | 1 - src/test/ns3tcp/ns3tcp-socket-writer.cc | 1 - src/test/ns3tcp/ns3tcp-socket-writer.h | 1 - src/test/ns3tcp/ns3tcp-state-test-suite.cc | 1 - src/test/ns3wifi/wifi-ac-mapping-test-suite.cc | 1 - src/test/ns3wifi/wifi-issue-211-test-suite.cc | 1 - src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc | 1 - src/test/traced/traced-callback-typedef-test-suite.cc | 1 - src/test/traced/traced-value-callback-typedef-test-suite.cc | 1 - src/topology-read/examples/topology-example-sim.cc | 1 - src/topology-read/helper/topology-reader-helper.cc | 1 - src/topology-read/helper/topology-reader-helper.h | 1 - src/topology-read/model/inet-topology-reader.cc | 1 - src/topology-read/model/inet-topology-reader.h | 1 - src/topology-read/model/orbis-topology-reader.cc | 1 - src/topology-read/model/orbis-topology-reader.h | 1 - src/topology-read/model/rocketfuel-topology-reader.cc | 1 - src/topology-read/model/rocketfuel-topology-reader.h | 1 - src/topology-read/model/topology-reader.cc | 1 - src/topology-read/model/topology-reader.h | 1 - src/topology-read/test/rocketfuel-topology-reader-test-suite.cc | 1 - src/traffic-control/examples/adaptive-red-tests.cc | 1 - src/traffic-control/examples/codel-vs-pfifo-asymmetric.cc | 1 - src/traffic-control/examples/codel-vs-pfifo-basic-test.cc | 1 - src/traffic-control/examples/fqcodel-l4s-example.cc | 1 - src/traffic-control/examples/pfifo-vs-red.cc | 1 - src/traffic-control/examples/pie-example.cc | 1 - src/traffic-control/examples/red-tests.cc | 1 - src/traffic-control/examples/red-vs-ared.cc | 1 - src/traffic-control/helper/queue-disc-container.cc | 1 - src/traffic-control/helper/queue-disc-container.h | 1 - src/traffic-control/helper/traffic-control-helper.cc | 1 - src/traffic-control/helper/traffic-control-helper.h | 1 - src/traffic-control/model/cobalt-queue-disc.cc | 1 - src/traffic-control/model/cobalt-queue-disc.h | 1 - src/traffic-control/model/codel-queue-disc.cc | 1 - src/traffic-control/model/codel-queue-disc.h | 1 - src/traffic-control/model/fifo-queue-disc.cc | 1 - src/traffic-control/model/fifo-queue-disc.h | 1 - src/traffic-control/model/fq-cobalt-queue-disc.cc | 1 - src/traffic-control/model/fq-cobalt-queue-disc.h | 1 - src/traffic-control/model/fq-codel-queue-disc.cc | 1 - src/traffic-control/model/fq-codel-queue-disc.h | 1 - src/traffic-control/model/fq-pie-queue-disc.cc | 1 - src/traffic-control/model/fq-pie-queue-disc.h | 1 - src/traffic-control/model/mq-queue-disc.cc | 1 - src/traffic-control/model/mq-queue-disc.h | 1 - src/traffic-control/model/packet-filter.cc | 1 - src/traffic-control/model/packet-filter.h | 1 - src/traffic-control/model/pfifo-fast-queue-disc.cc | 1 - src/traffic-control/model/pfifo-fast-queue-disc.h | 1 - src/traffic-control/model/pie-queue-disc.cc | 1 - src/traffic-control/model/pie-queue-disc.h | 1 - src/traffic-control/model/prio-queue-disc.cc | 1 - src/traffic-control/model/prio-queue-disc.h | 1 - src/traffic-control/model/queue-disc.cc | 1 - src/traffic-control/model/queue-disc.h | 1 - src/traffic-control/model/red-queue-disc.cc | 1 - src/traffic-control/model/red-queue-disc.h | 1 - src/traffic-control/model/tbf-queue-disc.cc | 1 - src/traffic-control/model/tbf-queue-disc.h | 1 - src/traffic-control/model/traffic-control-layer.cc | 1 - src/traffic-control/model/traffic-control-layer.h | 1 - src/traffic-control/test/adaptive-red-queue-disc-test-suite.cc | 1 - src/traffic-control/test/cobalt-queue-disc-test-suite.cc | 1 - src/traffic-control/test/codel-queue-disc-test-suite.cc | 1 - src/traffic-control/test/fifo-queue-disc-test-suite.cc | 1 - src/traffic-control/test/pie-queue-disc-test-suite.cc | 1 - src/traffic-control/test/prio-queue-disc-test-suite.cc | 1 - src/traffic-control/test/queue-disc-traces-test-suite.cc | 1 - src/traffic-control/test/red-queue-disc-test-suite.cc | 1 - src/traffic-control/test/tbf-queue-disc-test-suite.cc | 1 - src/traffic-control/test/tc-flow-control-test-suite.cc | 1 - src/uan/examples/uan-6lowpan-example.cc | 1 - src/uan/examples/uan-cw-example.cc | 1 - src/uan/examples/uan-cw-example.h | 1 - src/uan/examples/uan-ipv4-example.cc | 1 - src/uan/examples/uan-ipv6-example.cc | 1 - src/uan/examples/uan-raw-example.cc | 1 - src/uan/examples/uan-rc-example.cc | 1 - src/uan/examples/uan-rc-example.h | 1 - src/uan/helper/acoustic-modem-energy-model-helper.cc | 1 - src/uan/helper/acoustic-modem-energy-model-helper.h | 1 - src/uan/helper/uan-helper.cc | 1 - src/uan/helper/uan-helper.h | 1 - src/uan/model/acoustic-modem-energy-model.cc | 1 - src/uan/model/acoustic-modem-energy-model.h | 1 - src/uan/model/uan-channel.cc | 1 - src/uan/model/uan-channel.h | 1 - src/uan/model/uan-header-common.cc | 1 - src/uan/model/uan-header-common.h | 1 - src/uan/model/uan-header-rc.cc | 1 - src/uan/model/uan-header-rc.h | 1 - src/uan/model/uan-mac-aloha.cc | 1 - src/uan/model/uan-mac-aloha.h | 1 - src/uan/model/uan-mac-cw.cc | 1 - src/uan/model/uan-mac-cw.h | 1 - src/uan/model/uan-mac-rc-gw.cc | 1 - src/uan/model/uan-mac-rc-gw.h | 1 - src/uan/model/uan-mac-rc.cc | 1 - src/uan/model/uan-mac-rc.h | 1 - src/uan/model/uan-mac.cc | 1 - src/uan/model/uan-mac.h | 1 - src/uan/model/uan-net-device.cc | 1 - src/uan/model/uan-net-device.h | 1 - src/uan/model/uan-noise-model-default.cc | 1 - src/uan/model/uan-noise-model-default.h | 1 - src/uan/model/uan-noise-model.cc | 1 - src/uan/model/uan-noise-model.h | 1 - src/uan/model/uan-phy-dual.cc | 1 - src/uan/model/uan-phy-dual.h | 1 - src/uan/model/uan-phy-gen.cc | 1 - src/uan/model/uan-phy-gen.h | 1 - src/uan/model/uan-phy.cc | 1 - src/uan/model/uan-phy.h | 1 - src/uan/model/uan-prop-model-ideal.cc | 1 - src/uan/model/uan-prop-model-ideal.h | 1 - src/uan/model/uan-prop-model-thorp.cc | 1 - src/uan/model/uan-prop-model-thorp.h | 1 - src/uan/model/uan-prop-model.cc | 1 - src/uan/model/uan-prop-model.h | 1 - src/uan/model/uan-transducer-hd.cc | 1 - src/uan/model/uan-transducer-hd.h | 1 - src/uan/model/uan-transducer.cc | 1 - src/uan/model/uan-transducer.h | 1 - src/uan/model/uan-tx-mode.cc | 1 - src/uan/model/uan-tx-mode.h | 1 - src/uan/test/uan-energy-model-test.cc | 1 - src/uan/test/uan-test.cc | 1 - src/virtual-net-device/examples/virtual-net-device.cc | 1 - src/virtual-net-device/model/virtual-net-device.cc | 1 - src/virtual-net-device/model/virtual-net-device.h | 1 - src/visualizer/model/pyviz.cc | 1 - src/visualizer/model/pyviz.h | 1 - src/visualizer/model/visual-simulator-impl.cc | 1 - src/visualizer/model/visual-simulator-impl.h | 1 - src/wave/examples/vanet-routing-compare.cc | 1 - src/wave/examples/wave-simple-80211p.cc | 1 - src/wave/examples/wave-simple-device.cc | 1 - src/wave/helper/wave-bsm-helper.cc | 1 - src/wave/helper/wave-bsm-helper.h | 1 - src/wave/helper/wave-bsm-stats.cc | 1 - src/wave/helper/wave-bsm-stats.h | 1 - src/wave/helper/wave-helper.cc | 1 - src/wave/helper/wave-helper.h | 1 - src/wave/helper/wave-mac-helper.cc | 1 - src/wave/helper/wave-mac-helper.h | 1 - src/wave/helper/wifi-80211p-helper.cc | 1 - src/wave/helper/wifi-80211p-helper.h | 1 - src/wave/model/bsm-application.cc | 1 - src/wave/model/bsm-application.h | 1 - src/wave/model/channel-coordinator.cc | 1 - src/wave/model/channel-coordinator.h | 1 - src/wave/model/channel-manager.cc | 1 - src/wave/model/channel-manager.h | 1 - src/wave/model/channel-scheduler.cc | 1 - src/wave/model/channel-scheduler.h | 1 - src/wave/model/default-channel-scheduler.cc | 1 - src/wave/model/default-channel-scheduler.h | 1 - src/wave/model/higher-tx-tag.cc | 1 - src/wave/model/higher-tx-tag.h | 1 - src/wave/model/ocb-wifi-mac.cc | 1 - src/wave/model/ocb-wifi-mac.h | 1 - src/wave/model/vendor-specific-action.cc | 1 - src/wave/model/vendor-specific-action.h | 1 - src/wave/model/vsa-manager.cc | 1 - src/wave/model/vsa-manager.h | 1 - src/wave/model/wave-frame-exchange-manager.cc | 1 - src/wave/model/wave-frame-exchange-manager.h | 1 - src/wave/model/wave-net-device.cc | 1 - src/wave/model/wave-net-device.h | 1 - src/wave/test/mac-extension-test-suite.cc | 1 - src/wave/test/ocb-test-suite.cc | 1 - src/wifi/examples/wifi-bianchi.cc | 1 - src/wifi/examples/wifi-manager-example.cc | 1 - src/wifi/examples/wifi-phy-configuration.cc | 1 - src/wifi/examples/wifi-phy-test.cc | 1 - src/wifi/examples/wifi-test-interference-helper.cc | 1 - src/wifi/examples/wifi-trans-example.cc | 1 - src/wifi/helper/athstats-helper.cc | 1 - src/wifi/helper/athstats-helper.h | 1 - src/wifi/helper/spectrum-wifi-helper.cc | 1 - src/wifi/helper/spectrum-wifi-helper.h | 1 - src/wifi/helper/wifi-helper.cc | 1 - src/wifi/helper/wifi-helper.h | 1 - src/wifi/helper/wifi-mac-helper.cc | 1 - src/wifi/helper/wifi-mac-helper.h | 1 - src/wifi/helper/wifi-radio-energy-model-helper.cc | 1 - src/wifi/helper/wifi-radio-energy-model-helper.h | 1 - src/wifi/helper/yans-wifi-helper.cc | 1 - src/wifi/helper/yans-wifi-helper.h | 1 - src/wifi/model/adhoc-wifi-mac.cc | 1 - src/wifi/model/adhoc-wifi-mac.h | 1 - src/wifi/model/ampdu-subframe-header.cc | 1 - src/wifi/model/ampdu-subframe-header.h | 1 - src/wifi/model/ampdu-tag.cc | 1 - src/wifi/model/ampdu-tag.h | 1 - src/wifi/model/amsdu-subframe-header.cc | 1 - src/wifi/model/amsdu-subframe-header.h | 1 - src/wifi/model/ap-wifi-mac.cc | 1 - src/wifi/model/ap-wifi-mac.h | 1 - src/wifi/model/block-ack-agreement.cc | 1 - src/wifi/model/block-ack-agreement.h | 1 - src/wifi/model/block-ack-manager.cc | 1 - src/wifi/model/block-ack-manager.h | 1 - src/wifi/model/block-ack-type.cc | 1 - src/wifi/model/block-ack-type.h | 1 - src/wifi/model/block-ack-window.cc | 1 - src/wifi/model/block-ack-window.h | 1 - src/wifi/model/capability-information.cc | 1 - src/wifi/model/capability-information.h | 1 - src/wifi/model/channel-access-manager.cc | 1 - src/wifi/model/channel-access-manager.h | 1 - src/wifi/model/ctrl-headers.cc | 1 - src/wifi/model/ctrl-headers.h | 1 - src/wifi/model/edca-parameter-set.cc | 1 - src/wifi/model/edca-parameter-set.h | 1 - src/wifi/model/eht/eht-capabilities.cc | 1 - src/wifi/model/eht/eht-capabilities.h | 1 - src/wifi/model/eht/eht-configuration.cc | 1 - src/wifi/model/eht/eht-configuration.h | 1 - src/wifi/model/eht/eht-phy.cc | 1 - src/wifi/model/eht/eht-phy.h | 1 - src/wifi/model/eht/eht-ppdu.cc | 1 - src/wifi/model/eht/eht-ppdu.h | 1 - src/wifi/model/eht/multi-link-element.cc | 1 - src/wifi/model/eht/multi-link-element.h | 1 - src/wifi/model/error-rate-model.cc | 1 - src/wifi/model/error-rate-model.h | 1 - src/wifi/model/extended-capabilities.cc | 1 - src/wifi/model/extended-capabilities.h | 1 - src/wifi/model/fcfs-wifi-queue-scheduler.cc | 1 - src/wifi/model/fcfs-wifi-queue-scheduler.h | 1 - src/wifi/model/frame-capture-model.cc | 1 - src/wifi/model/frame-capture-model.h | 1 - src/wifi/model/frame-exchange-manager.cc | 1 - src/wifi/model/frame-exchange-manager.h | 1 - src/wifi/model/he/constant-obss-pd-algorithm.cc | 1 - src/wifi/model/he/constant-obss-pd-algorithm.h | 1 - src/wifi/model/he/he-capabilities.cc | 1 - src/wifi/model/he/he-capabilities.h | 1 - src/wifi/model/he/he-configuration.cc | 1 - src/wifi/model/he/he-configuration.h | 1 - src/wifi/model/he/he-frame-exchange-manager.cc | 1 - src/wifi/model/he/he-frame-exchange-manager.h | 1 - src/wifi/model/he/he-operation.cc | 1 - src/wifi/model/he/he-operation.h | 1 - src/wifi/model/he/he-phy.cc | 1 - src/wifi/model/he/he-phy.h | 1 - src/wifi/model/he/he-ppdu.cc | 1 - src/wifi/model/he/he-ppdu.h | 1 - src/wifi/model/he/he-ru.cc | 1 - src/wifi/model/he/he-ru.h | 1 - src/wifi/model/he/mu-edca-parameter-set.cc | 1 - src/wifi/model/he/mu-edca-parameter-set.h | 1 - src/wifi/model/he/mu-snr-tag.cc | 1 - src/wifi/model/he/mu-snr-tag.h | 1 - src/wifi/model/he/multi-user-scheduler.cc | 1 - src/wifi/model/he/multi-user-scheduler.h | 1 - src/wifi/model/he/obss-pd-algorithm.cc | 1 - src/wifi/model/he/obss-pd-algorithm.h | 1 - src/wifi/model/he/rr-multi-user-scheduler.cc | 1 - src/wifi/model/he/rr-multi-user-scheduler.h | 1 - src/wifi/model/ht/ht-capabilities.cc | 1 - src/wifi/model/ht/ht-capabilities.h | 1 - src/wifi/model/ht/ht-configuration.cc | 1 - src/wifi/model/ht/ht-configuration.h | 1 - src/wifi/model/ht/ht-frame-exchange-manager.cc | 1 - src/wifi/model/ht/ht-frame-exchange-manager.h | 1 - src/wifi/model/ht/ht-operation.cc | 1 - src/wifi/model/ht/ht-operation.h | 1 - src/wifi/model/ht/ht-phy.cc | 1 - src/wifi/model/ht/ht-phy.h | 1 - src/wifi/model/ht/ht-ppdu.cc | 1 - src/wifi/model/ht/ht-ppdu.h | 1 - src/wifi/model/interference-helper.cc | 1 - src/wifi/model/interference-helper.h | 1 - src/wifi/model/mac-rx-middle.cc | 1 - src/wifi/model/mac-rx-middle.h | 1 - src/wifi/model/mac-tx-middle.cc | 1 - src/wifi/model/mac-tx-middle.h | 1 - src/wifi/model/mgt-headers.cc | 1 - src/wifi/model/mgt-headers.h | 1 - src/wifi/model/mpdu-aggregator.cc | 1 - src/wifi/model/mpdu-aggregator.h | 1 - src/wifi/model/msdu-aggregator.cc | 1 - src/wifi/model/msdu-aggregator.h | 1 - src/wifi/model/nist-error-rate-model.cc | 1 - src/wifi/model/nist-error-rate-model.h | 1 - src/wifi/model/non-ht/dsss-error-rate-model.cc | 1 - src/wifi/model/non-ht/dsss-error-rate-model.h | 1 - src/wifi/model/non-ht/dsss-parameter-set.cc | 1 - src/wifi/model/non-ht/dsss-parameter-set.h | 1 - src/wifi/model/non-ht/dsss-phy.cc | 1 - src/wifi/model/non-ht/dsss-phy.h | 1 - src/wifi/model/non-ht/dsss-ppdu.cc | 1 - src/wifi/model/non-ht/dsss-ppdu.h | 1 - src/wifi/model/non-ht/erp-information.cc | 1 - src/wifi/model/non-ht/erp-information.h | 1 - src/wifi/model/non-ht/erp-ofdm-phy.cc | 1 - src/wifi/model/non-ht/erp-ofdm-phy.h | 1 - src/wifi/model/non-ht/erp-ofdm-ppdu.cc | 1 - src/wifi/model/non-ht/erp-ofdm-ppdu.h | 1 - src/wifi/model/non-ht/ofdm-phy.cc | 1 - src/wifi/model/non-ht/ofdm-phy.h | 1 - src/wifi/model/non-ht/ofdm-ppdu.cc | 1 - src/wifi/model/non-ht/ofdm-ppdu.h | 1 - src/wifi/model/originator-block-ack-agreement.cc | 1 - src/wifi/model/originator-block-ack-agreement.h | 1 - src/wifi/model/phy-entity.cc | 1 - src/wifi/model/phy-entity.h | 1 - src/wifi/model/preamble-detection-model.cc | 1 - src/wifi/model/preamble-detection-model.h | 1 - src/wifi/model/qos-blocked-destinations.cc | 1 - src/wifi/model/qos-blocked-destinations.h | 1 - src/wifi/model/qos-frame-exchange-manager.cc | 1 - src/wifi/model/qos-frame-exchange-manager.h | 1 - src/wifi/model/qos-txop.cc | 1 - src/wifi/model/qos-txop.h | 1 - src/wifi/model/qos-utils.cc | 1 - src/wifi/model/qos-utils.h | 1 - src/wifi/model/rate-control/aarf-wifi-manager.cc | 1 - src/wifi/model/rate-control/aarf-wifi-manager.h | 1 - src/wifi/model/rate-control/aarfcd-wifi-manager.cc | 1 - src/wifi/model/rate-control/aarfcd-wifi-manager.h | 1 - src/wifi/model/rate-control/amrr-wifi-manager.cc | 1 - src/wifi/model/rate-control/amrr-wifi-manager.h | 1 - src/wifi/model/rate-control/aparf-wifi-manager.cc | 1 - src/wifi/model/rate-control/aparf-wifi-manager.h | 1 - src/wifi/model/rate-control/arf-wifi-manager.cc | 1 - src/wifi/model/rate-control/arf-wifi-manager.h | 1 - src/wifi/model/rate-control/cara-wifi-manager.cc | 1 - src/wifi/model/rate-control/cara-wifi-manager.h | 1 - src/wifi/model/rate-control/constant-rate-wifi-manager.cc | 1 - src/wifi/model/rate-control/constant-rate-wifi-manager.h | 1 - src/wifi/model/rate-control/ideal-wifi-manager.cc | 1 - src/wifi/model/rate-control/ideal-wifi-manager.h | 1 - src/wifi/model/rate-control/minstrel-ht-wifi-manager.cc | 1 - src/wifi/model/rate-control/minstrel-ht-wifi-manager.h | 1 - src/wifi/model/rate-control/minstrel-wifi-manager.cc | 1 - src/wifi/model/rate-control/minstrel-wifi-manager.h | 1 - src/wifi/model/rate-control/onoe-wifi-manager.cc | 1 - src/wifi/model/rate-control/onoe-wifi-manager.h | 1 - src/wifi/model/rate-control/parf-wifi-manager.cc | 1 - src/wifi/model/rate-control/parf-wifi-manager.h | 1 - src/wifi/model/rate-control/rraa-wifi-manager.cc | 1 - src/wifi/model/rate-control/rraa-wifi-manager.h | 1 - src/wifi/model/rate-control/rrpaa-wifi-manager.cc | 1 - src/wifi/model/rate-control/rrpaa-wifi-manager.h | 1 - src/wifi/model/rate-control/thompson-sampling-wifi-manager.cc | 1 - src/wifi/model/rate-control/thompson-sampling-wifi-manager.h | 1 - src/wifi/model/recipient-block-ack-agreement.cc | 1 - src/wifi/model/recipient-block-ack-agreement.h | 1 - src/wifi/model/reduced-neighbor-report.cc | 1 - src/wifi/model/reduced-neighbor-report.h | 1 - src/wifi/model/reference/error-rate-tables.h | 1 - src/wifi/model/simple-frame-capture-model.cc | 1 - src/wifi/model/simple-frame-capture-model.h | 1 - src/wifi/model/snr-tag.cc | 1 - src/wifi/model/snr-tag.h | 1 - src/wifi/model/spectrum-wifi-phy.cc | 1 - src/wifi/model/spectrum-wifi-phy.h | 1 - src/wifi/model/ssid.cc | 1 - src/wifi/model/ssid.h | 1 - src/wifi/model/sta-wifi-mac.cc | 1 - src/wifi/model/sta-wifi-mac.h | 1 - src/wifi/model/status-code.cc | 1 - src/wifi/model/status-code.h | 1 - src/wifi/model/supported-rates.cc | 1 - src/wifi/model/supported-rates.h | 1 - src/wifi/model/table-based-error-rate-model.cc | 1 - src/wifi/model/table-based-error-rate-model.h | 1 - src/wifi/model/threshold-preamble-detection-model.cc | 1 - src/wifi/model/threshold-preamble-detection-model.h | 1 - src/wifi/model/txop.cc | 1 - src/wifi/model/txop.h | 1 - src/wifi/model/vht/vht-capabilities.cc | 1 - src/wifi/model/vht/vht-capabilities.h | 1 - src/wifi/model/vht/vht-configuration.cc | 1 - src/wifi/model/vht/vht-configuration.h | 1 - src/wifi/model/vht/vht-frame-exchange-manager.cc | 1 - src/wifi/model/vht/vht-frame-exchange-manager.h | 1 - src/wifi/model/vht/vht-operation.cc | 1 - src/wifi/model/vht/vht-operation.h | 1 - src/wifi/model/vht/vht-phy.cc | 1 - src/wifi/model/vht/vht-phy.h | 1 - src/wifi/model/vht/vht-ppdu.cc | 1 - src/wifi/model/vht/vht-ppdu.h | 1 - src/wifi/model/wifi-ack-manager.cc | 1 - src/wifi/model/wifi-ack-manager.h | 1 - src/wifi/model/wifi-acknowledgment.cc | 1 - src/wifi/model/wifi-acknowledgment.h | 1 - src/wifi/model/wifi-assoc-manager.cc | 1 - src/wifi/model/wifi-assoc-manager.h | 1 - src/wifi/model/wifi-default-ack-manager.cc | 1 - src/wifi/model/wifi-default-ack-manager.h | 1 - src/wifi/model/wifi-default-assoc-manager.cc | 1 - src/wifi/model/wifi-default-assoc-manager.h | 1 - src/wifi/model/wifi-default-protection-manager.cc | 1 - src/wifi/model/wifi-default-protection-manager.h | 1 - src/wifi/model/wifi-information-element-vector.cc | 1 - src/wifi/model/wifi-information-element-vector.h | 1 - src/wifi/model/wifi-information-element.cc | 1 - src/wifi/model/wifi-information-element.h | 1 - src/wifi/model/wifi-mac-header.cc | 1 - src/wifi/model/wifi-mac-header.h | 1 - src/wifi/model/wifi-mac-queue-container.cc | 1 - src/wifi/model/wifi-mac-queue-container.h | 1 - src/wifi/model/wifi-mac-queue-elem.cc | 1 - src/wifi/model/wifi-mac-queue-elem.h | 1 - src/wifi/model/wifi-mac-queue-scheduler-impl.h | 1 - src/wifi/model/wifi-mac-queue-scheduler.cc | 1 - src/wifi/model/wifi-mac-queue-scheduler.h | 1 - src/wifi/model/wifi-mac-queue.cc | 1 - src/wifi/model/wifi-mac-queue.h | 1 - src/wifi/model/wifi-mac-trailer.cc | 1 - src/wifi/model/wifi-mac-trailer.h | 1 - src/wifi/model/wifi-mac.cc | 1 - src/wifi/model/wifi-mac.h | 1 - src/wifi/model/wifi-mode.cc | 1 - src/wifi/model/wifi-mode.h | 1 - src/wifi/model/wifi-mpdu-type.h | 1 - src/wifi/model/wifi-mpdu.cc | 1 - src/wifi/model/wifi-mpdu.h | 1 - src/wifi/model/wifi-net-device.cc | 1 - src/wifi/model/wifi-net-device.h | 1 - src/wifi/model/wifi-phy-band.h | 1 - src/wifi/model/wifi-phy-common.cc | 1 - src/wifi/model/wifi-phy-common.h | 1 - src/wifi/model/wifi-phy-listener.h | 1 - src/wifi/model/wifi-phy-operating-channel.cc | 1 - src/wifi/model/wifi-phy-operating-channel.h | 1 - src/wifi/model/wifi-phy-state-helper.cc | 1 - src/wifi/model/wifi-phy-state-helper.h | 1 - src/wifi/model/wifi-phy-state.h | 1 - src/wifi/model/wifi-phy.cc | 1 - src/wifi/model/wifi-phy.h | 1 - src/wifi/model/wifi-ppdu.cc | 1 - src/wifi/model/wifi-ppdu.h | 1 - src/wifi/model/wifi-protection-manager.cc | 1 - src/wifi/model/wifi-protection-manager.h | 1 - src/wifi/model/wifi-protection.cc | 1 - src/wifi/model/wifi-protection.h | 1 - src/wifi/model/wifi-psdu.cc | 1 - src/wifi/model/wifi-psdu.h | 1 - src/wifi/model/wifi-radio-energy-model.cc | 1 - src/wifi/model/wifi-radio-energy-model.h | 1 - src/wifi/model/wifi-remote-station-info.cc | 1 - src/wifi/model/wifi-remote-station-info.h | 1 - src/wifi/model/wifi-remote-station-manager.cc | 1 - src/wifi/model/wifi-remote-station-manager.h | 1 - src/wifi/model/wifi-spectrum-phy-interface.cc | 1 - src/wifi/model/wifi-spectrum-phy-interface.h | 1 - src/wifi/model/wifi-spectrum-signal-parameters.cc | 1 - src/wifi/model/wifi-spectrum-signal-parameters.h | 1 - src/wifi/model/wifi-standards.h | 1 - src/wifi/model/wifi-tx-current-model.cc | 1 - src/wifi/model/wifi-tx-current-model.h | 1 - src/wifi/model/wifi-tx-parameters.cc | 1 - src/wifi/model/wifi-tx-parameters.h | 1 - src/wifi/model/wifi-tx-timer.cc | 1 - src/wifi/model/wifi-tx-timer.h | 1 - src/wifi/model/wifi-tx-vector.cc | 1 - src/wifi/model/wifi-tx-vector.h | 1 - src/wifi/model/wifi-utils.cc | 1 - src/wifi/model/wifi-utils.h | 1 - src/wifi/model/yans-error-rate-model.cc | 1 - src/wifi/model/yans-error-rate-model.h | 1 - src/wifi/model/yans-wifi-channel.cc | 1 - src/wifi/model/yans-wifi-channel.h | 1 - src/wifi/model/yans-wifi-phy.cc | 1 - src/wifi/model/yans-wifi-phy.h | 1 - src/wifi/test/block-ack-test-suite.cc | 1 - src/wifi/test/channel-access-manager-test.cc | 1 - src/wifi/test/inter-bss-test-suite.cc | 1 - src/wifi/test/power-rate-adaptation-test.cc | 1 - src/wifi/test/spectrum-wifi-phy-test.cc | 1 - src/wifi/test/tx-duration-test.cc | 1 - src/wifi/test/wifi-aggregation-test.cc | 1 - src/wifi/test/wifi-channel-switching-test.cc | 1 - src/wifi/test/wifi-dynamic-bw-op-test.cc | 1 - src/wifi/test/wifi-eht-info-elems-test.cc | 1 - src/wifi/test/wifi-error-rate-models-test.cc | 1 - src/wifi/test/wifi-ie-fragment-test.cc | 1 - src/wifi/test/wifi-mac-ofdma-test.cc | 1 - src/wifi/test/wifi-mac-queue-test.cc | 1 - src/wifi/test/wifi-mlo-test.cc | 1 - src/wifi/test/wifi-phy-cca-test.cc | 1 - src/wifi/test/wifi-phy-ofdma-test.cc | 1 - src/wifi/test/wifi-phy-reception-test.cc | 1 - src/wifi/test/wifi-phy-thresholds-test.cc | 1 - src/wifi/test/wifi-primary-channels-test.cc | 1 - src/wifi/test/wifi-test.cc | 1 - src/wifi/test/wifi-transmit-mask-test.cc | 1 - src/wifi/test/wifi-txop-test.cc | 1 - src/wimax/examples/wimax-ipv4.cc | 1 - src/wimax/examples/wimax-multicast.cc | 1 - src/wimax/examples/wimax-simple.cc | 1 - src/wimax/helper/wimax-helper.cc | 1 - src/wimax/helper/wimax-helper.h | 1 - src/wimax/model/bandwidth-manager.cc | 1 - src/wimax/model/bandwidth-manager.h | 1 - src/wimax/model/bs-link-manager.cc | 1 - src/wimax/model/bs-link-manager.h | 1 - src/wimax/model/bs-net-device.cc | 1 - src/wimax/model/bs-net-device.h | 1 - src/wimax/model/bs-scheduler-rtps.cc | 1 - src/wimax/model/bs-scheduler-rtps.h | 1 - src/wimax/model/bs-scheduler-simple.cc | 1 - src/wimax/model/bs-scheduler-simple.h | 1 - src/wimax/model/bs-scheduler.cc | 1 - src/wimax/model/bs-scheduler.h | 1 - src/wimax/model/bs-service-flow-manager.cc | 1 - src/wimax/model/bs-service-flow-manager.h | 1 - src/wimax/model/bs-uplink-scheduler-mbqos.cc | 1 - src/wimax/model/bs-uplink-scheduler-mbqos.h | 1 - src/wimax/model/bs-uplink-scheduler-rtps.cc | 1 - src/wimax/model/bs-uplink-scheduler-rtps.h | 1 - src/wimax/model/bs-uplink-scheduler-simple.cc | 1 - src/wimax/model/bs-uplink-scheduler-simple.h | 1 - src/wimax/model/bs-uplink-scheduler.cc | 1 - src/wimax/model/bs-uplink-scheduler.h | 1 - src/wimax/model/burst-profile-manager.cc | 1 - src/wimax/model/burst-profile-manager.h | 1 - src/wimax/model/bvec.h | 1 - src/wimax/model/cid-factory.cc | 1 - src/wimax/model/cid-factory.h | 1 - src/wimax/model/cid.cc | 1 - src/wimax/model/cid.h | 1 - src/wimax/model/connection-manager.cc | 1 - src/wimax/model/connection-manager.h | 1 - src/wimax/model/crc8.cc | 1 - src/wimax/model/crc8.h | 1 - src/wimax/model/cs-parameters.cc | 1 - src/wimax/model/cs-parameters.h | 1 - src/wimax/model/default-traces.h | 1 - src/wimax/model/dl-mac-messages.cc | 1 - src/wimax/model/dl-mac-messages.h | 1 - src/wimax/model/ipcs-classifier-record.cc | 1 - src/wimax/model/ipcs-classifier-record.h | 1 - src/wimax/model/ipcs-classifier.cc | 1 - src/wimax/model/ipcs-classifier.h | 1 - src/wimax/model/mac-messages.cc | 1 - src/wimax/model/mac-messages.h | 1 - src/wimax/model/ofdm-downlink-frame-prefix.cc | 1 - src/wimax/model/ofdm-downlink-frame-prefix.h | 1 - src/wimax/model/send-params.cc | 1 - src/wimax/model/send-params.h | 1 - src/wimax/model/service-flow-manager.cc | 1 - src/wimax/model/service-flow-manager.h | 1 - src/wimax/model/service-flow-record.cc | 1 - src/wimax/model/service-flow-record.h | 1 - src/wimax/model/service-flow.cc | 1 - src/wimax/model/service-flow.h | 1 - src/wimax/model/simple-ofdm-send-param.cc | 1 - src/wimax/model/simple-ofdm-send-param.h | 1 - src/wimax/model/simple-ofdm-wimax-channel.cc | 1 - src/wimax/model/simple-ofdm-wimax-channel.h | 1 - src/wimax/model/simple-ofdm-wimax-phy.cc | 1 - src/wimax/model/simple-ofdm-wimax-phy.h | 1 - src/wimax/model/snr-to-block-error-rate-manager.cc | 1 - src/wimax/model/snr-to-block-error-rate-manager.h | 1 - src/wimax/model/snr-to-block-error-rate-record.cc | 1 - src/wimax/model/snr-to-block-error-rate-record.h | 1 - src/wimax/model/ss-link-manager.cc | 1 - src/wimax/model/ss-link-manager.h | 1 - src/wimax/model/ss-manager.cc | 1 - src/wimax/model/ss-manager.h | 1 - src/wimax/model/ss-net-device.cc | 1 - src/wimax/model/ss-net-device.h | 1 - src/wimax/model/ss-record.cc | 1 - src/wimax/model/ss-record.h | 1 - src/wimax/model/ss-scheduler.cc | 1 - src/wimax/model/ss-scheduler.h | 1 - src/wimax/model/ss-service-flow-manager.cc | 1 - src/wimax/model/ss-service-flow-manager.h | 1 - src/wimax/model/ul-job.cc | 1 - src/wimax/model/ul-job.h | 1 - src/wimax/model/ul-mac-messages.cc | 1 - src/wimax/model/ul-mac-messages.h | 1 - src/wimax/model/wimax-channel.cc | 1 - src/wimax/model/wimax-channel.h | 1 - src/wimax/model/wimax-connection.cc | 1 - src/wimax/model/wimax-connection.h | 1 - src/wimax/model/wimax-mac-header.cc | 1 - src/wimax/model/wimax-mac-header.h | 1 - src/wimax/model/wimax-mac-queue.cc | 1 - src/wimax/model/wimax-mac-queue.h | 1 - src/wimax/model/wimax-mac-to-mac-header.cc | 1 - src/wimax/model/wimax-mac-to-mac-header.h | 1 - src/wimax/model/wimax-net-device.cc | 1 - src/wimax/model/wimax-net-device.h | 1 - src/wimax/model/wimax-phy.cc | 1 - src/wimax/model/wimax-phy.h | 1 - src/wimax/model/wimax-tlv.cc | 1 - src/wimax/model/wimax-tlv.h | 1 - src/wimax/test/mac-messages-test.cc | 1 - src/wimax/test/phy-test.cc | 1 - src/wimax/test/qos-test.cc | 1 - src/wimax/test/ss-mac-test.cc | 1 - src/wimax/test/wimax-fragmentation-test.cc | 1 - src/wimax/test/wimax-service-flow-test.cc | 1 - src/wimax/test/wimax-tlv-test.cc | 1 - utils/bench-packets.cc | 1 - utils/bench-scheduler.cc | 1 - utils/perf/perf-io.cc | 1 - utils/print-introspected-doxygen.cc | 1 - utils/test-runner.cc | 1 - 2694 files changed, 2695 deletions(-) diff --git a/examples/channel-models/three-gpp-v2v-channel-example.cc b/examples/channel-models/three-gpp-v2v-channel-example.cc index 38c2d65fe..59bb959cc 100644 --- a/examples/channel-models/three-gpp-v2v-channel-example.cc +++ b/examples/channel-models/three-gpp-v2v-channel-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020, University of Padova, Dep. of Information Engineering, SIGNET lab * diff --git a/examples/energy/energy-model-example.cc b/examples/energy/energy-model-example.cc index 5f016369d..54eb780a6 100644 --- a/examples/energy/energy-model-example.cc +++ b/examples/energy/energy-model-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/examples/energy/energy-model-with-harvesting-example.cc b/examples/energy/energy-model-with-harvesting-example.cc index f95e9822e..67f1b2ec8 100644 --- a/examples/energy/energy-model-with-harvesting-example.cc +++ b/examples/energy/energy-model-with-harvesting-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/examples/error-model/simple-error-model.cc b/examples/error-model/simple-error-model.cc index 9023f0821..1f260ab04 100644 --- a/examples/error-model/simple-error-model.cc +++ b/examples/error-model/simple-error-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/ipv6/fragmentation-ipv6-PMTU.cc b/examples/ipv6/fragmentation-ipv6-PMTU.cc index 38b9d0382..4b941bfde 100644 --- a/examples/ipv6/fragmentation-ipv6-PMTU.cc +++ b/examples/ipv6/fragmentation-ipv6-PMTU.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * Copyright (c) 2013 Universita' di Firenze diff --git a/examples/ipv6/fragmentation-ipv6-two-MTU.cc b/examples/ipv6/fragmentation-ipv6-two-MTU.cc index 6206103a5..df797b4e8 100644 --- a/examples/ipv6/fragmentation-ipv6-two-MTU.cc +++ b/examples/ipv6/fragmentation-ipv6-two-MTU.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * Copyright (c) 2013 Universita' di Firenze diff --git a/examples/ipv6/fragmentation-ipv6.cc b/examples/ipv6/fragmentation-ipv6.cc index a86d9f9ea..b216a4be4 100644 --- a/examples/ipv6/fragmentation-ipv6.cc +++ b/examples/ipv6/fragmentation-ipv6.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/examples/ipv6/icmpv6-redirect.cc b/examples/ipv6/icmpv6-redirect.cc index 010b6b967..83d01989b 100644 --- a/examples/ipv6/icmpv6-redirect.cc +++ b/examples/ipv6/icmpv6-redirect.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/examples/ipv6/loose-routing-ipv6.cc b/examples/ipv6/loose-routing-ipv6.cc index 82a46306c..1bd6048f3 100644 --- a/examples/ipv6/loose-routing-ipv6.cc +++ b/examples/ipv6/loose-routing-ipv6.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/examples/ipv6/ping6.cc b/examples/ipv6/ping6.cc index e4f54d043..95d262e13 100644 --- a/examples/ipv6/ping6.cc +++ b/examples/ipv6/ping6.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/examples/ipv6/radvd-two-prefix.cc b/examples/ipv6/radvd-two-prefix.cc index 03d6d6cd6..71c9a4e8a 100644 --- a/examples/ipv6/radvd-two-prefix.cc +++ b/examples/ipv6/radvd-two-prefix.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/examples/ipv6/radvd.cc b/examples/ipv6/radvd.cc index 69cca0431..0ce2443ec 100644 --- a/examples/ipv6/radvd.cc +++ b/examples/ipv6/radvd.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/examples/ipv6/test-ipv6.cc b/examples/ipv6/test-ipv6.cc index 5b50ff1b8..a168bcf07 100644 --- a/examples/ipv6/test-ipv6.cc +++ b/examples/ipv6/test-ipv6.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Louis Pasteur University / Telecom Bretagne * diff --git a/examples/ipv6/wsn-ping6.cc b/examples/ipv6/wsn-ping6.cc index 170c74e98..23c88ebad 100644 --- a/examples/ipv6/wsn-ping6.cc +++ b/examples/ipv6/wsn-ping6.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/examples/matrix-topology/matrix-topology.cc b/examples/matrix-topology/matrix-topology.cc index f47fb0fbc..7f3a7291c 100644 --- a/examples/matrix-topology/matrix-topology.cc +++ b/examples/matrix-topology/matrix-topology.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Egemen K. Cetinkaya, Justin P. Rohrer, and Amit Dandekar * diff --git a/examples/naming/object-names.cc b/examples/naming/object-names.cc index 707f893dd..f26d8a82a 100644 --- a/examples/naming/object-names.cc +++ b/examples/naming/object-names.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/realtime/realtime-udp-echo.cc b/examples/realtime/realtime-udp-echo.cc index 88916f74f..5b3da0783 100644 --- a/examples/realtime/realtime-udp-echo.cc +++ b/examples/realtime/realtime-udp-echo.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/routing/dynamic-global-routing.cc b/examples/routing/dynamic-global-routing.cc index 99434c225..9e2744726 100644 --- a/examples/routing/dynamic-global-routing.cc +++ b/examples/routing/dynamic-global-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/routing/global-injection-slash32.cc b/examples/routing/global-injection-slash32.cc index c0ad22943..ff48313f3 100644 --- a/examples/routing/global-injection-slash32.cc +++ b/examples/routing/global-injection-slash32.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/routing/global-routing-multi-switch-plus-router.cc b/examples/routing/global-routing-multi-switch-plus-router.cc index 71c911862..b76a19147 100644 --- a/examples/routing/global-routing-multi-switch-plus-router.cc +++ b/examples/routing/global-routing-multi-switch-plus-router.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 - Chip Webb * diff --git a/examples/routing/global-routing-slash32.cc b/examples/routing/global-routing-slash32.cc index c3cf7a937..55ee91d06 100644 --- a/examples/routing/global-routing-slash32.cc +++ b/examples/routing/global-routing-slash32.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/routing/manet-routing-compare.cc b/examples/routing/manet-routing-compare.cc index 5db68e23f..14366b41b 100644 --- a/examples/routing/manet-routing-compare.cc +++ b/examples/routing/manet-routing-compare.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 University of Kansas * diff --git a/examples/routing/mixed-global-routing.cc b/examples/routing/mixed-global-routing.cc index 0bd822420..9a14011b7 100644 --- a/examples/routing/mixed-global-routing.cc +++ b/examples/routing/mixed-global-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/routing/rip-simple-network.cc b/examples/routing/rip-simple-network.cc index b202b6c73..0f95ed6a8 100644 --- a/examples/routing/rip-simple-network.cc +++ b/examples/routing/rip-simple-network.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' di Firenze, Italy * diff --git a/examples/routing/ripng-simple-network.cc b/examples/routing/ripng-simple-network.cc index e55975b37..64178e02f 100644 --- a/examples/routing/ripng-simple-network.cc +++ b/examples/routing/ripng-simple-network.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze, Italy * diff --git a/examples/routing/simple-alternate-routing.cc b/examples/routing/simple-alternate-routing.cc index 102692132..4273d4fc6 100644 --- a/examples/routing/simple-alternate-routing.cc +++ b/examples/routing/simple-alternate-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/routing/simple-global-routing.cc b/examples/routing/simple-global-routing.cc index 0de09dfd8..9efd8cca8 100644 --- a/examples/routing/simple-global-routing.cc +++ b/examples/routing/simple-global-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/routing/simple-multicast-flooding.cc b/examples/routing/simple-multicast-flooding.cc index a332dab30..9f6c81428 100644 --- a/examples/routing/simple-multicast-flooding.cc +++ b/examples/routing/simple-multicast-flooding.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * Copyright (c) 2019 Caliola Engineering, LLC : RFC 6621 multicast packet de-duplication diff --git a/examples/routing/simple-routing-ping6.cc b/examples/routing/simple-routing-ping6.cc index 555e40da4..4ea404e45 100644 --- a/examples/routing/simple-routing-ping6.cc +++ b/examples/routing/simple-routing-ping6.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/examples/routing/static-routing-slash32.cc b/examples/routing/static-routing-slash32.cc index bb1ac1010..bd4188d3d 100644 --- a/examples/routing/static-routing-slash32.cc +++ b/examples/routing/static-routing-slash32.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/socket/socket-bound-static-routing.cc b/examples/socket/socket-bound-static-routing.cc index 3892c8623..c34e596cd 100644 --- a/examples/socket/socket-bound-static-routing.cc +++ b/examples/socket/socket-bound-static-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/socket/socket-bound-tcp-static-routing.cc b/examples/socket/socket-bound-tcp-static-routing.cc index f3687b2ab..dc88e4366 100644 --- a/examples/socket/socket-bound-tcp-static-routing.cc +++ b/examples/socket/socket-bound-tcp-static-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/socket/socket-options-ipv4.cc b/examples/socket/socket-options-ipv4.cc index e5d31b017..417eaee9e 100644 --- a/examples/socket/socket-options-ipv4.cc +++ b/examples/socket/socket-options-ipv4.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/socket/socket-options-ipv6.cc b/examples/socket/socket-options-ipv6.cc index 3dc0e0d17..dd2609a39 100644 --- a/examples/socket/socket-options-ipv6.cc +++ b/examples/socket/socket-options-ipv6.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/stats/wifi-example-apps.cc b/examples/stats/wifi-example-apps.cc index 4d868b164..9d07a8b34 100644 --- a/examples/stats/wifi-example-apps.cc +++ b/examples/stats/wifi-example-apps.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/stats/wifi-example-apps.h b/examples/stats/wifi-example-apps.h index 026aeae05..2e8e1488e 100644 --- a/examples/stats/wifi-example-apps.h +++ b/examples/stats/wifi-example-apps.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/stats/wifi-example-sim.cc b/examples/stats/wifi-example-sim.cc index b482909cb..6fbe90632 100644 --- a/examples/stats/wifi-example-sim.cc +++ b/examples/stats/wifi-example-sim.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tcp/dctcp-example.cc b/examples/tcp/dctcp-example.cc index 65be2c708..0d5e147e2 100644 --- a/examples/tcp/dctcp-example.cc +++ b/examples/tcp/dctcp-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017-20 NITK Surathkal * Copyright (c) 2020 Tom Henderson (better alignment with experiment) diff --git a/examples/tcp/star.cc b/examples/tcp/star.cc index b2c842a86..d680e5a76 100644 --- a/examples/tcp/star.cc +++ b/examples/tcp/star.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tcp/tcp-bbr-example.cc b/examples/tcp/tcp-bbr-example.cc index 8f7b44040..6c027a5e4 100644 --- a/examples/tcp/tcp-bbr-example.cc +++ b/examples/tcp/tcp-bbr-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018-20 NITK Surathkal * diff --git a/examples/tcp/tcp-bulk-send.cc b/examples/tcp/tcp-bulk-send.cc index 5404b3fae..427ff9901 100644 --- a/examples/tcp/tcp-bulk-send.cc +++ b/examples/tcp/tcp-bulk-send.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tcp/tcp-large-transfer.cc b/examples/tcp/tcp-large-transfer.cc index e3ee16527..98ecbb8b7 100644 --- a/examples/tcp/tcp-large-transfer.cc +++ b/examples/tcp/tcp-large-transfer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tcp/tcp-linux-reno.cc b/examples/tcp/tcp-linux-reno.cc index 6d354739b..8b6f9cbc2 100644 --- a/examples/tcp/tcp-linux-reno.cc +++ b/examples/tcp/tcp-linux-reno.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/examples/tcp/tcp-pacing.cc b/examples/tcp/tcp-pacing.cc index 31ff04e53..8ad772eee 100644 --- a/examples/tcp/tcp-pacing.cc +++ b/examples/tcp/tcp-pacing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 NITK Surathkal * diff --git a/examples/tcp/tcp-pcap-nanosec-example.cc b/examples/tcp/tcp-pcap-nanosec-example.cc index b31cbd2b8..eed95060a 100644 --- a/examples/tcp/tcp-pcap-nanosec-example.cc +++ b/examples/tcp/tcp-pcap-nanosec-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tcp/tcp-star-server.cc b/examples/tcp/tcp-star-server.cc index 2c86f89e1..b406431be 100644 --- a/examples/tcp/tcp-star-server.cc +++ b/examples/tcp/tcp-star-server.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tcp/tcp-validation.cc b/examples/tcp/tcp-validation.cc index e8868a58b..ef95a75d4 100644 --- a/examples/tcp/tcp-validation.cc +++ b/examples/tcp/tcp-validation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Cable Television Laboratories, Inc. * Copyright (c) 2020 Tom Henderson (adapted for DCTCP testing) diff --git a/examples/tcp/tcp-variants-comparison.cc b/examples/tcp/tcp-variants-comparison.cc index 6d0354e6c..62927a903 100644 --- a/examples/tcp/tcp-variants-comparison.cc +++ b/examples/tcp/tcp-variants-comparison.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 ResiliNets, ITTC, University of Kansas * diff --git a/examples/traffic-control/cobalt-vs-codel.cc b/examples/traffic-control/cobalt-vs-codel.cc index b71006986..ac098d8af 100644 --- a/examples/traffic-control/cobalt-vs-codel.cc +++ b/examples/traffic-control/cobalt-vs-codel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/examples/traffic-control/queue-discs-benchmark.cc b/examples/traffic-control/queue-discs-benchmark.cc index 3d4d5999d..dab856d7a 100644 --- a/examples/traffic-control/queue-discs-benchmark.cc +++ b/examples/traffic-control/queue-discs-benchmark.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Universita' degli Studi di Napoli Federico II * diff --git a/examples/traffic-control/red-vs-fengadaptive.cc b/examples/traffic-control/red-vs-fengadaptive.cc index 07a4ab537..22011da7c 100644 --- a/examples/traffic-control/red-vs-fengadaptive.cc +++ b/examples/traffic-control/red-vs-fengadaptive.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/examples/traffic-control/red-vs-nlred.cc b/examples/traffic-control/red-vs-nlred.cc index c34342423..05a3403a1 100644 --- a/examples/traffic-control/red-vs-nlred.cc +++ b/examples/traffic-control/red-vs-nlred.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/examples/traffic-control/tbf-example.cc b/examples/traffic-control/tbf-example.cc index d5dfe3c6d..1344ae739 100644 --- a/examples/traffic-control/tbf-example.cc +++ b/examples/traffic-control/tbf-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Universita' degli Studi di Napoli "Federico II" * 2017 Kungliga Tekniska Högskolan diff --git a/examples/traffic-control/traffic-control.cc b/examples/traffic-control/traffic-control.cc index 4206ec535..85fe47b14 100644 --- a/examples/traffic-control/traffic-control.cc +++ b/examples/traffic-control/traffic-control.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Universita' degli Studi di Napoli "Federico II" * diff --git a/examples/tutorial/fifth.cc b/examples/tutorial/fifth.cc index 53b175489..c1b6153ad 100644 --- a/examples/tutorial/fifth.cc +++ b/examples/tutorial/fifth.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/first.cc b/examples/tutorial/first.cc index 6638ffc71..89c88891d 100644 --- a/examples/tutorial/first.cc +++ b/examples/tutorial/first.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/fourth.cc b/examples/tutorial/fourth.cc index 42aa6b65b..460e373a4 100644 --- a/examples/tutorial/fourth.cc +++ b/examples/tutorial/fourth.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/hello-simulator.cc b/examples/tutorial/hello-simulator.cc index 9d18aa066..86ae3aa3a 100644 --- a/examples/tutorial/hello-simulator.cc +++ b/examples/tutorial/hello-simulator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/second.cc b/examples/tutorial/second.cc index 2d82a6fa0..a732ea4bd 100644 --- a/examples/tutorial/second.cc +++ b/examples/tutorial/second.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/seventh.cc b/examples/tutorial/seventh.cc index f09393e5e..0f35e8271 100644 --- a/examples/tutorial/seventh.cc +++ b/examples/tutorial/seventh.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/sixth.cc b/examples/tutorial/sixth.cc index 831be67df..4fa7629c9 100644 --- a/examples/tutorial/sixth.cc +++ b/examples/tutorial/sixth.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/third.cc b/examples/tutorial/third.cc index 3ff5d1d08..8356fdd39 100644 --- a/examples/tutorial/third.cc +++ b/examples/tutorial/third.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/tutorial-app.cc b/examples/tutorial/tutorial-app.cc index 4a85f024f..821cc0e9c 100644 --- a/examples/tutorial/tutorial-app.cc +++ b/examples/tutorial/tutorial-app.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/tutorial/tutorial-app.h b/examples/tutorial/tutorial-app.h index 5fa402d92..e6352d2cf 100644 --- a/examples/tutorial/tutorial-app.h +++ b/examples/tutorial/tutorial-app.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/udp-client-server/udp-client-server.cc b/examples/udp-client-server/udp-client-server.cc index 767a0e000..44c14a9c9 100644 --- a/examples/udp-client-server/udp-client-server.cc +++ b/examples/udp-client-server/udp-client-server.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/examples/udp-client-server/udp-trace-client-server.cc b/examples/udp-client-server/udp-trace-client-server.cc index a000d723b..03e922e33 100644 --- a/examples/udp-client-server/udp-trace-client-server.cc +++ b/examples/udp-client-server/udp-trace-client-server.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/examples/udp/udp-echo.cc b/examples/udp/udp-echo.cc index 2110f17d4..e5e2ec6d8 100644 --- a/examples/udp/udp-echo.cc +++ b/examples/udp/udp-echo.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/wireless/mixed-wired-wireless.cc b/examples/wireless/mixed-wired-wireless.cc index 2b67a94f2..1760457f6 100644 --- a/examples/wireless/mixed-wired-wireless.cc +++ b/examples/wireless/mixed-wired-wireless.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/wireless/wifi-80211e-txop.cc b/examples/wireless/wifi-80211e-txop.cc index c42f55e71..08c1a243c 100644 --- a/examples/wireless/wifi-80211e-txop.cc +++ b/examples/wireless/wifi-80211e-txop.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/examples/wireless/wifi-80211n-mimo.cc b/examples/wireless/wifi-80211n-mimo.cc index 348143887..473d73977 100644 --- a/examples/wireless/wifi-80211n-mimo.cc +++ b/examples/wireless/wifi-80211n-mimo.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/wireless/wifi-adhoc.cc b/examples/wireless/wifi-adhoc.cc index dd8a2b99d..ca38694c3 100644 --- a/examples/wireless/wifi-adhoc.cc +++ b/examples/wireless/wifi-adhoc.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/examples/wireless/wifi-aggregation.cc b/examples/wireless/wifi-aggregation.cc index 117873f0d..73d58abae 100644 --- a/examples/wireless/wifi-aggregation.cc +++ b/examples/wireless/wifi-aggregation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/examples/wireless/wifi-ap.cc b/examples/wireless/wifi-ap.cc index 26a243146..888f336ca 100644 --- a/examples/wireless/wifi-ap.cc +++ b/examples/wireless/wifi-ap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/examples/wireless/wifi-backward-compatibility.cc b/examples/wireless/wifi-backward-compatibility.cc index 30de8618a..510c10d3d 100644 --- a/examples/wireless/wifi-backward-compatibility.cc +++ b/examples/wireless/wifi-backward-compatibility.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 * diff --git a/examples/wireless/wifi-blockack.cc b/examples/wireless/wifi-blockack.cc index c5dd31f21..3ac509d31 100644 --- a/examples/wireless/wifi-blockack.cc +++ b/examples/wireless/wifi-blockack.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/examples/wireless/wifi-clear-channel-cmu.cc b/examples/wireless/wifi-clear-channel-cmu.cc index 0d2ebb708..c564f731e 100644 --- a/examples/wireless/wifi-clear-channel-cmu.cc +++ b/examples/wireless/wifi-clear-channel-cmu.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Boeing Company * diff --git a/examples/wireless/wifi-dsss-validation.cc b/examples/wireless/wifi-dsss-validation.cc index 78b6262e1..23dcea37f 100644 --- a/examples/wireless/wifi-dsss-validation.cc +++ b/examples/wireless/wifi-dsss-validation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/wireless/wifi-error-models-comparison.cc b/examples/wireless/wifi-error-models-comparison.cc index 4c277acd1..01259408b 100644 --- a/examples/wireless/wifi-error-models-comparison.cc +++ b/examples/wireless/wifi-error-models-comparison.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Washington * diff --git a/examples/wireless/wifi-he-network.cc b/examples/wireless/wifi-he-network.cc index 6daab0fb5..bc821d12b 100644 --- a/examples/wireless/wifi-he-network.cc +++ b/examples/wireless/wifi-he-network.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 SEBASTIEN DERONNE * diff --git a/examples/wireless/wifi-hidden-terminal.cc b/examples/wireless/wifi-hidden-terminal.cc index e5db32264..fe4b80c24 100644 --- a/examples/wireless/wifi-hidden-terminal.cc +++ b/examples/wireless/wifi-hidden-terminal.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 IITP RAS * diff --git a/examples/wireless/wifi-ht-network.cc b/examples/wireless/wifi-ht-network.cc index f4df8196b..f68d8043b 100644 --- a/examples/wireless/wifi-ht-network.cc +++ b/examples/wireless/wifi-ht-network.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/examples/wireless/wifi-mixed-network.cc b/examples/wireless/wifi-mixed-network.cc index 5eb6a046a..22432c8ef 100644 --- a/examples/wireless/wifi-mixed-network.cc +++ b/examples/wireless/wifi-mixed-network.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/examples/wireless/wifi-multi-tos.cc b/examples/wireless/wifi-multi-tos.cc index e98b08233..efdb9d879 100644 --- a/examples/wireless/wifi-multi-tos.cc +++ b/examples/wireless/wifi-multi-tos.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 * diff --git a/examples/wireless/wifi-multirate.cc b/examples/wireless/wifi-multirate.cc index 7499c8b37..a293954ec 100644 --- a/examples/wireless/wifi-multirate.cc +++ b/examples/wireless/wifi-multirate.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/wireless/wifi-ofdm-eht-validation.cc b/examples/wireless/wifi-ofdm-eht-validation.cc index b221901c1..267ef7469 100644 --- a/examples/wireless/wifi-ofdm-eht-validation.cc +++ b/examples/wireless/wifi-ofdm-eht-validation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/examples/wireless/wifi-ofdm-he-validation.cc b/examples/wireless/wifi-ofdm-he-validation.cc index 45def1e10..24a71353b 100644 --- a/examples/wireless/wifi-ofdm-he-validation.cc +++ b/examples/wireless/wifi-ofdm-he-validation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/wireless/wifi-ofdm-ht-validation.cc b/examples/wireless/wifi-ofdm-ht-validation.cc index 1a94abcd9..92a431d24 100644 --- a/examples/wireless/wifi-ofdm-ht-validation.cc +++ b/examples/wireless/wifi-ofdm-ht-validation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/wireless/wifi-ofdm-validation.cc b/examples/wireless/wifi-ofdm-validation.cc index 24c28888d..6eb1d212a 100644 --- a/examples/wireless/wifi-ofdm-validation.cc +++ b/examples/wireless/wifi-ofdm-validation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/examples/wireless/wifi-ofdm-vht-validation.cc b/examples/wireless/wifi-ofdm-vht-validation.cc index a6f6fc5ce..8e2bded0f 100644 --- a/examples/wireless/wifi-ofdm-vht-validation.cc +++ b/examples/wireless/wifi-ofdm-vht-validation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/examples/wireless/wifi-power-adaptation-distance.cc b/examples/wireless/wifi-power-adaptation-distance.cc index bdd39f785..ea74ac7ab 100644 --- a/examples/wireless/wifi-power-adaptation-distance.cc +++ b/examples/wireless/wifi-power-adaptation-distance.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universidad de la República - Uruguay * diff --git a/examples/wireless/wifi-power-adaptation-interference.cc b/examples/wireless/wifi-power-adaptation-interference.cc index fdace6f8f..f6142e6ac 100644 --- a/examples/wireless/wifi-power-adaptation-interference.cc +++ b/examples/wireless/wifi-power-adaptation-interference.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universidad de la República - Uruguay * diff --git a/examples/wireless/wifi-rate-adaptation-distance.cc b/examples/wireless/wifi-rate-adaptation-distance.cc index 2485dd099..41547f88e 100644 --- a/examples/wireless/wifi-rate-adaptation-distance.cc +++ b/examples/wireless/wifi-rate-adaptation-distance.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universidad de la República - Uruguay * diff --git a/examples/wireless/wifi-simple-adhoc-grid.cc b/examples/wireless/wifi-simple-adhoc-grid.cc index 45fcc9a9a..e63530dd4 100644 --- a/examples/wireless/wifi-simple-adhoc-grid.cc +++ b/examples/wireless/wifi-simple-adhoc-grid.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/examples/wireless/wifi-simple-adhoc.cc b/examples/wireless/wifi-simple-adhoc.cc index fc0aee7d2..a7f880e47 100644 --- a/examples/wireless/wifi-simple-adhoc.cc +++ b/examples/wireless/wifi-simple-adhoc.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Boeing Company * diff --git a/examples/wireless/wifi-simple-ht-hidden-stations.cc b/examples/wireless/wifi-simple-ht-hidden-stations.cc index 49cb4ce08..a52169032 100644 --- a/examples/wireless/wifi-simple-ht-hidden-stations.cc +++ b/examples/wireless/wifi-simple-ht-hidden-stations.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Sébastien Deronne * diff --git a/examples/wireless/wifi-simple-infra.cc b/examples/wireless/wifi-simple-infra.cc index d3eb5c8d8..c66c4a915 100644 --- a/examples/wireless/wifi-simple-infra.cc +++ b/examples/wireless/wifi-simple-infra.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Boeing Company * diff --git a/examples/wireless/wifi-simple-interference.cc b/examples/wireless/wifi-simple-interference.cc index b6a831ade..575efbd8f 100644 --- a/examples/wireless/wifi-simple-interference.cc +++ b/examples/wireless/wifi-simple-interference.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Boeing Company * diff --git a/examples/wireless/wifi-sleep.cc b/examples/wireless/wifi-sleep.cc index b38f2304e..0d1593d91 100644 --- a/examples/wireless/wifi-sleep.cc +++ b/examples/wireless/wifi-sleep.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Boeing Company * 2014 Universita' degli Studi di Napoli "Federico II" diff --git a/examples/wireless/wifi-spatial-reuse.cc b/examples/wireless/wifi-spatial-reuse.cc index 759cffbff..d5ee7ca70 100644 --- a/examples/wireless/wifi-spatial-reuse.cc +++ b/examples/wireless/wifi-spatial-reuse.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 University of Washington * diff --git a/examples/wireless/wifi-spectrum-per-example.cc b/examples/wireless/wifi-spectrum-per-example.cc index 99485a42e..aed4d655f 100644 --- a/examples/wireless/wifi-spectrum-per-example.cc +++ b/examples/wireless/wifi-spectrum-per-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * Copyright (c) 2015 University of Washington diff --git a/examples/wireless/wifi-spectrum-per-interference.cc b/examples/wireless/wifi-spectrum-per-interference.cc index 393265a99..0964f3fec 100644 --- a/examples/wireless/wifi-spectrum-per-interference.cc +++ b/examples/wireless/wifi-spectrum-per-interference.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * Copyright (c) 2015 University of Washington diff --git a/examples/wireless/wifi-spectrum-saturation-example.cc b/examples/wireless/wifi-spectrum-saturation-example.cc index aa9e99f16..306d16ce5 100644 --- a/examples/wireless/wifi-spectrum-saturation-example.cc +++ b/examples/wireless/wifi-spectrum-saturation-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * Copyright (c) 2015 University of Washington diff --git a/examples/wireless/wifi-tcp.cc b/examples/wireless/wifi-tcp.cc index 34fe9a063..125e8f476 100644 --- a/examples/wireless/wifi-tcp.cc +++ b/examples/wireless/wifi-tcp.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015, IMDEA Networks Institute * diff --git a/examples/wireless/wifi-timing-attributes.cc b/examples/wireless/wifi-timing-attributes.cc index 5d06d3241..48d135054 100644 --- a/examples/wireless/wifi-timing-attributes.cc +++ b/examples/wireless/wifi-timing-attributes.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 * diff --git a/examples/wireless/wifi-txop-aggregation.cc b/examples/wireless/wifi-txop-aggregation.cc index e0117cc48..0c2d6d6fd 100644 --- a/examples/wireless/wifi-txop-aggregation.cc +++ b/examples/wireless/wifi-txop-aggregation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/examples/wireless/wifi-vht-network.cc b/examples/wireless/wifi-vht-network.cc index d5ca3e5ff..1167cebbf 100644 --- a/examples/wireless/wifi-vht-network.cc +++ b/examples/wireless/wifi-vht-network.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 SEBASTIEN DERONNE * diff --git a/examples/wireless/wifi-wired-bridging.cc b/examples/wireless/wifi-wired-bridging.cc index 5564f1597..5408f5573 100644 --- a/examples/wireless/wifi-wired-bridging.cc +++ b/examples/wireless/wifi-wired-bridging.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/scratch/scratch-simulator.cc b/scratch/scratch-simulator.cc index 8a4b44bfd..838d378ca 100644 --- a/scratch/scratch-simulator.cc +++ b/scratch/scratch-simulator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/scratch/subdir/scratch-subdir-additional-header.cc b/scratch/subdir/scratch-subdir-additional-header.cc index e77868fcc..69efcd490 100644 --- a/scratch/subdir/scratch-subdir-additional-header.cc +++ b/scratch/subdir/scratch-subdir-additional-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/scratch/subdir/scratch-subdir-additional-header.h b/scratch/subdir/scratch-subdir-additional-header.h index fe3873e8c..c6a7c8948 100644 --- a/scratch/subdir/scratch-subdir-additional-header.h +++ b/scratch/subdir/scratch-subdir-additional-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/scratch/subdir/scratch-subdir.cc b/scratch/subdir/scratch-subdir.cc index d4fb601d7..23373d010 100644 --- a/scratch/subdir/scratch-subdir.cc +++ b/scratch/subdir/scratch-subdir.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/antenna/model/angles.cc b/src/antenna/model/angles.cc index 3c9405cb7..7b4bf5122 100644 --- a/src/antenna/model/angles.cc +++ b/src/antenna/model/angles.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 CTTC * diff --git a/src/antenna/model/angles.h b/src/antenna/model/angles.h index b1a3d66e4..94dcfe283 100644 --- a/src/antenna/model/angles.h +++ b/src/antenna/model/angles.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 CTTC * diff --git a/src/antenna/model/antenna-model.cc b/src/antenna/model/antenna-model.cc index bc02dd708..a34da756b 100644 --- a/src/antenna/model/antenna-model.cc +++ b/src/antenna/model/antenna-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/model/antenna-model.h b/src/antenna/model/antenna-model.h index c462fa4c6..788bbf39d 100644 --- a/src/antenna/model/antenna-model.h +++ b/src/antenna/model/antenna-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/model/cosine-antenna-model.cc b/src/antenna/model/cosine-antenna-model.cc index 5178cce2b..4a4515dd2 100644 --- a/src/antenna/model/cosine-antenna-model.cc +++ b/src/antenna/model/cosine-antenna-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/model/cosine-antenna-model.h b/src/antenna/model/cosine-antenna-model.h index 4104a6e06..825b2fce6 100644 --- a/src/antenna/model/cosine-antenna-model.h +++ b/src/antenna/model/cosine-antenna-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/model/isotropic-antenna-model.cc b/src/antenna/model/isotropic-antenna-model.cc index d6211228e..20914194e 100644 --- a/src/antenna/model/isotropic-antenna-model.cc +++ b/src/antenna/model/isotropic-antenna-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/model/isotropic-antenna-model.h b/src/antenna/model/isotropic-antenna-model.h index e4054e31f..f8e976eb8 100644 --- a/src/antenna/model/isotropic-antenna-model.h +++ b/src/antenna/model/isotropic-antenna-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/model/parabolic-antenna-model.cc b/src/antenna/model/parabolic-antenna-model.cc index e572d0693..54316b9b5 100644 --- a/src/antenna/model/parabolic-antenna-model.cc +++ b/src/antenna/model/parabolic-antenna-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 CTTC * diff --git a/src/antenna/model/parabolic-antenna-model.h b/src/antenna/model/parabolic-antenna-model.h index ff0dc2dcb..720b51673 100644 --- a/src/antenna/model/parabolic-antenna-model.h +++ b/src/antenna/model/parabolic-antenna-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 CTTC * diff --git a/src/antenna/model/phased-array-model.cc b/src/antenna/model/phased-array-model.cc index 0b716da36..1bf4aeadd 100644 --- a/src/antenna/model/phased-array-model.cc +++ b/src/antenna/model/phased-array-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Padova, Dep. of Information Engineering, SIGNET lab. * diff --git a/src/antenna/model/phased-array-model.h b/src/antenna/model/phased-array-model.h index b42cc2ebe..544608902 100644 --- a/src/antenna/model/phased-array-model.h +++ b/src/antenna/model/phased-array-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Padova, Dep. of Information Engineering, SIGNET lab. * diff --git a/src/antenna/model/three-gpp-antenna-model.cc b/src/antenna/model/three-gpp-antenna-model.cc index c5e33c3a0..a218b7fe8 100644 --- a/src/antenna/model/three-gpp-antenna-model.cc +++ b/src/antenna/model/three-gpp-antenna-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Padova, Dep. of Information Engineering, SIGNET lab. * diff --git a/src/antenna/model/three-gpp-antenna-model.h b/src/antenna/model/three-gpp-antenna-model.h index e2dc023b4..aa2b89e44 100644 --- a/src/antenna/model/three-gpp-antenna-model.h +++ b/src/antenna/model/three-gpp-antenna-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Padova, Dep. of Information Engineering, SIGNET lab. * diff --git a/src/antenna/model/uniform-planar-array.cc b/src/antenna/model/uniform-planar-array.cc index 60c1e2858..abd187838 100644 --- a/src/antenna/model/uniform-planar-array.cc +++ b/src/antenna/model/uniform-planar-array.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Padova, Dep. of Information Engineering, SIGNET lab. * diff --git a/src/antenna/model/uniform-planar-array.h b/src/antenna/model/uniform-planar-array.h index 03c304163..02e79551f 100644 --- a/src/antenna/model/uniform-planar-array.h +++ b/src/antenna/model/uniform-planar-array.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Padova, Dep. of Information Engineering, SIGNET lab. * diff --git a/src/antenna/test/test-angles.cc b/src/antenna/test/test-angles.cc index a85533a3c..5ce7639f0 100644 --- a/src/antenna/test/test-angles.cc +++ b/src/antenna/test/test-angles.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/test/test-cosine-antenna.cc b/src/antenna/test/test-cosine-antenna.cc index 4fc7208ae..7a14d330c 100644 --- a/src/antenna/test/test-cosine-antenna.cc +++ b/src/antenna/test/test-cosine-antenna.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/test/test-degrees-radians.cc b/src/antenna/test/test-degrees-radians.cc index db1ea526b..f693698cf 100644 --- a/src/antenna/test/test-degrees-radians.cc +++ b/src/antenna/test/test-degrees-radians.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/test/test-isotropic-antenna.cc b/src/antenna/test/test-isotropic-antenna.cc index d4aa90489..28c04e5be 100644 --- a/src/antenna/test/test-isotropic-antenna.cc +++ b/src/antenna/test/test-isotropic-antenna.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/antenna/test/test-parabolic-antenna.cc b/src/antenna/test/test-parabolic-antenna.cc index 447b79901..431345c86 100644 --- a/src/antenna/test/test-parabolic-antenna.cc +++ b/src/antenna/test/test-parabolic-antenna.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,12 CTTC * diff --git a/src/antenna/test/test-uniform-planar-array.cc b/src/antenna/test/test-uniform-planar-array.cc index 7b91192b7..83b24cf0e 100644 --- a/src/antenna/test/test-uniform-planar-array.cc +++ b/src/antenna/test/test-uniform-planar-array.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Padova, Dep. of Information Engineering, SIGNET lab. * diff --git a/src/aodv/doc/aodv.h b/src/aodv/doc/aodv.h index ba3c91d6e..b73eb5764 100644 --- a/src/aodv/doc/aodv.h +++ b/src/aodv/doc/aodv.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/examples/aodv.cc b/src/aodv/examples/aodv.cc index 7db2790ba..361cba2e1 100644 --- a/src/aodv/examples/aodv.cc +++ b/src/aodv/examples/aodv.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/helper/aodv-helper.cc b/src/aodv/helper/aodv-helper.cc index 09446a9c1..f00401333 100644 --- a/src/aodv/helper/aodv-helper.cc +++ b/src/aodv/helper/aodv-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/helper/aodv-helper.h b/src/aodv/helper/aodv-helper.h index ea71a8b51..a8675f950 100644 --- a/src/aodv/helper/aodv-helper.h +++ b/src/aodv/helper/aodv-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-dpd.cc b/src/aodv/model/aodv-dpd.cc index 9f47c2345..5ad4e298a 100644 --- a/src/aodv/model/aodv-dpd.cc +++ b/src/aodv/model/aodv-dpd.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-dpd.h b/src/aodv/model/aodv-dpd.h index b89c0da57..0821455f8 100644 --- a/src/aodv/model/aodv-dpd.h +++ b/src/aodv/model/aodv-dpd.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-id-cache.cc b/src/aodv/model/aodv-id-cache.cc index 5f9d3384b..a1e632cc3 100644 --- a/src/aodv/model/aodv-id-cache.cc +++ b/src/aodv/model/aodv-id-cache.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-id-cache.h b/src/aodv/model/aodv-id-cache.h index a3ea72ec0..8fd3ecb4b 100644 --- a/src/aodv/model/aodv-id-cache.h +++ b/src/aodv/model/aodv-id-cache.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-neighbor.cc b/src/aodv/model/aodv-neighbor.cc index 6f82c77f4..caa94d63b 100644 --- a/src/aodv/model/aodv-neighbor.cc +++ b/src/aodv/model/aodv-neighbor.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-neighbor.h b/src/aodv/model/aodv-neighbor.h index 1b2268cc4..d009dec72 100644 --- a/src/aodv/model/aodv-neighbor.h +++ b/src/aodv/model/aodv-neighbor.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-packet.cc b/src/aodv/model/aodv-packet.cc index ac0b36249..a6741e21c 100644 --- a/src/aodv/model/aodv-packet.cc +++ b/src/aodv/model/aodv-packet.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-packet.h b/src/aodv/model/aodv-packet.h index 38f648122..d7dcb0937 100644 --- a/src/aodv/model/aodv-packet.h +++ b/src/aodv/model/aodv-packet.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-routing-protocol.cc b/src/aodv/model/aodv-routing-protocol.cc index 1537750d8..ba7e8355a 100644 --- a/src/aodv/model/aodv-routing-protocol.cc +++ b/src/aodv/model/aodv-routing-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-routing-protocol.h b/src/aodv/model/aodv-routing-protocol.h index 14af0e8ff..c13c7bf4a 100644 --- a/src/aodv/model/aodv-routing-protocol.h +++ b/src/aodv/model/aodv-routing-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-rqueue.cc b/src/aodv/model/aodv-rqueue.cc index 94fa90af2..4b571c5de 100644 --- a/src/aodv/model/aodv-rqueue.cc +++ b/src/aodv/model/aodv-rqueue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-rqueue.h b/src/aodv/model/aodv-rqueue.h index bd2211cf3..2df7774fb 100644 --- a/src/aodv/model/aodv-rqueue.h +++ b/src/aodv/model/aodv-rqueue.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-rtable.cc b/src/aodv/model/aodv-rtable.cc index b3ae82059..6962c7453 100644 --- a/src/aodv/model/aodv-rtable.cc +++ b/src/aodv/model/aodv-rtable.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/model/aodv-rtable.h b/src/aodv/model/aodv-rtable.h index 42282e753..8fea71521 100644 --- a/src/aodv/model/aodv-rtable.h +++ b/src/aodv/model/aodv-rtable.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/test/aodv-id-cache-test-suite.cc b/src/aodv/test/aodv-id-cache-test-suite.cc index 66a911550..41a7e50af 100644 --- a/src/aodv/test/aodv-id-cache-test-suite.cc +++ b/src/aodv/test/aodv-id-cache-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/test/aodv-regression.cc b/src/aodv/test/aodv-regression.cc index 76a59bf91..053cb1e38 100644 --- a/src/aodv/test/aodv-regression.cc +++ b/src/aodv/test/aodv-regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/test/aodv-regression.h b/src/aodv/test/aodv-regression.h index 5aac3895d..f94582fc1 100644 --- a/src/aodv/test/aodv-regression.h +++ b/src/aodv/test/aodv-regression.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/test/aodv-test-suite.cc b/src/aodv/test/aodv-test-suite.cc index b0b191022..8ecbf03cb 100644 --- a/src/aodv/test/aodv-test-suite.cc +++ b/src/aodv/test/aodv-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/test/bug-772.cc b/src/aodv/test/bug-772.cc index 1945c17d5..0719448b8 100644 --- a/src/aodv/test/bug-772.cc +++ b/src/aodv/test/bug-772.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/aodv/test/bug-772.h b/src/aodv/test/bug-772.h index 0780490de..cfba00f14 100644 --- a/src/aodv/test/bug-772.h +++ b/src/aodv/test/bug-772.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 IITP RAS * diff --git a/src/aodv/test/loopback.cc b/src/aodv/test/loopback.cc index fdb24162a..6250d52fa 100644 --- a/src/aodv/test/loopback.cc +++ b/src/aodv/test/loopback.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 IITP RAS * diff --git a/src/applications/doc/applications.h b/src/applications/doc/applications.h index a1bba8e47..47129ad11 100644 --- a/src/applications/doc/applications.h +++ b/src/applications/doc/applications.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/applications/examples/three-gpp-http-example.cc b/src/applications/examples/three-gpp-http-example.cc index 989f32a8c..2fe725cb4 100644 --- a/src/applications/examples/three-gpp-http-example.cc +++ b/src/applications/examples/three-gpp-http-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Magister Solutions * diff --git a/src/applications/helper/bulk-send-helper.cc b/src/applications/helper/bulk-send-helper.cc index 6826f02cb..1d7c4b2f7 100644 --- a/src/applications/helper/bulk-send-helper.cc +++ b/src/applications/helper/bulk-send-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/bulk-send-helper.h b/src/applications/helper/bulk-send-helper.h index 20cfd7455..af714b0e0 100644 --- a/src/applications/helper/bulk-send-helper.h +++ b/src/applications/helper/bulk-send-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/on-off-helper.cc b/src/applications/helper/on-off-helper.cc index d1a2cb18d..311fee0f4 100644 --- a/src/applications/helper/on-off-helper.cc +++ b/src/applications/helper/on-off-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/on-off-helper.h b/src/applications/helper/on-off-helper.h index c0b32f816..d0bf8e77f 100644 --- a/src/applications/helper/on-off-helper.h +++ b/src/applications/helper/on-off-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/packet-sink-helper.cc b/src/applications/helper/packet-sink-helper.cc index baad1dd0c..a1e2139f8 100644 --- a/src/applications/helper/packet-sink-helper.cc +++ b/src/applications/helper/packet-sink-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/packet-sink-helper.h b/src/applications/helper/packet-sink-helper.h index 2cd28d89b..c1c17225c 100644 --- a/src/applications/helper/packet-sink-helper.h +++ b/src/applications/helper/packet-sink-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/three-gpp-http-helper.cc b/src/applications/helper/three-gpp-http-helper.cc index fa3936760..85fc270c3 100644 --- a/src/applications/helper/three-gpp-http-helper.cc +++ b/src/applications/helper/three-gpp-http-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2013 Magister Solutions diff --git a/src/applications/helper/three-gpp-http-helper.h b/src/applications/helper/three-gpp-http-helper.h index a562800cf..f4f131812 100644 --- a/src/applications/helper/three-gpp-http-helper.h +++ b/src/applications/helper/three-gpp-http-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2013 Magister Solutions diff --git a/src/applications/helper/udp-client-server-helper.cc b/src/applications/helper/udp-client-server-helper.cc index 6b599ba2d..9307bf0ea 100644 --- a/src/applications/helper/udp-client-server-helper.cc +++ b/src/applications/helper/udp-client-server-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/udp-client-server-helper.h b/src/applications/helper/udp-client-server-helper.h index 714821de0..41bf51cf1 100644 --- a/src/applications/helper/udp-client-server-helper.h +++ b/src/applications/helper/udp-client-server-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/udp-echo-helper.cc b/src/applications/helper/udp-echo-helper.cc index 01a11f710..e8b24a8db 100644 --- a/src/applications/helper/udp-echo-helper.cc +++ b/src/applications/helper/udp-echo-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/helper/udp-echo-helper.h b/src/applications/helper/udp-echo-helper.h index 7b088c873..6b904baf0 100644 --- a/src/applications/helper/udp-echo-helper.h +++ b/src/applications/helper/udp-echo-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/applications/model/application-packet-probe.cc b/src/applications/model/application-packet-probe.cc index bf5d14f95..00ffa7b42 100644 --- a/src/applications/model/application-packet-probe.cc +++ b/src/applications/model/application-packet-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/applications/model/application-packet-probe.h b/src/applications/model/application-packet-probe.h index 5d7bc6913..aa41e5f4b 100644 --- a/src/applications/model/application-packet-probe.h +++ b/src/applications/model/application-packet-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/applications/model/bulk-send-application.cc b/src/applications/model/bulk-send-application.cc index 69959fed7..9b2100a0b 100644 --- a/src/applications/model/bulk-send-application.cc +++ b/src/applications/model/bulk-send-application.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Georgia Institute of Technology * diff --git a/src/applications/model/bulk-send-application.h b/src/applications/model/bulk-send-application.h index fd899f22f..bb809fe1b 100644 --- a/src/applications/model/bulk-send-application.h +++ b/src/applications/model/bulk-send-application.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Georgia Institute of Technology * diff --git a/src/applications/model/onoff-application.cc b/src/applications/model/onoff-application.cc index 9b74220f4..c250e9c7c 100644 --- a/src/applications/model/onoff-application.cc +++ b/src/applications/model/onoff-application.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/applications/model/onoff-application.h b/src/applications/model/onoff-application.h index 8a195c6ed..e1cb143a7 100644 --- a/src/applications/model/onoff-application.h +++ b/src/applications/model/onoff-application.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/applications/model/packet-loss-counter.cc b/src/applications/model/packet-loss-counter.cc index 0d0168ac7..362986585 100644 --- a/src/applications/model/packet-loss-counter.cc +++ b/src/applications/model/packet-loss-counter.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDCAST * diff --git a/src/applications/model/packet-loss-counter.h b/src/applications/model/packet-loss-counter.h index 0f4033bd0..3d8d65f62 100644 --- a/src/applications/model/packet-loss-counter.h +++ b/src/applications/model/packet-loss-counter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * diff --git a/src/applications/model/packet-sink.cc b/src/applications/model/packet-sink.cc index b22054bb2..681c884c9 100644 --- a/src/applications/model/packet-sink.cc +++ b/src/applications/model/packet-sink.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/applications/model/packet-sink.h b/src/applications/model/packet-sink.h index 6910ac5e1..170dee422 100644 --- a/src/applications/model/packet-sink.h +++ b/src/applications/model/packet-sink.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/applications/model/seq-ts-echo-header.cc b/src/applications/model/seq-ts-echo-header.cc index 59a15cb58..6a9161032 100644 --- a/src/applications/model/seq-ts-echo-header.cc +++ b/src/applications/model/seq-ts-echo-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * Copyright (c) 2016 Universita' di Firenze (added echo fields) diff --git a/src/applications/model/seq-ts-echo-header.h b/src/applications/model/seq-ts-echo-header.h index ff47cd504..822520a24 100644 --- a/src/applications/model/seq-ts-echo-header.h +++ b/src/applications/model/seq-ts-echo-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * Copyright (c) 2016 Universita' di Firenze (added echo fields) diff --git a/src/applications/model/seq-ts-header.cc b/src/applications/model/seq-ts-header.cc index f5f1408f7..1de6d2ada 100644 --- a/src/applications/model/seq-ts-header.cc +++ b/src/applications/model/seq-ts-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/applications/model/seq-ts-header.h b/src/applications/model/seq-ts-header.h index 2c47a9443..cb1a8a90e 100644 --- a/src/applications/model/seq-ts-header.h +++ b/src/applications/model/seq-ts-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/applications/model/seq-ts-size-header.cc b/src/applications/model/seq-ts-size-header.cc index 2b0f08ecd..3c315d8eb 100644 --- a/src/applications/model/seq-ts-size-header.cc +++ b/src/applications/model/seq-ts-size-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * Copyright (c) 2018 Natale Patriciello diff --git a/src/applications/model/seq-ts-size-header.h b/src/applications/model/seq-ts-size-header.h index 14ba6c5d1..1bc0e4528 100644 --- a/src/applications/model/seq-ts-size-header.h +++ b/src/applications/model/seq-ts-size-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * Copyright (c) 2018 Natale Patriciello diff --git a/src/applications/model/three-gpp-http-client.cc b/src/applications/model/three-gpp-http-client.cc index 3f56bd5f8..f9b31ecb9 100644 --- a/src/applications/model/three-gpp-http-client.cc +++ b/src/applications/model/three-gpp-http-client.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Magister Solutions * diff --git a/src/applications/model/three-gpp-http-client.h b/src/applications/model/three-gpp-http-client.h index abdc9ef1f..a149ce878 100644 --- a/src/applications/model/three-gpp-http-client.h +++ b/src/applications/model/three-gpp-http-client.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Magister Solutions * diff --git a/src/applications/model/three-gpp-http-header.cc b/src/applications/model/three-gpp-http-header.cc index f2802d480..bf366277e 100644 --- a/src/applications/model/three-gpp-http-header.cc +++ b/src/applications/model/three-gpp-http-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Magister Solutions * diff --git a/src/applications/model/three-gpp-http-header.h b/src/applications/model/three-gpp-http-header.h index 93d984ca0..9f8f028b7 100644 --- a/src/applications/model/three-gpp-http-header.h +++ b/src/applications/model/three-gpp-http-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Magister Solutions * diff --git a/src/applications/model/three-gpp-http-server.cc b/src/applications/model/three-gpp-http-server.cc index 7da0f0c26..8329383af 100644 --- a/src/applications/model/three-gpp-http-server.cc +++ b/src/applications/model/three-gpp-http-server.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Magister Solutions * diff --git a/src/applications/model/three-gpp-http-server.h b/src/applications/model/three-gpp-http-server.h index f834ea5b3..4b7b1c6ff 100644 --- a/src/applications/model/three-gpp-http-server.h +++ b/src/applications/model/three-gpp-http-server.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Magister Solutions * diff --git a/src/applications/model/three-gpp-http-variables.cc b/src/applications/model/three-gpp-http-variables.cc index 747a61414..bad12f5c3 100644 --- a/src/applications/model/three-gpp-http-variables.cc +++ b/src/applications/model/three-gpp-http-variables.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Magister Solutions * diff --git a/src/applications/model/three-gpp-http-variables.h b/src/applications/model/three-gpp-http-variables.h index 73c21ce9b..b2f2d6e2c 100644 --- a/src/applications/model/three-gpp-http-variables.h +++ b/src/applications/model/three-gpp-http-variables.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Magister Solutions * diff --git a/src/applications/model/udp-client.cc b/src/applications/model/udp-client.cc index d48760461..a1e002e5a 100644 --- a/src/applications/model/udp-client.cc +++ b/src/applications/model/udp-client.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * diff --git a/src/applications/model/udp-client.h b/src/applications/model/udp-client.h index f636632d9..0f241ab5a 100644 --- a/src/applications/model/udp-client.h +++ b/src/applications/model/udp-client.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * diff --git a/src/applications/model/udp-echo-client.cc b/src/applications/model/udp-echo-client.cc index 2b45353a1..70cd095cb 100644 --- a/src/applications/model/udp-echo-client.cc +++ b/src/applications/model/udp-echo-client.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/applications/model/udp-echo-client.h b/src/applications/model/udp-echo-client.h index cab919be6..ed7bed03d 100644 --- a/src/applications/model/udp-echo-client.h +++ b/src/applications/model/udp-echo-client.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/applications/model/udp-echo-server.cc b/src/applications/model/udp-echo-server.cc index bbf9dd9c0..f00eed7b4 100644 --- a/src/applications/model/udp-echo-server.cc +++ b/src/applications/model/udp-echo-server.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/applications/model/udp-echo-server.h b/src/applications/model/udp-echo-server.h index 97ff53652..d71963a92 100644 --- a/src/applications/model/udp-echo-server.h +++ b/src/applications/model/udp-echo-server.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/applications/model/udp-server.cc b/src/applications/model/udp-server.cc index 5c4eac55b..940d94ca5 100644 --- a/src/applications/model/udp-server.cc +++ b/src/applications/model/udp-server.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * diff --git a/src/applications/model/udp-server.h b/src/applications/model/udp-server.h index d8e720872..a824b5d96 100644 --- a/src/applications/model/udp-server.h +++ b/src/applications/model/udp-server.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * diff --git a/src/applications/model/udp-trace-client.cc b/src/applications/model/udp-trace-client.cc index 804a7a02d..4c378fa7c 100644 --- a/src/applications/model/udp-trace-client.cc +++ b/src/applications/model/udp-trace-client.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/applications/model/udp-trace-client.h b/src/applications/model/udp-trace-client.h index f41119533..c34364b65 100644 --- a/src/applications/model/udp-trace-client.h +++ b/src/applications/model/udp-trace-client.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/applications/test/bulk-send-application-test-suite.cc b/src/applications/test/bulk-send-application-test-suite.cc index fa067e91e..bf344bb57 100644 --- a/src/applications/test/bulk-send-application-test-suite.cc +++ b/src/applications/test/bulk-send-application-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Tom Henderson (tomh@tomh.org) * diff --git a/src/applications/test/three-gpp-http-client-server-test.cc b/src/applications/test/three-gpp-http-client-server-test.cc index 489428217..7337e23e8 100644 --- a/src/applications/test/three-gpp-http-client-server-test.cc +++ b/src/applications/test/three-gpp-http-client-server-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Magister Solutions * diff --git a/src/applications/test/udp-client-server-test.cc b/src/applications/test/udp-client-server-test.cc index e270fad2e..b4b7a167a 100644 --- a/src/applications/test/udp-client-server-test.cc +++ b/src/applications/test/udp-client-server-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/bridge/examples/csma-bridge-one-hop.cc b/src/bridge/examples/csma-bridge-one-hop.cc index af4ec03ba..1ea6317d7 100644 --- a/src/bridge/examples/csma-bridge-one-hop.cc +++ b/src/bridge/examples/csma-bridge-one-hop.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/bridge/examples/csma-bridge.cc b/src/bridge/examples/csma-bridge.cc index 42941f6ff..b2d60e3e3 100644 --- a/src/bridge/examples/csma-bridge.cc +++ b/src/bridge/examples/csma-bridge.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/bridge/helper/bridge-helper.cc b/src/bridge/helper/bridge-helper.cc index 308c6e436..3fea2f89d 100644 --- a/src/bridge/helper/bridge-helper.cc +++ b/src/bridge/helper/bridge-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) * diff --git a/src/bridge/helper/bridge-helper.h b/src/bridge/helper/bridge-helper.h index 347de3469..9d8a7fc69 100644 --- a/src/bridge/helper/bridge-helper.h +++ b/src/bridge/helper/bridge-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/bridge/model/bridge-channel.cc b/src/bridge/model/bridge-channel.cc index 02005e99a..56dbdb30b 100644 --- a/src/bridge/model/bridge-channel.cc +++ b/src/bridge/model/bridge-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/bridge/model/bridge-channel.h b/src/bridge/model/bridge-channel.h index 5c2020d66..553912380 100644 --- a/src/bridge/model/bridge-channel.h +++ b/src/bridge/model/bridge-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/bridge/model/bridge-net-device.cc b/src/bridge/model/bridge-net-device.cc index 87f138f2f..0613232f2 100644 --- a/src/bridge/model/bridge-net-device.cc +++ b/src/bridge/model/bridge-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/bridge/model/bridge-net-device.h b/src/bridge/model/bridge-net-device.h index 14921a89b..5d29f726f 100644 --- a/src/bridge/model/bridge-net-device.h +++ b/src/bridge/model/bridge-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/brite/examples/brite-MPI-example.cc b/src/brite/examples/brite-MPI-example.cc index 2e52ca3bf..8530b0249 100644 --- a/src/brite/examples/brite-MPI-example.cc +++ b/src/brite/examples/brite-MPI-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/brite/examples/brite-generic-example.cc b/src/brite/examples/brite-generic-example.cc index 745321b46..c90d72d26 100644 --- a/src/brite/examples/brite-generic-example.cc +++ b/src/brite/examples/brite-generic-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/brite/helper/brite-topology-helper.cc b/src/brite/helper/brite-topology-helper.cc index eac82ef41..ab9b99d26 100644 --- a/src/brite/helper/brite-topology-helper.cc +++ b/src/brite/helper/brite-topology-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/brite/helper/brite-topology-helper.h b/src/brite/helper/brite-topology-helper.h index bf4367096..1539aaf30 100644 --- a/src/brite/helper/brite-topology-helper.h +++ b/src/brite/helper/brite-topology-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/brite/test/brite-test-topology.cc b/src/brite/test/brite-test-topology.cc index b00bee09d..0f9f82e47 100644 --- a/src/brite/test/brite-test-topology.cc +++ b/src/brite/test/brite-test-topology.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/buildings/examples/buildings-pathloss-profiler.cc b/src/buildings/examples/buildings-pathloss-profiler.cc index 005386d78..2633a31a5 100644 --- a/src/buildings/examples/buildings-pathloss-profiler.cc +++ b/src/buildings/examples/buildings-pathloss-profiler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/examples/outdoor-group-mobility-example.cc b/src/buildings/examples/outdoor-group-mobility-example.cc index 614bca1cb..2847f1385 100644 --- a/src/buildings/examples/outdoor-group-mobility-example.cc +++ b/src/buildings/examples/outdoor-group-mobility-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Institute for the Wireless Internet of Things, Northeastern University, * Boston, MA Copyright (c) 2021, University of Washington: refactor for hierarchical model diff --git a/src/buildings/examples/outdoor-random-walk-example.cc b/src/buildings/examples/outdoor-random-walk-example.cc index 5c00298a3..18cd8d666 100644 --- a/src/buildings/examples/outdoor-random-walk-example.cc +++ b/src/buildings/examples/outdoor-random-walk-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2019, University of Padova, Dep. of Information Engineering, SIGNET lab diff --git a/src/buildings/helper/building-allocator.cc b/src/buildings/helper/building-allocator.cc index afe4334d0..d671bac35 100644 --- a/src/buildings/helper/building-allocator.cc +++ b/src/buildings/helper/building-allocator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * Copyright (C) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) diff --git a/src/buildings/helper/building-allocator.h b/src/buildings/helper/building-allocator.h index 7b0c96255..b8ad63318 100644 --- a/src/buildings/helper/building-allocator.h +++ b/src/buildings/helper/building-allocator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * Copyright (C) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) diff --git a/src/buildings/helper/building-container.cc b/src/buildings/helper/building-container.cc index bbac6c438..fafba52a3 100644 --- a/src/buildings/helper/building-container.cc +++ b/src/buildings/helper/building-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) diff --git a/src/buildings/helper/building-container.h b/src/buildings/helper/building-container.h index 8f22d4af4..7f48048f8 100644 --- a/src/buildings/helper/building-container.h +++ b/src/buildings/helper/building-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) diff --git a/src/buildings/helper/building-position-allocator.cc b/src/buildings/helper/building-position-allocator.cc index c7fe0488b..1a6bfbd21 100644 --- a/src/buildings/helper/building-position-allocator.cc +++ b/src/buildings/helper/building-position-allocator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (C) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/helper/building-position-allocator.h b/src/buildings/helper/building-position-allocator.h index b0ba8cb3f..404ff22cb 100644 --- a/src/buildings/helper/building-position-allocator.h +++ b/src/buildings/helper/building-position-allocator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (C) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/helper/buildings-helper.cc b/src/buildings/helper/buildings-helper.cc index d34d5000e..8d0f614bf 100644 --- a/src/buildings/helper/buildings-helper.cc +++ b/src/buildings/helper/buildings-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 CTTC * diff --git a/src/buildings/helper/buildings-helper.h b/src/buildings/helper/buildings-helper.h index 50622ff0c..1a557ba86 100644 --- a/src/buildings/helper/buildings-helper.h +++ b/src/buildings/helper/buildings-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 CTTC * diff --git a/src/buildings/model/building-list.cc b/src/buildings/model/building-list.cc index 5c1d617b6..9f533e83d 100644 --- a/src/buildings/model/building-list.cc +++ b/src/buildings/model/building-list.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/building-list.h b/src/buildings/model/building-list.h index 269da2076..c2286b065 100644 --- a/src/buildings/model/building-list.h +++ b/src/buildings/model/building-list.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/building.cc b/src/buildings/model/building.cc index abb5dea37..ead9dcd9d 100644 --- a/src/buildings/model/building.cc +++ b/src/buildings/model/building.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/building.h b/src/buildings/model/building.h index c14f50d67..74b072763 100644 --- a/src/buildings/model/building.h +++ b/src/buildings/model/building.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/buildings-channel-condition-model.cc b/src/buildings/model/buildings-channel-condition-model.cc index 04c115897..d7d174de6 100644 --- a/src/buildings/model/buildings-channel-condition-model.cc +++ b/src/buildings/model/buildings-channel-condition-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015, NYU WIRELESS, Tandon School of Engineering, New York * University diff --git a/src/buildings/model/buildings-channel-condition-model.h b/src/buildings/model/buildings-channel-condition-model.h index dafb1188c..518c9a084 100644 --- a/src/buildings/model/buildings-channel-condition-model.h +++ b/src/buildings/model/buildings-channel-condition-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015, NYU WIRELESS, Tandon School of Engineering, New York * University diff --git a/src/buildings/model/buildings-propagation-loss-model.cc b/src/buildings/model/buildings-propagation-loss-model.cc index 70acd78af..34544ee05 100644 --- a/src/buildings/model/buildings-propagation-loss-model.cc +++ b/src/buildings/model/buildings-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/buildings-propagation-loss-model.h b/src/buildings/model/buildings-propagation-loss-model.h index 686c75759..fe6e7a85c 100644 --- a/src/buildings/model/buildings-propagation-loss-model.h +++ b/src/buildings/model/buildings-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/hybrid-buildings-propagation-loss-model.cc b/src/buildings/model/hybrid-buildings-propagation-loss-model.cc index 98437148f..9509acd3e 100644 --- a/src/buildings/model/hybrid-buildings-propagation-loss-model.cc +++ b/src/buildings/model/hybrid-buildings-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/hybrid-buildings-propagation-loss-model.h b/src/buildings/model/hybrid-buildings-propagation-loss-model.h index d94a49b76..5a9c6ca41 100644 --- a/src/buildings/model/hybrid-buildings-propagation-loss-model.h +++ b/src/buildings/model/hybrid-buildings-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/itu-r-1238-propagation-loss-model.cc b/src/buildings/model/itu-r-1238-propagation-loss-model.cc index 22a5996a3..853cbf95d 100644 --- a/src/buildings/model/itu-r-1238-propagation-loss-model.cc +++ b/src/buildings/model/itu-r-1238-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/itu-r-1238-propagation-loss-model.h b/src/buildings/model/itu-r-1238-propagation-loss-model.h index dbdc2f2d9..b6ded5bb9 100644 --- a/src/buildings/model/itu-r-1238-propagation-loss-model.h +++ b/src/buildings/model/itu-r-1238-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/mobility-building-info.cc b/src/buildings/model/mobility-building-info.cc index 323fdfefb..f7c58b359 100644 --- a/src/buildings/model/mobility-building-info.cc +++ b/src/buildings/model/mobility-building-info.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/mobility-building-info.h b/src/buildings/model/mobility-building-info.h index b654cb8ed..651ce3271 100644 --- a/src/buildings/model/mobility-building-info.h +++ b/src/buildings/model/mobility-building-info.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/oh-buildings-propagation-loss-model.cc b/src/buildings/model/oh-buildings-propagation-loss-model.cc index e345f5683..132831a6d 100644 --- a/src/buildings/model/oh-buildings-propagation-loss-model.cc +++ b/src/buildings/model/oh-buildings-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/oh-buildings-propagation-loss-model.h b/src/buildings/model/oh-buildings-propagation-loss-model.h index 189ce50c1..7e7aa10be 100644 --- a/src/buildings/model/oh-buildings-propagation-loss-model.h +++ b/src/buildings/model/oh-buildings-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/model/random-walk-2d-outdoor-mobility-model.cc b/src/buildings/model/random-walk-2d-outdoor-mobility-model.cc index db2d366a4..6f6fda524 100644 --- a/src/buildings/model/random-walk-2d-outdoor-mobility-model.cc +++ b/src/buildings/model/random-walk-2d-outdoor-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * Copyright (c) 2019 University of Padova diff --git a/src/buildings/model/random-walk-2d-outdoor-mobility-model.h b/src/buildings/model/random-walk-2d-outdoor-mobility-model.h index 4f0cc1fd7..c2a41464b 100644 --- a/src/buildings/model/random-walk-2d-outdoor-mobility-model.h +++ b/src/buildings/model/random-walk-2d-outdoor-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * Copyright (c) 2019 University of Padova diff --git a/src/buildings/model/three-gpp-v2v-channel-condition-model.cc b/src/buildings/model/three-gpp-v2v-channel-condition-model.cc index d3207f15a..21e02bed2 100644 --- a/src/buildings/model/three-gpp-v2v-channel-condition-model.cc +++ b/src/buildings/model/three-gpp-v2v-channel-condition-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/buildings/model/three-gpp-v2v-channel-condition-model.h b/src/buildings/model/three-gpp-v2v-channel-condition-model.h index f7918ff9a..0d50c409f 100644 --- a/src/buildings/model/three-gpp-v2v-channel-condition-model.h +++ b/src/buildings/model/three-gpp-v2v-channel-condition-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/buildings/test/building-position-allocator-test.cc b/src/buildings/test/building-position-allocator-test.cc index 81c022bb2..94879a592 100644 --- a/src/buildings/test/building-position-allocator-test.cc +++ b/src/buildings/test/building-position-allocator-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/test/buildings-channel-condition-model-test.cc b/src/buildings/test/buildings-channel-condition-model-test.cc index dd2987281..2924d4051 100644 --- a/src/buildings/test/buildings-channel-condition-model-test.cc +++ b/src/buildings/test/buildings-channel-condition-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/buildings/test/buildings-helper-test.cc b/src/buildings/test/buildings-helper-test.cc index 308bc2656..16489f85b 100644 --- a/src/buildings/test/buildings-helper-test.cc +++ b/src/buildings/test/buildings-helper-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/test/buildings-pathloss-test.cc b/src/buildings/test/buildings-pathloss-test.cc index 3c8ab45d3..7e9a39f11 100644 --- a/src/buildings/test/buildings-pathloss-test.cc +++ b/src/buildings/test/buildings-pathloss-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/test/buildings-pathloss-test.h b/src/buildings/test/buildings-pathloss-test.h index 57f44304f..7cbf3c3c2 100644 --- a/src/buildings/test/buildings-pathloss-test.h +++ b/src/buildings/test/buildings-pathloss-test.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/test/buildings-shadowing-test.cc b/src/buildings/test/buildings-shadowing-test.cc index 1b147af12..5adc16b65 100644 --- a/src/buildings/test/buildings-shadowing-test.cc +++ b/src/buildings/test/buildings-shadowing-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/test/buildings-shadowing-test.h b/src/buildings/test/buildings-shadowing-test.h index 72433ea15..68a2af7f5 100644 --- a/src/buildings/test/buildings-shadowing-test.h +++ b/src/buildings/test/buildings-shadowing-test.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/buildings/test/outdoor-random-walk-test.cc b/src/buildings/test/outdoor-random-walk-test.cc index cd0b49af0..f6db0a306 100644 --- a/src/buildings/test/outdoor-random-walk-test.cc +++ b/src/buildings/test/outdoor-random-walk-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/buildings/test/three-gpp-v2v-channel-condition-model-test.cc b/src/buildings/test/three-gpp-v2v-channel-condition-model-test.cc index 41a259f6c..ddb2f4eaf 100644 --- a/src/buildings/test/three-gpp-v2v-channel-condition-model-test.cc +++ b/src/buildings/test/three-gpp-v2v-channel-condition-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2020 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) diff --git a/src/click/examples/nsclick-defines.cc b/src/click/examples/nsclick-defines.cc index 9602650d5..58f201d96 100644 --- a/src/click/examples/nsclick-defines.cc +++ b/src/click/examples/nsclick-defines.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/click/examples/nsclick-raw-wlan.cc b/src/click/examples/nsclick-raw-wlan.cc index ef96d9e74..e5900ae5d 100644 --- a/src/click/examples/nsclick-raw-wlan.cc +++ b/src/click/examples/nsclick-raw-wlan.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/click/examples/nsclick-routing.cc b/src/click/examples/nsclick-routing.cc index 15b9f70fc..1757da9ce 100644 --- a/src/click/examples/nsclick-routing.cc +++ b/src/click/examples/nsclick-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/click/examples/nsclick-simple-lan.cc b/src/click/examples/nsclick-simple-lan.cc index 03a483cb4..764e593a2 100644 --- a/src/click/examples/nsclick-simple-lan.cc +++ b/src/click/examples/nsclick-simple-lan.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/click/examples/nsclick-udp-client-server-csma.cc b/src/click/examples/nsclick-udp-client-server-csma.cc index ebb259b20..b96d6e29d 100644 --- a/src/click/examples/nsclick-udp-client-server-csma.cc +++ b/src/click/examples/nsclick-udp-client-server-csma.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/click/examples/nsclick-udp-client-server-wifi.cc b/src/click/examples/nsclick-udp-client-server-wifi.cc index 243a694f2..7bac7d5e5 100644 --- a/src/click/examples/nsclick-udp-client-server-wifi.cc +++ b/src/click/examples/nsclick-udp-client-server-wifi.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/click/helper/click-internet-stack-helper.cc b/src/click/helper/click-internet-stack-helper.cc index ad7fed172..353d77c14 100644 --- a/src/click/helper/click-internet-stack-helper.cc +++ b/src/click/helper/click-internet-stack-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/click/helper/click-internet-stack-helper.h b/src/click/helper/click-internet-stack-helper.h index fcd187626..0fa496be5 100644 --- a/src/click/helper/click-internet-stack-helper.h +++ b/src/click/helper/click-internet-stack-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/click/model/ipv4-click-routing.cc b/src/click/model/ipv4-click-routing.cc index 7f87ed07b..5c56334a5 100644 --- a/src/click/model/ipv4-click-routing.cc +++ b/src/click/model/ipv4-click-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Lalith Suresh * diff --git a/src/click/model/ipv4-click-routing.h b/src/click/model/ipv4-click-routing.h index d2c26331e..a4104517c 100644 --- a/src/click/model/ipv4-click-routing.h +++ b/src/click/model/ipv4-click-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Lalith Suresh * diff --git a/src/click/model/ipv4-l3-click-protocol.cc b/src/click/model/ipv4-l3-click-protocol.cc index 17047050b..7549fbb1a 100644 --- a/src/click/model/ipv4-l3-click-protocol.cc +++ b/src/click/model/ipv4-l3-click-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/click/model/ipv4-l3-click-protocol.h b/src/click/model/ipv4-l3-click-protocol.h index 3fd12a1b0..102cf31b4 100644 --- a/src/click/model/ipv4-l3-click-protocol.h +++ b/src/click/model/ipv4-l3-click-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/click/test/ipv4-click-routing-test.cc b/src/click/test/ipv4-click-routing-test.cc index 547dcdcfd..32ec41026 100644 --- a/src/click/test/ipv4-click-routing-test.cc +++ b/src/click/test/ipv4-click-routing-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Lalith Suresh * diff --git a/src/config-store/examples/config-store-save.cc b/src/config-store/examples/config-store-save.cc index 2692a1a72..63c640e94 100644 --- a/src/config-store/examples/config-store-save.cc +++ b/src/config-store/examples/config-store-save.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ns3/config-store-module.h" #include "ns3/core-module.h" diff --git a/src/config-store/model/attribute-default-iterator.cc b/src/config-store/model/attribute-default-iterator.cc index 2b35aee9c..27dde2826 100644 --- a/src/config-store/model/attribute-default-iterator.cc +++ b/src/config-store/model/attribute-default-iterator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/attribute-default-iterator.h b/src/config-store/model/attribute-default-iterator.h index 02b8a2507..14cbf6d1b 100644 --- a/src/config-store/model/attribute-default-iterator.h +++ b/src/config-store/model/attribute-default-iterator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/attribute-iterator.cc b/src/config-store/model/attribute-iterator.cc index de95ca25f..d6df2676f 100644 --- a/src/config-store/model/attribute-iterator.cc +++ b/src/config-store/model/attribute-iterator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/attribute-iterator.h b/src/config-store/model/attribute-iterator.h index 82f4636fb..4fe203c9a 100644 --- a/src/config-store/model/attribute-iterator.h +++ b/src/config-store/model/attribute-iterator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/config-store.cc b/src/config-store/model/config-store.cc index 34f08cfce..d611bb3bd 100644 --- a/src/config-store/model/config-store.cc +++ b/src/config-store/model/config-store.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/config-store/model/config-store.h b/src/config-store/model/config-store.h index 3d4eaf356..468b3ed7b 100644 --- a/src/config-store/model/config-store.h +++ b/src/config-store/model/config-store.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/config-store/model/display-functions.cc b/src/config-store/model/display-functions.cc index 4e4ae0ae8..a3e789c15 100644 --- a/src/config-store/model/display-functions.cc +++ b/src/config-store/model/display-functions.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/display-functions.h b/src/config-store/model/display-functions.h index 3c6d27c1d..4d5becbde 100644 --- a/src/config-store/model/display-functions.h +++ b/src/config-store/model/display-functions.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/file-config.cc b/src/config-store/model/file-config.cc index 23ac522ce..ec70bd54f 100644 --- a/src/config-store/model/file-config.cc +++ b/src/config-store/model/file-config.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/config-store/model/file-config.h b/src/config-store/model/file-config.h index 0cefd7343..b0e064dd8 100644 --- a/src/config-store/model/file-config.h +++ b/src/config-store/model/file-config.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/config-store/model/gtk-config-store.cc b/src/config-store/model/gtk-config-store.cc index 01a4aeddc..3ad4cab97 100644 --- a/src/config-store/model/gtk-config-store.cc +++ b/src/config-store/model/gtk-config-store.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/gtk-config-store.h b/src/config-store/model/gtk-config-store.h index cdd03d611..ae8d34a26 100644 --- a/src/config-store/model/gtk-config-store.h +++ b/src/config-store/model/gtk-config-store.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/model-node-creator.cc b/src/config-store/model/model-node-creator.cc index d3d391c53..c98e3d93d 100644 --- a/src/config-store/model/model-node-creator.cc +++ b/src/config-store/model/model-node-creator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/model-node-creator.h b/src/config-store/model/model-node-creator.h index c2ac1aa48..b1dd93acf 100644 --- a/src/config-store/model/model-node-creator.h +++ b/src/config-store/model/model-node-creator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/model-typeid-creator.cc b/src/config-store/model/model-typeid-creator.cc index c3333503d..82f425052 100644 --- a/src/config-store/model/model-typeid-creator.cc +++ b/src/config-store/model/model-typeid-creator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/model-typeid-creator.h b/src/config-store/model/model-typeid-creator.h index 7457d3d93..f8ecbed1b 100644 --- a/src/config-store/model/model-typeid-creator.h +++ b/src/config-store/model/model-typeid-creator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/config-store/model/raw-text-config.cc b/src/config-store/model/raw-text-config.cc index 7b83aa970..556edab1f 100644 --- a/src/config-store/model/raw-text-config.cc +++ b/src/config-store/model/raw-text-config.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/config-store/model/raw-text-config.h b/src/config-store/model/raw-text-config.h index 2720e09cc..7dc2a4218 100644 --- a/src/config-store/model/raw-text-config.h +++ b/src/config-store/model/raw-text-config.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/config-store/model/xml-config.cc b/src/config-store/model/xml-config.cc index 2ea3d460b..bbc7abf3f 100644 --- a/src/config-store/model/xml-config.cc +++ b/src/config-store/model/xml-config.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/config-store/model/xml-config.h b/src/config-store/model/xml-config.h index f8bfeed07..8b9703042 100644 --- a/src/config-store/model/xml-config.h +++ b/src/config-store/model/xml-config.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/core/doc/core.h b/src/core/doc/core.h index 84bac299a..f4ed96e7f 100644 --- a/src/core/doc/core.h +++ b/src/core/doc/core.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Peter D. Barnes, Jr. * diff --git a/src/core/doc/deprecated-example.h b/src/core/doc/deprecated-example.h index 334790c19..b4becf2bf 100644 --- a/src/core/doc/deprecated-example.h +++ b/src/core/doc/deprecated-example.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Lawrence Livermore National Laboratory * diff --git a/src/core/examples/build-version-example.cc b/src/core/examples/build-version-example.cc index 66e6a7b14..6426eb839 100644 --- a/src/core/examples/build-version-example.cc +++ b/src/core/examples/build-version-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Lawrence Livermore National Laboratory * diff --git a/src/core/examples/command-line-example.cc b/src/core/examples/command-line-example.cc index d7b7c60fc..0bb46170a 100644 --- a/src/core/examples/command-line-example.cc +++ b/src/core/examples/command-line-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Lawrence Livermore National Laboratory * diff --git a/src/core/examples/empirical-random-variable-example.cc b/src/core/examples/empirical-random-variable-example.cc index 003899727..4de4f777f 100644 --- a/src/core/examples/empirical-random-variable-example.cc +++ b/src/core/examples/empirical-random-variable-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Lawrence Livermore National Laboratory * diff --git a/src/core/examples/fatal-example.cc b/src/core/examples/fatal-example.cc index 6a0eebc2b..9cf5bfe49 100644 --- a/src/core/examples/fatal-example.cc +++ b/src/core/examples/fatal-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Lawrence Livermore National Laboratory * diff --git a/src/core/examples/hash-example.cc b/src/core/examples/hash-example.cc index 4f6405f0e..975d4abf2 100644 --- a/src/core/examples/hash-example.cc +++ b/src/core/examples/hash-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/core/examples/length-example.cc b/src/core/examples/length-example.cc index c85948272..c6a2b9282 100644 --- a/src/core/examples/length-example.cc +++ b/src/core/examples/length-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Lawrence Livermore National Laboratory * diff --git a/src/core/examples/main-callback.cc b/src/core/examples/main-callback.cc index 88093316b..ad4d6969e 100644 --- a/src/core/examples/main-callback.cc +++ b/src/core/examples/main-callback.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/core/examples/main-ptr.cc b/src/core/examples/main-ptr.cc index 3322122e5..f1e8fd630 100644 --- a/src/core/examples/main-ptr.cc +++ b/src/core/examples/main-ptr.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/core/examples/main-random-variable-stream.cc b/src/core/examples/main-random-variable-stream.cc index 92948440a..b0455524d 100644 --- a/src/core/examples/main-random-variable-stream.cc +++ b/src/core/examples/main-random-variable-stream.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Timo Bingmann * diff --git a/src/core/examples/main-test-sync.cc b/src/core/examples/main-test-sync.cc index d395a534a..b1fc37e6b 100644 --- a/src/core/examples/main-test-sync.cc +++ b/src/core/examples/main-test-sync.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/core/examples/sample-log-time-format.cc b/src/core/examples/sample-log-time-format.cc index 98ac49b68..e63e7847a 100644 --- a/src/core/examples/sample-log-time-format.cc +++ b/src/core/examples/sample-log-time-format.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/core/examples/sample-random-variable-stream.cc b/src/core/examples/sample-random-variable-stream.cc index 2a9a2272f..46f22ed98 100644 --- a/src/core/examples/sample-random-variable-stream.cc +++ b/src/core/examples/sample-random-variable-stream.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/core/examples/sample-random-variable.cc b/src/core/examples/sample-random-variable.cc index 514be265c..6854fdbbc 100644 --- a/src/core/examples/sample-random-variable.cc +++ b/src/core/examples/sample-random-variable.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/core/examples/sample-show-progress.cc b/src/core/examples/sample-show-progress.cc index 627ed1d0d..811481307 100644 --- a/src/core/examples/sample-show-progress.cc +++ b/src/core/examples/sample-show-progress.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Lawrence Livermore National Laboratory * diff --git a/src/core/examples/sample-simulator.cc b/src/core/examples/sample-simulator.cc index 6433ac95e..dc5ac0c67 100644 --- a/src/core/examples/sample-simulator.cc +++ b/src/core/examples/sample-simulator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/examples/system-path-examples.cc b/src/core/examples/system-path-examples.cc index 54be3bea7..7e52f10da 100644 --- a/src/core/examples/system-path-examples.cc +++ b/src/core/examples/system-path-examples.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Lawrence Livermore National Laboratory * diff --git a/src/core/examples/test-string-value-formatting.cc b/src/core/examples/test-string-value-formatting.cc index 1b5c34cbc..0379e4f06 100644 --- a/src/core/examples/test-string-value-formatting.cc +++ b/src/core/examples/test-string-value-formatting.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Tom Henderson * diff --git a/src/core/helper/csv-reader.cc b/src/core/helper/csv-reader.cc index caf00d8d6..084ecfbdf 100644 --- a/src/core/helper/csv-reader.cc +++ b/src/core/helper/csv-reader.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Lawrence Livermore National Laboratory * diff --git a/src/core/helper/csv-reader.h b/src/core/helper/csv-reader.h index afdc0a4e4..bb8ecef74 100644 --- a/src/core/helper/csv-reader.h +++ b/src/core/helper/csv-reader.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Lawrence Livermore National Laboratory * diff --git a/src/core/helper/event-garbage-collector.cc b/src/core/helper/event-garbage-collector.cc index 771c4ec70..8fa0d8100 100644 --- a/src/core/helper/event-garbage-collector.cc +++ b/src/core/helper/event-garbage-collector.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/core/helper/event-garbage-collector.h b/src/core/helper/event-garbage-collector.h index 76da3948e..c336d66d1 100644 --- a/src/core/helper/event-garbage-collector.h +++ b/src/core/helper/event-garbage-collector.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/core/helper/random-variable-stream-helper.cc b/src/core/helper/random-variable-stream-helper.cc index 2b57a3b10..e174ba6a4 100644 --- a/src/core/helper/random-variable-stream-helper.cc +++ b/src/core/helper/random-variable-stream-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/core/helper/random-variable-stream-helper.h b/src/core/helper/random-variable-stream-helper.h index 2081cb913..51bb1a010 100644 --- a/src/core/helper/random-variable-stream-helper.h +++ b/src/core/helper/random-variable-stream-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/core/model/abort.h b/src/core/model/abort.h index ed4078d29..cd22e48f7 100644 --- a/src/core/model/abort.h +++ b/src/core/model/abort.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA, 2010 NICTA * diff --git a/src/core/model/ascii-file.cc b/src/core/model/ascii-file.cc index 8b940dbd9..eb4ddc5d7 100644 --- a/src/core/model/ascii-file.cc +++ b/src/core/model/ascii-file.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/core/model/ascii-file.h b/src/core/model/ascii-file.h index cc657cd8b..a0f74656b 100644 --- a/src/core/model/ascii-file.h +++ b/src/core/model/ascii-file.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/core/model/ascii-test.h b/src/core/model/ascii-test.h index 3f7b5ac70..6e313f387 100644 --- a/src/core/model/ascii-test.h +++ b/src/core/model/ascii-test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/core/model/assert.h b/src/core/model/assert.h index 8e37b6b18..4902412e9 100644 --- a/src/core/model/assert.h +++ b/src/core/model/assert.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA, 2010 NICTA * diff --git a/src/core/model/attribute-accessor-helper.h b/src/core/model/attribute-accessor-helper.h index fb673b1f9..c28eb610a 100644 --- a/src/core/model/attribute-accessor-helper.h +++ b/src/core/model/attribute-accessor-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/attribute-construction-list.cc b/src/core/model/attribute-construction-list.cc index 1821ee9d7..87f0e51c7 100644 --- a/src/core/model/attribute-construction-list.cc +++ b/src/core/model/attribute-construction-list.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Mathieu Lacage * diff --git a/src/core/model/attribute-construction-list.h b/src/core/model/attribute-construction-list.h index c2c762e6e..43debec8c 100644 --- a/src/core/model/attribute-construction-list.h +++ b/src/core/model/attribute-construction-list.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Mathieu Lacage * diff --git a/src/core/model/attribute-container.h b/src/core/model/attribute-container.h index 6b0c7a5eb..08ffdccfc 100644 --- a/src/core/model/attribute-container.h +++ b/src/core/model/attribute-container.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Caliola Engineering, LLC. * diff --git a/src/core/model/attribute-helper.h b/src/core/model/attribute-helper.h index f8c4617d5..33d809a7b 100644 --- a/src/core/model/attribute-helper.h +++ b/src/core/model/attribute-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/attribute.cc b/src/core/model/attribute.cc index eb2ec06ed..88f21f66d 100644 --- a/src/core/model/attribute.cc +++ b/src/core/model/attribute.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/attribute.h b/src/core/model/attribute.h index ac55d1d47..f94f22a1c 100644 --- a/src/core/model/attribute.h +++ b/src/core/model/attribute.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/boolean.cc b/src/core/model/boolean.cc index dc6fa5fac..f7c2a0697 100644 --- a/src/core/model/boolean.cc +++ b/src/core/model/boolean.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/boolean.h b/src/core/model/boolean.h index 69383fd43..8e010b009 100644 --- a/src/core/model/boolean.h +++ b/src/core/model/boolean.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/breakpoint.cc b/src/core/model/breakpoint.cc index 9c7c751e5..4ae8637fb 100644 --- a/src/core/model/breakpoint.cc +++ b/src/core/model/breakpoint.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA, INESC Porto * diff --git a/src/core/model/breakpoint.h b/src/core/model/breakpoint.h index 6371090d6..8593038cd 100644 --- a/src/core/model/breakpoint.h +++ b/src/core/model/breakpoint.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INESC Porto, INRIA * diff --git a/src/core/model/build-profile.h b/src/core/model/build-profile.h index fa79dc863..5a3994726 100644 --- a/src/core/model/build-profile.h +++ b/src/core/model/build-profile.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 LLNL * diff --git a/src/core/model/cairo-wideint-private.h b/src/core/model/cairo-wideint-private.h index 16e394dd3..4250db039 100644 --- a/src/core/model/cairo-wideint-private.h +++ b/src/core/model/cairo-wideint-private.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* cairo - a vector graphics library with display and print output * * Copyright © 2004 Keith Packard diff --git a/src/core/model/calendar-scheduler.cc b/src/core/model/calendar-scheduler.cc index d9d102042..1807579e2 100644 --- a/src/core/model/calendar-scheduler.cc +++ b/src/core/model/calendar-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/core/model/calendar-scheduler.h b/src/core/model/calendar-scheduler.h index 650b1e956..ceb997423 100644 --- a/src/core/model/calendar-scheduler.h +++ b/src/core/model/calendar-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/core/model/callback.cc b/src/core/model/callback.cc index ffbc037ea..909bb30b9 100644 --- a/src/core/model/callback.cc +++ b/src/core/model/callback.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/callback.h b/src/core/model/callback.h index 6eea99102..662ca1f01 100644 --- a/src/core/model/callback.h +++ b/src/core/model/callback.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/command-line.cc b/src/core/model/command-line.cc index 21c4b73af..196e069f8 100644 --- a/src/core/model/command-line.cc +++ b/src/core/model/command-line.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/command-line.h b/src/core/model/command-line.h index 13b996b6e..bbe9b7a56 100644 --- a/src/core/model/command-line.h +++ b/src/core/model/command-line.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/config.cc b/src/core/model/config.cc index e32eeff37..d994aa6c9 100644 --- a/src/core/model/config.cc +++ b/src/core/model/config.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/config.h b/src/core/model/config.h index 6f24453df..acd3e37b9 100644 --- a/src/core/model/config.h +++ b/src/core/model/config.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/default-deleter.h b/src/core/model/default-deleter.h index 72512d984..f1d6dd1e0 100644 --- a/src/core/model/default-deleter.h +++ b/src/core/model/default-deleter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/default-simulator-impl.cc b/src/core/model/default-simulator-impl.cc index f4303ff53..7014c3373 100644 --- a/src/core/model/default-simulator-impl.cc +++ b/src/core/model/default-simulator-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/default-simulator-impl.h b/src/core/model/default-simulator-impl.h index 333c8058d..93fa6bc7c 100644 --- a/src/core/model/default-simulator-impl.h +++ b/src/core/model/default-simulator-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/deprecated.h b/src/core/model/deprecated.h index c6aafe2f9..c67431341 100644 --- a/src/core/model/deprecated.h +++ b/src/core/model/deprecated.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/des-metrics.cc b/src/core/model/des-metrics.cc index 31c3abf92..f06f7ed1e 100644 --- a/src/core/model/des-metrics.cc +++ b/src/core/model/des-metrics.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 LLNL * diff --git a/src/core/model/des-metrics.h b/src/core/model/des-metrics.h index 40f8d9347..65d224e90 100644 --- a/src/core/model/des-metrics.h +++ b/src/core/model/des-metrics.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 LLNL * diff --git a/src/core/model/double.cc b/src/core/model/double.cc index 50d07ed25..c3d329190 100644 --- a/src/core/model/double.cc +++ b/src/core/model/double.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/double.h b/src/core/model/double.h index 3df1e54cd..7876c290c 100644 --- a/src/core/model/double.h +++ b/src/core/model/double.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/enum.cc b/src/core/model/enum.cc index 922d211a1..1ca6be73c 100644 --- a/src/core/model/enum.cc +++ b/src/core/model/enum.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/enum.h b/src/core/model/enum.h index ae29b659e..4a743d4d0 100644 --- a/src/core/model/enum.h +++ b/src/core/model/enum.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/event-id.cc b/src/core/model/event-id.cc index 85c16d01c..ef2dd46cd 100644 --- a/src/core/model/event-id.cc +++ b/src/core/model/event-id.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/event-id.h b/src/core/model/event-id.h index 3dece0740..8361c6ec1 100644 --- a/src/core/model/event-id.h +++ b/src/core/model/event-id.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/event-impl.cc b/src/core/model/event-impl.cc index 263bfbccd..29cf7d237 100644 --- a/src/core/model/event-impl.cc +++ b/src/core/model/event-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/event-impl.h b/src/core/model/event-impl.h index 7db7987ea..aba8e65e1 100644 --- a/src/core/model/event-impl.h +++ b/src/core/model/event-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/example-as-test.cc b/src/core/model/example-as-test.cc index 112b4f4e2..617d86a2f 100644 --- a/src/core/model/example-as-test.cc +++ b/src/core/model/example-as-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Lawrence Livermore National Laboratory * diff --git a/src/core/model/example-as-test.h b/src/core/model/example-as-test.h index d66d5eda5..08724dcbe 100644 --- a/src/core/model/example-as-test.h +++ b/src/core/model/example-as-test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Lawrence Livermore National Laboratory * diff --git a/src/core/model/fatal-error.h b/src/core/model/fatal-error.h index beed4894b..0539a26b0 100644 --- a/src/core/model/fatal-error.h +++ b/src/core/model/fatal-error.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA, 2010 NICTA * diff --git a/src/core/model/fatal-impl.cc b/src/core/model/fatal-impl.cc index 36d31e6e2..7c709b51b 100644 --- a/src/core/model/fatal-impl.cc +++ b/src/core/model/fatal-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 NICTA * diff --git a/src/core/model/fatal-impl.h b/src/core/model/fatal-impl.h index e43ce3a69..4bf93a73a 100644 --- a/src/core/model/fatal-impl.h +++ b/src/core/model/fatal-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 NICTA * diff --git a/src/core/model/fd-reader.h b/src/core/model/fd-reader.h index 029772248..ccf51d30b 100644 --- a/src/core/model/fd-reader.h +++ b/src/core/model/fd-reader.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/core/model/global-value.cc b/src/core/model/global-value.cc index 68ff510cd..f0678f309 100644 --- a/src/core/model/global-value.cc +++ b/src/core/model/global-value.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/global-value.h b/src/core/model/global-value.h index 80b5918e4..d1e1327d1 100644 --- a/src/core/model/global-value.h +++ b/src/core/model/global-value.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/hash-fnv.cc b/src/core/model/hash-fnv.cc index a057c66f5..998180a4a 100644 --- a/src/core/model/hash-fnv.cc +++ b/src/core/model/hash-fnv.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/model/hash-fnv.h b/src/core/model/hash-fnv.h index ad57a16a7..72a945d39 100644 --- a/src/core/model/hash-fnv.h +++ b/src/core/model/hash-fnv.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/model/hash-function.cc b/src/core/model/hash-function.cc index 89ba405e8..c0b6e9a73 100644 --- a/src/core/model/hash-function.cc +++ b/src/core/model/hash-function.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/model/hash-function.h b/src/core/model/hash-function.h index df7de94ec..0e6f353ff 100644 --- a/src/core/model/hash-function.h +++ b/src/core/model/hash-function.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/model/hash-murmur3.cc b/src/core/model/hash-murmur3.cc index 2f9f3398c..d45d78d83 100644 --- a/src/core/model/hash-murmur3.cc +++ b/src/core/model/hash-murmur3.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/model/hash-murmur3.h b/src/core/model/hash-murmur3.h index b08829061..6e06ca8df 100644 --- a/src/core/model/hash-murmur3.h +++ b/src/core/model/hash-murmur3.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/model/hash.cc b/src/core/model/hash.cc index f891aabae..4f0926cea 100644 --- a/src/core/model/hash.cc +++ b/src/core/model/hash.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/model/hash.h b/src/core/model/hash.h index 1f5e14a72..c9ef913d3 100644 --- a/src/core/model/hash.h +++ b/src/core/model/hash.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/model/heap-scheduler.cc b/src/core/model/heap-scheduler.cc index 697c2657e..cc29614e5 100644 --- a/src/core/model/heap-scheduler.cc +++ b/src/core/model/heap-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * Copyright (c) 2005 Mathieu Lacage diff --git a/src/core/model/heap-scheduler.h b/src/core/model/heap-scheduler.h index b42ac9564..dfa1764cf 100644 --- a/src/core/model/heap-scheduler.h +++ b/src/core/model/heap-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/int-to-type.h b/src/core/model/int-to-type.h index da899991e..c5f01289f 100644 --- a/src/core/model/int-to-type.h +++ b/src/core/model/int-to-type.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/int64x64-128.cc b/src/core/model/int64x64-128.cc index 8a3fc5e0f..38e1cfbd9 100644 --- a/src/core/model/int64x64-128.cc +++ b/src/core/model/int64x64-128.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/int64x64-128.h b/src/core/model/int64x64-128.h index c71b290fc..53f790a67 100644 --- a/src/core/model/int64x64-128.h +++ b/src/core/model/int64x64-128.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/int64x64-cairo.cc b/src/core/model/int64x64-cairo.cc index 4e35b9b9b..c686cf632 100644 --- a/src/core/model/int64x64-cairo.cc +++ b/src/core/model/int64x64-cairo.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/core/model/int64x64-cairo.h b/src/core/model/int64x64-cairo.h index 44cecd38d..c9071c338 100644 --- a/src/core/model/int64x64-cairo.h +++ b/src/core/model/int64x64-cairo.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/int64x64-double.h b/src/core/model/int64x64-double.h index b304f0289..2341c0ac0 100644 --- a/src/core/model/int64x64-double.h +++ b/src/core/model/int64x64-double.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/int64x64.cc b/src/core/model/int64x64.cc index 00a0149e9..54c7dd9f2 100644 --- a/src/core/model/int64x64.cc +++ b/src/core/model/int64x64.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/int64x64.h b/src/core/model/int64x64.h index eb0c5b90b..e368d073e 100644 --- a/src/core/model/int64x64.h +++ b/src/core/model/int64x64.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/integer.cc b/src/core/model/integer.cc index 1c8182f33..6af07bc0b 100644 --- a/src/core/model/integer.cc +++ b/src/core/model/integer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/integer.h b/src/core/model/integer.h index 4090c2f41..572700082 100644 --- a/src/core/model/integer.h +++ b/src/core/model/integer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/length.cc b/src/core/model/length.cc index 2aa816880..c17a78922 100644 --- a/src/core/model/length.cc +++ b/src/core/model/length.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Lawrence Livermore National Laboratory * diff --git a/src/core/model/length.h b/src/core/model/length.h index ed35e86db..89df5bea1 100644 --- a/src/core/model/length.h +++ b/src/core/model/length.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Lawrence Livermore National Laboratory * diff --git a/src/core/model/list-scheduler.cc b/src/core/model/list-scheduler.cc index 2240b83ee..9d5020409 100644 --- a/src/core/model/list-scheduler.cc +++ b/src/core/model/list-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/list-scheduler.h b/src/core/model/list-scheduler.h index 68802f03e..86c35cb42 100644 --- a/src/core/model/list-scheduler.h +++ b/src/core/model/list-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/log-macros-disabled.h b/src/core/model/log-macros-disabled.h index 22c632f77..1695cfa41 100644 --- a/src/core/model/log-macros-disabled.h +++ b/src/core/model/log-macros-disabled.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Andrey Mazo * diff --git a/src/core/model/log-macros-enabled.h b/src/core/model/log-macros-enabled.h index c37a90cda..4d9bceb10 100644 --- a/src/core/model/log-macros-enabled.h +++ b/src/core/model/log-macros-enabled.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/core/model/log.cc b/src/core/model/log.cc index f1b12c3d0..175781839 100644 --- a/src/core/model/log.cc +++ b/src/core/model/log.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/core/model/log.h b/src/core/model/log.h index cf437fff5..646ef9102 100644 --- a/src/core/model/log.h +++ b/src/core/model/log.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/core/model/make-event.cc b/src/core/model/make-event.cc index 1423f4618..fea550e79 100644 --- a/src/core/model/make-event.cc +++ b/src/core/model/make-event.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/make-event.h b/src/core/model/make-event.h index 16d865c91..c08357d2b 100644 --- a/src/core/model/make-event.h +++ b/src/core/model/make-event.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/map-scheduler.cc b/src/core/model/map-scheduler.cc index e86df5e67..a3b1a5eab 100644 --- a/src/core/model/map-scheduler.cc +++ b/src/core/model/map-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/core/model/map-scheduler.h b/src/core/model/map-scheduler.h index a768fb4cf..df9283dcb 100644 --- a/src/core/model/map-scheduler.h +++ b/src/core/model/map-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/core/model/math.h b/src/core/model/math.h index 01edc4950..e92354082 100644 --- a/src/core/model/math.h +++ b/src/core/model/math.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/core/model/names.cc b/src/core/model/names.cc index c36931fa8..d39b3f24b 100644 --- a/src/core/model/names.cc +++ b/src/core/model/names.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/model/names.h b/src/core/model/names.h index d10bdf0b5..90a5dab59 100644 --- a/src/core/model/names.h +++ b/src/core/model/names.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/model/node-printer.cc b/src/core/model/node-printer.cc index c9030e316..3f26ef38a 100644 --- a/src/core/model/node-printer.cc +++ b/src/core/model/node-printer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Lawrence Livermore National Laboratory * diff --git a/src/core/model/node-printer.h b/src/core/model/node-printer.h index 41dd229fb..e1c485168 100644 --- a/src/core/model/node-printer.h +++ b/src/core/model/node-printer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Lawrence Livermore National Laboratory * diff --git a/src/core/model/nstime.h b/src/core/model/nstime.h index ff2ec4ce9..f2bf408a2 100644 --- a/src/core/model/nstime.h +++ b/src/core/model/nstime.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/object-base.cc b/src/core/model/object-base.cc index 2d5b0a140..ec8a1ca90 100644 --- a/src/core/model/object-base.cc +++ b/src/core/model/object-base.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/object-base.h b/src/core/model/object-base.h index c498d39a9..f8956cd6c 100644 --- a/src/core/model/object-base.h +++ b/src/core/model/object-base.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/object-factory.cc b/src/core/model/object-factory.cc index 6aa25b137..abf73998f 100644 --- a/src/core/model/object-factory.cc +++ b/src/core/model/object-factory.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/object-factory.h b/src/core/model/object-factory.h index bccb3f29d..272f6ee06 100644 --- a/src/core/model/object-factory.h +++ b/src/core/model/object-factory.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/object-map.h b/src/core/model/object-map.h index eb6f4f20e..091d844df 100644 --- a/src/core/model/object-map.h +++ b/src/core/model/object-map.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, Mathieu Lacage * diff --git a/src/core/model/object-ptr-container.cc b/src/core/model/object-ptr-container.cc index 426096783..b8d5a0619 100644 --- a/src/core/model/object-ptr-container.cc +++ b/src/core/model/object-ptr-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, Mathieu Lacage * diff --git a/src/core/model/object-ptr-container.h b/src/core/model/object-ptr-container.h index 4433bbc1b..a924fb6ef 100644 --- a/src/core/model/object-ptr-container.h +++ b/src/core/model/object-ptr-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, Mathieu Lacage * diff --git a/src/core/model/object-vector.h b/src/core/model/object-vector.h index 1e1308864..9a63d0d41 100644 --- a/src/core/model/object-vector.h +++ b/src/core/model/object-vector.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, Mathieu Lacage * diff --git a/src/core/model/object.cc b/src/core/model/object.cc index c78af7b2b..ec2327c99 100644 --- a/src/core/model/object.cc +++ b/src/core/model/object.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, Gustavo Carneiro * diff --git a/src/core/model/object.h b/src/core/model/object.h index daaaede3c..8339388f2 100644 --- a/src/core/model/object.h +++ b/src/core/model/object.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, Gustavo Carneiro * diff --git a/src/core/model/pair.h b/src/core/model/pair.h index 04f289a2c..60d2c6694 100644 --- a/src/core/model/pair.h +++ b/src/core/model/pair.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Caliola Engineering, LLC. * diff --git a/src/core/model/pointer.cc b/src/core/model/pointer.cc index db2b393ea..dbb232f90 100644 --- a/src/core/model/pointer.cc +++ b/src/core/model/pointer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/pointer.h b/src/core/model/pointer.h index 0920cbc9a..473665396 100644 --- a/src/core/model/pointer.h +++ b/src/core/model/pointer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/priority-queue-scheduler.cc b/src/core/model/priority-queue-scheduler.cc index cd2ec7af2..a687b201c 100644 --- a/src/core/model/priority-queue-scheduler.cc +++ b/src/core/model/priority-queue-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 IITP * diff --git a/src/core/model/priority-queue-scheduler.h b/src/core/model/priority-queue-scheduler.h index 254732d2b..52f8e8aae 100644 --- a/src/core/model/priority-queue-scheduler.h +++ b/src/core/model/priority-queue-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/core/model/ptr.h b/src/core/model/ptr.h index 08ffa0c6f..40990e445 100644 --- a/src/core/model/ptr.h +++ b/src/core/model/ptr.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/random-variable-stream.cc b/src/core/model/random-variable-stream.cc index 53e32494d..832d3385a 100644 --- a/src/core/model/random-variable-stream.cc +++ b/src/core/model/random-variable-stream.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * Copyright (c) 2011 Mathieu Lacage diff --git a/src/core/model/random-variable-stream.h b/src/core/model/random-variable-stream.h index 6af83e45a..79ecad27f 100644 --- a/src/core/model/random-variable-stream.h +++ b/src/core/model/random-variable-stream.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * Copyright (c) 2011 Mathieu Lacage diff --git a/src/core/model/realtime-simulator-impl.cc b/src/core/model/realtime-simulator-impl.cc index 86fbdd8eb..cd25b196b 100644 --- a/src/core/model/realtime-simulator-impl.cc +++ b/src/core/model/realtime-simulator-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/core/model/realtime-simulator-impl.h b/src/core/model/realtime-simulator-impl.h index 97b119e0c..4d2b6e56e 100644 --- a/src/core/model/realtime-simulator-impl.h +++ b/src/core/model/realtime-simulator-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/core/model/ref-count-base.cc b/src/core/model/ref-count-base.cc index 16a03afd1..055458f51 100644 --- a/src/core/model/ref-count-base.cc +++ b/src/core/model/ref-count-base.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/core/model/ref-count-base.h b/src/core/model/ref-count-base.h index 91151e393..463241424 100644 --- a/src/core/model/ref-count-base.h +++ b/src/core/model/ref-count-base.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/core/model/rng-seed-manager.cc b/src/core/model/rng-seed-manager.cc index 72b7ba34b..4598d1e43 100644 --- a/src/core/model/rng-seed-manager.cc +++ b/src/core/model/rng-seed-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Mathieu Lacage * diff --git a/src/core/model/rng-seed-manager.h b/src/core/model/rng-seed-manager.h index cefb3aeec..7681b3f42 100644 --- a/src/core/model/rng-seed-manager.h +++ b/src/core/model/rng-seed-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Mathieu Lacage * diff --git a/src/core/model/rng-stream.cc b/src/core/model/rng-stream.cc index f363c1d83..16906c8f2 100644 --- a/src/core/model/rng-stream.cc +++ b/src/core/model/rng-stream.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (C) 2001 Pierre L'Ecuyer (lecuyer@iro.umontreal.ca) // diff --git a/src/core/model/rng-stream.h b/src/core/model/rng-stream.h index 9f1596f98..a3f8503e1 100644 --- a/src/core/model/rng-stream.h +++ b/src/core/model/rng-stream.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (C) 2001 Pierre L'Ecuyer (lecuyer@iro.umontreal.ca) // diff --git a/src/core/model/scheduler.cc b/src/core/model/scheduler.cc index 89a2d9b1c..cc3feedbb 100644 --- a/src/core/model/scheduler.cc +++ b/src/core/model/scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/core/model/scheduler.h b/src/core/model/scheduler.h index f1b9f943d..7dd554e44 100644 --- a/src/core/model/scheduler.h +++ b/src/core/model/scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/show-progress.cc b/src/core/model/show-progress.cc index e5b5062f5..3f47aeb71 100644 --- a/src/core/model/show-progress.cc +++ b/src/core/model/show-progress.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Lawrence Livermore National Laboratory * diff --git a/src/core/model/show-progress.h b/src/core/model/show-progress.h index 7c35e2369..30a75acdd 100644 --- a/src/core/model/show-progress.h +++ b/src/core/model/show-progress.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Lawrence Livermore National Laboratory * diff --git a/src/core/model/simple-ref-count.h b/src/core/model/simple-ref-count.h index 6075b30dc..78dbaed3d 100644 --- a/src/core/model/simple-ref-count.h +++ b/src/core/model/simple-ref-count.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation, INRIA * diff --git a/src/core/model/simulation-singleton.h b/src/core/model/simulation-singleton.h index 8066fac2a..ed72b7a79 100644 --- a/src/core/model/simulation-singleton.h +++ b/src/core/model/simulation-singleton.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/simulator-impl.cc b/src/core/model/simulator-impl.cc index b5a53c627..34c260680 100644 --- a/src/core/model/simulator-impl.cc +++ b/src/core/model/simulator-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/simulator-impl.h b/src/core/model/simulator-impl.h index 55be006fd..b711d91ff 100644 --- a/src/core/model/simulator-impl.h +++ b/src/core/model/simulator-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/simulator.cc b/src/core/model/simulator.cc index b4e8f0d79..4d6233554 100644 --- a/src/core/model/simulator.cc +++ b/src/core/model/simulator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/model/simulator.h b/src/core/model/simulator.h index 38a658773..116f5c377 100644 --- a/src/core/model/simulator.h +++ b/src/core/model/simulator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/singleton.h b/src/core/model/singleton.h index 892812c24..76512664b 100644 --- a/src/core/model/singleton.h +++ b/src/core/model/singleton.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/string.cc b/src/core/model/string.cc index 6038032dc..510efe3a2 100644 --- a/src/core/model/string.cc +++ b/src/core/model/string.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/string.h b/src/core/model/string.h index 334394bc1..f299d90da 100644 --- a/src/core/model/string.h +++ b/src/core/model/string.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/synchronizer.cc b/src/core/model/synchronizer.cc index 7fe8194ce..ec840b3e9 100644 --- a/src/core/model/synchronizer.cc +++ b/src/core/model/synchronizer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/core/model/synchronizer.h b/src/core/model/synchronizer.h index 75a8de965..274860040 100644 --- a/src/core/model/synchronizer.h +++ b/src/core/model/synchronizer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/core/model/system-path.cc b/src/core/model/system-path.cc index a72e7166a..81c628cb4 100644 --- a/src/core/model/system-path.cc +++ b/src/core/model/system-path.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/system-path.h b/src/core/model/system-path.h index 5b77ddbed..745577f9c 100644 --- a/src/core/model/system-path.h +++ b/src/core/model/system-path.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/system-wall-clock-ms.cc b/src/core/model/system-wall-clock-ms.cc index 79b7102a7..fe09b8b38 100644 --- a/src/core/model/system-wall-clock-ms.cc +++ b/src/core/model/system-wall-clock-ms.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/system-wall-clock-ms.h b/src/core/model/system-wall-clock-ms.h index 5caa873d5..f95db1b28 100644 --- a/src/core/model/system-wall-clock-ms.h +++ b/src/core/model/system-wall-clock-ms.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/core/model/system-wall-clock-timestamp.cc b/src/core/model/system-wall-clock-timestamp.cc index 6e9f90a41..4c2db8eed 100644 --- a/src/core/model/system-wall-clock-timestamp.cc +++ b/src/core/model/system-wall-clock-timestamp.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Lawrence Livermore National Laboratory * diff --git a/src/core/model/system-wall-clock-timestamp.h b/src/core/model/system-wall-clock-timestamp.h index 91c2fe053..eeef7c6d8 100644 --- a/src/core/model/system-wall-clock-timestamp.h +++ b/src/core/model/system-wall-clock-timestamp.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Lawrence Livermore National Laboratory * diff --git a/src/core/model/test.cc b/src/core/model/test.cc index ebbd97c9c..3fc995542 100644 --- a/src/core/model/test.cc +++ b/src/core/model/test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/model/test.h b/src/core/model/test.h index 498b12011..c4603d67c 100644 --- a/src/core/model/test.h +++ b/src/core/model/test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/model/time-printer.cc b/src/core/model/time-printer.cc index 331cf6551..2793fa3ce 100644 --- a/src/core/model/time-printer.cc +++ b/src/core/model/time-printer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Lawrence Livermore National Laboratory * diff --git a/src/core/model/time-printer.h b/src/core/model/time-printer.h index 25c25c48d..5ac4db935 100644 --- a/src/core/model/time-printer.h +++ b/src/core/model/time-printer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Lawrence Livermore National Laboratory * diff --git a/src/core/model/time.cc b/src/core/model/time.cc index dde192002..fe5db4686 100644 --- a/src/core/model/time.cc +++ b/src/core/model/time.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * Copyright (c) 2007 Emmanuelle Laprise diff --git a/src/core/model/timer-impl.h b/src/core/model/timer-impl.h index 2f4251ab5..c76229074 100644 --- a/src/core/model/timer-impl.h +++ b/src/core/model/timer-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/timer.cc b/src/core/model/timer.cc index 3073d35f1..cd9bd163b 100644 --- a/src/core/model/timer.cc +++ b/src/core/model/timer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/timer.h b/src/core/model/timer.h index a8d05076e..563800f54 100644 --- a/src/core/model/timer.h +++ b/src/core/model/timer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/trace-source-accessor.cc b/src/core/model/trace-source-accessor.cc index a5b7386d7..80bc501c2 100644 --- a/src/core/model/trace-source-accessor.cc +++ b/src/core/model/trace-source-accessor.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/trace-source-accessor.h b/src/core/model/trace-source-accessor.h index 24c3d6e3d..ea9d1b048 100644 --- a/src/core/model/trace-source-accessor.h +++ b/src/core/model/trace-source-accessor.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/traced-callback.h b/src/core/model/traced-callback.h index a80dd56fb..76bf199c7 100644 --- a/src/core/model/traced-callback.h +++ b/src/core/model/traced-callback.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/core/model/traced-value.h b/src/core/model/traced-value.h index 9bfc24117..f215b3092 100644 --- a/src/core/model/traced-value.h +++ b/src/core/model/traced-value.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/core/model/trickle-timer.cc b/src/core/model/trickle-timer.cc index 0798ef66e..e97c99025 100644 --- a/src/core/model/trickle-timer.cc +++ b/src/core/model/trickle-timer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/core/model/trickle-timer.h b/src/core/model/trickle-timer.h index 57f78cb8c..301e20074 100644 --- a/src/core/model/trickle-timer.h +++ b/src/core/model/trickle-timer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/core/model/tuple.h b/src/core/model/tuple.h index a464a291a..dc044287d 100644 --- a/src/core/model/tuple.h +++ b/src/core/model/tuple.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/core/model/type-id.cc b/src/core/model/type-id.cc index ec2c1e3ac..cf650d749 100644 --- a/src/core/model/type-id.cc +++ b/src/core/model/type-id.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/type-id.h b/src/core/model/type-id.h index ab4d66551..250f6471f 100644 --- a/src/core/model/type-id.h +++ b/src/core/model/type-id.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/type-name.h b/src/core/model/type-name.h index 8a833f938..6be35ba33 100644 --- a/src/core/model/type-name.h +++ b/src/core/model/type-name.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/core/model/type-traits.h b/src/core/model/type-traits.h index 56a2a0de4..fdc6ffd3d 100644 --- a/src/core/model/type-traits.h +++ b/src/core/model/type-traits.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/uinteger.cc b/src/core/model/uinteger.cc index 7417d2acc..77a40e029 100644 --- a/src/core/model/uinteger.cc +++ b/src/core/model/uinteger.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/uinteger.h b/src/core/model/uinteger.h index ab481351a..43656b7d0 100644 --- a/src/core/model/uinteger.h +++ b/src/core/model/uinteger.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/model/unix-fd-reader.cc b/src/core/model/unix-fd-reader.cc index b8b3da6b2..20955b921 100644 --- a/src/core/model/unix-fd-reader.cc +++ b/src/core/model/unix-fd-reader.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company diff --git a/src/core/model/unused.h b/src/core/model/unused.h index cf1a80681..5faa4d514 100644 --- a/src/core/model/unused.h +++ b/src/core/model/unused.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Andrey Mazo * diff --git a/src/core/model/vector.cc b/src/core/model/vector.cc index f7ac43bec..26a765da1 100644 --- a/src/core/model/vector.cc +++ b/src/core/model/vector.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/vector.h b/src/core/model/vector.h index fbc253eca..90c65874a 100644 --- a/src/core/model/vector.h +++ b/src/core/model/vector.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/version.cc b/src/core/model/version.cc index 7c23b5a73..571165032 100644 --- a/src/core/model/version.cc +++ b/src/core/model/version.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Lawrence Livermore National Laboratory * diff --git a/src/core/model/version.h b/src/core/model/version.h index ff25734a0..f7fb2f1f8 100644 --- a/src/core/model/version.h +++ b/src/core/model/version.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Lawrence Livermore National Laboratory * diff --git a/src/core/model/wall-clock-synchronizer.cc b/src/core/model/wall-clock-synchronizer.cc index 3ba0a0afe..eb3f15bdd 100644 --- a/src/core/model/wall-clock-synchronizer.cc +++ b/src/core/model/wall-clock-synchronizer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/core/model/wall-clock-synchronizer.h b/src/core/model/wall-clock-synchronizer.h index 9d2321b8a..4951fa6aa 100644 --- a/src/core/model/wall-clock-synchronizer.h +++ b/src/core/model/wall-clock-synchronizer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/core/model/watchdog.cc b/src/core/model/watchdog.cc index bdc2387a2..18255e929 100644 --- a/src/core/model/watchdog.cc +++ b/src/core/model/watchdog.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/watchdog.h b/src/core/model/watchdog.h index 78863d4b9..5ac1e259b 100644 --- a/src/core/model/watchdog.h +++ b/src/core/model/watchdog.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/model/win32-fd-reader.cc b/src/core/model/win32-fd-reader.cc index 9d6777813..a29f569d5 100644 --- a/src/core/model/win32-fd-reader.cc +++ b/src/core/model/win32-fd-reader.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/core/test/attribute-container-test-suite.cc b/src/core/test/attribute-container-test-suite.cc index 9820d653c..fb12e2d08 100644 --- a/src/core/test/attribute-container-test-suite.cc +++ b/src/core/test/attribute-container-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Caliola Engineering, LLC. * diff --git a/src/core/test/attribute-test-suite.cc b/src/core/test/attribute-test-suite.cc index 33d730623..6f92a5160 100644 --- a/src/core/test/attribute-test-suite.cc +++ b/src/core/test/attribute-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/test/build-profile-test-suite.cc b/src/core/test/build-profile-test-suite.cc index 75e777572..7e2f1af6a 100644 --- a/src/core/test/build-profile-test-suite.cc +++ b/src/core/test/build-profile-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 LLNL * diff --git a/src/core/test/callback-test-suite.cc b/src/core/test/callback-test-suite.cc index 7eabdd99f..7627a29ea 100644 --- a/src/core/test/callback-test-suite.cc +++ b/src/core/test/callback-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/test/command-line-test-suite.cc b/src/core/test/command-line-test-suite.cc index 04d99ebfb..5bb332665 100644 --- a/src/core/test/command-line-test-suite.cc +++ b/src/core/test/command-line-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/test/config-test-suite.cc b/src/core/test/config-test-suite.cc index b4e213ff8..fb4f27e2a 100644 --- a/src/core/test/config-test-suite.cc +++ b/src/core/test/config-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/test/event-garbage-collector-test-suite.cc b/src/core/test/event-garbage-collector-test-suite.cc index 7b7466251..9ee43a570 100644 --- a/src/core/test/event-garbage-collector-test-suite.cc +++ b/src/core/test/event-garbage-collector-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/core/test/examples-as-tests-test-suite.cc b/src/core/test/examples-as-tests-test-suite.cc index 81a300d45..070b3a78f 100644 --- a/src/core/test/examples-as-tests-test-suite.cc +++ b/src/core/test/examples-as-tests-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Lawrence Livermore National Laboratory * diff --git a/src/core/test/global-value-test-suite.cc b/src/core/test/global-value-test-suite.cc index 2b4f6d92b..d22fbb61c 100644 --- a/src/core/test/global-value-test-suite.cc +++ b/src/core/test/global-value-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/core/test/hash-test-suite.cc b/src/core/test/hash-test-suite.cc index 3b3c3f9db..4673040d4 100644 --- a/src/core/test/hash-test-suite.cc +++ b/src/core/test/hash-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/test/int64x64-test-suite.cc b/src/core/test/int64x64-test-suite.cc index 3a595d18a..0822f8d65 100644 --- a/src/core/test/int64x64-test-suite.cc +++ b/src/core/test/int64x64-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 INRIA * diff --git a/src/core/test/length-test-suite.cc b/src/core/test/length-test-suite.cc index 61186a3fa..5965c9f98 100644 --- a/src/core/test/length-test-suite.cc +++ b/src/core/test/length-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Lawrence Livermore National Laboratory * diff --git a/src/core/test/many-uniform-random-variables-one-get-value-call-test-suite.cc b/src/core/test/many-uniform-random-variables-one-get-value-call-test-suite.cc index 8b79ff2fa..583c98eba 100644 --- a/src/core/test/many-uniform-random-variables-one-get-value-call-test-suite.cc +++ b/src/core/test/many-uniform-random-variables-one-get-value-call-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/core/test/names-test-suite.cc b/src/core/test/names-test-suite.cc index 1f8f9e472..f2930f184 100644 --- a/src/core/test/names-test-suite.cc +++ b/src/core/test/names-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/core/test/object-test-suite.cc b/src/core/test/object-test-suite.cc index af7eaf212..abf3fbce1 100644 --- a/src/core/test/object-test-suite.cc +++ b/src/core/test/object-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, Gustavo Carneiro * diff --git a/src/core/test/one-uniform-random-variable-many-get-value-calls-test-suite.cc b/src/core/test/one-uniform-random-variable-many-get-value-calls-test-suite.cc index b214614cd..18f24b978 100644 --- a/src/core/test/one-uniform-random-variable-many-get-value-calls-test-suite.cc +++ b/src/core/test/one-uniform-random-variable-many-get-value-calls-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/core/test/pair-value-test-suite.cc b/src/core/test/pair-value-test-suite.cc index a33e4d62c..595252436 100644 --- a/src/core/test/pair-value-test-suite.cc +++ b/src/core/test/pair-value-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Caliola Engineering, LLC. * diff --git a/src/core/test/ptr-test-suite.cc b/src/core/test/ptr-test-suite.cc index 0b667e10f..2e9b05cd4 100644 --- a/src/core/test/ptr-test-suite.cc +++ b/src/core/test/ptr-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/test/random-variable-stream-test-suite.cc b/src/core/test/random-variable-stream-test-suite.cc index d53bfad44..67f3f5b05 100644 --- a/src/core/test/random-variable-stream-test-suite.cc +++ b/src/core/test/random-variable-stream-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009-12 University of Washington * diff --git a/src/core/test/rng-test-suite.cc b/src/core/test/rng-test-suite.cc index 7273a3255..d4ae7d404 100644 --- a/src/core/test/rng-test-suite.cc +++ b/src/core/test/rng-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/core/test/sample-test-suite.cc b/src/core/test/sample-test-suite.cc index a4ca6c282..5b41a8331 100644 --- a/src/core/test/sample-test-suite.cc +++ b/src/core/test/sample-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/test/simulator-test-suite.cc b/src/core/test/simulator-test-suite.cc index 6c701e2a2..8ddc799fb 100644 --- a/src/core/test/simulator-test-suite.cc +++ b/src/core/test/simulator-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/core/test/threaded-test-suite.cc b/src/core/test/threaded-test-suite.cc index ea7ce332a..1b2e1fa2d 100644 --- a/src/core/test/threaded-test-suite.cc +++ b/src/core/test/threaded-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 INRIA * diff --git a/src/core/test/time-test-suite.cc b/src/core/test/time-test-suite.cc index 37eac85d6..211e5b7fa 100644 --- a/src/core/test/time-test-suite.cc +++ b/src/core/test/time-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * Copyright (c) 2007 Emmanuelle Laprise diff --git a/src/core/test/timer-test-suite.cc b/src/core/test/timer-test-suite.cc index 74859777f..dd797478d 100644 --- a/src/core/test/timer-test-suite.cc +++ b/src/core/test/timer-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/core/test/traced-callback-test-suite.cc b/src/core/test/traced-callback-test-suite.cc index 9480da9dd..a08f978a2 100644 --- a/src/core/test/traced-callback-test-suite.cc +++ b/src/core/test/traced-callback-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/test/trickle-timer-test-suite.cc b/src/core/test/trickle-timer-test-suite.cc index d9989d5fe..b3ccd3204 100644 --- a/src/core/test/trickle-timer-test-suite.cc +++ b/src/core/test/trickle-timer-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/core/test/tuple-value-test-suite.cc b/src/core/test/tuple-value-test-suite.cc index 5d37771fc..3e593e99f 100644 --- a/src/core/test/tuple-value-test-suite.cc +++ b/src/core/test/tuple-value-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/core/test/type-id-test-suite.cc b/src/core/test/type-id-test-suite.cc index 1371ab2df..ccfaf03f6 100644 --- a/src/core/test/type-id-test-suite.cc +++ b/src/core/test/type-id-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Lawrence Livermore National Laboratory * diff --git a/src/core/test/type-traits-test-suite.cc b/src/core/test/type-traits-test-suite.cc index 2fc537d31..b003493e6 100644 --- a/src/core/test/type-traits-test-suite.cc +++ b/src/core/test/type-traits-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/core/test/watchdog-test-suite.cc b/src/core/test/watchdog-test-suite.cc index 8dc66483e..f9400fbc1 100644 --- a/src/core/test/watchdog-test-suite.cc +++ b/src/core/test/watchdog-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/csma-layout/examples/csma-star.cc b/src/csma-layout/examples/csma-star.cc index 08a494a15..ec55b9484 100644 --- a/src/csma-layout/examples/csma-star.cc +++ b/src/csma-layout/examples/csma-star.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma-layout/model/csma-star-helper.cc b/src/csma-layout/model/csma-star-helper.cc index a1b2247ce..ad9462099 100644 --- a/src/csma-layout/model/csma-star-helper.cc +++ b/src/csma-layout/model/csma-star-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma-layout/model/csma-star-helper.h b/src/csma-layout/model/csma-star-helper.h index e3d4abebc..e02fde6db 100644 --- a/src/csma-layout/model/csma-star-helper.h +++ b/src/csma-layout/model/csma-star-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma/examples/csma-broadcast.cc b/src/csma/examples/csma-broadcast.cc index cbf63a0e4..5854824ec 100644 --- a/src/csma/examples/csma-broadcast.cc +++ b/src/csma/examples/csma-broadcast.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma/examples/csma-multicast.cc b/src/csma/examples/csma-multicast.cc index aef82ff10..ab166d3b1 100644 --- a/src/csma/examples/csma-multicast.cc +++ b/src/csma/examples/csma-multicast.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma/examples/csma-one-subnet.cc b/src/csma/examples/csma-one-subnet.cc index ef1b5747d..3a5c9e6a6 100644 --- a/src/csma/examples/csma-one-subnet.cc +++ b/src/csma/examples/csma-one-subnet.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma/examples/csma-packet-socket.cc b/src/csma/examples/csma-packet-socket.cc index 94a36602c..f94414f90 100644 --- a/src/csma/examples/csma-packet-socket.cc +++ b/src/csma/examples/csma-packet-socket.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma/examples/csma-ping.cc b/src/csma/examples/csma-ping.cc index 48b5b02f0..c6b208768 100644 --- a/src/csma/examples/csma-ping.cc +++ b/src/csma/examples/csma-ping.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma/examples/csma-raw-ip-socket.cc b/src/csma/examples/csma-raw-ip-socket.cc index b2492ac26..1e827f563 100644 --- a/src/csma/examples/csma-raw-ip-socket.cc +++ b/src/csma/examples/csma-raw-ip-socket.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/csma/helper/csma-helper.cc b/src/csma/helper/csma-helper.cc index 709d7de3b..58549237e 100644 --- a/src/csma/helper/csma-helper.cc +++ b/src/csma/helper/csma-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/csma/helper/csma-helper.h b/src/csma/helper/csma-helper.h index e3ad41f1b..4d78f6e68 100644 --- a/src/csma/helper/csma-helper.h +++ b/src/csma/helper/csma-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/csma/model/backoff.cc b/src/csma/model/backoff.cc index 235747611..70bf5a34c 100644 --- a/src/csma/model/backoff.cc +++ b/src/csma/model/backoff.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, Emmanuelle Laprise * diff --git a/src/csma/model/backoff.h b/src/csma/model/backoff.h index f9f974a9c..4b5071e50 100644 --- a/src/csma/model/backoff.h +++ b/src/csma/model/backoff.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/csma/model/csma-channel.cc b/src/csma/model/csma-channel.cc index a768c1808..959fbc51e 100644 --- a/src/csma/model/csma-channel.cc +++ b/src/csma/model/csma-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/csma/model/csma-channel.h b/src/csma/model/csma-channel.h index a74723606..8de1b5fd4 100644 --- a/src/csma/model/csma-channel.h +++ b/src/csma/model/csma-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/csma/model/csma-net-device.cc b/src/csma/model/csma-net-device.cc index f2c090cc2..9180e6c14 100644 --- a/src/csma/model/csma-net-device.cc +++ b/src/csma/model/csma-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/csma/model/csma-net-device.h b/src/csma/model/csma-net-device.h index 71a9b6e8c..4c7af46c8 100644 --- a/src/csma/model/csma-net-device.h +++ b/src/csma/model/csma-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/dsdv/doc/dsdv.h b/src/dsdv/doc/dsdv.h index 3b4ae4485..41ed6cf8c 100644 --- a/src/dsdv/doc/dsdv.h +++ b/src/dsdv/doc/dsdv.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra, Yufei Cheng * diff --git a/src/dsdv/examples/dsdv-manet.cc b/src/dsdv/examples/dsdv-manet.cc index 4cc9b9f9c..e20f102c7 100644 --- a/src/dsdv/examples/dsdv-manet.cc +++ b/src/dsdv/examples/dsdv-manet.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/helper/dsdv-helper.cc b/src/dsdv/helper/dsdv-helper.cc index 44d92604a..d0827316b 100644 --- a/src/dsdv/helper/dsdv-helper.cc +++ b/src/dsdv/helper/dsdv-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/helper/dsdv-helper.h b/src/dsdv/helper/dsdv-helper.h index 3beb811a0..7a701c7a0 100644 --- a/src/dsdv/helper/dsdv-helper.h +++ b/src/dsdv/helper/dsdv-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/model/dsdv-packet-queue.cc b/src/dsdv/model/dsdv-packet-queue.cc index 0469e232e..9cab56e9c 100644 --- a/src/dsdv/model/dsdv-packet-queue.cc +++ b/src/dsdv/model/dsdv-packet-queue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/model/dsdv-packet-queue.h b/src/dsdv/model/dsdv-packet-queue.h index 3383ae614..a49461821 100644 --- a/src/dsdv/model/dsdv-packet-queue.h +++ b/src/dsdv/model/dsdv-packet-queue.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/model/dsdv-packet.cc b/src/dsdv/model/dsdv-packet.cc index 65a7e0913..b52f77a2a 100644 --- a/src/dsdv/model/dsdv-packet.cc +++ b/src/dsdv/model/dsdv-packet.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/model/dsdv-packet.h b/src/dsdv/model/dsdv-packet.h index 7f0e44400..6158d1107 100644 --- a/src/dsdv/model/dsdv-packet.h +++ b/src/dsdv/model/dsdv-packet.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/model/dsdv-routing-protocol.cc b/src/dsdv/model/dsdv-routing-protocol.cc index 4bbfd5d9d..cc4e7142f 100644 --- a/src/dsdv/model/dsdv-routing-protocol.cc +++ b/src/dsdv/model/dsdv-routing-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra, Yufei Cheng * diff --git a/src/dsdv/model/dsdv-routing-protocol.h b/src/dsdv/model/dsdv-routing-protocol.h index a803c8cdd..2c7495041 100644 --- a/src/dsdv/model/dsdv-routing-protocol.h +++ b/src/dsdv/model/dsdv-routing-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra, Yufei Cheng * diff --git a/src/dsdv/model/dsdv-rtable.cc b/src/dsdv/model/dsdv-rtable.cc index a0b4829e6..47a2e9c75 100644 --- a/src/dsdv/model/dsdv-rtable.cc +++ b/src/dsdv/model/dsdv-rtable.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/model/dsdv-rtable.h b/src/dsdv/model/dsdv-rtable.h index 7d6fa998e..84ecb5f3f 100644 --- a/src/dsdv/model/dsdv-rtable.h +++ b/src/dsdv/model/dsdv-rtable.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsdv/test/dsdv-testcase.cc b/src/dsdv/test/dsdv-testcase.cc index d18986269..cf57a1cf6 100644 --- a/src/dsdv/test/dsdv-testcase.cc +++ b/src/dsdv/test/dsdv-testcase.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * diff --git a/src/dsr/doc/dsr.h b/src/dsr/doc/dsr.h index 4de2ba556..2186fa3c0 100644 --- a/src/dsr/doc/dsr.h +++ b/src/dsr/doc/dsr.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/examples/dsr.cc b/src/dsr/examples/dsr.cc index 720ef2fd6..3cb0babd7 100644 --- a/src/dsr/examples/dsr.cc +++ b/src/dsr/examples/dsr.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/helper/dsr-helper.cc b/src/dsr/helper/dsr-helper.cc index 65bd5971f..d53da7875 100644 --- a/src/dsr/helper/dsr-helper.cc +++ b/src/dsr/helper/dsr-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/helper/dsr-helper.h b/src/dsr/helper/dsr-helper.h index 4527f30cb..13995b8e2 100644 --- a/src/dsr/helper/dsr-helper.h +++ b/src/dsr/helper/dsr-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/helper/dsr-main-helper.cc b/src/dsr/helper/dsr-main-helper.cc index 1cb5966d2..a55be2976 100644 --- a/src/dsr/helper/dsr-main-helper.cc +++ b/src/dsr/helper/dsr-main-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/helper/dsr-main-helper.h b/src/dsr/helper/dsr-main-helper.h index 6a1d112c7..465810243 100644 --- a/src/dsr/helper/dsr-main-helper.h +++ b/src/dsr/helper/dsr-main-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-errorbuff.cc b/src/dsr/model/dsr-errorbuff.cc index 871eeef4f..f52426f77 100644 --- a/src/dsr/model/dsr-errorbuff.cc +++ b/src/dsr/model/dsr-errorbuff.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-errorbuff.h b/src/dsr/model/dsr-errorbuff.h index b485a3dad..20a8f6cab 100644 --- a/src/dsr/model/dsr-errorbuff.h +++ b/src/dsr/model/dsr-errorbuff.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-fs-header.cc b/src/dsr/model/dsr-fs-header.cc index 9c3ea63f8..b70701146 100644 --- a/src/dsr/model/dsr-fs-header.cc +++ b/src/dsr/model/dsr-fs-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-fs-header.h b/src/dsr/model/dsr-fs-header.h index e9cf5ca4a..29c27ff9b 100644 --- a/src/dsr/model/dsr-fs-header.h +++ b/src/dsr/model/dsr-fs-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-gratuitous-reply-table.cc b/src/dsr/model/dsr-gratuitous-reply-table.cc index 9ec4f6579..3b92751fd 100644 --- a/src/dsr/model/dsr-gratuitous-reply-table.cc +++ b/src/dsr/model/dsr-gratuitous-reply-table.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-gratuitous-reply-table.h b/src/dsr/model/dsr-gratuitous-reply-table.h index 64c1b5bc5..729d0d427 100644 --- a/src/dsr/model/dsr-gratuitous-reply-table.h +++ b/src/dsr/model/dsr-gratuitous-reply-table.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-maintain-buff.cc b/src/dsr/model/dsr-maintain-buff.cc index af97c5050..e32ddfa0c 100644 --- a/src/dsr/model/dsr-maintain-buff.cc +++ b/src/dsr/model/dsr-maintain-buff.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-maintain-buff.h b/src/dsr/model/dsr-maintain-buff.h index 516f88adc..67a8256cf 100644 --- a/src/dsr/model/dsr-maintain-buff.h +++ b/src/dsr/model/dsr-maintain-buff.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-network-queue.cc b/src/dsr/model/dsr-network-queue.cc index 39dbb0af9..f2f53d1d9 100644 --- a/src/dsr/model/dsr-network-queue.cc +++ b/src/dsr/model/dsr-network-queue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-network-queue.h b/src/dsr/model/dsr-network-queue.h index 9d07fdb80..e389fcfd4 100644 --- a/src/dsr/model/dsr-network-queue.h +++ b/src/dsr/model/dsr-network-queue.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-option-header.cc b/src/dsr/model/dsr-option-header.cc index b53a8153d..3dd9905f7 100644 --- a/src/dsr/model/dsr-option-header.cc +++ b/src/dsr/model/dsr-option-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-option-header.h b/src/dsr/model/dsr-option-header.h index ea7e5d920..24e2adf37 100644 --- a/src/dsr/model/dsr-option-header.h +++ b/src/dsr/model/dsr-option-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-options.cc b/src/dsr/model/dsr-options.cc index 5f4673f40..27bff07e4 100644 --- a/src/dsr/model/dsr-options.cc +++ b/src/dsr/model/dsr-options.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-options.h b/src/dsr/model/dsr-options.h index f3b87be0e..3b32034be 100644 --- a/src/dsr/model/dsr-options.h +++ b/src/dsr/model/dsr-options.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-passive-buff.cc b/src/dsr/model/dsr-passive-buff.cc index 5bcffdb52..ffd650255 100644 --- a/src/dsr/model/dsr-passive-buff.cc +++ b/src/dsr/model/dsr-passive-buff.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-passive-buff.h b/src/dsr/model/dsr-passive-buff.h index eca1542bd..27a4158bb 100644 --- a/src/dsr/model/dsr-passive-buff.h +++ b/src/dsr/model/dsr-passive-buff.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-rcache.cc b/src/dsr/model/dsr-rcache.cc index b60162d90..61fb5467a 100644 --- a/src/dsr/model/dsr-rcache.cc +++ b/src/dsr/model/dsr-rcache.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-rcache.h b/src/dsr/model/dsr-rcache.h index 6a44ea96a..2ab6fcb58 100644 --- a/src/dsr/model/dsr-rcache.h +++ b/src/dsr/model/dsr-rcache.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-routing.cc b/src/dsr/model/dsr-routing.cc index 1913ab3ca..d0183cfdb 100644 --- a/src/dsr/model/dsr-routing.cc +++ b/src/dsr/model/dsr-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-routing.h b/src/dsr/model/dsr-routing.h index 7bc60644a..f44135f2d 100644 --- a/src/dsr/model/dsr-routing.h +++ b/src/dsr/model/dsr-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-rreq-table.cc b/src/dsr/model/dsr-rreq-table.cc index 9640c36d6..c2ae7fe76 100644 --- a/src/dsr/model/dsr-rreq-table.cc +++ b/src/dsr/model/dsr-rreq-table.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-rreq-table.h b/src/dsr/model/dsr-rreq-table.h index 3e59e8caa..ac3ddd338 100644 --- a/src/dsr/model/dsr-rreq-table.h +++ b/src/dsr/model/dsr-rreq-table.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-rsendbuff.cc b/src/dsr/model/dsr-rsendbuff.cc index 97cc2df32..0e256f30f 100644 --- a/src/dsr/model/dsr-rsendbuff.cc +++ b/src/dsr/model/dsr-rsendbuff.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/model/dsr-rsendbuff.h b/src/dsr/model/dsr-rsendbuff.h index 63826bf4f..dcec110ed 100644 --- a/src/dsr/model/dsr-rsendbuff.h +++ b/src/dsr/model/dsr-rsendbuff.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/dsr/test/dsr-test-suite.cc b/src/dsr/test/dsr-test-suite.cc index 3f5080864..260a0aeb3 100644 --- a/src/dsr/test/dsr-test-suite.cc +++ b/src/dsr/test/dsr-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Yufei Cheng * diff --git a/src/energy/examples/basic-energy-model-test.cc b/src/energy/examples/basic-energy-model-test.cc index 3f91c256c..9763968e7 100644 --- a/src/energy/examples/basic-energy-model-test.cc +++ b/src/energy/examples/basic-energy-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/examples/li-ion-energy-source.cc b/src/energy/examples/li-ion-energy-source.cc index 01eb5f676..58ee0f329 100644 --- a/src/energy/examples/li-ion-energy-source.cc +++ b/src/energy/examples/li-ion-energy-source.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/energy/examples/rv-battery-model-test.cc b/src/energy/examples/rv-battery-model-test.cc index b8c183cea..42a88469b 100644 --- a/src/energy/examples/rv-battery-model-test.cc +++ b/src/energy/examples/rv-battery-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/basic-energy-harvester-helper.cc b/src/energy/helper/basic-energy-harvester-helper.cc index def2709c4..7b8c18122 100644 --- a/src/energy/helper/basic-energy-harvester-helper.cc +++ b/src/energy/helper/basic-energy-harvester-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/helper/basic-energy-harvester-helper.h b/src/energy/helper/basic-energy-harvester-helper.h index 4e9f55cb0..9cdae5490 100644 --- a/src/energy/helper/basic-energy-harvester-helper.h +++ b/src/energy/helper/basic-energy-harvester-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/helper/basic-energy-source-helper.cc b/src/energy/helper/basic-energy-source-helper.cc index 92f4e30a2..831e3c048 100644 --- a/src/energy/helper/basic-energy-source-helper.cc +++ b/src/energy/helper/basic-energy-source-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/basic-energy-source-helper.h b/src/energy/helper/basic-energy-source-helper.h index cff49a1f0..d998bff85 100644 --- a/src/energy/helper/basic-energy-source-helper.h +++ b/src/energy/helper/basic-energy-source-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/energy-harvester-container.cc b/src/energy/helper/energy-harvester-container.cc index d8446094b..35d2d3b3e 100644 --- a/src/energy/helper/energy-harvester-container.cc +++ b/src/energy/helper/energy-harvester-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/helper/energy-harvester-container.h b/src/energy/helper/energy-harvester-container.h index 691536320..3e4aa72a1 100644 --- a/src/energy/helper/energy-harvester-container.h +++ b/src/energy/helper/energy-harvester-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/helper/energy-harvester-helper.cc b/src/energy/helper/energy-harvester-helper.cc index 4a782af07..afec5ffdf 100644 --- a/src/energy/helper/energy-harvester-helper.cc +++ b/src/energy/helper/energy-harvester-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/helper/energy-harvester-helper.h b/src/energy/helper/energy-harvester-helper.h index 91a718269..5a8966906 100644 --- a/src/energy/helper/energy-harvester-helper.h +++ b/src/energy/helper/energy-harvester-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/helper/energy-model-helper.cc b/src/energy/helper/energy-model-helper.cc index ac4b635d7..8325c03f7 100644 --- a/src/energy/helper/energy-model-helper.cc +++ b/src/energy/helper/energy-model-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/energy-model-helper.h b/src/energy/helper/energy-model-helper.h index 4fe4ca5b9..9eec9ab7b 100644 --- a/src/energy/helper/energy-model-helper.h +++ b/src/energy/helper/energy-model-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/energy-source-container.cc b/src/energy/helper/energy-source-container.cc index 84e836b0e..b41f66d26 100644 --- a/src/energy/helper/energy-source-container.cc +++ b/src/energy/helper/energy-source-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. diff --git a/src/energy/helper/energy-source-container.h b/src/energy/helper/energy-source-container.h index b8ca8687d..1ae8ff011 100644 --- a/src/energy/helper/energy-source-container.h +++ b/src/energy/helper/energy-source-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. diff --git a/src/energy/helper/li-ion-energy-source-helper.cc b/src/energy/helper/li-ion-energy-source-helper.cc index e9caf4ab7..bd17ca5b9 100644 --- a/src/energy/helper/li-ion-energy-source-helper.cc +++ b/src/energy/helper/li-ion-energy-source-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/helper/li-ion-energy-source-helper.h b/src/energy/helper/li-ion-energy-source-helper.h index fd2817e13..be5167656 100644 --- a/src/energy/helper/li-ion-energy-source-helper.h +++ b/src/energy/helper/li-ion-energy-source-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/helper/rv-battery-model-helper.cc b/src/energy/helper/rv-battery-model-helper.cc index 8705498b7..7de261734 100644 --- a/src/energy/helper/rv-battery-model-helper.cc +++ b/src/energy/helper/rv-battery-model-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/rv-battery-model-helper.h b/src/energy/helper/rv-battery-model-helper.h index 506eb30cd..0f09c7120 100644 --- a/src/energy/helper/rv-battery-model-helper.h +++ b/src/energy/helper/rv-battery-model-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/basic-energy-harvester.cc b/src/energy/model/basic-energy-harvester.cc index f814f8452..89673cebf 100644 --- a/src/energy/model/basic-energy-harvester.cc +++ b/src/energy/model/basic-energy-harvester.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/model/basic-energy-harvester.h b/src/energy/model/basic-energy-harvester.h index 6eaa9270f..341e04c03 100644 --- a/src/energy/model/basic-energy-harvester.h +++ b/src/energy/model/basic-energy-harvester.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/model/basic-energy-source.cc b/src/energy/model/basic-energy-source.cc index ebe3d5ab7..fe59345f6 100644 --- a/src/energy/model/basic-energy-source.cc +++ b/src/energy/model/basic-energy-source.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/basic-energy-source.h b/src/energy/model/basic-energy-source.h index 708aad1f5..de7be94e6 100644 --- a/src/energy/model/basic-energy-source.h +++ b/src/energy/model/basic-energy-source.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/device-energy-model-container.cc b/src/energy/model/device-energy-model-container.cc index adf29a28c..05208f7d0 100644 --- a/src/energy/model/device-energy-model-container.cc +++ b/src/energy/model/device-energy-model-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. diff --git a/src/energy/model/device-energy-model-container.h b/src/energy/model/device-energy-model-container.h index 1ac62a977..40409e5d2 100644 --- a/src/energy/model/device-energy-model-container.h +++ b/src/energy/model/device-energy-model-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. diff --git a/src/energy/model/device-energy-model.cc b/src/energy/model/device-energy-model.cc index ca6ebd526..5f083ebcb 100644 --- a/src/energy/model/device-energy-model.cc +++ b/src/energy/model/device-energy-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/device-energy-model.h b/src/energy/model/device-energy-model.h index ab47b8a09..5312205cc 100644 --- a/src/energy/model/device-energy-model.h +++ b/src/energy/model/device-energy-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/energy-harvester.cc b/src/energy/model/energy-harvester.cc index 4ebf214e8..1a050aad1 100644 --- a/src/energy/model/energy-harvester.cc +++ b/src/energy/model/energy-harvester.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/model/energy-harvester.h b/src/energy/model/energy-harvester.h index ff316a344..0bb0e22af 100644 --- a/src/energy/model/energy-harvester.h +++ b/src/energy/model/energy-harvester.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/model/energy-source.cc b/src/energy/model/energy-source.cc index 366c8fc7c..a76b7b083 100644 --- a/src/energy/model/energy-source.cc +++ b/src/energy/model/energy-source.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/energy-source.h b/src/energy/model/energy-source.h index f78f2e3fa..a86dab7fe 100644 --- a/src/energy/model/energy-source.h +++ b/src/energy/model/energy-source.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/li-ion-energy-source.cc b/src/energy/model/li-ion-energy-source.cc index 86fcd937e..7fadef39a 100644 --- a/src/energy/model/li-ion-energy-source.cc +++ b/src/energy/model/li-ion-energy-source.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/energy/model/li-ion-energy-source.h b/src/energy/model/li-ion-energy-source.h index f71893bfe..fff7cc5d7 100644 --- a/src/energy/model/li-ion-energy-source.h +++ b/src/energy/model/li-ion-energy-source.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/energy/model/rv-battery-model.cc b/src/energy/model/rv-battery-model.cc index 23e2e6590..444bff66b 100644 --- a/src/energy/model/rv-battery-model.cc +++ b/src/energy/model/rv-battery-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/rv-battery-model.h b/src/energy/model/rv-battery-model.h index 5bada4f3a..f06b33afa 100644 --- a/src/energy/model/rv-battery-model.h +++ b/src/energy/model/rv-battery-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/simple-device-energy-model.cc b/src/energy/model/simple-device-energy-model.cc index 5b93af8de..05982dfab 100644 --- a/src/energy/model/simple-device-energy-model.cc +++ b/src/energy/model/simple-device-energy-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/energy/model/simple-device-energy-model.h b/src/energy/model/simple-device-energy-model.h index 97a3b176c..633238024 100644 --- a/src/energy/model/simple-device-energy-model.h +++ b/src/energy/model/simple-device-energy-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/energy/test/basic-energy-harvester-test.cc b/src/energy/test/basic-energy-harvester-test.cc index 11b3b47b5..28befc521 100644 --- a/src/energy/test/basic-energy-harvester-test.cc +++ b/src/energy/test/basic-energy-harvester-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Wireless Communications and Networking Group (WCNG), * University of Rochester, Rochester, NY, USA. diff --git a/src/energy/test/li-ion-energy-source-test.cc b/src/energy/test/li-ion-energy-source-test.cc index d608d3839..46a927b3f 100644 --- a/src/energy/test/li-ion-energy-source-test.cc +++ b/src/energy/test/li-ion-energy-source-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/fd-net-device/examples/dummy-network.cc b/src/fd-net-device/examples/dummy-network.cc index be6cd697a..ec577198e 100644 --- a/src/fd-net-device/examples/dummy-network.cc +++ b/src/fd-net-device/examples/dummy-network.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * diff --git a/src/fd-net-device/examples/fd-emu-onoff.cc b/src/fd-net-device/examples/fd-emu-onoff.cc index 3172ff417..3d3e6b066 100644 --- a/src/fd-net-device/examples/fd-emu-onoff.cc +++ b/src/fd-net-device/examples/fd-emu-onoff.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * 2017 Università' degli Studi di Napoli Federico II diff --git a/src/fd-net-device/examples/fd-emu-ping.cc b/src/fd-net-device/examples/fd-emu-ping.cc index 8fef92463..500e752d1 100644 --- a/src/fd-net-device/examples/fd-emu-ping.cc +++ b/src/fd-net-device/examples/fd-emu-ping.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * 2017 Università' degli Studi di Napoli Federico II diff --git a/src/fd-net-device/examples/fd-emu-send.cc b/src/fd-net-device/examples/fd-emu-send.cc index 1705e0060..2b816c4de 100644 --- a/src/fd-net-device/examples/fd-emu-send.cc +++ b/src/fd-net-device/examples/fd-emu-send.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/fd-net-device/examples/fd-emu-tc.cc b/src/fd-net-device/examples/fd-emu-tc.cc index ef6c192ea..091c14469 100644 --- a/src/fd-net-device/examples/fd-emu-tc.cc +++ b/src/fd-net-device/examples/fd-emu-tc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/fd-net-device/examples/fd-emu-udp-echo.cc b/src/fd-net-device/examples/fd-emu-udp-echo.cc index 8fe79f732..1da3141f9 100644 --- a/src/fd-net-device/examples/fd-emu-udp-echo.cc +++ b/src/fd-net-device/examples/fd-emu-udp-echo.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * diff --git a/src/fd-net-device/examples/fd-tap-ping.cc b/src/fd-net-device/examples/fd-tap-ping.cc index 7421349ff..4cd31dfa7 100644 --- a/src/fd-net-device/examples/fd-tap-ping.cc +++ b/src/fd-net-device/examples/fd-tap-ping.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * diff --git a/src/fd-net-device/examples/fd-tap-ping6.cc b/src/fd-net-device/examples/fd-tap-ping6.cc index 8e12e149b..eb2457bdf 100644 --- a/src/fd-net-device/examples/fd-tap-ping6.cc +++ b/src/fd-net-device/examples/fd-tap-ping6.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * diff --git a/src/fd-net-device/examples/fd2fd-onoff.cc b/src/fd-net-device/examples/fd2fd-onoff.cc index ddd25e289..b6ca6d678 100644 --- a/src/fd-net-device/examples/fd2fd-onoff.cc +++ b/src/fd-net-device/examples/fd2fd-onoff.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * diff --git a/src/fd-net-device/examples/realtime-dummy-network.cc b/src/fd-net-device/examples/realtime-dummy-network.cc index 134b3be3f..ceedcb705 100644 --- a/src/fd-net-device/examples/realtime-dummy-network.cc +++ b/src/fd-net-device/examples/realtime-dummy-network.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * diff --git a/src/fd-net-device/examples/realtime-fd2fd-onoff.cc b/src/fd-net-device/examples/realtime-fd2fd-onoff.cc index e86e301ca..fa2e9daf7 100644 --- a/src/fd-net-device/examples/realtime-fd2fd-onoff.cc +++ b/src/fd-net-device/examples/realtime-fd2fd-onoff.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington, 2012 INRIA * diff --git a/src/fd-net-device/helper/creator-utils.cc b/src/fd-net-device/helper/creator-utils.cc index 6a2d36ab8..50c8e9e71 100644 --- a/src/fd-net-device/helper/creator-utils.cc +++ b/src/fd-net-device/helper/creator-utils.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) University of Washington * diff --git a/src/fd-net-device/helper/creator-utils.h b/src/fd-net-device/helper/creator-utils.h index 524f22dc9..ebf7e74a4 100644 --- a/src/fd-net-device/helper/creator-utils.h +++ b/src/fd-net-device/helper/creator-utils.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) University of Washington * diff --git a/src/fd-net-device/helper/dpdk-net-device-helper.cc b/src/fd-net-device/helper/dpdk-net-device-helper.cc index fd0abd461..9b57768ec 100644 --- a/src/fd-net-device/helper/dpdk-net-device-helper.cc +++ b/src/fd-net-device/helper/dpdk-net-device-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 NITK Surathkal * diff --git a/src/fd-net-device/helper/dpdk-net-device-helper.h b/src/fd-net-device/helper/dpdk-net-device-helper.h index 4cf24ddf1..0fa9c56eb 100644 --- a/src/fd-net-device/helper/dpdk-net-device-helper.h +++ b/src/fd-net-device/helper/dpdk-net-device-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 NITK Surathkal * diff --git a/src/fd-net-device/helper/emu-fd-net-device-helper.cc b/src/fd-net-device/helper/emu-fd-net-device-helper.cc index 20a6e18ad..ee9edf09d 100644 --- a/src/fd-net-device/helper/emu-fd-net-device-helper.cc +++ b/src/fd-net-device/helper/emu-fd-net-device-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 INRIA, 2012 University of Washington * diff --git a/src/fd-net-device/helper/emu-fd-net-device-helper.h b/src/fd-net-device/helper/emu-fd-net-device-helper.h index 57becd84f..d6618fb2b 100644 --- a/src/fd-net-device/helper/emu-fd-net-device-helper.h +++ b/src/fd-net-device/helper/emu-fd-net-device-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 INRIA, 2012 University of Washington * diff --git a/src/fd-net-device/helper/encode-decode.cc b/src/fd-net-device/helper/encode-decode.cc index 90b385ec8..e7be2e41c 100644 --- a/src/fd-net-device/helper/encode-decode.cc +++ b/src/fd-net-device/helper/encode-decode.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/fd-net-device/helper/encode-decode.h b/src/fd-net-device/helper/encode-decode.h index c3b084a64..5483807a4 100644 --- a/src/fd-net-device/helper/encode-decode.h +++ b/src/fd-net-device/helper/encode-decode.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/fd-net-device/helper/fd-net-device-helper.cc b/src/fd-net-device/helper/fd-net-device-helper.cc index 6484907fa..a4d892a9c 100644 --- a/src/fd-net-device/helper/fd-net-device-helper.cc +++ b/src/fd-net-device/helper/fd-net-device-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 INRIA * diff --git a/src/fd-net-device/helper/fd-net-device-helper.h b/src/fd-net-device/helper/fd-net-device-helper.h index a0ca2c33e..779a523c1 100644 --- a/src/fd-net-device/helper/fd-net-device-helper.h +++ b/src/fd-net-device/helper/fd-net-device-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 INRIA * diff --git a/src/fd-net-device/helper/netmap-device-creator.cc b/src/fd-net-device/helper/netmap-device-creator.cc index 61e4314fe..bd78db69d 100644 --- a/src/fd-net-device/helper/netmap-device-creator.cc +++ b/src/fd-net-device/helper/netmap-device-creator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) University of Washington * diff --git a/src/fd-net-device/helper/netmap-net-device-helper.cc b/src/fd-net-device/helper/netmap-net-device-helper.cc index 3970a6e77..7e96daf8d 100644 --- a/src/fd-net-device/helper/netmap-net-device-helper.cc +++ b/src/fd-net-device/helper/netmap-net-device-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/fd-net-device/helper/netmap-net-device-helper.h b/src/fd-net-device/helper/netmap-net-device-helper.h index 16a367396..a26fa2705 100644 --- a/src/fd-net-device/helper/netmap-net-device-helper.h +++ b/src/fd-net-device/helper/netmap-net-device-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/fd-net-device/helper/raw-sock-creator.cc b/src/fd-net-device/helper/raw-sock-creator.cc index 04deb75f2..94593d49e 100644 --- a/src/fd-net-device/helper/raw-sock-creator.cc +++ b/src/fd-net-device/helper/raw-sock-creator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) University of Washington * diff --git a/src/fd-net-device/helper/tap-device-creator.cc b/src/fd-net-device/helper/tap-device-creator.cc index 1cae51351..165791427 100644 --- a/src/fd-net-device/helper/tap-device-creator.cc +++ b/src/fd-net-device/helper/tap-device-creator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/fd-net-device/helper/tap-fd-net-device-helper.cc b/src/fd-net-device/helper/tap-fd-net-device-helper.cc index 52254b108..3456a9005 100644 --- a/src/fd-net-device/helper/tap-fd-net-device-helper.cc +++ b/src/fd-net-device/helper/tap-fd-net-device-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 INRIA, 2012 University of Washington * diff --git a/src/fd-net-device/helper/tap-fd-net-device-helper.h b/src/fd-net-device/helper/tap-fd-net-device-helper.h index fe0193fbd..caf6d2b42 100644 --- a/src/fd-net-device/helper/tap-fd-net-device-helper.h +++ b/src/fd-net-device/helper/tap-fd-net-device-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 INRIA, 2012 University of Washington * diff --git a/src/fd-net-device/model/dpdk-net-device.cc b/src/fd-net-device/model/dpdk-net-device.cc index b7e39d6a7..b5f20defa 100644 --- a/src/fd-net-device/model/dpdk-net-device.cc +++ b/src/fd-net-device/model/dpdk-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/src/fd-net-device/model/dpdk-net-device.h b/src/fd-net-device/model/dpdk-net-device.h index c35529fe4..7ca9ac381 100644 --- a/src/fd-net-device/model/dpdk-net-device.h +++ b/src/fd-net-device/model/dpdk-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/src/fd-net-device/model/fd-net-device.cc b/src/fd-net-device/model/fd-net-device.cc index 5750fbf47..fea21766b 100644 --- a/src/fd-net-device/model/fd-net-device.cc +++ b/src/fd-net-device/model/fd-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 INRIA, 2012 University of Washington * diff --git a/src/fd-net-device/model/fd-net-device.h b/src/fd-net-device/model/fd-net-device.h index 639c7c9d8..20a17b4ad 100644 --- a/src/fd-net-device/model/fd-net-device.h +++ b/src/fd-net-device/model/fd-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 INRIA, 2012 University of Washington * diff --git a/src/fd-net-device/model/netmap-net-device.cc b/src/fd-net-device/model/netmap-net-device.cc index a6b769bb6..686567808 100644 --- a/src/fd-net-device/model/netmap-net-device.cc +++ b/src/fd-net-device/model/netmap-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/fd-net-device/model/netmap-net-device.h b/src/fd-net-device/model/netmap-net-device.h index bd58cf8d6..58dcd3d82 100644 --- a/src/fd-net-device/model/netmap-net-device.h +++ b/src/fd-net-device/model/netmap-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/flow-monitor/helper/flow-monitor-helper.cc b/src/flow-monitor/helper/flow-monitor-helper.cc index c14077c1f..c991f5ea0 100644 --- a/src/flow-monitor/helper/flow-monitor-helper.cc +++ b/src/flow-monitor/helper/flow-monitor-helper.cc @@ -1,4 +1,3 @@ -// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/helper/flow-monitor-helper.h b/src/flow-monitor/helper/flow-monitor-helper.h index 39668095a..82b2cd0f7 100644 --- a/src/flow-monitor/helper/flow-monitor-helper.h +++ b/src/flow-monitor/helper/flow-monitor-helper.h @@ -1,4 +1,3 @@ -// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/flow-classifier.cc b/src/flow-monitor/model/flow-classifier.cc index 50a0a65f8..4fec3009c 100644 --- a/src/flow-monitor/model/flow-classifier.cc +++ b/src/flow-monitor/model/flow-classifier.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/flow-classifier.h b/src/flow-monitor/model/flow-classifier.h index 452bbf395..e02cd397b 100644 --- a/src/flow-monitor/model/flow-classifier.h +++ b/src/flow-monitor/model/flow-classifier.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/flow-monitor.cc b/src/flow-monitor/model/flow-monitor.cc index 873eb82cc..60212da59 100644 --- a/src/flow-monitor/model/flow-monitor.cc +++ b/src/flow-monitor/model/flow-monitor.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/flow-monitor.h b/src/flow-monitor/model/flow-monitor.h index b7cf59770..767719dd3 100644 --- a/src/flow-monitor/model/flow-monitor.h +++ b/src/flow-monitor/model/flow-monitor.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/flow-probe.cc b/src/flow-monitor/model/flow-probe.cc index 6348e51ec..3e1a09f10 100644 --- a/src/flow-monitor/model/flow-probe.cc +++ b/src/flow-monitor/model/flow-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/flow-probe.h b/src/flow-monitor/model/flow-probe.h index 2e5c989d0..fb5d15ff8 100644 --- a/src/flow-monitor/model/flow-probe.h +++ b/src/flow-monitor/model/flow-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/ipv4-flow-classifier.cc b/src/flow-monitor/model/ipv4-flow-classifier.cc index 704eda2c5..54e675566 100644 --- a/src/flow-monitor/model/ipv4-flow-classifier.cc +++ b/src/flow-monitor/model/ipv4-flow-classifier.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/ipv4-flow-classifier.h b/src/flow-monitor/model/ipv4-flow-classifier.h index 88b848e5c..b3c7a7732 100644 --- a/src/flow-monitor/model/ipv4-flow-classifier.h +++ b/src/flow-monitor/model/ipv4-flow-classifier.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/ipv4-flow-probe.cc b/src/flow-monitor/model/ipv4-flow-probe.cc index b910fb09d..3d4a83a9a 100644 --- a/src/flow-monitor/model/ipv4-flow-probe.cc +++ b/src/flow-monitor/model/ipv4-flow-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/ipv4-flow-probe.h b/src/flow-monitor/model/ipv4-flow-probe.h index 3ef5eb146..bfc137a6a 100644 --- a/src/flow-monitor/model/ipv4-flow-probe.h +++ b/src/flow-monitor/model/ipv4-flow-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/ipv6-flow-classifier.cc b/src/flow-monitor/model/ipv6-flow-classifier.cc index 5566d81cc..6b340bd18 100644 --- a/src/flow-monitor/model/ipv6-flow-classifier.cc +++ b/src/flow-monitor/model/ipv6-flow-classifier.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/ipv6-flow-classifier.h b/src/flow-monitor/model/ipv6-flow-classifier.h index f2360737f..e74de7c8a 100644 --- a/src/flow-monitor/model/ipv6-flow-classifier.h +++ b/src/flow-monitor/model/ipv6-flow-classifier.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/ipv6-flow-probe.cc b/src/flow-monitor/model/ipv6-flow-probe.cc index 746508a29..a274f50e2 100644 --- a/src/flow-monitor/model/ipv6-flow-probe.cc +++ b/src/flow-monitor/model/ipv6-flow-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/flow-monitor/model/ipv6-flow-probe.h b/src/flow-monitor/model/ipv6-flow-probe.h index 7d665b5eb..334bae5e2 100644 --- a/src/flow-monitor/model/ipv6-flow-probe.h +++ b/src/flow-monitor/model/ipv6-flow-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/internet-apps/doc/internet-apps.h b/src/internet-apps/doc/internet-apps.h index c2fa4a9ba..360cb3b2e 100644 --- a/src/internet-apps/doc/internet-apps.h +++ b/src/internet-apps/doc/internet-apps.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -15,7 +14,6 @@ * */ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet-apps/examples/dhcp-example.cc b/src/internet-apps/examples/dhcp-example.cc index 2cdb2c8a4..06c400704 100644 --- a/src/internet-apps/examples/dhcp-example.cc +++ b/src/internet-apps/examples/dhcp-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/examples/traceroute-example.cc b/src/internet-apps/examples/traceroute-example.cc index 7e5446631..6514326af 100644 --- a/src/internet-apps/examples/traceroute-example.cc +++ b/src/internet-apps/examples/traceroute-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan * diff --git a/src/internet-apps/helper/dhcp-helper.cc b/src/internet-apps/helper/dhcp-helper.cc index 329a4602a..97d4dfdae 100644 --- a/src/internet-apps/helper/dhcp-helper.cc +++ b/src/internet-apps/helper/dhcp-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/helper/dhcp-helper.h b/src/internet-apps/helper/dhcp-helper.h index 410276607..6b3c5ea01 100644 --- a/src/internet-apps/helper/dhcp-helper.h +++ b/src/internet-apps/helper/dhcp-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/helper/ping6-helper.cc b/src/internet-apps/helper/ping6-helper.cc index 15d936881..449b70a01 100644 --- a/src/internet-apps/helper/ping6-helper.cc +++ b/src/internet-apps/helper/ping6-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet-apps/helper/ping6-helper.h b/src/internet-apps/helper/ping6-helper.h index 2334c192c..cd29a71fb 100644 --- a/src/internet-apps/helper/ping6-helper.h +++ b/src/internet-apps/helper/ping6-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet-apps/helper/radvd-helper.cc b/src/internet-apps/helper/radvd-helper.cc index 3d5816275..61b431c5d 100644 --- a/src/internet-apps/helper/radvd-helper.cc +++ b/src/internet-apps/helper/radvd-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * diff --git a/src/internet-apps/helper/radvd-helper.h b/src/internet-apps/helper/radvd-helper.h index 76e103570..5ba2ab745 100644 --- a/src/internet-apps/helper/radvd-helper.h +++ b/src/internet-apps/helper/radvd-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * diff --git a/src/internet-apps/helper/v4ping-helper.cc b/src/internet-apps/helper/v4ping-helper.cc index 2034d429c..cf99de6ff 100644 --- a/src/internet-apps/helper/v4ping-helper.cc +++ b/src/internet-apps/helper/v4ping-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet-apps/helper/v4ping-helper.h b/src/internet-apps/helper/v4ping-helper.h index 9dc584a57..7e1bcb5c9 100644 --- a/src/internet-apps/helper/v4ping-helper.h +++ b/src/internet-apps/helper/v4ping-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet-apps/helper/v4traceroute-helper.cc b/src/internet-apps/helper/v4traceroute-helper.cc index 6e901babe..cf968388c 100644 --- a/src/internet-apps/helper/v4traceroute-helper.cc +++ b/src/internet-apps/helper/v4traceroute-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan * diff --git a/src/internet-apps/helper/v4traceroute-helper.h b/src/internet-apps/helper/v4traceroute-helper.h index c06d37a8a..344683490 100644 --- a/src/internet-apps/helper/v4traceroute-helper.h +++ b/src/internet-apps/helper/v4traceroute-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan * diff --git a/src/internet-apps/model/dhcp-client.cc b/src/internet-apps/model/dhcp-client.cc index 5aefd32ba..cc1744ea6 100644 --- a/src/internet-apps/model/dhcp-client.cc +++ b/src/internet-apps/model/dhcp-client.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/model/dhcp-client.h b/src/internet-apps/model/dhcp-client.h index c960d79af..6842cc38f 100644 --- a/src/internet-apps/model/dhcp-client.h +++ b/src/internet-apps/model/dhcp-client.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/model/dhcp-header.cc b/src/internet-apps/model/dhcp-header.cc index 4c582b0a7..bbda04932 100644 --- a/src/internet-apps/model/dhcp-header.cc +++ b/src/internet-apps/model/dhcp-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/model/dhcp-header.h b/src/internet-apps/model/dhcp-header.h index 11449845d..2e6e80be5 100644 --- a/src/internet-apps/model/dhcp-header.h +++ b/src/internet-apps/model/dhcp-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/model/dhcp-server.cc b/src/internet-apps/model/dhcp-server.cc index 894c9d3f1..26dba3a87 100644 --- a/src/internet-apps/model/dhcp-server.cc +++ b/src/internet-apps/model/dhcp-server.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/model/dhcp-server.h b/src/internet-apps/model/dhcp-server.h index 506d1d015..a7ea7f2f6 100644 --- a/src/internet-apps/model/dhcp-server.h +++ b/src/internet-apps/model/dhcp-server.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 UPB * Copyright (c) 2017 NITK Surathkal diff --git a/src/internet-apps/model/ping6.cc b/src/internet-apps/model/ping6.cc index 5f62b167c..55addfde6 100644 --- a/src/internet-apps/model/ping6.cc +++ b/src/internet-apps/model/ping6.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet-apps/model/ping6.h b/src/internet-apps/model/ping6.h index 9191233fc..1ef057d6f 100644 --- a/src/internet-apps/model/ping6.h +++ b/src/internet-apps/model/ping6.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet-apps/model/radvd-interface.cc b/src/internet-apps/model/radvd-interface.cc index 463845063..5c8cea975 100644 --- a/src/internet-apps/model/radvd-interface.cc +++ b/src/internet-apps/model/radvd-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/internet-apps/model/radvd-interface.h b/src/internet-apps/model/radvd-interface.h index 8531c02d7..866d63463 100644 --- a/src/internet-apps/model/radvd-interface.h +++ b/src/internet-apps/model/radvd-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/internet-apps/model/radvd-prefix.cc b/src/internet-apps/model/radvd-prefix.cc index b929716a6..e97dcc30a 100644 --- a/src/internet-apps/model/radvd-prefix.cc +++ b/src/internet-apps/model/radvd-prefix.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/internet-apps/model/radvd-prefix.h b/src/internet-apps/model/radvd-prefix.h index ad7774c4b..13be439dd 100644 --- a/src/internet-apps/model/radvd-prefix.h +++ b/src/internet-apps/model/radvd-prefix.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/internet-apps/model/radvd.cc b/src/internet-apps/model/radvd.cc index 2f0da00fe..dd1a2e781 100644 --- a/src/internet-apps/model/radvd.cc +++ b/src/internet-apps/model/radvd.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Telecom Bretagne * Copyright (c) 2009 Strasbourg University diff --git a/src/internet-apps/model/radvd.h b/src/internet-apps/model/radvd.h index b9675990e..6df24360c 100644 --- a/src/internet-apps/model/radvd.h +++ b/src/internet-apps/model/radvd.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Telecom Bretagne * Copyright (c) 2009 Strasbourg University diff --git a/src/internet-apps/model/v4ping.cc b/src/internet-apps/model/v4ping.cc index 3768096dd..d18ba208a 100644 --- a/src/internet-apps/model/v4ping.cc +++ b/src/internet-apps/model/v4ping.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet-apps/model/v4ping.h b/src/internet-apps/model/v4ping.h index a577558fc..3ff550e96 100644 --- a/src/internet-apps/model/v4ping.h +++ b/src/internet-apps/model/v4ping.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet-apps/model/v4traceroute.cc b/src/internet-apps/model/v4traceroute.cc index 9974e297f..c5fd22084 100644 --- a/src/internet-apps/model/v4traceroute.cc +++ b/src/internet-apps/model/v4traceroute.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan * diff --git a/src/internet-apps/model/v4traceroute.h b/src/internet-apps/model/v4traceroute.h index 2be98d1d7..a2308366f 100644 --- a/src/internet-apps/model/v4traceroute.h +++ b/src/internet-apps/model/v4traceroute.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan * diff --git a/src/internet-apps/test/dhcp-test.cc b/src/internet-apps/test/dhcp-test.cc index 0ff3015e5..15eb7865e 100644 --- a/src/internet-apps/test/dhcp-test.cc +++ b/src/internet-apps/test/dhcp-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 NITK Surathkal * diff --git a/src/internet-apps/test/ipv6-radvd-test.cc b/src/internet-apps/test/ipv6-radvd-test.cc index f2c3388e2..f930abf92 100644 --- a/src/internet-apps/test/ipv6-radvd-test.cc +++ b/src/internet-apps/test/ipv6-radvd-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' di Firenze, Italy * diff --git a/src/internet/examples/main-simple.cc b/src/internet/examples/main-simple.cc index 13db0425e..d092f515a 100644 --- a/src/internet/examples/main-simple.cc +++ b/src/internet/examples/main-simple.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/examples/neighbor-cache-dynamic.cc b/src/internet/examples/neighbor-cache-dynamic.cc index 14ba1b08c..bbe968ed1 100644 --- a/src/internet/examples/neighbor-cache-dynamic.cc +++ b/src/internet/examples/neighbor-cache-dynamic.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 ZHIHENG DONG * diff --git a/src/internet/examples/neighbor-cache-example.cc b/src/internet/examples/neighbor-cache-example.cc index 0e7e2a39b..a923afb83 100644 --- a/src/internet/examples/neighbor-cache-example.cc +++ b/src/internet/examples/neighbor-cache-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 ZHIHENG DONG * diff --git a/src/internet/helper/internet-stack-helper.cc b/src/internet/helper/internet-stack-helper.cc index 157aa7dbb..6ef7647b0 100644 --- a/src/internet/helper/internet-stack-helper.cc +++ b/src/internet/helper/internet-stack-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/internet-stack-helper.h b/src/internet/helper/internet-stack-helper.h index 0685a5285..a158837c9 100644 --- a/src/internet/helper/internet-stack-helper.h +++ b/src/internet/helper/internet-stack-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/internet-trace-helper.cc b/src/internet/helper/internet-trace-helper.cc index e8c0b3c0d..d461fcbc1 100644 --- a/src/internet/helper/internet-trace-helper.cc +++ b/src/internet/helper/internet-trace-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/internet/helper/internet-trace-helper.h b/src/internet/helper/internet-trace-helper.h index 663becbf5..28c591e0c 100644 --- a/src/internet/helper/internet-trace-helper.h +++ b/src/internet/helper/internet-trace-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/internet/helper/ipv4-address-helper.cc b/src/internet/helper/ipv4-address-helper.cc index 31c7c3c60..f21d8f290 100644 --- a/src/internet/helper/ipv4-address-helper.cc +++ b/src/internet/helper/ipv4-address-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/helper/ipv4-address-helper.h b/src/internet/helper/ipv4-address-helper.h index a87febc22..e6996d25f 100644 --- a/src/internet/helper/ipv4-address-helper.h +++ b/src/internet/helper/ipv4-address-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/helper/ipv4-global-routing-helper.cc b/src/internet/helper/ipv4-global-routing-helper.cc index b5386fbc8..32bdd8c99 100644 --- a/src/internet/helper/ipv4-global-routing-helper.cc +++ b/src/internet/helper/ipv4-global-routing-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv4-global-routing-helper.h b/src/internet/helper/ipv4-global-routing-helper.h index dd5a9b7da..9007a015c 100644 --- a/src/internet/helper/ipv4-global-routing-helper.h +++ b/src/internet/helper/ipv4-global-routing-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv4-interface-container.cc b/src/internet/helper/ipv4-interface-container.cc index 0a25717dd..15d589ed6 100644 --- a/src/internet/helper/ipv4-interface-container.cc +++ b/src/internet/helper/ipv4-interface-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv4-interface-container.h b/src/internet/helper/ipv4-interface-container.h index 48c3087f3..58c449391 100644 --- a/src/internet/helper/ipv4-interface-container.h +++ b/src/internet/helper/ipv4-interface-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv4-list-routing-helper.cc b/src/internet/helper/ipv4-list-routing-helper.cc index 4bf28dc39..9f5707d66 100644 --- a/src/internet/helper/ipv4-list-routing-helper.cc +++ b/src/internet/helper/ipv4-list-routing-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv4-list-routing-helper.h b/src/internet/helper/ipv4-list-routing-helper.h index 9f3ed9853..3e151149a 100644 --- a/src/internet/helper/ipv4-list-routing-helper.h +++ b/src/internet/helper/ipv4-list-routing-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv4-routing-helper.cc b/src/internet/helper/ipv4-routing-helper.cc index 7f2684544..6891a08cd 100644 --- a/src/internet/helper/ipv4-routing-helper.cc +++ b/src/internet/helper/ipv4-routing-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv4-routing-helper.h b/src/internet/helper/ipv4-routing-helper.h index d0a1a7c44..be10da469 100644 --- a/src/internet/helper/ipv4-routing-helper.h +++ b/src/internet/helper/ipv4-routing-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv4-static-routing-helper.cc b/src/internet/helper/ipv4-static-routing-helper.cc index 9840a2d22..12f770eeb 100644 --- a/src/internet/helper/ipv4-static-routing-helper.cc +++ b/src/internet/helper/ipv4-static-routing-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/helper/ipv4-static-routing-helper.h b/src/internet/helper/ipv4-static-routing-helper.h index dd78ef15c..2663a2cef 100644 --- a/src/internet/helper/ipv4-static-routing-helper.h +++ b/src/internet/helper/ipv4-static-routing-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/helper/ipv6-address-helper.cc b/src/internet/helper/ipv6-address-helper.cc index 5729891b0..ace31bcc3 100644 --- a/src/internet/helper/ipv6-address-helper.cc +++ b/src/internet/helper/ipv6-address-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/helper/ipv6-address-helper.h b/src/internet/helper/ipv6-address-helper.h index c9a119853..7fe398dd8 100644 --- a/src/internet/helper/ipv6-address-helper.h +++ b/src/internet/helper/ipv6-address-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/helper/ipv6-interface-container.cc b/src/internet/helper/ipv6-interface-container.cc index 088e755bf..4d955ace6 100644 --- a/src/internet/helper/ipv6-interface-container.cc +++ b/src/internet/helper/ipv6-interface-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * 2013 Universita' di Firenze diff --git a/src/internet/helper/ipv6-interface-container.h b/src/internet/helper/ipv6-interface-container.h index 3370c764a..57ce3845a 100644 --- a/src/internet/helper/ipv6-interface-container.h +++ b/src/internet/helper/ipv6-interface-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * 2013 Universita' di Firenze diff --git a/src/internet/helper/ipv6-list-routing-helper.cc b/src/internet/helper/ipv6-list-routing-helper.cc index 0c332272e..896a00f77 100644 --- a/src/internet/helper/ipv6-list-routing-helper.cc +++ b/src/internet/helper/ipv6-list-routing-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv6-list-routing-helper.h b/src/internet/helper/ipv6-list-routing-helper.h index e9cfa0483..58b84b869 100644 --- a/src/internet/helper/ipv6-list-routing-helper.h +++ b/src/internet/helper/ipv6-list-routing-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv6-routing-helper.cc b/src/internet/helper/ipv6-routing-helper.cc index 407ec8eff..827422c5a 100644 --- a/src/internet/helper/ipv6-routing-helper.cc +++ b/src/internet/helper/ipv6-routing-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv6-routing-helper.h b/src/internet/helper/ipv6-routing-helper.h index b7e304fa5..91a3c3698 100644 --- a/src/internet/helper/ipv6-routing-helper.h +++ b/src/internet/helper/ipv6-routing-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/helper/ipv6-static-routing-helper.cc b/src/internet/helper/ipv6-static-routing-helper.cc index 2d544aa82..2979782a6 100644 --- a/src/internet/helper/ipv6-static-routing-helper.cc +++ b/src/internet/helper/ipv6-static-routing-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/helper/ipv6-static-routing-helper.h b/src/internet/helper/ipv6-static-routing-helper.h index afc43b3e3..0da049a14 100644 --- a/src/internet/helper/ipv6-static-routing-helper.h +++ b/src/internet/helper/ipv6-static-routing-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/helper/neighbor-cache-helper.cc b/src/internet/helper/neighbor-cache-helper.cc index 94f33cd88..c422e7a84 100644 --- a/src/internet/helper/neighbor-cache-helper.cc +++ b/src/internet/helper/neighbor-cache-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 ZHIHENG DONG * diff --git a/src/internet/helper/neighbor-cache-helper.h b/src/internet/helper/neighbor-cache-helper.h index 192c2f2f2..65b820379 100644 --- a/src/internet/helper/neighbor-cache-helper.h +++ b/src/internet/helper/neighbor-cache-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 ZHIHENG DONG * diff --git a/src/internet/helper/rip-helper.cc b/src/internet/helper/rip-helper.cc index a8db0054e..3ad46a263 100644 --- a/src/internet/helper/rip-helper.cc +++ b/src/internet/helper/rip-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' di Firenze, Italy * diff --git a/src/internet/helper/rip-helper.h b/src/internet/helper/rip-helper.h index 2a4f2ab23..92d575d23 100644 --- a/src/internet/helper/rip-helper.h +++ b/src/internet/helper/rip-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' di Firenze, Italy * diff --git a/src/internet/helper/ripng-helper.cc b/src/internet/helper/ripng-helper.cc index 5781fa772..270e57dff 100644 --- a/src/internet/helper/ripng-helper.cc +++ b/src/internet/helper/ripng-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze, Italy * diff --git a/src/internet/helper/ripng-helper.h b/src/internet/helper/ripng-helper.h index 092dc51db..81d66a42f 100644 --- a/src/internet/helper/ripng-helper.h +++ b/src/internet/helper/ripng-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze, Italy * diff --git a/src/internet/model/arp-cache.cc b/src/internet/model/arp-cache.cc index 1c62701cf..7ae2e1eee 100644 --- a/src/internet/model/arp-cache.cc +++ b/src/internet/model/arp-cache.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/internet/model/arp-cache.h b/src/internet/model/arp-cache.h index 2ff29d751..b571562f0 100644 --- a/src/internet/model/arp-cache.h +++ b/src/internet/model/arp-cache.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/internet/model/arp-header.cc b/src/internet/model/arp-header.cc index 13355852e..d2f287efe 100644 --- a/src/internet/model/arp-header.cc +++ b/src/internet/model/arp-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/arp-header.h b/src/internet/model/arp-header.h index 4c83255c0..ce8a152c8 100644 --- a/src/internet/model/arp-header.h +++ b/src/internet/model/arp-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/arp-l3-protocol.cc b/src/internet/model/arp-l3-protocol.cc index d7db8103b..958684326 100644 --- a/src/internet/model/arp-l3-protocol.cc +++ b/src/internet/model/arp-l3-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/internet/model/arp-l3-protocol.h b/src/internet/model/arp-l3-protocol.h index 910242a50..a3833a8d6 100644 --- a/src/internet/model/arp-l3-protocol.h +++ b/src/internet/model/arp-l3-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/internet/model/arp-queue-disc-item.cc b/src/internet/model/arp-queue-disc-item.cc index 2a38319df..f2f1ccf6f 100644 --- a/src/internet/model/arp-queue-disc-item.cc +++ b/src/internet/model/arp-queue-disc-item.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Universita' degli Studi di Napoli Federico II * diff --git a/src/internet/model/arp-queue-disc-item.h b/src/internet/model/arp-queue-disc-item.h index 231cd8e1c..fcf9b3bb3 100644 --- a/src/internet/model/arp-queue-disc-item.h +++ b/src/internet/model/arp-queue-disc-item.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Universita' degli Studi di Napoli Federico II * diff --git a/src/internet/model/candidate-queue.cc b/src/internet/model/candidate-queue.cc index abe6a0bd4..2998f5a4c 100644 --- a/src/internet/model/candidate-queue.cc +++ b/src/internet/model/candidate-queue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/internet/model/candidate-queue.h b/src/internet/model/candidate-queue.h index 0d12ee6cd..509413212 100644 --- a/src/internet/model/candidate-queue.h +++ b/src/internet/model/candidate-queue.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/internet/model/global-route-manager-impl.cc b/src/internet/model/global-route-manager-impl.cc index bac920b45..e4eb30718 100644 --- a/src/internet/model/global-route-manager-impl.cc +++ b/src/internet/model/global-route-manager-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * Copyright (C) 1999, 2000 Kunihiro Ishiguro, Toshiaki Takada diff --git a/src/internet/model/global-route-manager-impl.h b/src/internet/model/global-route-manager-impl.h index 59f55c0a1..1721bf5a2 100644 --- a/src/internet/model/global-route-manager-impl.h +++ b/src/internet/model/global-route-manager-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/internet/model/global-route-manager.cc b/src/internet/model/global-route-manager.cc index f3846a305..ca292a9f4 100644 --- a/src/internet/model/global-route-manager.cc +++ b/src/internet/model/global-route-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/internet/model/global-route-manager.h b/src/internet/model/global-route-manager.h index 4ea36fb4e..369f9185b 100644 --- a/src/internet/model/global-route-manager.h +++ b/src/internet/model/global-route-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/internet/model/global-router-interface.cc b/src/internet/model/global-router-interface.cc index 974ae3efc..81e96626f 100644 --- a/src/internet/model/global-router-interface.cc +++ b/src/internet/model/global-router-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/internet/model/global-router-interface.h b/src/internet/model/global-router-interface.h index 72e72904f..c412c9e32 100644 --- a/src/internet/model/global-router-interface.h +++ b/src/internet/model/global-router-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * diff --git a/src/internet/model/global-routing.h b/src/internet/model/global-routing.h index dab1f0aff..e070740b3 100644 --- a/src/internet/model/global-routing.h +++ b/src/internet/model/global-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2008 University of Washington * diff --git a/src/internet/model/icmpv4-l4-protocol.cc b/src/internet/model/icmpv4-l4-protocol.cc index 043f58b90..a6526bc90 100644 --- a/src/internet/model/icmpv4-l4-protocol.cc +++ b/src/internet/model/icmpv4-l4-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/icmpv4-l4-protocol.h b/src/internet/model/icmpv4-l4-protocol.h index 3bb524ca8..5de78d342 100644 --- a/src/internet/model/icmpv4-l4-protocol.h +++ b/src/internet/model/icmpv4-l4-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/icmpv4.cc b/src/internet/model/icmpv4.cc index 64d959e29..04cbb2f22 100644 --- a/src/internet/model/icmpv4.cc +++ b/src/internet/model/icmpv4.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/icmpv4.h b/src/internet/model/icmpv4.h index 8d4a6680f..39292d4b5 100644 --- a/src/internet/model/icmpv4.h +++ b/src/internet/model/icmpv4.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/icmpv6-header.cc b/src/internet/model/icmpv6-header.cc index f5737fac2..928a95624 100644 --- a/src/internet/model/icmpv6-header.cc +++ b/src/internet/model/icmpv6-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/icmpv6-header.h b/src/internet/model/icmpv6-header.h index 24318c988..a26a31145 100644 --- a/src/internet/model/icmpv6-header.h +++ b/src/internet/model/icmpv6-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/icmpv6-l4-protocol.cc b/src/internet/model/icmpv6-l4-protocol.cc index 86c1f7962..1d4935290 100644 --- a/src/internet/model/icmpv6-l4-protocol.cc +++ b/src/internet/model/icmpv6-l4-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/icmpv6-l4-protocol.h b/src/internet/model/icmpv6-l4-protocol.h index de3bb478a..26e261763 100644 --- a/src/internet/model/icmpv6-l4-protocol.h +++ b/src/internet/model/icmpv6-l4-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ip-l4-protocol.cc b/src/internet/model/ip-l4-protocol.cc index f0e52eaab..775e63e1f 100644 --- a/src/internet/model/ip-l4-protocol.cc +++ b/src/internet/model/ip-l4-protocol.cc @@ -1,4 +1,3 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/ip-l4-protocol.h b/src/internet/model/ip-l4-protocol.h index bea76d828..28ca94ac1 100644 --- a/src/internet/model/ip-l4-protocol.h +++ b/src/internet/model/ip-l4-protocol.h @@ -1,4 +1,3 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/ipv4-address-generator.cc b/src/internet/model/ipv4-address-generator.cc index 69a7ee16e..e6b6cf468 100644 --- a/src/internet/model/ipv4-address-generator.cc +++ b/src/internet/model/ipv4-address-generator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/model/ipv4-address-generator.h b/src/internet/model/ipv4-address-generator.h index 62cdccdda..ab1d394ce 100644 --- a/src/internet/model/ipv4-address-generator.h +++ b/src/internet/model/ipv4-address-generator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/model/ipv4-end-point-demux.cc b/src/internet/model/ipv4-end-point-demux.cc index 54776221e..058e1569b 100644 --- a/src/internet/model/ipv4-end-point-demux.cc +++ b/src/internet/model/ipv4-end-point-demux.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-end-point-demux.h b/src/internet/model/ipv4-end-point-demux.h index 66f6bea6a..bbec6370c 100644 --- a/src/internet/model/ipv4-end-point-demux.h +++ b/src/internet/model/ipv4-end-point-demux.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-end-point.cc b/src/internet/model/ipv4-end-point.cc index 36ca2256f..545349c7a 100644 --- a/src/internet/model/ipv4-end-point.cc +++ b/src/internet/model/ipv4-end-point.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-end-point.h b/src/internet/model/ipv4-end-point.h index bcf694834..727b57326 100644 --- a/src/internet/model/ipv4-end-point.h +++ b/src/internet/model/ipv4-end-point.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-global-routing.cc b/src/internet/model/ipv4-global-routing.cc index 70262dc9c..c2949ac65 100644 --- a/src/internet/model/ipv4-global-routing.cc +++ b/src/internet/model/ipv4-global-routing.cc @@ -1,4 +1,3 @@ -// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2008 University of Washington // diff --git a/src/internet/model/ipv4-global-routing.h b/src/internet/model/ipv4-global-routing.h index f0b758513..6e04e71da 100644 --- a/src/internet/model/ipv4-global-routing.h +++ b/src/internet/model/ipv4-global-routing.h @@ -1,4 +1,3 @@ -// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2008 University of Washington // diff --git a/src/internet/model/ipv4-header.cc b/src/internet/model/ipv4-header.cc index a79ed7bbc..31cacf900 100644 --- a/src/internet/model/ipv4-header.cc +++ b/src/internet/model/ipv4-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-header.h b/src/internet/model/ipv4-header.h index afa48c9d3..c5d8d218c 100644 --- a/src/internet/model/ipv4-header.h +++ b/src/internet/model/ipv4-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-interface-address.cc b/src/internet/model/ipv4-interface-address.cc index 9de368ba9..3b7c79b60 100644 --- a/src/internet/model/ipv4-interface-address.cc +++ b/src/internet/model/ipv4-interface-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-interface-address.h b/src/internet/model/ipv4-interface-address.h index ff67e93f1..d046fb5f7 100644 --- a/src/internet/model/ipv4-interface-address.h +++ b/src/internet/model/ipv4-interface-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/model/ipv4-interface.cc b/src/internet/model/ipv4-interface.cc index b831fd290..d1ca62671 100644 --- a/src/internet/model/ipv4-interface.cc +++ b/src/internet/model/ipv4-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/internet/model/ipv4-interface.h b/src/internet/model/ipv4-interface.h index 8b944ebf5..1f9ba2969 100644 --- a/src/internet/model/ipv4-interface.h +++ b/src/internet/model/ipv4-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/internet/model/ipv4-l3-protocol.cc b/src/internet/model/ipv4-l3-protocol.cc index ffb3c2942..63013e3ef 100644 --- a/src/internet/model/ipv4-l3-protocol.cc +++ b/src/internet/model/ipv4-l3-protocol.cc @@ -1,4 +1,3 @@ -// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/ipv4-l3-protocol.h b/src/internet/model/ipv4-l3-protocol.h index f82e67082..ea6d49b82 100644 --- a/src/internet/model/ipv4-l3-protocol.h +++ b/src/internet/model/ipv4-l3-protocol.h @@ -1,4 +1,3 @@ -// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/ipv4-list-routing.cc b/src/internet/model/ipv4-list-routing.cc index 4aef17ffd..f14917afa 100644 --- a/src/internet/model/ipv4-list-routing.cc +++ b/src/internet/model/ipv4-list-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv4-list-routing.h b/src/internet/model/ipv4-list-routing.h index 98f596bfc..a7a196953 100644 --- a/src/internet/model/ipv4-list-routing.h +++ b/src/internet/model/ipv4-list-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv4-packet-filter.cc b/src/internet/model/ipv4-packet-filter.cc index 150c12f24..141dabdb1 100644 --- a/src/internet/model/ipv4-packet-filter.cc +++ b/src/internet/model/ipv4-packet-filter.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * 2016 University of Washington diff --git a/src/internet/model/ipv4-packet-filter.h b/src/internet/model/ipv4-packet-filter.h index 6d138e197..7dc24714c 100644 --- a/src/internet/model/ipv4-packet-filter.h +++ b/src/internet/model/ipv4-packet-filter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * 2016 University of Washington diff --git a/src/internet/model/ipv4-packet-info-tag.cc b/src/internet/model/ipv4-packet-info-tag.cc index 1f2996b66..059b46052 100644 --- a/src/internet/model/ipv4-packet-info-tag.cc +++ b/src/internet/model/ipv4-packet-info-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/internet/model/ipv4-packet-info-tag.h b/src/internet/model/ipv4-packet-info-tag.h index 13d603d7b..c0e672b9b 100644 --- a/src/internet/model/ipv4-packet-info-tag.h +++ b/src/internet/model/ipv4-packet-info-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/internet/model/ipv4-packet-probe.cc b/src/internet/model/ipv4-packet-probe.cc index 0e893487e..8488eb45d 100644 --- a/src/internet/model/ipv4-packet-probe.cc +++ b/src/internet/model/ipv4-packet-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/internet/model/ipv4-packet-probe.h b/src/internet/model/ipv4-packet-probe.h index 06518d30b..0d56a7a3f 100644 --- a/src/internet/model/ipv4-packet-probe.h +++ b/src/internet/model/ipv4-packet-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/internet/model/ipv4-queue-disc-item.cc b/src/internet/model/ipv4-queue-disc-item.cc index 67a8f037c..4555f7266 100644 --- a/src/internet/model/ipv4-queue-disc-item.cc +++ b/src/internet/model/ipv4-queue-disc-item.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/internet/model/ipv4-queue-disc-item.h b/src/internet/model/ipv4-queue-disc-item.h index cb949ced2..361e14b0d 100644 --- a/src/internet/model/ipv4-queue-disc-item.h +++ b/src/internet/model/ipv4-queue-disc-item.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/internet/model/ipv4-raw-socket-factory-impl.cc b/src/internet/model/ipv4-raw-socket-factory-impl.cc index 76f785617..a3a10e55d 100644 --- a/src/internet/model/ipv4-raw-socket-factory-impl.cc +++ b/src/internet/model/ipv4-raw-socket-factory-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ipv4-raw-socket-factory-impl.h b/src/internet/model/ipv4-raw-socket-factory-impl.h index 57788f7e6..887b01cc0 100644 --- a/src/internet/model/ipv4-raw-socket-factory-impl.h +++ b/src/internet/model/ipv4-raw-socket-factory-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ipv4-raw-socket-factory.cc b/src/internet/model/ipv4-raw-socket-factory.cc index 1ea786b2d..2f1fcad41 100644 --- a/src/internet/model/ipv4-raw-socket-factory.cc +++ b/src/internet/model/ipv4-raw-socket-factory.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/ipv4-raw-socket-factory.h b/src/internet/model/ipv4-raw-socket-factory.h index b7afeee6d..ec8d1924e 100644 --- a/src/internet/model/ipv4-raw-socket-factory.h +++ b/src/internet/model/ipv4-raw-socket-factory.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/ipv4-raw-socket-impl.cc b/src/internet/model/ipv4-raw-socket-impl.cc index e49a64fa1..94c68d99b 100644 --- a/src/internet/model/ipv4-raw-socket-impl.cc +++ b/src/internet/model/ipv4-raw-socket-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ipv4-raw-socket-impl.h" #include "icmpv4.h" diff --git a/src/internet/model/ipv4-raw-socket-impl.h b/src/internet/model/ipv4-raw-socket-impl.h index fd0d8eeb6..0820b3a98 100644 --- a/src/internet/model/ipv4-raw-socket-impl.h +++ b/src/internet/model/ipv4-raw-socket-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #ifndef IPV4_RAW_SOCKET_IMPL_H #define IPV4_RAW_SOCKET_IMPL_H diff --git a/src/internet/model/ipv4-route.cc b/src/internet/model/ipv4-route.cc index 996a114c2..0ac391236 100644 --- a/src/internet/model/ipv4-route.cc +++ b/src/internet/model/ipv4-route.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv4-route.h b/src/internet/model/ipv4-route.h index a1e3f7189..d0c00ef4a 100644 --- a/src/internet/model/ipv4-route.h +++ b/src/internet/model/ipv4-route.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv4-routing-protocol.cc b/src/internet/model/ipv4-routing-protocol.cc index c42461188..2e0224d0b 100644 --- a/src/internet/model/ipv4-routing-protocol.cc +++ b/src/internet/model/ipv4-routing-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv4-routing-protocol.h b/src/internet/model/ipv4-routing-protocol.h index 28b54b0b2..bdf072311 100644 --- a/src/internet/model/ipv4-routing-protocol.h +++ b/src/internet/model/ipv4-routing-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv4-routing-table-entry.cc b/src/internet/model/ipv4-routing-table-entry.cc index 618b7c521..787e4ff64 100644 --- a/src/internet/model/ipv4-routing-table-entry.cc +++ b/src/internet/model/ipv4-routing-table-entry.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-routing-table-entry.h b/src/internet/model/ipv4-routing-table-entry.h index 6e4a26b11..38f6d9fac 100644 --- a/src/internet/model/ipv4-routing-table-entry.h +++ b/src/internet/model/ipv4-routing-table-entry.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-static-routing.cc b/src/internet/model/ipv4-static-routing.cc index 8ba946892..0e636e8f4 100644 --- a/src/internet/model/ipv4-static-routing.cc +++ b/src/internet/model/ipv4-static-routing.cc @@ -1,4 +1,3 @@ -// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/ipv4-static-routing.h b/src/internet/model/ipv4-static-routing.h index 9a5cfd759..8a144bd2f 100644 --- a/src/internet/model/ipv4-static-routing.h +++ b/src/internet/model/ipv4-static-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * diff --git a/src/internet/model/ipv4.cc b/src/internet/model/ipv4.cc index 96761a29d..be6f3a876 100644 --- a/src/internet/model/ipv4.cc +++ b/src/internet/model/ipv4.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/ipv4.h b/src/internet/model/ipv4.h index 0acd603a8..329b2ebb7 100644 --- a/src/internet/model/ipv4.h +++ b/src/internet/model/ipv4.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/ipv6-address-generator.cc b/src/internet/model/ipv6-address-generator.cc index fa452bd95..ead3de1fe 100644 --- a/src/internet/model/ipv6-address-generator.cc +++ b/src/internet/model/ipv6-address-generator.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * Copyright (c) 2011 Atishay Jain diff --git a/src/internet/model/ipv6-address-generator.h b/src/internet/model/ipv6-address-generator.h index be9c5270e..40d1059dc 100644 --- a/src/internet/model/ipv6-address-generator.h +++ b/src/internet/model/ipv6-address-generator.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * Copyright (c) 2011 Atishay Jain diff --git a/src/internet/model/ipv6-autoconfigured-prefix.cc b/src/internet/model/ipv6-autoconfigured-prefix.cc index 9344cb90a..27e824833 100644 --- a/src/internet/model/ipv6-autoconfigured-prefix.cc +++ b/src/internet/model/ipv6-autoconfigured-prefix.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Telecom Bretagne * diff --git a/src/internet/model/ipv6-autoconfigured-prefix.h b/src/internet/model/ipv6-autoconfigured-prefix.h index 0c6db77d7..b924f3076 100644 --- a/src/internet/model/ipv6-autoconfigured-prefix.h +++ b/src/internet/model/ipv6-autoconfigured-prefix.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Telecom Bretagne * diff --git a/src/internet/model/ipv6-end-point-demux.cc b/src/internet/model/ipv6-end-point-demux.cc index 3d1b06ce7..94a3944fa 100644 --- a/src/internet/model/ipv6-end-point-demux.cc +++ b/src/internet/model/ipv6-end-point-demux.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-end-point-demux.h b/src/internet/model/ipv6-end-point-demux.h index e464352e1..441043f6d 100644 --- a/src/internet/model/ipv6-end-point-demux.h +++ b/src/internet/model/ipv6-end-point-demux.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-end-point.cc b/src/internet/model/ipv6-end-point.cc index fe49d6bba..b8d88cb60 100644 --- a/src/internet/model/ipv6-end-point.cc +++ b/src/internet/model/ipv6-end-point.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-end-point.h b/src/internet/model/ipv6-end-point.h index 3beb94729..4bd0bf917 100644 --- a/src/internet/model/ipv6-end-point.h +++ b/src/internet/model/ipv6-end-point.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension-demux.cc b/src/internet/model/ipv6-extension-demux.cc index 54ca484e7..be715e54a 100644 --- a/src/internet/model/ipv6-extension-demux.cc +++ b/src/internet/model/ipv6-extension-demux.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension-demux.h b/src/internet/model/ipv6-extension-demux.h index 0daf87f76..4cf36510d 100644 --- a/src/internet/model/ipv6-extension-demux.h +++ b/src/internet/model/ipv6-extension-demux.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension-header.cc b/src/internet/model/ipv6-extension-header.cc index fea391be3..14abfb522 100644 --- a/src/internet/model/ipv6-extension-header.cc +++ b/src/internet/model/ipv6-extension-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension-header.h b/src/internet/model/ipv6-extension-header.h index 6dd99159c..52cb288a8 100644 --- a/src/internet/model/ipv6-extension-header.h +++ b/src/internet/model/ipv6-extension-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension.cc b/src/internet/model/ipv6-extension.cc index cc5905a2c..74b371a66 100644 --- a/src/internet/model/ipv6-extension.cc +++ b/src/internet/model/ipv6-extension.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension.h b/src/internet/model/ipv6-extension.h index 92b45165c..1003f6e42 100644 --- a/src/internet/model/ipv6-extension.h +++ b/src/internet/model/ipv6-extension.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-header.cc b/src/internet/model/ipv6-header.cc index c0c4e41ce..901bba070 100644 --- a/src/internet/model/ipv6-header.cc +++ b/src/internet/model/ipv6-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/internet/model/ipv6-header.h b/src/internet/model/ipv6-header.h index d4778cc4a..8bcb8ad13 100644 --- a/src/internet/model/ipv6-header.h +++ b/src/internet/model/ipv6-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/internet/model/ipv6-interface-address.cc b/src/internet/model/ipv6-interface-address.cc index bfd7a86e3..17da9b1c7 100644 --- a/src/internet/model/ipv6-interface-address.cc +++ b/src/internet/model/ipv6-interface-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-interface-address.h b/src/internet/model/ipv6-interface-address.h index ed497682d..ee0f56731 100644 --- a/src/internet/model/ipv6-interface-address.h +++ b/src/internet/model/ipv6-interface-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-interface.cc b/src/internet/model/ipv6-interface.cc index 87f62b014..81b0efeae 100644 --- a/src/internet/model/ipv6-interface.cc +++ b/src/internet/model/ipv6-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-interface.h b/src/internet/model/ipv6-interface.h index 3fb38f945..8497ed356 100644 --- a/src/internet/model/ipv6-interface.h +++ b/src/internet/model/ipv6-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-l3-protocol.cc b/src/internet/model/ipv6-l3-protocol.cc index 1771816fe..3e23089a5 100644 --- a/src/internet/model/ipv6-l3-protocol.cc +++ b/src/internet/model/ipv6-l3-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-l3-protocol.h b/src/internet/model/ipv6-l3-protocol.h index 7418f3238..bae7e47d1 100644 --- a/src/internet/model/ipv6-l3-protocol.h +++ b/src/internet/model/ipv6-l3-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-list-routing.cc b/src/internet/model/ipv6-list-routing.cc index 7f83c499c..6fad5456b 100644 --- a/src/internet/model/ipv6-list-routing.cc +++ b/src/internet/model/ipv6-list-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv6-list-routing.h b/src/internet/model/ipv6-list-routing.h index 659e4bd23..d10b79ddf 100644 --- a/src/internet/model/ipv6-list-routing.h +++ b/src/internet/model/ipv6-list-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv6-option-demux.cc b/src/internet/model/ipv6-option-demux.cc index 5e4b85838..c333d1011 100644 --- a/src/internet/model/ipv6-option-demux.cc +++ b/src/internet/model/ipv6-option-demux.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option-demux.h b/src/internet/model/ipv6-option-demux.h index bb07ef886..e6e155d3d 100644 --- a/src/internet/model/ipv6-option-demux.h +++ b/src/internet/model/ipv6-option-demux.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option-header.cc b/src/internet/model/ipv6-option-header.cc index df264dd47..820bdea1c 100644 --- a/src/internet/model/ipv6-option-header.cc +++ b/src/internet/model/ipv6-option-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option-header.h b/src/internet/model/ipv6-option-header.h index 983e74cb9..bcda20f22 100644 --- a/src/internet/model/ipv6-option-header.h +++ b/src/internet/model/ipv6-option-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option.cc b/src/internet/model/ipv6-option.cc index 9c98434ee..fcd435de0 100644 --- a/src/internet/model/ipv6-option.cc +++ b/src/internet/model/ipv6-option.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option.h b/src/internet/model/ipv6-option.h index 28e395d16..3d09a0c9f 100644 --- a/src/internet/model/ipv6-option.h +++ b/src/internet/model/ipv6-option.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-packet-filter.cc b/src/internet/model/ipv6-packet-filter.cc index c05fcb82d..05692105b 100644 --- a/src/internet/model/ipv6-packet-filter.cc +++ b/src/internet/model/ipv6-packet-filter.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * 2016 University of Washington diff --git a/src/internet/model/ipv6-packet-filter.h b/src/internet/model/ipv6-packet-filter.h index 0b8d0937e..a6cc93dbb 100644 --- a/src/internet/model/ipv6-packet-filter.h +++ b/src/internet/model/ipv6-packet-filter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * 2016 University of Washington diff --git a/src/internet/model/ipv6-packet-info-tag.cc b/src/internet/model/ipv6-packet-info-tag.cc index 47c29dc8b..becf8c3dd 100644 --- a/src/internet/model/ipv6-packet-info-tag.cc +++ b/src/internet/model/ipv6-packet-info-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/internet/model/ipv6-packet-info-tag.h b/src/internet/model/ipv6-packet-info-tag.h index d57bb796c..ebc3e43d3 100644 --- a/src/internet/model/ipv6-packet-info-tag.h +++ b/src/internet/model/ipv6-packet-info-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/internet/model/ipv6-packet-probe.cc b/src/internet/model/ipv6-packet-probe.cc index dad219302..1ab089a39 100644 --- a/src/internet/model/ipv6-packet-probe.cc +++ b/src/internet/model/ipv6-packet-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/internet/model/ipv6-packet-probe.h b/src/internet/model/ipv6-packet-probe.h index c7d4029d6..769db10ed 100644 --- a/src/internet/model/ipv6-packet-probe.h +++ b/src/internet/model/ipv6-packet-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/internet/model/ipv6-pmtu-cache.cc b/src/internet/model/ipv6-pmtu-cache.cc index 553361ab9..f8c58a298 100644 --- a/src/internet/model/ipv6-pmtu-cache.cc +++ b/src/internet/model/ipv6-pmtu-cache.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * diff --git a/src/internet/model/ipv6-pmtu-cache.h b/src/internet/model/ipv6-pmtu-cache.h index ff8fbc713..a5e9237d9 100644 --- a/src/internet/model/ipv6-pmtu-cache.h +++ b/src/internet/model/ipv6-pmtu-cache.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * diff --git a/src/internet/model/ipv6-queue-disc-item.cc b/src/internet/model/ipv6-queue-disc-item.cc index 41494c9dc..8036fef95 100644 --- a/src/internet/model/ipv6-queue-disc-item.cc +++ b/src/internet/model/ipv6-queue-disc-item.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/internet/model/ipv6-queue-disc-item.h b/src/internet/model/ipv6-queue-disc-item.h index e484963f7..7c84be98d 100644 --- a/src/internet/model/ipv6-queue-disc-item.h +++ b/src/internet/model/ipv6-queue-disc-item.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/internet/model/ipv6-raw-socket-factory-impl.cc b/src/internet/model/ipv6-raw-socket-factory-impl.cc index fd234ba44..fc7a019b7 100644 --- a/src/internet/model/ipv6-raw-socket-factory-impl.cc +++ b/src/internet/model/ipv6-raw-socket-factory-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ipv6-raw-socket-factory-impl.h b/src/internet/model/ipv6-raw-socket-factory-impl.h index 1206f3947..073a5d843 100644 --- a/src/internet/model/ipv6-raw-socket-factory-impl.h +++ b/src/internet/model/ipv6-raw-socket-factory-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ipv6-raw-socket-factory.cc b/src/internet/model/ipv6-raw-socket-factory.cc index 669708e63..6942667a0 100644 --- a/src/internet/model/ipv6-raw-socket-factory.cc +++ b/src/internet/model/ipv6-raw-socket-factory.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/ipv6-raw-socket-factory.h b/src/internet/model/ipv6-raw-socket-factory.h index ff125e3d4..9130e12e3 100644 --- a/src/internet/model/ipv6-raw-socket-factory.h +++ b/src/internet/model/ipv6-raw-socket-factory.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/ipv6-raw-socket-impl.cc b/src/internet/model/ipv6-raw-socket-impl.cc index b0720553c..a8690f065 100644 --- a/src/internet/model/ipv6-raw-socket-impl.cc +++ b/src/internet/model/ipv6-raw-socket-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-raw-socket-impl.h b/src/internet/model/ipv6-raw-socket-impl.h index 500d42208..c8f7849da 100644 --- a/src/internet/model/ipv6-raw-socket-impl.h +++ b/src/internet/model/ipv6-raw-socket-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-route.cc b/src/internet/model/ipv6-route.cc index 7566d615c..0543cd3d8 100644 --- a/src/internet/model/ipv6-route.cc +++ b/src/internet/model/ipv6-route.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-route.h b/src/internet/model/ipv6-route.h index e89fc7e64..58b9035eb 100644 --- a/src/internet/model/ipv6-route.h +++ b/src/internet/model/ipv6-route.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-routing-protocol.cc b/src/internet/model/ipv6-routing-protocol.cc index 65c958e13..94d63edf6 100644 --- a/src/internet/model/ipv6-routing-protocol.cc +++ b/src/internet/model/ipv6-routing-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv6-routing-protocol.h b/src/internet/model/ipv6-routing-protocol.h index 07ca2e720..36b5c90b2 100644 --- a/src/internet/model/ipv6-routing-protocol.h +++ b/src/internet/model/ipv6-routing-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv6-routing-table-entry.cc b/src/internet/model/ipv6-routing-table-entry.cc index 75b177927..9d146a9a4 100644 --- a/src/internet/model/ipv6-routing-table-entry.cc +++ b/src/internet/model/ipv6-routing-table-entry.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-routing-table-entry.h b/src/internet/model/ipv6-routing-table-entry.h index 62d57fa91..7014fa27f 100644 --- a/src/internet/model/ipv6-routing-table-entry.h +++ b/src/internet/model/ipv6-routing-table-entry.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-static-routing.cc b/src/internet/model/ipv6-static-routing.cc index a87b64002..38b4e399b 100644 --- a/src/internet/model/ipv6-static-routing.cc +++ b/src/internet/model/ipv6-static-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-static-routing.h b/src/internet/model/ipv6-static-routing.h index f15eb42b1..4f554a1e3 100644 --- a/src/internet/model/ipv6-static-routing.h +++ b/src/internet/model/ipv6-static-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6.cc b/src/internet/model/ipv6.cc index d90107627..1e388606a 100644 --- a/src/internet/model/ipv6.cc +++ b/src/internet/model/ipv6.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/ipv6.h b/src/internet/model/ipv6.h index 0a2a16bfb..221b4f114 100644 --- a/src/internet/model/ipv6.h +++ b/src/internet/model/ipv6.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/loopback-net-device.cc b/src/internet/model/loopback-net-device.cc index 04294c038..e30c0f967 100644 --- a/src/internet/model/loopback-net-device.cc +++ b/src/internet/model/loopback-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/loopback-net-device.h b/src/internet/model/loopback-net-device.h index 95566d458..2a5df2769 100644 --- a/src/internet/model/loopback-net-device.h +++ b/src/internet/model/loopback-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ndisc-cache.cc b/src/internet/model/ndisc-cache.cc index 6e7e55b33..358c73575 100644 --- a/src/internet/model/ndisc-cache.cc +++ b/src/internet/model/ndisc-cache.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ndisc-cache.h b/src/internet/model/ndisc-cache.h index b329bf337..8186b1b80 100644 --- a/src/internet/model/ndisc-cache.h +++ b/src/internet/model/ndisc-cache.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/pending-data.cc b/src/internet/model/pending-data.cc index 6d76d1305..437414000 100644 --- a/src/internet/model/pending-data.cc +++ b/src/internet/model/pending-data.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/pending-data.h b/src/internet/model/pending-data.h index 4feceb8a2..3bdf3544c 100644 --- a/src/internet/model/pending-data.h +++ b/src/internet/model/pending-data.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/rip-header.cc b/src/internet/model/rip-header.cc index ceaaa7989..2833fb111 100644 --- a/src/internet/model/rip-header.cc +++ b/src/internet/model/rip-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' di Firenze, Italy * diff --git a/src/internet/model/rip-header.h b/src/internet/model/rip-header.h index 1aded6c63..d876bac96 100644 --- a/src/internet/model/rip-header.h +++ b/src/internet/model/rip-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' di Firenze, Italy * diff --git a/src/internet/model/rip.cc b/src/internet/model/rip.cc index 7b128b697..a3d9ba30d 100644 --- a/src/internet/model/rip.cc +++ b/src/internet/model/rip.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' di Firenze, Italy * diff --git a/src/internet/model/rip.h b/src/internet/model/rip.h index 16fea3e05..a9be6af8f 100644 --- a/src/internet/model/rip.h +++ b/src/internet/model/rip.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' di Firenze, Italy * diff --git a/src/internet/model/ripng-header.cc b/src/internet/model/ripng-header.cc index 7381ad938..854525b46 100644 --- a/src/internet/model/ripng-header.cc +++ b/src/internet/model/ripng-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze, Italy * diff --git a/src/internet/model/ripng-header.h b/src/internet/model/ripng-header.h index 9f0b0bf49..b342db968 100644 --- a/src/internet/model/ripng-header.h +++ b/src/internet/model/ripng-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze, Italy * diff --git a/src/internet/model/ripng.cc b/src/internet/model/ripng.cc index 619c8271e..ff2ea27a8 100644 --- a/src/internet/model/ripng.cc +++ b/src/internet/model/ripng.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze, Italy * diff --git a/src/internet/model/ripng.h b/src/internet/model/ripng.h index 9ea062185..41a50fde4 100644 --- a/src/internet/model/ripng.h +++ b/src/internet/model/ripng.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze, Italy * diff --git a/src/internet/model/rtt-estimator.cc b/src/internet/model/rtt-estimator.cc index 9bfc7586e..65ab7f36d 100644 --- a/src/internet/model/rtt-estimator.cc +++ b/src/internet/model/rtt-estimator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/rtt-estimator.h b/src/internet/model/rtt-estimator.h index 0a09554bf..e44fee895 100644 --- a/src/internet/model/rtt-estimator.h +++ b/src/internet/model/rtt-estimator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/tcp-bbr.cc b/src/internet/model/tcp-bbr.cc index d40032fbe..47c5868f5 100644 --- a/src/internet/model/tcp-bbr.cc +++ b/src/internet/model/tcp-bbr.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/model/tcp-bbr.h b/src/internet/model/tcp-bbr.h index 16f43a876..ceb6885b4 100644 --- a/src/internet/model/tcp-bbr.h +++ b/src/internet/model/tcp-bbr.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/model/tcp-bic.cc b/src/internet/model/tcp-bic.cc index 47ee41dc5..62bbd4831 100644 --- a/src/internet/model/tcp-bic.cc +++ b/src/internet/model/tcp-bic.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello * diff --git a/src/internet/model/tcp-bic.h b/src/internet/model/tcp-bic.h index 7798d027c..05ba90d15 100644 --- a/src/internet/model/tcp-bic.h +++ b/src/internet/model/tcp-bic.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello * diff --git a/src/internet/model/tcp-congestion-ops.cc b/src/internet/model/tcp-congestion-ops.cc index c3d4a1cfc..00be006bb 100644 --- a/src/internet/model/tcp-congestion-ops.cc +++ b/src/internet/model/tcp-congestion-ops.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/model/tcp-congestion-ops.h b/src/internet/model/tcp-congestion-ops.h index a355b370d..0600fde67 100644 --- a/src/internet/model/tcp-congestion-ops.h +++ b/src/internet/model/tcp-congestion-ops.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/model/tcp-cubic.cc b/src/internet/model/tcp-cubic.cc index 18d2be9e5..3555effd3 100644 --- a/src/internet/model/tcp-cubic.cc +++ b/src/internet/model/tcp-cubic.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello * diff --git a/src/internet/model/tcp-cubic.h b/src/internet/model/tcp-cubic.h index c692606f6..d75974125 100644 --- a/src/internet/model/tcp-cubic.h +++ b/src/internet/model/tcp-cubic.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello * diff --git a/src/internet/model/tcp-dctcp.cc b/src/internet/model/tcp-dctcp.cc index 9b2d2c8d5..86138993c 100644 --- a/src/internet/model/tcp-dctcp.cc +++ b/src/internet/model/tcp-dctcp.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 NITK Surathkal * diff --git a/src/internet/model/tcp-dctcp.h b/src/internet/model/tcp-dctcp.h index c4df472d8..dc25ea6a1 100644 --- a/src/internet/model/tcp-dctcp.h +++ b/src/internet/model/tcp-dctcp.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 NITK Surathkal * diff --git a/src/internet/model/tcp-header.cc b/src/internet/model/tcp-header.cc index 11be5b5c2..3fa09ec19 100644 --- a/src/internet/model/tcp-header.cc +++ b/src/internet/model/tcp-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/internet/model/tcp-header.h b/src/internet/model/tcp-header.h index 7275fc8be..814569b15 100644 --- a/src/internet/model/tcp-header.h +++ b/src/internet/model/tcp-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/internet/model/tcp-highspeed.cc b/src/internet/model/tcp-highspeed.cc index 97f2db10f..f93b78a96 100644 --- a/src/internet/model/tcp-highspeed.cc +++ b/src/internet/model/tcp-highspeed.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello, * diff --git a/src/internet/model/tcp-highspeed.h b/src/internet/model/tcp-highspeed.h index 399e5d86f..94d99ccf7 100644 --- a/src/internet/model/tcp-highspeed.h +++ b/src/internet/model/tcp-highspeed.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello, * diff --git a/src/internet/model/tcp-htcp.cc b/src/internet/model/tcp-htcp.cc index 57c920a16..488b1c96a 100644 --- a/src/internet/model/tcp-htcp.cc +++ b/src/internet/model/tcp-htcp.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-htcp.h b/src/internet/model/tcp-htcp.h index 8fcc0e826..491dab8a7 100644 --- a/src/internet/model/tcp-htcp.h +++ b/src/internet/model/tcp-htcp.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-hybla.cc b/src/internet/model/tcp-hybla.cc index bc897f10c..29f6f4f7a 100644 --- a/src/internet/model/tcp-hybla.cc +++ b/src/internet/model/tcp-hybla.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello * diff --git a/src/internet/model/tcp-hybla.h b/src/internet/model/tcp-hybla.h index cf72cd060..1b3c1c195 100644 --- a/src/internet/model/tcp-hybla.h +++ b/src/internet/model/tcp-hybla.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello * diff --git a/src/internet/model/tcp-illinois.cc b/src/internet/model/tcp-illinois.cc index 5a6c5797b..be07c2d8c 100644 --- a/src/internet/model/tcp-illinois.cc +++ b/src/internet/model/tcp-illinois.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-illinois.h b/src/internet/model/tcp-illinois.h index 30ad3f054..a20a20683 100644 --- a/src/internet/model/tcp-illinois.h +++ b/src/internet/model/tcp-illinois.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-l4-protocol.cc b/src/internet/model/tcp-l4-protocol.cc index bcebb5566..2c8fc4271 100644 --- a/src/internet/model/tcp-l4-protocol.cc +++ b/src/internet/model/tcp-l4-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/internet/model/tcp-l4-protocol.h b/src/internet/model/tcp-l4-protocol.h index 6b2cded41..3317c78c6 100644 --- a/src/internet/model/tcp-l4-protocol.h +++ b/src/internet/model/tcp-l4-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/internet/model/tcp-ledbat.cc b/src/internet/model/tcp-ledbat.cc index 18914790d..4d5681478 100644 --- a/src/internet/model/tcp-ledbat.cc +++ b/src/internet/model/tcp-ledbat.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/internet/model/tcp-ledbat.h b/src/internet/model/tcp-ledbat.h index 918211118..7a8b248be 100644 --- a/src/internet/model/tcp-ledbat.h +++ b/src/internet/model/tcp-ledbat.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/internet/model/tcp-linux-reno.cc b/src/internet/model/tcp-linux-reno.cc index 3834a2224..f77a0c912 100644 --- a/src/internet/model/tcp-linux-reno.cc +++ b/src/internet/model/tcp-linux-reno.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/src/internet/model/tcp-linux-reno.h b/src/internet/model/tcp-linux-reno.h index 374a24ddf..3bf489d6e 100644 --- a/src/internet/model/tcp-linux-reno.h +++ b/src/internet/model/tcp-linux-reno.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/src/internet/model/tcp-lp.cc b/src/internet/model/tcp-lp.cc index 34ec46b4c..ae64e46ed 100644 --- a/src/internet/model/tcp-lp.cc +++ b/src/internet/model/tcp-lp.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/internet/model/tcp-lp.h b/src/internet/model/tcp-lp.h index 800f8e001..df49f9a30 100644 --- a/src/internet/model/tcp-lp.h +++ b/src/internet/model/tcp-lp.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/internet/model/tcp-option-rfc793.cc b/src/internet/model/tcp-option-rfc793.cc index 9c34f3525..9243ee9e5 100644 --- a/src/internet/model/tcp-option-rfc793.cc +++ b/src/internet/model/tcp-option-rfc793.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-option-rfc793.h b/src/internet/model/tcp-option-rfc793.h index a9437b37e..1f746412c 100644 --- a/src/internet/model/tcp-option-rfc793.h +++ b/src/internet/model/tcp-option-rfc793.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-option-sack-permitted.cc b/src/internet/model/tcp-option-sack-permitted.cc index 4f6009791..cc79d2983 100644 --- a/src/internet/model/tcp-option-sack-permitted.cc +++ b/src/internet/model/tcp-option-sack-permitted.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-option-sack-permitted.h b/src/internet/model/tcp-option-sack-permitted.h index 77069eb4e..6c359526c 100644 --- a/src/internet/model/tcp-option-sack-permitted.h +++ b/src/internet/model/tcp-option-sack-permitted.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * Copyright (c) 2015 ResiliNets, ITTC, University of Kansas diff --git a/src/internet/model/tcp-option-sack.cc b/src/internet/model/tcp-option-sack.cc index 8e3b3d877..f4bf62fb2 100644 --- a/src/internet/model/tcp-option-sack.cc +++ b/src/internet/model/tcp-option-sack.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * Copyright (c) 2015 ResiliNets, ITTC, University of Kansas diff --git a/src/internet/model/tcp-option-sack.h b/src/internet/model/tcp-option-sack.h index 467ea5959..6ebdea747 100644 --- a/src/internet/model/tcp-option-sack.h +++ b/src/internet/model/tcp-option-sack.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * Copyright (c) 2015 ResiliNets, ITTC, University of Kansas diff --git a/src/internet/model/tcp-option-ts.cc b/src/internet/model/tcp-option-ts.cc index f58e26985..946c23b65 100644 --- a/src/internet/model/tcp-option-ts.cc +++ b/src/internet/model/tcp-option-ts.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-option-ts.h b/src/internet/model/tcp-option-ts.h index f2767a8c5..68c224950 100644 --- a/src/internet/model/tcp-option-ts.h +++ b/src/internet/model/tcp-option-ts.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-option-winscale.cc b/src/internet/model/tcp-option-winscale.cc index 05e5f88e3..c17ca11c2 100644 --- a/src/internet/model/tcp-option-winscale.cc +++ b/src/internet/model/tcp-option-winscale.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-option-winscale.h b/src/internet/model/tcp-option-winscale.h index ee5c6edf6..675974394 100644 --- a/src/internet/model/tcp-option-winscale.h +++ b/src/internet/model/tcp-option-winscale.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-option.cc b/src/internet/model/tcp-option.cc index 7b88d0ab4..81275ece0 100644 --- a/src/internet/model/tcp-option.cc +++ b/src/internet/model/tcp-option.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-option.h b/src/internet/model/tcp-option.h index ca98b1feb..f2364d525 100644 --- a/src/internet/model/tcp-option.h +++ b/src/internet/model/tcp-option.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-prr-recovery.cc b/src/internet/model/tcp-prr-recovery.cc index 2678873cb..8590fa209 100644 --- a/src/internet/model/tcp-prr-recovery.cc +++ b/src/internet/model/tcp-prr-recovery.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/model/tcp-prr-recovery.h b/src/internet/model/tcp-prr-recovery.h index a777a5b69..5934df2de 100644 --- a/src/internet/model/tcp-prr-recovery.h +++ b/src/internet/model/tcp-prr-recovery.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/model/tcp-rate-ops.cc b/src/internet/model/tcp-rate-ops.cc index ed027ef81..e99790c78 100644 --- a/src/internet/model/tcp-rate-ops.cc +++ b/src/internet/model/tcp-rate-ops.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Natale Patriciello * diff --git a/src/internet/model/tcp-rate-ops.h b/src/internet/model/tcp-rate-ops.h index f11fb037d..a8711d2e2 100644 --- a/src/internet/model/tcp-rate-ops.h +++ b/src/internet/model/tcp-rate-ops.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Natale Patriciello * diff --git a/src/internet/model/tcp-recovery-ops.cc b/src/internet/model/tcp-recovery-ops.cc index 22b2734ca..bd7b2aba9 100644 --- a/src/internet/model/tcp-recovery-ops.cc +++ b/src/internet/model/tcp-recovery-ops.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/model/tcp-recovery-ops.h b/src/internet/model/tcp-recovery-ops.h index d0b0e0647..4e6dddf6d 100644 --- a/src/internet/model/tcp-recovery-ops.h +++ b/src/internet/model/tcp-recovery-ops.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/model/tcp-rx-buffer.cc b/src/internet/model/tcp-rx-buffer.cc index 36c3da841..e204340ae 100644 --- a/src/internet/model/tcp-rx-buffer.cc +++ b/src/internet/model/tcp-rx-buffer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-rx-buffer.h b/src/internet/model/tcp-rx-buffer.h index b464e1bcb..3977a01b4 100644 --- a/src/internet/model/tcp-rx-buffer.h +++ b/src/internet/model/tcp-rx-buffer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-scalable.cc b/src/internet/model/tcp-scalable.cc index da797afc7..abbc6c682 100644 --- a/src/internet/model/tcp-scalable.cc +++ b/src/internet/model/tcp-scalable.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-scalable.h b/src/internet/model/tcp-scalable.h index e9d4b33df..d01591350 100644 --- a/src/internet/model/tcp-scalable.h +++ b/src/internet/model/tcp-scalable.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-socket-base.cc b/src/internet/model/tcp-socket-base.cc index a8f0ad57e..591bde86b 100644 --- a/src/internet/model/tcp-socket-base.cc +++ b/src/internet/model/tcp-socket-base.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * Copyright (c) 2010 Adrian Sai-wah Tam diff --git a/src/internet/model/tcp-socket-base.h b/src/internet/model/tcp-socket-base.h index 547b63db3..571c92cdb 100644 --- a/src/internet/model/tcp-socket-base.h +++ b/src/internet/model/tcp-socket-base.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * Copyright (c) 2010 Adrian Sai-wah Tam diff --git a/src/internet/model/tcp-socket-factory-impl.cc b/src/internet/model/tcp-socket-factory-impl.cc index 6cc4d8658..d4b07347c 100644 --- a/src/internet/model/tcp-socket-factory-impl.cc +++ b/src/internet/model/tcp-socket-factory-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/internet/model/tcp-socket-factory-impl.h b/src/internet/model/tcp-socket-factory-impl.h index 84396d3bb..fd55659e2 100644 --- a/src/internet/model/tcp-socket-factory-impl.h +++ b/src/internet/model/tcp-socket-factory-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/internet/model/tcp-socket-factory.cc b/src/internet/model/tcp-socket-factory.cc index 12d0a406a..8ea3c5824 100644 --- a/src/internet/model/tcp-socket-factory.cc +++ b/src/internet/model/tcp-socket-factory.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/internet/model/tcp-socket-factory.h b/src/internet/model/tcp-socket-factory.h index 948460f0d..e7768b29f 100644 --- a/src/internet/model/tcp-socket-factory.h +++ b/src/internet/model/tcp-socket-factory.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/internet/model/tcp-socket-state.cc b/src/internet/model/tcp-socket-state.cc index 244de8f2d..8f2ad5091 100644 --- a/src/internet/model/tcp-socket-state.cc +++ b/src/internet/model/tcp-socket-state.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Natale Patriciello * diff --git a/src/internet/model/tcp-socket-state.h b/src/internet/model/tcp-socket-state.h index 80637dd4c..c4f80e93c 100644 --- a/src/internet/model/tcp-socket-state.h +++ b/src/internet/model/tcp-socket-state.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Natale Patriciello * diff --git a/src/internet/model/tcp-socket.cc b/src/internet/model/tcp-socket.cc index 7c8329ccd..9b0a1e62b 100644 --- a/src/internet/model/tcp-socket.cc +++ b/src/internet/model/tcp-socket.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/tcp-socket.h b/src/internet/model/tcp-socket.h index 50cc301f0..f3ae4c16f 100644 --- a/src/internet/model/tcp-socket.h +++ b/src/internet/model/tcp-socket.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * 2007 INRIA diff --git a/src/internet/model/tcp-tx-buffer.cc b/src/internet/model/tcp-tx-buffer.cc index 2d3a2bc19..befdd08d7 100644 --- a/src/internet/model/tcp-tx-buffer.cc +++ b/src/internet/model/tcp-tx-buffer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010-2015 Adrian Sai-wah Tam * Copyright (c) 2016 Natale Patriciello diff --git a/src/internet/model/tcp-tx-buffer.h b/src/internet/model/tcp-tx-buffer.h index cc7ef279d..e1962d3fe 100644 --- a/src/internet/model/tcp-tx-buffer.h +++ b/src/internet/model/tcp-tx-buffer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010-2015 Adrian Sai-wah Tam * Copyright (c) 2016 Natale Patriciello diff --git a/src/internet/model/tcp-tx-item.cc b/src/internet/model/tcp-tx-item.cc index bc15917eb..e515582d0 100644 --- a/src/internet/model/tcp-tx-item.cc +++ b/src/internet/model/tcp-tx-item.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Natale Patriciello * diff --git a/src/internet/model/tcp-tx-item.h b/src/internet/model/tcp-tx-item.h index f0cabcaa6..daeefac36 100644 --- a/src/internet/model/tcp-tx-item.h +++ b/src/internet/model/tcp-tx-item.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Natale Patriciello * diff --git a/src/internet/model/tcp-vegas.cc b/src/internet/model/tcp-vegas.cc index b6b616572..9fc2bb3c9 100644 --- a/src/internet/model/tcp-vegas.cc +++ b/src/internet/model/tcp-vegas.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-vegas.h b/src/internet/model/tcp-vegas.h index 0645a12cb..4d064ea7e 100644 --- a/src/internet/model/tcp-vegas.h +++ b/src/internet/model/tcp-vegas.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-veno.cc b/src/internet/model/tcp-veno.cc index af4408dce..c70bdb409 100644 --- a/src/internet/model/tcp-veno.cc +++ b/src/internet/model/tcp-veno.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-veno.h b/src/internet/model/tcp-veno.h index 8bc68b091..a121962ff 100644 --- a/src/internet/model/tcp-veno.h +++ b/src/internet/model/tcp-veno.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-westwood.cc b/src/internet/model/tcp-westwood.cc index a8ba4bc5a..0c31ff4ef 100644 --- a/src/internet/model/tcp-westwood.cc +++ b/src/internet/model/tcp-westwood.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-westwood.h b/src/internet/model/tcp-westwood.h index 73a1bd5ad..69cc5a73f 100644 --- a/src/internet/model/tcp-westwood.h +++ b/src/internet/model/tcp-westwood.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-yeah.cc b/src/internet/model/tcp-yeah.cc index 9cbac0c13..1cc8d1648 100644 --- a/src/internet/model/tcp-yeah.cc +++ b/src/internet/model/tcp-yeah.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/tcp-yeah.h b/src/internet/model/tcp-yeah.h index e7495c675..0b67100ed 100644 --- a/src/internet/model/tcp-yeah.h +++ b/src/internet/model/tcp-yeah.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/model/udp-header.cc b/src/internet/model/udp-header.cc index c2c534cd0..9daba62a6 100644 --- a/src/internet/model/udp-header.cc +++ b/src/internet/model/udp-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/udp-header.h b/src/internet/model/udp-header.h index 03d875279..35bb20f1e 100644 --- a/src/internet/model/udp-header.h +++ b/src/internet/model/udp-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/udp-l4-protocol.cc b/src/internet/model/udp-l4-protocol.cc index e46c1f5ec..96d00b2e2 100644 --- a/src/internet/model/udp-l4-protocol.cc +++ b/src/internet/model/udp-l4-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/udp-l4-protocol.h b/src/internet/model/udp-l4-protocol.h index f539aa8c4..920a971ca 100644 --- a/src/internet/model/udp-l4-protocol.h +++ b/src/internet/model/udp-l4-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/internet/model/udp-socket-factory-impl.cc b/src/internet/model/udp-socket-factory-impl.cc index f25d62209..78ecbd18c 100644 --- a/src/internet/model/udp-socket-factory-impl.cc +++ b/src/internet/model/udp-socket-factory-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/udp-socket-factory-impl.h b/src/internet/model/udp-socket-factory-impl.h index e0509757d..f31bccbd8 100644 --- a/src/internet/model/udp-socket-factory-impl.h +++ b/src/internet/model/udp-socket-factory-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/udp-socket-factory.cc b/src/internet/model/udp-socket-factory.cc index 0c5e232af..573f682c9 100644 --- a/src/internet/model/udp-socket-factory.cc +++ b/src/internet/model/udp-socket-factory.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/udp-socket-factory.h b/src/internet/model/udp-socket-factory.h index 556a7f61d..a69ebac03 100644 --- a/src/internet/model/udp-socket-factory.h +++ b/src/internet/model/udp-socket-factory.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/udp-socket-impl.cc b/src/internet/model/udp-socket-impl.cc index c7a3e46ec..69aa538ca 100644 --- a/src/internet/model/udp-socket-impl.cc +++ b/src/internet/model/udp-socket-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/udp-socket-impl.h b/src/internet/model/udp-socket-impl.h index 9740975bf..5249e9035 100644 --- a/src/internet/model/udp-socket-impl.h +++ b/src/internet/model/udp-socket-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/udp-socket.cc b/src/internet/model/udp-socket.cc index 860890c86..d946480e3 100644 --- a/src/internet/model/udp-socket.cc +++ b/src/internet/model/udp-socket.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/internet/model/udp-socket.h b/src/internet/model/udp-socket.h index 774f5a02e..0f5acf6fb 100644 --- a/src/internet/model/udp-socket.h +++ b/src/internet/model/udp-socket.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * 2007 INRIA diff --git a/src/internet/model/win32-internet.h b/src/internet/model/win32-internet.h index ad890d798..a6addd51f 100644 --- a/src/internet/model/win32-internet.h +++ b/src/internet/model/win32-internet.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #ifndef WIN32_INTERNET_H #define WIN32_INTERNET_H diff --git a/src/internet/model/windowed-filter.h b/src/internet/model/windowed-filter.h index 776994f79..9bb469201 100644 --- a/src/internet/model/windowed-filter.h +++ b/src/internet/model/windowed-filter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 The Chromium Authors. All rights reserved. * diff --git a/src/internet/test/global-route-manager-impl-test-suite.cc b/src/internet/test/global-route-manager-impl-test-suite.cc index 248aef4c2..922c0904e 100644 --- a/src/internet/test/global-route-manager-impl-test-suite.cc +++ b/src/internet/test/global-route-manager-impl-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * Copyright (C) 1999, 2000 Kunihiro Ishiguro, Toshiaki Takada diff --git a/src/internet/test/icmp-test.cc b/src/internet/test/icmp-test.cc index fa74298bb..037793790 100644 --- a/src/internet/test/icmp-test.cc +++ b/src/internet/test/icmp-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan. * diff --git a/src/internet/test/ipv4-address-generator-test-suite.cc b/src/internet/test/ipv4-address-generator-test-suite.cc index 58f851de4..65a138451 100644 --- a/src/internet/test/ipv4-address-generator-test-suite.cc +++ b/src/internet/test/ipv4-address-generator-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/test/ipv4-address-helper-test-suite.cc b/src/internet/test/ipv4-address-helper-test-suite.cc index 2bf88f255..51f99cfdc 100644 --- a/src/internet/test/ipv4-address-helper-test-suite.cc +++ b/src/internet/test/ipv4-address-helper-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/test/ipv4-deduplication-test.cc b/src/internet/test/ipv4-deduplication-test.cc index f738fe164..b0ebe0d9e 100644 --- a/src/internet/test/ipv4-deduplication-test.cc +++ b/src/internet/test/ipv4-deduplication-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * Copyright (c) 2019 Caliola Engineering, LLC : RFC 6621 multicast packet de-duplication diff --git a/src/internet/test/ipv4-forwarding-test.cc b/src/internet/test/ipv4-forwarding-test.cc index 03546bb11..e9471f641 100644 --- a/src/internet/test/ipv4-forwarding-test.cc +++ b/src/internet/test/ipv4-forwarding-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * diff --git a/src/internet/test/ipv4-fragmentation-test.cc b/src/internet/test/ipv4-fragmentation-test.cc index 3a165a8f5..a5f39615a 100644 --- a/src/internet/test/ipv4-fragmentation-test.cc +++ b/src/internet/test/ipv4-fragmentation-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Universita' di Firenze, Italy * diff --git a/src/internet/test/ipv4-global-routing-test-suite.cc b/src/internet/test/ipv4-global-routing-test-suite.cc index 6c32f9838..9feb2ccf0 100644 --- a/src/internet/test/ipv4-global-routing-test-suite.cc +++ b/src/internet/test/ipv4-global-routing-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/test/ipv4-header-test.cc b/src/internet/test/ipv4-header-test.cc index f6f6c335b..e52b0b4d5 100644 --- a/src/internet/test/ipv4-header-test.cc +++ b/src/internet/test/ipv4-header-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/internet/test/ipv4-list-routing-test-suite.cc b/src/internet/test/ipv4-list-routing-test-suite.cc index 63651df57..505f0f85c 100644 --- a/src/internet/test/ipv4-list-routing-test-suite.cc +++ b/src/internet/test/ipv4-list-routing-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/test/ipv4-packet-info-tag-test-suite.cc b/src/internet/test/ipv4-packet-info-tag-test-suite.cc index eefee4275..cf342e2af 100644 --- a/src/internet/test/ipv4-packet-info-tag-test-suite.cc +++ b/src/internet/test/ipv4-packet-info-tag-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/internet/test/ipv4-raw-test.cc b/src/internet/test/ipv4-raw-test.cc index 242d66d36..d5bedd701 100644 --- a/src/internet/test/ipv4-raw-test.cc +++ b/src/internet/test/ipv4-raw-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/internet/test/ipv4-rip-test.cc b/src/internet/test/ipv4-rip-test.cc index 464786983..61ddcd070 100644 --- a/src/internet/test/ipv4-rip-test.cc +++ b/src/internet/test/ipv4-rip-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' di Firenze * diff --git a/src/internet/test/ipv4-static-routing-test-suite.cc b/src/internet/test/ipv4-static-routing-test-suite.cc index 35ea5abbe..1817948e4 100644 --- a/src/internet/test/ipv4-static-routing-test-suite.cc +++ b/src/internet/test/ipv4-static-routing-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/test/ipv4-test.cc b/src/internet/test/ipv4-test.cc index d30e39212..4b83c4a03 100644 --- a/src/internet/test/ipv4-test.cc +++ b/src/internet/test/ipv4-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/test/ipv6-address-duplication-test.cc b/src/internet/test/ipv6-address-duplication-test.cc index 3ac601653..101b2784a 100644 --- a/src/internet/test/ipv6-address-duplication-test.cc +++ b/src/internet/test/ipv6-address-duplication-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze * diff --git a/src/internet/test/ipv6-address-generator-test-suite.cc b/src/internet/test/ipv6-address-generator-test-suite.cc index 5b7689045..c3b711a00 100644 --- a/src/internet/test/ipv6-address-generator-test-suite.cc +++ b/src/internet/test/ipv6-address-generator-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * Copyright (c) 2011 Atishay Jain diff --git a/src/internet/test/ipv6-address-helper-test-suite.cc b/src/internet/test/ipv6-address-helper-test-suite.cc index 8b3fa8cd6..4b90aea80 100644 --- a/src/internet/test/ipv6-address-helper-test-suite.cc +++ b/src/internet/test/ipv6-address-helper-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/internet/test/ipv6-dual-stack-test-suite.cc b/src/internet/test/ipv6-dual-stack-test-suite.cc index 703540b23..2cd137797 100644 --- a/src/internet/test/ipv6-dual-stack-test-suite.cc +++ b/src/internet/test/ipv6-dual-stack-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * Copyright (c) 2009 INRIA diff --git a/src/internet/test/ipv6-extension-header-test-suite.cc b/src/internet/test/ipv6-extension-header-test-suite.cc index 24ed120c2..2e8c98f31 100644 --- a/src/internet/test/ipv6-extension-header-test-suite.cc +++ b/src/internet/test/ipv6-extension-header-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/test/ipv6-forwarding-test.cc b/src/internet/test/ipv6-forwarding-test.cc index cee64f081..cb60a5916 100644 --- a/src/internet/test/ipv6-forwarding-test.cc +++ b/src/internet/test/ipv6-forwarding-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * diff --git a/src/internet/test/ipv6-fragmentation-test.cc b/src/internet/test/ipv6-fragmentation-test.cc index 52dafa401..64b9c2317 100644 --- a/src/internet/test/ipv6-fragmentation-test.cc +++ b/src/internet/test/ipv6-fragmentation-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Universita' di Firenze, Italy * diff --git a/src/internet/test/ipv6-list-routing-test-suite.cc b/src/internet/test/ipv6-list-routing-test-suite.cc index f68ecaad7..d4b606f43 100644 --- a/src/internet/test/ipv6-list-routing-test-suite.cc +++ b/src/internet/test/ipv6-list-routing-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/test/ipv6-packet-info-tag-test-suite.cc b/src/internet/test/ipv6-packet-info-tag-test-suite.cc index 8623984a9..5de73199b 100644 --- a/src/internet/test/ipv6-packet-info-tag-test-suite.cc +++ b/src/internet/test/ipv6-packet-info-tag-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/internet/test/ipv6-raw-test.cc b/src/internet/test/ipv6-raw-test.cc index 9ba59ae1b..6ae8c7726 100644 --- a/src/internet/test/ipv6-raw-test.cc +++ b/src/internet/test/ipv6-raw-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Hajime Tazaki * diff --git a/src/internet/test/ipv6-ripng-test.cc b/src/internet/test/ipv6-ripng-test.cc index c34f47011..b24cbe20a 100644 --- a/src/internet/test/ipv6-ripng-test.cc +++ b/src/internet/test/ipv6-ripng-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/internet/test/ipv6-test.cc b/src/internet/test/ipv6-test.cc index 70f4d9243..c94298ce3 100644 --- a/src/internet/test/ipv6-test.cc +++ b/src/internet/test/ipv6-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/internet/test/neighbor-cache-test.cc b/src/internet/test/neighbor-cache-test.cc index 0aef5ab35..91087f2f3 100644 --- a/src/internet/test/neighbor-cache-test.cc +++ b/src/internet/test/neighbor-cache-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 ZHIHENG DONG * diff --git a/src/internet/test/rtt-test.cc b/src/internet/test/rtt-test.cc index ab10b4a61..9c7dafcfc 100644 --- a/src/internet/test/rtt-test.cc +++ b/src/internet/test/rtt-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/test/tcp-advertised-window-test.cc b/src/internet/test/tcp-advertised-window-test.cc index 14c99dee8..ee5fcc38a 100644 --- a/src/internet/test/tcp-advertised-window-test.cc +++ b/src/internet/test/tcp-advertised-window-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Christoph Doepmann * diff --git a/src/internet/test/tcp-bbr-test.cc b/src/internet/test/tcp-bbr-test.cc index ac3e59442..7c276615c 100644 --- a/src/internet/test/tcp-bbr-test.cc +++ b/src/internet/test/tcp-bbr-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/test/tcp-bic-test.cc b/src/internet/test/tcp-bic-test.cc index 8224abc30..6052a55b1 100644 --- a/src/internet/test/tcp-bic-test.cc +++ b/src/internet/test/tcp-bic-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello, * diff --git a/src/internet/test/tcp-bytes-in-flight-test.cc b/src/internet/test/tcp-bytes-in-flight-test.cc index 2a4c2119e..789ad5123 100644 --- a/src/internet/test/tcp-bytes-in-flight-test.cc +++ b/src/internet/test/tcp-bytes-in-flight-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Natale Patriciello * diff --git a/src/internet/test/tcp-classic-recovery-test.cc b/src/internet/test/tcp-classic-recovery-test.cc index 3f557898e..8d1cbdacc 100644 --- a/src/internet/test/tcp-classic-recovery-test.cc +++ b/src/internet/test/tcp-classic-recovery-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/test/tcp-close-test.cc b/src/internet/test/tcp-close-test.cc index 942113059..9fb725b4e 100644 --- a/src/internet/test/tcp-close-test.cc +++ b/src/internet/test/tcp-close-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Natale Patriciello * diff --git a/src/internet/test/tcp-cong-avoid-test.cc b/src/internet/test/tcp-cong-avoid-test.cc index 44ecc2eba..bf7aee615 100644 --- a/src/internet/test/tcp-cong-avoid-test.cc +++ b/src/internet/test/tcp-cong-avoid-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-datasentcb-test.cc b/src/internet/test/tcp-datasentcb-test.cc index 0d0a12a14..09e64180e 100644 --- a/src/internet/test/tcp-datasentcb-test.cc +++ b/src/internet/test/tcp-datasentcb-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-dctcp-test.cc b/src/internet/test/tcp-dctcp-test.cc index 5a17ab9c8..9c87255ec 100644 --- a/src/internet/test/tcp-dctcp-test.cc +++ b/src/internet/test/tcp-dctcp-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 NITK Surathkal * diff --git a/src/internet/test/tcp-ecn-test.cc b/src/internet/test/tcp-ecn-test.cc index 26cc110fc..e1c0bdc52 100644 --- a/src/internet/test/tcp-ecn-test.cc +++ b/src/internet/test/tcp-ecn-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/internet/test/tcp-endpoint-bug2211.cc b/src/internet/test/tcp-endpoint-bug2211.cc index 21437cc12..04074e690 100644 --- a/src/internet/test/tcp-endpoint-bug2211.cc +++ b/src/internet/test/tcp-endpoint-bug2211.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Alexander Krotov * diff --git a/src/internet/test/tcp-error-model.cc b/src/internet/test/tcp-error-model.cc index 434332222..ae23ffd29 100644 --- a/src/internet/test/tcp-error-model.cc +++ b/src/internet/test/tcp-error-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-error-model.h b/src/internet/test/tcp-error-model.h index 6c13ad487..e9c3437bf 100644 --- a/src/internet/test/tcp-error-model.h +++ b/src/internet/test/tcp-error-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-fast-retr-test.cc b/src/internet/test/tcp-fast-retr-test.cc index 7f78b24d9..233ff9f03 100644 --- a/src/internet/test/tcp-fast-retr-test.cc +++ b/src/internet/test/tcp-fast-retr-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-general-test.cc b/src/internet/test/tcp-general-test.cc index 26165a5ce..03ae48d42 100644 --- a/src/internet/test/tcp-general-test.cc +++ b/src/internet/test/tcp-general-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-general-test.h b/src/internet/test/tcp-general-test.h index 50c157820..2dd0b284a 100644 --- a/src/internet/test/tcp-general-test.h +++ b/src/internet/test/tcp-general-test.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-header-test.cc b/src/internet/test/tcp-header-test.cc index fda519c61..05b4c7516 100644 --- a/src/internet/test/tcp-header-test.cc +++ b/src/internet/test/tcp-header-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello * diff --git a/src/internet/test/tcp-highspeed-test.cc b/src/internet/test/tcp-highspeed-test.cc index 38f7eaad8..f76b2447f 100644 --- a/src/internet/test/tcp-highspeed-test.cc +++ b/src/internet/test/tcp-highspeed-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello, * diff --git a/src/internet/test/tcp-htcp-test.cc b/src/internet/test/tcp-htcp-test.cc index 0729a3e9f..e6fe0aed0 100644 --- a/src/internet/test/tcp-htcp-test.cc +++ b/src/internet/test/tcp-htcp-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/test/tcp-hybla-test.cc b/src/internet/test/tcp-hybla-test.cc index 17e8c15fc..4d5a1ffd9 100644 --- a/src/internet/test/tcp-hybla-test.cc +++ b/src/internet/test/tcp-hybla-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello, * diff --git a/src/internet/test/tcp-illinois-test.cc b/src/internet/test/tcp-illinois-test.cc index 92ca7e2ac..ce8adb32c 100644 --- a/src/internet/test/tcp-illinois-test.cc +++ b/src/internet/test/tcp-illinois-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/test/tcp-ledbat-test.cc b/src/internet/test/tcp-ledbat-test.cc index 6ce90eae4..9111dacff 100644 --- a/src/internet/test/tcp-ledbat-test.cc +++ b/src/internet/test/tcp-ledbat-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/internet/test/tcp-linux-reno-test.cc b/src/internet/test/tcp-linux-reno-test.cc index bf307505e..21bd93ef7 100644 --- a/src/internet/test/tcp-linux-reno-test.cc +++ b/src/internet/test/tcp-linux-reno-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Apoorva Bhargava * diff --git a/src/internet/test/tcp-loss-test.cc b/src/internet/test/tcp-loss-test.cc index 2de86ee9b..4e8ed1fee 100644 --- a/src/internet/test/tcp-loss-test.cc +++ b/src/internet/test/tcp-loss-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Tom Henderson * diff --git a/src/internet/test/tcp-lp-test.cc b/src/internet/test/tcp-lp-test.cc index dd92970ba..84d99a2e0 100644 --- a/src/internet/test/tcp-lp-test.cc +++ b/src/internet/test/tcp-lp-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/internet/test/tcp-option-test.cc b/src/internet/test/tcp-option-test.cc index c1a6aa1f2..319c7e035 100644 --- a/src/internet/test/tcp-option-test.cc +++ b/src/internet/test/tcp-option-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Natale Patriciello * diff --git a/src/internet/test/tcp-pacing-test.cc b/src/internet/test/tcp-pacing-test.cc index dc7fd3a97..73c3bdc64 100644 --- a/src/internet/test/tcp-pacing-test.cc +++ b/src/internet/test/tcp-pacing-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 NITK Surathkal * diff --git a/src/internet/test/tcp-pkts-acked-test.cc b/src/internet/test/tcp-pkts-acked-test.cc index 7f34b6dc2..4e88365d6 100644 --- a/src/internet/test/tcp-pkts-acked-test.cc +++ b/src/internet/test/tcp-pkts-acked-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Natale Patriciello * diff --git a/src/internet/test/tcp-prr-recovery-test.cc b/src/internet/test/tcp-prr-recovery-test.cc index 5c485d448..fee210789 100644 --- a/src/internet/test/tcp-prr-recovery-test.cc +++ b/src/internet/test/tcp-prr-recovery-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/test/tcp-rate-ops-test.cc b/src/internet/test/tcp-rate-ops-test.cc index f998c74ea..d6897396f 100644 --- a/src/internet/test/tcp-rate-ops-test.cc +++ b/src/internet/test/tcp-rate-ops-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 NITK Surathkal * diff --git a/src/internet/test/tcp-rto-test.cc b/src/internet/test/tcp-rto-test.cc index cf135e544..a33956315 100644 --- a/src/internet/test/tcp-rto-test.cc +++ b/src/internet/test/tcp-rto-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-rtt-estimation.cc b/src/internet/test/tcp-rtt-estimation.cc index 3f35e6d51..4b6874c7a 100644 --- a/src/internet/test/tcp-rtt-estimation.cc +++ b/src/internet/test/tcp-rtt-estimation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Natale Patriciello * diff --git a/src/internet/test/tcp-rx-buffer-test.cc b/src/internet/test/tcp-rx-buffer-test.cc index dcaff1b60..32e4af422 100644 --- a/src/internet/test/tcp-rx-buffer-test.cc +++ b/src/internet/test/tcp-rx-buffer-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/test/tcp-sack-permitted-test.cc b/src/internet/test/tcp-sack-permitted-test.cc index 9ac95468f..a975f1b28 100644 --- a/src/internet/test/tcp-sack-permitted-test.cc +++ b/src/internet/test/tcp-sack-permitted-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Natale Patriciello * diff --git a/src/internet/test/tcp-scalable-test.cc b/src/internet/test/tcp-scalable-test.cc index 4fbde8015..67d55a545 100644 --- a/src/internet/test/tcp-scalable-test.cc +++ b/src/internet/test/tcp-scalable-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/test/tcp-slow-start-test.cc b/src/internet/test/tcp-slow-start-test.cc index 0470c772e..c148b91de 100644 --- a/src/internet/test/tcp-slow-start-test.cc +++ b/src/internet/test/tcp-slow-start-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/tcp-syn-connection-failed-test.cc b/src/internet/test/tcp-syn-connection-failed-test.cc index afb3966cf..08b4bc7b5 100644 --- a/src/internet/test/tcp-syn-connection-failed-test.cc +++ b/src/internet/test/tcp-syn-connection-failed-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Alexander Krotov * diff --git a/src/internet/test/tcp-test.cc b/src/internet/test/tcp-test.cc index c1749e23e..eeefd585a 100644 --- a/src/internet/test/tcp-test.cc +++ b/src/internet/test/tcp-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * Copyright (c) 2009 INRIA diff --git a/src/internet/test/tcp-timestamp-test.cc b/src/internet/test/tcp-timestamp-test.cc index a88fbd649..166e5edf3 100644 --- a/src/internet/test/tcp-timestamp-test.cc +++ b/src/internet/test/tcp-timestamp-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Natale Patriciello * diff --git a/src/internet/test/tcp-tx-buffer-test.cc b/src/internet/test/tcp-tx-buffer-test.cc index 85b96aaf3..35a608169 100644 --- a/src/internet/test/tcp-tx-buffer-test.cc +++ b/src/internet/test/tcp-tx-buffer-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/test/tcp-vegas-test.cc b/src/internet/test/tcp-vegas-test.cc index aefcc79b3..1d8d8137e 100644 --- a/src/internet/test/tcp-vegas-test.cc +++ b/src/internet/test/tcp-vegas-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/test/tcp-veno-test.cc b/src/internet/test/tcp-veno-test.cc index d73f454fd..68d0fb101 100644 --- a/src/internet/test/tcp-veno-test.cc +++ b/src/internet/test/tcp-veno-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/test/tcp-wscaling-test.cc b/src/internet/test/tcp-wscaling-test.cc index a9d6ee7f2..5514ef1e1 100644 --- a/src/internet/test/tcp-wscaling-test.cc +++ b/src/internet/test/tcp-wscaling-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Natale Patriciello * diff --git a/src/internet/test/tcp-yeah-test.cc b/src/internet/test/tcp-yeah-test.cc index c9595ac8b..ea8d870de 100644 --- a/src/internet/test/tcp-yeah-test.cc +++ b/src/internet/test/tcp-yeah-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 ResiliNets, ITTC, University of Kansas * diff --git a/src/internet/test/tcp-zero-window-test.cc b/src/internet/test/tcp-zero-window-test.cc index 156427bfa..da0259811 100644 --- a/src/internet/test/tcp-zero-window-test.cc +++ b/src/internet/test/tcp-zero-window-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * diff --git a/src/internet/test/udp-test.cc b/src/internet/test/udp-test.cc index 42d43ec9a..56944228b 100644 --- a/src/internet/test/udp-test.cc +++ b/src/internet/test/udp-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * diff --git a/src/lr-wpan/examples/lr-wpan-active-scan.cc b/src/lr-wpan/examples/lr-wpan-active-scan.cc index e0d7ebfc4..124c45bbf 100644 --- a/src/lr-wpan/examples/lr-wpan-active-scan.cc +++ b/src/lr-wpan/examples/lr-wpan-active-scan.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Tokushima University, Japan. * diff --git a/src/lr-wpan/examples/lr-wpan-bootstrap.cc b/src/lr-wpan/examples/lr-wpan-bootstrap.cc index 8e7de4cc5..3c2933b5b 100644 --- a/src/lr-wpan/examples/lr-wpan-bootstrap.cc +++ b/src/lr-wpan/examples/lr-wpan-bootstrap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Tokushima University, Japan. * diff --git a/src/lr-wpan/examples/lr-wpan-data.cc b/src/lr-wpan/examples/lr-wpan-data.cc index 0122e0a4f..f34374d62 100644 --- a/src/lr-wpan/examples/lr-wpan-data.cc +++ b/src/lr-wpan/examples/lr-wpan-data.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/examples/lr-wpan-ed-scan.cc b/src/lr-wpan/examples/lr-wpan-ed-scan.cc index ac1145b78..bbb2e7ba5 100644 --- a/src/lr-wpan/examples/lr-wpan-ed-scan.cc +++ b/src/lr-wpan/examples/lr-wpan-ed-scan.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Tokushima University, Japan. * diff --git a/src/lr-wpan/examples/lr-wpan-error-distance-plot.cc b/src/lr-wpan/examples/lr-wpan-error-distance-plot.cc index dbcbbccee..dcc1b7374 100644 --- a/src/lr-wpan/examples/lr-wpan-error-distance-plot.cc +++ b/src/lr-wpan/examples/lr-wpan-error-distance-plot.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/examples/lr-wpan-error-model-plot.cc b/src/lr-wpan/examples/lr-wpan-error-model-plot.cc index 23c168f5f..9fc4d5b47 100644 --- a/src/lr-wpan/examples/lr-wpan-error-model-plot.cc +++ b/src/lr-wpan/examples/lr-wpan-error-model-plot.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/examples/lr-wpan-mlme.cc b/src/lr-wpan/examples/lr-wpan-mlme.cc index 3d08c4e25..ac2397c3d 100644 --- a/src/lr-wpan/examples/lr-wpan-mlme.cc +++ b/src/lr-wpan/examples/lr-wpan-mlme.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan. * diff --git a/src/lr-wpan/examples/lr-wpan-packet-print.cc b/src/lr-wpan/examples/lr-wpan-packet-print.cc index 76db04b42..af98684e3 100644 --- a/src/lr-wpan/examples/lr-wpan-packet-print.cc +++ b/src/lr-wpan/examples/lr-wpan-packet-print.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/examples/lr-wpan-phy-test.cc b/src/lr-wpan/examples/lr-wpan-phy-test.cc index 63e9866c8..7cccd335b 100644 --- a/src/lr-wpan/examples/lr-wpan-phy-test.cc +++ b/src/lr-wpan/examples/lr-wpan-phy-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/helper/lr-wpan-helper.cc b/src/lr-wpan/helper/lr-wpan-helper.cc index bbc92bb90..abd114979 100644 --- a/src/lr-wpan/helper/lr-wpan-helper.cc +++ b/src/lr-wpan/helper/lr-wpan-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/helper/lr-wpan-helper.h b/src/lr-wpan/helper/lr-wpan-helper.h index 6cbd5e23d..78f28c914 100644 --- a/src/lr-wpan/helper/lr-wpan-helper.h +++ b/src/lr-wpan/helper/lr-wpan-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-csmaca.cc b/src/lr-wpan/model/lr-wpan-csmaca.cc index 4d73ba048..662d79e20 100644 --- a/src/lr-wpan/model/lr-wpan-csmaca.cc +++ b/src/lr-wpan/model/lr-wpan-csmaca.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-csmaca.h b/src/lr-wpan/model/lr-wpan-csmaca.h index cf82e223d..b26d66f16 100644 --- a/src/lr-wpan/model/lr-wpan-csmaca.h +++ b/src/lr-wpan/model/lr-wpan-csmaca.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-error-model.cc b/src/lr-wpan/model/lr-wpan-error-model.cc index a195d2791..d5d5f8272 100644 --- a/src/lr-wpan/model/lr-wpan-error-model.cc +++ b/src/lr-wpan/model/lr-wpan-error-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-error-model.h b/src/lr-wpan/model/lr-wpan-error-model.h index 1dc43899e..6221f5654 100644 --- a/src/lr-wpan/model/lr-wpan-error-model.h +++ b/src/lr-wpan/model/lr-wpan-error-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-fields.cc b/src/lr-wpan/model/lr-wpan-fields.cc index a757af39e..ee6d2f368 100644 --- a/src/lr-wpan/model/lr-wpan-fields.cc +++ b/src/lr-wpan/model/lr-wpan-fields.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan. * diff --git a/src/lr-wpan/model/lr-wpan-fields.h b/src/lr-wpan/model/lr-wpan-fields.h index f2d2b4dcc..6b4b5d2c1 100644 --- a/src/lr-wpan/model/lr-wpan-fields.h +++ b/src/lr-wpan/model/lr-wpan-fields.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan. * diff --git a/src/lr-wpan/model/lr-wpan-interference-helper.cc b/src/lr-wpan/model/lr-wpan-interference-helper.cc index 8e5038740..beba86404 100644 --- a/src/lr-wpan/model/lr-wpan-interference-helper.cc +++ b/src/lr-wpan/model/lr-wpan-interference-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Fraunhofer FKIE * diff --git a/src/lr-wpan/model/lr-wpan-interference-helper.h b/src/lr-wpan/model/lr-wpan-interference-helper.h index a32c95a05..e076b38f8 100644 --- a/src/lr-wpan/model/lr-wpan-interference-helper.h +++ b/src/lr-wpan/model/lr-wpan-interference-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Fraunhofer FKIE * diff --git a/src/lr-wpan/model/lr-wpan-lqi-tag.cc b/src/lr-wpan/model/lr-wpan-lqi-tag.cc index 4e3977a4c..f1d38d25b 100644 --- a/src/lr-wpan/model/lr-wpan-lqi-tag.cc +++ b/src/lr-wpan/model/lr-wpan-lqi-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Fraunhofer FKIE * diff --git a/src/lr-wpan/model/lr-wpan-lqi-tag.h b/src/lr-wpan/model/lr-wpan-lqi-tag.h index ed0b7e1bc..4273c6121 100644 --- a/src/lr-wpan/model/lr-wpan-lqi-tag.h +++ b/src/lr-wpan/model/lr-wpan-lqi-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Fraunhofer FKIE * diff --git a/src/lr-wpan/model/lr-wpan-mac-header.cc b/src/lr-wpan/model/lr-wpan-mac-header.cc index 6fc55270a..cc2dc47d7 100644 --- a/src/lr-wpan/model/lr-wpan-mac-header.cc +++ b/src/lr-wpan/model/lr-wpan-mac-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-mac-header.h b/src/lr-wpan/model/lr-wpan-mac-header.h index e1e0a0163..9c1813391 100644 --- a/src/lr-wpan/model/lr-wpan-mac-header.h +++ b/src/lr-wpan/model/lr-wpan-mac-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-mac-pl-headers.cc b/src/lr-wpan/model/lr-wpan-mac-pl-headers.cc index 7d8269e66..85a99becb 100644 --- a/src/lr-wpan/model/lr-wpan-mac-pl-headers.cc +++ b/src/lr-wpan/model/lr-wpan-mac-pl-headers.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Ritsumeikan University, Shiga, Japan. * diff --git a/src/lr-wpan/model/lr-wpan-mac-pl-headers.h b/src/lr-wpan/model/lr-wpan-mac-pl-headers.h index 95187e804..dfd8bb2f9 100644 --- a/src/lr-wpan/model/lr-wpan-mac-pl-headers.h +++ b/src/lr-wpan/model/lr-wpan-mac-pl-headers.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan. * diff --git a/src/lr-wpan/model/lr-wpan-mac-trailer.cc b/src/lr-wpan/model/lr-wpan-mac-trailer.cc index 1a995d84b..9393a2862 100644 --- a/src/lr-wpan/model/lr-wpan-mac-trailer.cc +++ b/src/lr-wpan/model/lr-wpan-mac-trailer.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-mac-trailer.h b/src/lr-wpan/model/lr-wpan-mac-trailer.h index e3e2811d2..16c0637e0 100644 --- a/src/lr-wpan/model/lr-wpan-mac-trailer.h +++ b/src/lr-wpan/model/lr-wpan-mac-trailer.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-mac.cc b/src/lr-wpan/model/lr-wpan-mac.cc index b67ccc0bf..ba7ed38a8 100644 --- a/src/lr-wpan/model/lr-wpan-mac.cc +++ b/src/lr-wpan/model/lr-wpan-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-mac.h b/src/lr-wpan/model/lr-wpan-mac.h index d1dc89530..09052122d 100644 --- a/src/lr-wpan/model/lr-wpan-mac.h +++ b/src/lr-wpan/model/lr-wpan-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-net-device.cc b/src/lr-wpan/model/lr-wpan-net-device.cc index 6c9050a19..0bb121f44 100644 --- a/src/lr-wpan/model/lr-wpan-net-device.cc +++ b/src/lr-wpan/model/lr-wpan-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-net-device.h b/src/lr-wpan/model/lr-wpan-net-device.h index 3e003deb5..e1d3208cc 100644 --- a/src/lr-wpan/model/lr-wpan-net-device.h +++ b/src/lr-wpan/model/lr-wpan-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-phy.cc b/src/lr-wpan/model/lr-wpan-phy.cc index 6e9b69d3c..1ff4f9ec9 100644 --- a/src/lr-wpan/model/lr-wpan-phy.cc +++ b/src/lr-wpan/model/lr-wpan-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-phy.h b/src/lr-wpan/model/lr-wpan-phy.h index ab3634d8b..b7377ca6b 100644 --- a/src/lr-wpan/model/lr-wpan-phy.h +++ b/src/lr-wpan/model/lr-wpan-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.cc b/src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.cc index f2d9e1db8..5a59c2f91 100644 --- a/src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.cc +++ b/src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.h b/src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.h index 885e10dc3..b7c32eab8 100644 --- a/src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.h +++ b/src/lr-wpan/model/lr-wpan-spectrum-signal-parameters.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-spectrum-value-helper.cc b/src/lr-wpan/model/lr-wpan-spectrum-value-helper.cc index 415a87eff..dae81c9fe 100644 --- a/src/lr-wpan/model/lr-wpan-spectrum-value-helper.cc +++ b/src/lr-wpan/model/lr-wpan-spectrum-value-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/model/lr-wpan-spectrum-value-helper.h b/src/lr-wpan/model/lr-wpan-spectrum-value-helper.h index 7b7cb98c8..9137e735b 100644 --- a/src/lr-wpan/model/lr-wpan-spectrum-value-helper.h +++ b/src/lr-wpan/model/lr-wpan-spectrum-value-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/test/lr-wpan-ack-test.cc b/src/lr-wpan/test/lr-wpan-ack-test.cc index 550aaf229..639ede10d 100644 --- a/src/lr-wpan/test/lr-wpan-ack-test.cc +++ b/src/lr-wpan/test/lr-wpan-ack-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Fraunhofer FKIE * diff --git a/src/lr-wpan/test/lr-wpan-cca-test.cc b/src/lr-wpan/test/lr-wpan-cca-test.cc index 03f57a261..48506eeaa 100644 --- a/src/lr-wpan/test/lr-wpan-cca-test.cc +++ b/src/lr-wpan/test/lr-wpan-cca-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Fraunhofer FKIE * diff --git a/src/lr-wpan/test/lr-wpan-collision-test.cc b/src/lr-wpan/test/lr-wpan-collision-test.cc index 9981a75b0..91f294c85 100644 --- a/src/lr-wpan/test/lr-wpan-collision-test.cc +++ b/src/lr-wpan/test/lr-wpan-collision-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze, Italy * diff --git a/src/lr-wpan/test/lr-wpan-ed-test.cc b/src/lr-wpan/test/lr-wpan-ed-test.cc index 9c34ee82e..37539caad 100644 --- a/src/lr-wpan/test/lr-wpan-ed-test.cc +++ b/src/lr-wpan/test/lr-wpan-ed-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Fraunhofer FKIE * diff --git a/src/lr-wpan/test/lr-wpan-error-model-test.cc b/src/lr-wpan/test/lr-wpan-error-model-test.cc index af9ac6f36..19b67599f 100644 --- a/src/lr-wpan/test/lr-wpan-error-model-test.cc +++ b/src/lr-wpan/test/lr-wpan-error-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/test/lr-wpan-ifs-test.cc b/src/lr-wpan/test/lr-wpan-ifs-test.cc index 7d22be82b..dccdcd126 100644 --- a/src/lr-wpan/test/lr-wpan-ifs-test.cc +++ b/src/lr-wpan/test/lr-wpan-ifs-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan * diff --git a/src/lr-wpan/test/lr-wpan-mac-test.cc b/src/lr-wpan/test/lr-wpan-mac-test.cc index 98ea95ea4..880223bde 100644 --- a/src/lr-wpan/test/lr-wpan-mac-test.cc +++ b/src/lr-wpan/test/lr-wpan-mac-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Tokushima University, Japan * diff --git a/src/lr-wpan/test/lr-wpan-packet-test.cc b/src/lr-wpan/test/lr-wpan-packet-test.cc index f33c07ab9..7394a103a 100644 --- a/src/lr-wpan/test/lr-wpan-packet-test.cc +++ b/src/lr-wpan/test/lr-wpan-packet-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/test/lr-wpan-pd-plme-sap-test.cc b/src/lr-wpan/test/lr-wpan-pd-plme-sap-test.cc index 0ad7163f9..c7fdaa4c0 100644 --- a/src/lr-wpan/test/lr-wpan-pd-plme-sap-test.cc +++ b/src/lr-wpan/test/lr-wpan-pd-plme-sap-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lr-wpan/test/lr-wpan-slotted-csmaca-test.cc b/src/lr-wpan/test/lr-wpan-slotted-csmaca-test.cc index 88b2fb07c..f33186447 100644 --- a/src/lr-wpan/test/lr-wpan-slotted-csmaca-test.cc +++ b/src/lr-wpan/test/lr-wpan-slotted-csmaca-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Ritsumeikan University, Shiga, Japan * diff --git a/src/lr-wpan/test/lr-wpan-spectrum-value-helper-test.cc b/src/lr-wpan/test/lr-wpan-spectrum-value-helper-test.cc index 1fbbf5e0c..83b6015d8 100644 --- a/src/lr-wpan/test/lr-wpan-spectrum-value-helper-test.cc +++ b/src/lr-wpan/test/lr-wpan-spectrum-value-helper-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 The Boeing Company * diff --git a/src/lte/examples/lena-cc-helper.cc b/src/lte/examples/lena-cc-helper.cc index d6a1cda8f..066cc8fa8 100644 --- a/src/lte/examples/lena-cc-helper.cc +++ b/src/lte/examples/lena-cc-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-cqi-threshold.cc b/src/lte/examples/lena-cqi-threshold.cc index cfd1d6ea9..187b864bc 100644 --- a/src/lte/examples/lena-cqi-threshold.cc +++ b/src/lte/examples/lena-cqi-threshold.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-deactivate-bearer.cc b/src/lte/examples/lena-deactivate-bearer.cc index 6a17c4b33..a7c9347bb 100644 --- a/src/lte/examples/lena-deactivate-bearer.cc +++ b/src/lte/examples/lena-deactivate-bearer.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-distributed-ffr.cc b/src/lte/examples/lena-distributed-ffr.cc index 7f4e4378d..8a4482641 100644 --- a/src/lte/examples/lena-distributed-ffr.cc +++ b/src/lte/examples/lena-distributed-ffr.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/examples/lena-dual-stripe.cc b/src/lte/examples/lena-dual-stripe.cc index 49fcabc4c..2befa585c 100644 --- a/src/lte/examples/lena-dual-stripe.cc +++ b/src/lte/examples/lena-dual-stripe.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-fading.cc b/src/lte/examples/lena-fading.cc index caeda0822..aec3d1d75 100644 --- a/src/lte/examples/lena-fading.cc +++ b/src/lte/examples/lena-fading.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-frequency-reuse.cc b/src/lte/examples/lena-frequency-reuse.cc index e2ae27ca6..eb1d4b62c 100644 --- a/src/lte/examples/lena-frequency-reuse.cc +++ b/src/lte/examples/lena-frequency-reuse.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/examples/lena-intercell-interference.cc b/src/lte/examples/lena-intercell-interference.cc index 3c4b43c23..b4d08247a 100644 --- a/src/lte/examples/lena-intercell-interference.cc +++ b/src/lte/examples/lena-intercell-interference.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-ipv6-addr-conf.cc b/src/lte/examples/lena-ipv6-addr-conf.cc index 30d3462a5..45bdbb075 100644 --- a/src/lte/examples/lena-ipv6-addr-conf.cc +++ b/src/lte/examples/lena-ipv6-addr-conf.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Jadavpur University, India * diff --git a/src/lte/examples/lena-ipv6-ue-rh.cc b/src/lte/examples/lena-ipv6-ue-rh.cc index 59ccfc56e..8458becc6 100644 --- a/src/lte/examples/lena-ipv6-ue-rh.cc +++ b/src/lte/examples/lena-ipv6-ue-rh.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Jadavpur University, India * diff --git a/src/lte/examples/lena-ipv6-ue-ue.cc b/src/lte/examples/lena-ipv6-ue-ue.cc index 1edf8b51d..94acafbb6 100644 --- a/src/lte/examples/lena-ipv6-ue-ue.cc +++ b/src/lte/examples/lena-ipv6-ue-ue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Jadavpur University, India * diff --git a/src/lte/examples/lena-pathloss-traces.cc b/src/lte/examples/lena-pathloss-traces.cc index e6083db8d..bdd52ef71 100644 --- a/src/lte/examples/lena-pathloss-traces.cc +++ b/src/lte/examples/lena-pathloss-traces.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-profiling.cc b/src/lte/examples/lena-profiling.cc index c7a2dec4b..f84f8920b 100644 --- a/src/lte/examples/lena-profiling.cc +++ b/src/lte/examples/lena-profiling.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-radio-link-failure.cc b/src/lte/examples/lena-radio-link-failure.cc index f3bde90d9..ade7ddc3a 100644 --- a/src/lte/examples/lena-radio-link-failure.cc +++ b/src/lte/examples/lena-radio-link-failure.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Fraunhofer ESK * diff --git a/src/lte/examples/lena-rem-sector-antenna.cc b/src/lte/examples/lena-rem-sector-antenna.cc index c2e28a60f..29de39d91 100644 --- a/src/lte/examples/lena-rem-sector-antenna.cc +++ b/src/lte/examples/lena-rem-sector-antenna.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-rem.cc b/src/lte/examples/lena-rem.cc index 9aec332f9..7a9e95105 100644 --- a/src/lte/examples/lena-rem.cc +++ b/src/lte/examples/lena-rem.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-rlc-traces.cc b/src/lte/examples/lena-rlc-traces.cc index 67e507a52..7695547c0 100644 --- a/src/lte/examples/lena-rlc-traces.cc +++ b/src/lte/examples/lena-rlc-traces.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-simple-epc-backhaul.cc b/src/lte/examples/lena-simple-epc-backhaul.cc index 09cd775d3..3927f2300 100644 --- a/src/lte/examples/lena-simple-epc-backhaul.cc +++ b/src/lte/examples/lena-simple-epc-backhaul.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-simple-epc-emu.cc b/src/lte/examples/lena-simple-epc-emu.cc index 8829a7e6c..e23e15f2b 100644 --- a/src/lte/examples/lena-simple-epc-emu.cc +++ b/src/lte/examples/lena-simple-epc-emu.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-simple-epc.cc b/src/lte/examples/lena-simple-epc.cc index f07c27e84..f2480fd57 100644 --- a/src/lte/examples/lena-simple-epc.cc +++ b/src/lte/examples/lena-simple-epc.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-simple.cc b/src/lte/examples/lena-simple.cc index c090407b1..d0f9501f5 100644 --- a/src/lte/examples/lena-simple.cc +++ b/src/lte/examples/lena-simple.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-uplink-power-control.cc b/src/lte/examples/lena-uplink-power-control.cc index 41573be24..e1933d488 100644 --- a/src/lte/examples/lena-uplink-power-control.cc +++ b/src/lte/examples/lena-uplink-power-control.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/examples/lena-x2-handover-measures.cc b/src/lte/examples/lena-x2-handover-measures.cc index 473678df4..9a694c869 100644 --- a/src/lte/examples/lena-x2-handover-measures.cc +++ b/src/lte/examples/lena-x2-handover-measures.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/examples/lena-x2-handover.cc b/src/lte/examples/lena-x2-handover.cc index e45b2785f..8a2c26f2f 100644 --- a/src/lte/examples/lena-x2-handover.cc +++ b/src/lte/examples/lena-x2-handover.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/cc-helper.cc b/src/lte/helper/cc-helper.cc index 6a052368d..687a90a01 100644 --- a/src/lte/helper/cc-helper.cc +++ b/src/lte/helper/cc-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/helper/cc-helper.h b/src/lte/helper/cc-helper.h index 720953a3e..d6a00418a 100644 --- a/src/lte/helper/cc-helper.h +++ b/src/lte/helper/cc-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/helper/emu-epc-helper.cc b/src/lte/helper/emu-epc-helper.cc index f2d7d4ce9..dc405a4d5 100644 --- a/src/lte/helper/emu-epc-helper.cc +++ b/src/lte/helper/emu-epc-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/emu-epc-helper.h b/src/lte/helper/emu-epc-helper.h index 9826eee2b..5a3703888 100644 --- a/src/lte/helper/emu-epc-helper.h +++ b/src/lte/helper/emu-epc-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/epc-helper.cc b/src/lte/helper/epc-helper.cc index ff7e1c86d..4b9c8fdd1 100644 --- a/src/lte/helper/epc-helper.cc +++ b/src/lte/helper/epc-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/epc-helper.h b/src/lte/helper/epc-helper.h index ab0bfa866..4707e7cb0 100644 --- a/src/lte/helper/epc-helper.h +++ b/src/lte/helper/epc-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/lte-global-pathloss-database.cc b/src/lte/helper/lte-global-pathloss-database.cc index 40eb9d327..8804dca00 100644 --- a/src/lte/helper/lte-global-pathloss-database.cc +++ b/src/lte/helper/lte-global-pathloss-database.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/lte-global-pathloss-database.h b/src/lte/helper/lte-global-pathloss-database.h index 73b5b4656..fd6ed6bb9 100644 --- a/src/lte/helper/lte-global-pathloss-database.h +++ b/src/lte/helper/lte-global-pathloss-database.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/lte-helper.cc b/src/lte/helper/lte-helper.cc index 7fb568420..03fbfbe9d 100644 --- a/src/lte/helper/lte-helper.cc +++ b/src/lte/helper/lte-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/lte-helper.h b/src/lte/helper/lte-helper.h index 24170efe3..7f93a8a0b 100644 --- a/src/lte/helper/lte-helper.h +++ b/src/lte/helper/lte-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/lte-hex-grid-enb-topology-helper.cc b/src/lte/helper/lte-hex-grid-enb-topology-helper.cc index b1d5bbe85..a68a96772 100644 --- a/src/lte/helper/lte-hex-grid-enb-topology-helper.cc +++ b/src/lte/helper/lte-hex-grid-enb-topology-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/lte-hex-grid-enb-topology-helper.h b/src/lte/helper/lte-hex-grid-enb-topology-helper.h index 5e9b2cdd0..312f1606d 100644 --- a/src/lte/helper/lte-hex-grid-enb-topology-helper.h +++ b/src/lte/helper/lte-hex-grid-enb-topology-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/lte-stats-calculator.cc b/src/lte/helper/lte-stats-calculator.cc index 71afb41e8..456f9d840 100644 --- a/src/lte/helper/lte-stats-calculator.cc +++ b/src/lte/helper/lte-stats-calculator.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/lte-stats-calculator.h b/src/lte/helper/lte-stats-calculator.h index ae0edd145..d3e5df8f9 100644 --- a/src/lte/helper/lte-stats-calculator.h +++ b/src/lte/helper/lte-stats-calculator.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/mac-stats-calculator.cc b/src/lte/helper/mac-stats-calculator.cc index a0f788c48..4c61c850c 100644 --- a/src/lte/helper/mac-stats-calculator.cc +++ b/src/lte/helper/mac-stats-calculator.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/mac-stats-calculator.h b/src/lte/helper/mac-stats-calculator.h index c61521f22..e8faa9126 100644 --- a/src/lte/helper/mac-stats-calculator.h +++ b/src/lte/helper/mac-stats-calculator.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/no-backhaul-epc-helper.cc b/src/lte/helper/no-backhaul-epc-helper.cc index d4b4686bf..98ce23bab 100644 --- a/src/lte/helper/no-backhaul-epc-helper.cc +++ b/src/lte/helper/no-backhaul-epc-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/no-backhaul-epc-helper.h b/src/lte/helper/no-backhaul-epc-helper.h index 95e6470dd..a36f44ec3 100644 --- a/src/lte/helper/no-backhaul-epc-helper.h +++ b/src/lte/helper/no-backhaul-epc-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/phy-rx-stats-calculator.cc b/src/lte/helper/phy-rx-stats-calculator.cc index 0a465b5bf..74f11f716 100644 --- a/src/lte/helper/phy-rx-stats-calculator.cc +++ b/src/lte/helper/phy-rx-stats-calculator.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/phy-rx-stats-calculator.h b/src/lte/helper/phy-rx-stats-calculator.h index ab8bd6fa8..9ff8ac52a 100644 --- a/src/lte/helper/phy-rx-stats-calculator.h +++ b/src/lte/helper/phy-rx-stats-calculator.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/phy-stats-calculator.cc b/src/lte/helper/phy-stats-calculator.cc index 9b4eb0a10..94b5f4ee7 100644 --- a/src/lte/helper/phy-stats-calculator.cc +++ b/src/lte/helper/phy-stats-calculator.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/phy-stats-calculator.h b/src/lte/helper/phy-stats-calculator.h index cb3888af6..528b11436 100644 --- a/src/lte/helper/phy-stats-calculator.h +++ b/src/lte/helper/phy-stats-calculator.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/phy-tx-stats-calculator.cc b/src/lte/helper/phy-tx-stats-calculator.cc index 90b3e316f..cbb1b5f53 100644 --- a/src/lte/helper/phy-tx-stats-calculator.cc +++ b/src/lte/helper/phy-tx-stats-calculator.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/phy-tx-stats-calculator.h b/src/lte/helper/phy-tx-stats-calculator.h index f9169b9a2..04b06cfb5 100644 --- a/src/lte/helper/phy-tx-stats-calculator.h +++ b/src/lte/helper/phy-tx-stats-calculator.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/point-to-point-epc-helper.cc b/src/lte/helper/point-to-point-epc-helper.cc index 45e2ccccb..f06d170a0 100644 --- a/src/lte/helper/point-to-point-epc-helper.cc +++ b/src/lte/helper/point-to-point-epc-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/point-to-point-epc-helper.h b/src/lte/helper/point-to-point-epc-helper.h index 898ff6a91..e98d89ce0 100644 --- a/src/lte/helper/point-to-point-epc-helper.h +++ b/src/lte/helper/point-to-point-epc-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/radio-bearer-stats-calculator.cc b/src/lte/helper/radio-bearer-stats-calculator.cc index 656e6b4f2..86d83920f 100644 --- a/src/lte/helper/radio-bearer-stats-calculator.cc +++ b/src/lte/helper/radio-bearer-stats-calculator.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/radio-bearer-stats-calculator.h b/src/lte/helper/radio-bearer-stats-calculator.h index af70c4d92..02cabb0d5 100644 --- a/src/lte/helper/radio-bearer-stats-calculator.h +++ b/src/lte/helper/radio-bearer-stats-calculator.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/radio-bearer-stats-connector.cc b/src/lte/helper/radio-bearer-stats-connector.cc index 8d9bec187..8087eda10 100644 --- a/src/lte/helper/radio-bearer-stats-connector.cc +++ b/src/lte/helper/radio-bearer-stats-connector.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/radio-bearer-stats-connector.h b/src/lte/helper/radio-bearer-stats-connector.h index 51164fee1..95b48bfcc 100644 --- a/src/lte/helper/radio-bearer-stats-connector.h +++ b/src/lte/helper/radio-bearer-stats-connector.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/helper/radio-environment-map-helper.cc b/src/lte/helper/radio-environment-map-helper.cc index c778dbb9c..ace923ab1 100644 --- a/src/lte/helper/radio-environment-map-helper.cc +++ b/src/lte/helper/radio-environment-map-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 CTTC * diff --git a/src/lte/helper/radio-environment-map-helper.h b/src/lte/helper/radio-environment-map-helper.h index 3d1c74ed4..860359c18 100644 --- a/src/lte/helper/radio-environment-map-helper.h +++ b/src/lte/helper/radio-environment-map-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/a2-a4-rsrq-handover-algorithm.cc b/src/lte/model/a2-a4-rsrq-handover-algorithm.cc index f552e1351..0b0f93d37 100644 --- a/src/lte/model/a2-a4-rsrq-handover-algorithm.cc +++ b/src/lte/model/a2-a4-rsrq-handover-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2013 Budiarto Herman diff --git a/src/lte/model/a2-a4-rsrq-handover-algorithm.h b/src/lte/model/a2-a4-rsrq-handover-algorithm.h index 1301486fa..e226b9712 100644 --- a/src/lte/model/a2-a4-rsrq-handover-algorithm.h +++ b/src/lte/model/a2-a4-rsrq-handover-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2013 Budiarto Herman diff --git a/src/lte/model/a3-rsrp-handover-algorithm.cc b/src/lte/model/a3-rsrp-handover-algorithm.cc index 8b829f08d..778e72c5a 100644 --- a/src/lte/model/a3-rsrp-handover-algorithm.cc +++ b/src/lte/model/a3-rsrp-handover-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/a3-rsrp-handover-algorithm.h b/src/lte/model/a3-rsrp-handover-algorithm.h index ba32fd004..eaa46f8d1 100644 --- a/src/lte/model/a3-rsrp-handover-algorithm.h +++ b/src/lte/model/a3-rsrp-handover-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/component-carrier-enb.cc b/src/lte/model/component-carrier-enb.cc index 8b779e4b5..c29019a8c 100644 --- a/src/lte/model/component-carrier-enb.cc +++ b/src/lte/model/component-carrier-enb.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/component-carrier-enb.h b/src/lte/model/component-carrier-enb.h index 401878fc5..d0c74cc76 100644 --- a/src/lte/model/component-carrier-enb.h +++ b/src/lte/model/component-carrier-enb.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/component-carrier-ue.cc b/src/lte/model/component-carrier-ue.cc index 9771d1783..19902545a 100644 --- a/src/lte/model/component-carrier-ue.cc +++ b/src/lte/model/component-carrier-ue.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/component-carrier-ue.h b/src/lte/model/component-carrier-ue.h index 01526f3e5..2dcbbedba 100644 --- a/src/lte/model/component-carrier-ue.h +++ b/src/lte/model/component-carrier-ue.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/component-carrier.cc b/src/lte/model/component-carrier.cc index fcc746391..38f329fb3 100644 --- a/src/lte/model/component-carrier.cc +++ b/src/lte/model/component-carrier.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/component-carrier.h b/src/lte/model/component-carrier.h index e1a57013c..c78d0c034 100644 --- a/src/lte/model/component-carrier.h +++ b/src/lte/model/component-carrier.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/cqa-ff-mac-scheduler.cc b/src/lte/model/cqa-ff-mac-scheduler.cc index 71beb880c..e8805395d 100644 --- a/src/lte/model/cqa-ff-mac-scheduler.cc +++ b/src/lte/model/cqa-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/cqa-ff-mac-scheduler.h b/src/lte/model/cqa-ff-mac-scheduler.h index 4d1967571..4d246d55b 100644 --- a/src/lte/model/cqa-ff-mac-scheduler.h +++ b/src/lte/model/cqa-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-enb-application.cc b/src/lte/model/epc-enb-application.cc index 6364856bd..224486c74 100644 --- a/src/lte/model/epc-enb-application.cc +++ b/src/lte/model/epc-enb-application.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-enb-application.h b/src/lte/model/epc-enb-application.h index 2faecf251..b789dac9c 100644 --- a/src/lte/model/epc-enb-application.h +++ b/src/lte/model/epc-enb-application.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-enb-s1-sap.cc b/src/lte/model/epc-enb-s1-sap.cc index 97375d89d..8f794c642 100644 --- a/src/lte/model/epc-enb-s1-sap.cc +++ b/src/lte/model/epc-enb-s1-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-enb-s1-sap.h b/src/lte/model/epc-enb-s1-sap.h index 50623b700..6a6c4f7aa 100644 --- a/src/lte/model/epc-enb-s1-sap.h +++ b/src/lte/model/epc-enb-s1-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-gtpc-header.cc b/src/lte/model/epc-gtpc-header.cc index 62f083d88..e14fd33cb 100644 --- a/src/lte/model/epc-gtpc-header.cc +++ b/src/lte/model/epc-gtpc-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-gtpc-header.h b/src/lte/model/epc-gtpc-header.h index fb862f26e..e9031ed8c 100644 --- a/src/lte/model/epc-gtpc-header.h +++ b/src/lte/model/epc-gtpc-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-gtpu-header.cc b/src/lte/model/epc-gtpu-header.cc index 2cb0c42ce..79b69dc1b 100644 --- a/src/lte/model/epc-gtpu-header.cc +++ b/src/lte/model/epc-gtpu-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-gtpu-header.h b/src/lte/model/epc-gtpu-header.h index 6baeb0b28..04c0cab81 100644 --- a/src/lte/model/epc-gtpu-header.h +++ b/src/lte/model/epc-gtpu-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-mme-application.cc b/src/lte/model/epc-mme-application.cc index 65933f6ea..df1f87e21 100644 --- a/src/lte/model/epc-mme-application.cc +++ b/src/lte/model/epc-mme-application.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-mme-application.h b/src/lte/model/epc-mme-application.h index 3f1dac15c..dc1ebeab1 100644 --- a/src/lte/model/epc-mme-application.h +++ b/src/lte/model/epc-mme-application.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-pgw-application.cc b/src/lte/model/epc-pgw-application.cc index 3747655d1..46ab7eb43 100644 --- a/src/lte/model/epc-pgw-application.cc +++ b/src/lte/model/epc-pgw-application.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-pgw-application.h b/src/lte/model/epc-pgw-application.h index 4a676ec7d..683f21c5d 100644 --- a/src/lte/model/epc-pgw-application.h +++ b/src/lte/model/epc-pgw-application.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-s11-sap.cc b/src/lte/model/epc-s11-sap.cc index c779ab0d6..ef440d911 100644 --- a/src/lte/model/epc-s11-sap.cc +++ b/src/lte/model/epc-s11-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-s11-sap.h b/src/lte/model/epc-s11-sap.h index 336e16a24..659eadb98 100644 --- a/src/lte/model/epc-s11-sap.h +++ b/src/lte/model/epc-s11-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-s1ap-sap.cc b/src/lte/model/epc-s1ap-sap.cc index 35ce09b22..03f2518a6 100644 --- a/src/lte/model/epc-s1ap-sap.cc +++ b/src/lte/model/epc-s1ap-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-s1ap-sap.h b/src/lte/model/epc-s1ap-sap.h index 9042b2e68..85cec9261 100644 --- a/src/lte/model/epc-s1ap-sap.h +++ b/src/lte/model/epc-s1ap-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-sgw-application.cc b/src/lte/model/epc-sgw-application.cc index 8e9135265..a9f11d8a1 100644 --- a/src/lte/model/epc-sgw-application.cc +++ b/src/lte/model/epc-sgw-application.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-sgw-application.h b/src/lte/model/epc-sgw-application.h index 366bbb673..e60bb64c0 100644 --- a/src/lte/model/epc-sgw-application.h +++ b/src/lte/model/epc-sgw-application.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-tft-classifier.cc b/src/lte/model/epc-tft-classifier.cc index 88f5c96df..d0d9b31e2 100644 --- a/src/lte/model/epc-tft-classifier.cc +++ b/src/lte/model/epc-tft-classifier.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari diff --git a/src/lte/model/epc-tft-classifier.h b/src/lte/model/epc-tft-classifier.h index e85ddeebf..3770c7ff5 100644 --- a/src/lte/model/epc-tft-classifier.h +++ b/src/lte/model/epc-tft-classifier.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-tft.cc b/src/lte/model/epc-tft.cc index 5bc9230b8..efccd9f0b 100644 --- a/src/lte/model/epc-tft.cc +++ b/src/lte/model/epc-tft.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/lte/model/epc-tft.h b/src/lte/model/epc-tft.h index 66b943c37..28823a0d0 100644 --- a/src/lte/model/epc-tft.h +++ b/src/lte/model/epc-tft.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-ue-nas.cc b/src/lte/model/epc-ue-nas.cc index 10c209572..ce64be5a2 100644 --- a/src/lte/model/epc-ue-nas.cc +++ b/src/lte/model/epc-ue-nas.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-ue-nas.h b/src/lte/model/epc-ue-nas.h index 5fe81fc6e..6aa09f72b 100644 --- a/src/lte/model/epc-ue-nas.h +++ b/src/lte/model/epc-ue-nas.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-x2-header.cc b/src/lte/model/epc-x2-header.cc index cc42220e5..990d983d5 100644 --- a/src/lte/model/epc-x2-header.cc +++ b/src/lte/model/epc-x2-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-x2-header.h b/src/lte/model/epc-x2-header.h index c94b8ea6c..0ff114b96 100644 --- a/src/lte/model/epc-x2-header.h +++ b/src/lte/model/epc-x2-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-x2-sap.cc b/src/lte/model/epc-x2-sap.cc index 3e6440ae1..793ea2af1 100644 --- a/src/lte/model/epc-x2-sap.cc +++ b/src/lte/model/epc-x2-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-x2-sap.h b/src/lte/model/epc-x2-sap.h index a5be8e1f6..cd9400068 100644 --- a/src/lte/model/epc-x2-sap.h +++ b/src/lte/model/epc-x2-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-x2.cc b/src/lte/model/epc-x2.cc index 49e3e49e6..72e6feeea 100644 --- a/src/lte/model/epc-x2.cc +++ b/src/lte/model/epc-x2.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/epc-x2.h b/src/lte/model/epc-x2.h index 6829e4afd..891c0bbcf 100644 --- a/src/lte/model/epc-x2.h +++ b/src/lte/model/epc-x2.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/eps-bearer-tag.cc b/src/lte/model/eps-bearer-tag.cc index 493d294cd..a7e40f687 100644 --- a/src/lte/model/eps-bearer-tag.cc +++ b/src/lte/model/eps-bearer-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/eps-bearer-tag.h b/src/lte/model/eps-bearer-tag.h index 3d8a6d954..8e574a475 100644 --- a/src/lte/model/eps-bearer-tag.h +++ b/src/lte/model/eps-bearer-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/eps-bearer.cc b/src/lte/model/eps-bearer.cc index 3a60bddd3..1be8a97e6 100644 --- a/src/lte/model/eps-bearer.cc +++ b/src/lte/model/eps-bearer.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/eps-bearer.h b/src/lte/model/eps-bearer.h index b16c56bd6..4b9b7c1c9 100644 --- a/src/lte/model/eps-bearer.h +++ b/src/lte/model/eps-bearer.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/fdbet-ff-mac-scheduler.cc b/src/lte/model/fdbet-ff-mac-scheduler.cc index c8cc3fd19..fd383cb83 100644 --- a/src/lte/model/fdbet-ff-mac-scheduler.cc +++ b/src/lte/model/fdbet-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/fdbet-ff-mac-scheduler.h b/src/lte/model/fdbet-ff-mac-scheduler.h index 4887c837a..db5832b51 100644 --- a/src/lte/model/fdbet-ff-mac-scheduler.h +++ b/src/lte/model/fdbet-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/fdmt-ff-mac-scheduler.cc b/src/lte/model/fdmt-ff-mac-scheduler.cc index 16f1b75f8..bdab0ab9d 100644 --- a/src/lte/model/fdmt-ff-mac-scheduler.cc +++ b/src/lte/model/fdmt-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/fdmt-ff-mac-scheduler.h b/src/lte/model/fdmt-ff-mac-scheduler.h index 3ccee5794..fc0c9aa8e 100644 --- a/src/lte/model/fdmt-ff-mac-scheduler.h +++ b/src/lte/model/fdmt-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/fdtbfq-ff-mac-scheduler.cc b/src/lte/model/fdtbfq-ff-mac-scheduler.cc index 7be7ab872..55489a551 100644 --- a/src/lte/model/fdtbfq-ff-mac-scheduler.cc +++ b/src/lte/model/fdtbfq-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/fdtbfq-ff-mac-scheduler.h b/src/lte/model/fdtbfq-ff-mac-scheduler.h index e1cff05af..dfe7e8ab9 100644 --- a/src/lte/model/fdtbfq-ff-mac-scheduler.h +++ b/src/lte/model/fdtbfq-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/ff-mac-common.cc b/src/lte/model/ff-mac-common.cc index 79cd7fcd5..d2586c9dc 100644 --- a/src/lte/model/ff-mac-common.cc +++ b/src/lte/model/ff-mac-common.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/lte/model/ff-mac-common.h b/src/lte/model/ff-mac-common.h index b8cf0a39b..b720e0b49 100644 --- a/src/lte/model/ff-mac-common.h +++ b/src/lte/model/ff-mac-common.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/ff-mac-csched-sap.cc b/src/lte/model/ff-mac-csched-sap.cc index 29d8e5765..5d2f30fa7 100644 --- a/src/lte/model/ff-mac-csched-sap.cc +++ b/src/lte/model/ff-mac-csched-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/ff-mac-csched-sap.h b/src/lte/model/ff-mac-csched-sap.h index 22ce3ad06..0be0a2787 100644 --- a/src/lte/model/ff-mac-csched-sap.h +++ b/src/lte/model/ff-mac-csched-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/ff-mac-sched-sap.cc b/src/lte/model/ff-mac-sched-sap.cc index b9e0b4918..dd3b7984d 100644 --- a/src/lte/model/ff-mac-sched-sap.cc +++ b/src/lte/model/ff-mac-sched-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/ff-mac-sched-sap.h b/src/lte/model/ff-mac-sched-sap.h index a19524f0a..b5e4e25ab 100644 --- a/src/lte/model/ff-mac-sched-sap.h +++ b/src/lte/model/ff-mac-sched-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/ff-mac-scheduler.cc b/src/lte/model/ff-mac-scheduler.cc index 7b01740bf..a128ef59f 100644 --- a/src/lte/model/ff-mac-scheduler.cc +++ b/src/lte/model/ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/ff-mac-scheduler.h b/src/lte/model/ff-mac-scheduler.h index 114fa33c9..2d9dea43d 100644 --- a/src/lte/model/ff-mac-scheduler.h +++ b/src/lte/model/ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-amc.cc b/src/lte/model/lte-amc.cc index 2b0c4fb06..c51448b7b 100644 --- a/src/lte/model/lte-amc.cc +++ b/src/lte/model/lte-amc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-amc.h b/src/lte/model/lte-amc.h index f23c4ab88..f41ccaf08 100644 --- a/src/lte/model/lte-amc.h +++ b/src/lte/model/lte-amc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-anr-sap.cc b/src/lte/model/lte-anr-sap.cc index e76b2af55..ab2c3764f 100644 --- a/src/lte/model/lte-anr-sap.cc +++ b/src/lte/model/lte-anr-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/lte-anr-sap.h b/src/lte/model/lte-anr-sap.h index 7448a9180..ee556b66f 100644 --- a/src/lte/model/lte-anr-sap.h +++ b/src/lte/model/lte-anr-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/lte-anr.cc b/src/lte/model/lte-anr.cc index 52a264c69..73adb7c48 100644 --- a/src/lte/model/lte-anr.cc +++ b/src/lte/model/lte-anr.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2013 Budiarto Herman diff --git a/src/lte/model/lte-anr.h b/src/lte/model/lte-anr.h index 555b4f42b..3c5ae5ca1 100644 --- a/src/lte/model/lte-anr.h +++ b/src/lte/model/lte-anr.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2013 Budiarto Herman diff --git a/src/lte/model/lte-as-sap.cc b/src/lte/model/lte-as-sap.cc index 1cfad8614..a4d7e8dae 100644 --- a/src/lte/model/lte-as-sap.cc +++ b/src/lte/model/lte-as-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-as-sap.h b/src/lte/model/lte-as-sap.h index e5adbc9ea..b3ab1fac8 100644 --- a/src/lte/model/lte-as-sap.h +++ b/src/lte/model/lte-as-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-asn1-header.cc b/src/lte/model/lte-asn1-header.cc index 55799779b..ec55a0275 100644 --- a/src/lte/model/lte-asn1-header.cc +++ b/src/lte/model/lte-asn1-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-asn1-header.h b/src/lte/model/lte-asn1-header.h index 62a78cbbe..99210727c 100644 --- a/src/lte/model/lte-asn1-header.h +++ b/src/lte/model/lte-asn1-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ccm-mac-sap.cc b/src/lte/model/lte-ccm-mac-sap.cc index 87714e973..b3e319b50 100644 --- a/src/lte/model/lte-ccm-mac-sap.cc +++ b/src/lte/model/lte-ccm-mac-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-ccm-mac-sap.h b/src/lte/model/lte-ccm-mac-sap.h index eec269c9c..ce77576e0 100644 --- a/src/lte/model/lte-ccm-mac-sap.h +++ b/src/lte/model/lte-ccm-mac-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-ccm-rrc-sap.cc b/src/lte/model/lte-ccm-rrc-sap.cc index 60460e342..6ad7ffb2f 100644 --- a/src/lte/model/lte-ccm-rrc-sap.cc +++ b/src/lte/model/lte-ccm-rrc-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-ccm-rrc-sap.h b/src/lte/model/lte-ccm-rrc-sap.h index e492f42ec..70cddad05 100644 --- a/src/lte/model/lte-ccm-rrc-sap.h +++ b/src/lte/model/lte-ccm-rrc-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-chunk-processor.cc b/src/lte/model/lte-chunk-processor.cc index e6916f76a..cd7adfe99 100644 --- a/src/lte/model/lte-chunk-processor.cc +++ b/src/lte/model/lte-chunk-processor.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-chunk-processor.h b/src/lte/model/lte-chunk-processor.h index 1fa858aa2..34be275f9 100644 --- a/src/lte/model/lte-chunk-processor.h +++ b/src/lte/model/lte-chunk-processor.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-common.cc b/src/lte/model/lte-common.cc index 15bbb7181..c485e0347 100644 --- a/src/lte/model/lte-common.cc +++ b/src/lte/model/lte-common.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-common.h b/src/lte/model/lte-common.h index a0f61ca3a..d802fe66a 100644 --- a/src/lte/model/lte-common.h +++ b/src/lte/model/lte-common.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-control-messages.cc b/src/lte/model/lte-control-messages.cc index f05502248..65f516dcd 100644 --- a/src/lte/model/lte-control-messages.cc +++ b/src/lte/model/lte-control-messages.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-control-messages.h b/src/lte/model/lte-control-messages.h index e0ab91bd8..d2202a9f4 100644 --- a/src/lte/model/lte-control-messages.h +++ b/src/lte/model/lte-control-messages.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-cmac-sap.cc b/src/lte/model/lte-enb-cmac-sap.cc index 09edf3453..1faaa3272 100644 --- a/src/lte/model/lte-enb-cmac-sap.cc +++ b/src/lte/model/lte-enb-cmac-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-enb-cmac-sap.h b/src/lte/model/lte-enb-cmac-sap.h index 0ca90f9ae..50d9c05ac 100644 --- a/src/lte/model/lte-enb-cmac-sap.h +++ b/src/lte/model/lte-enb-cmac-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-enb-component-carrier-manager.cc b/src/lte/model/lte-enb-component-carrier-manager.cc index 29a416294..f41bbaa22 100644 --- a/src/lte/model/lte-enb-component-carrier-manager.cc +++ b/src/lte/model/lte-enb-component-carrier-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-enb-component-carrier-manager.h b/src/lte/model/lte-enb-component-carrier-manager.h index 10d28c08e..a92760714 100644 --- a/src/lte/model/lte-enb-component-carrier-manager.h +++ b/src/lte/model/lte-enb-component-carrier-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-enb-cphy-sap.cc b/src/lte/model/lte-enb-cphy-sap.cc index dd119ea27..bdab5be75 100644 --- a/src/lte/model/lte-enb-cphy-sap.cc +++ b/src/lte/model/lte-enb-cphy-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-enb-cphy-sap.h b/src/lte/model/lte-enb-cphy-sap.h index bd279969e..52d53fb22 100644 --- a/src/lte/model/lte-enb-cphy-sap.h +++ b/src/lte/model/lte-enb-cphy-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-enb-mac.cc b/src/lte/model/lte-enb-mac.cc index 3689af57c..ff3343a72 100644 --- a/src/lte/model/lte-enb-mac.cc +++ b/src/lte/model/lte-enb-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-enb-mac.h b/src/lte/model/lte-enb-mac.h index 82ca41197..f66947226 100644 --- a/src/lte/model/lte-enb-mac.h +++ b/src/lte/model/lte-enb-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-enb-net-device.cc b/src/lte/model/lte-enb-net-device.cc index de66e3ccb..e901294dd 100644 --- a/src/lte/model/lte-enb-net-device.cc +++ b/src/lte/model/lte-enb-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-net-device.h b/src/lte/model/lte-enb-net-device.h index b80ac9aa0..4ab32535b 100644 --- a/src/lte/model/lte-enb-net-device.h +++ b/src/lte/model/lte-enb-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-phy-sap.cc b/src/lte/model/lte-enb-phy-sap.cc index a1ef1686e..aba2e45e5 100644 --- a/src/lte/model/lte-enb-phy-sap.cc +++ b/src/lte/model/lte-enb-phy-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-enb-phy-sap.h b/src/lte/model/lte-enb-phy-sap.h index da458a349..89b5d2706 100644 --- a/src/lte/model/lte-enb-phy-sap.h +++ b/src/lte/model/lte-enb-phy-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-enb-phy.cc b/src/lte/model/lte-enb-phy.cc index e7cd2ff56..15a2b33c3 100644 --- a/src/lte/model/lte-enb-phy.cc +++ b/src/lte/model/lte-enb-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-phy.h b/src/lte/model/lte-enb-phy.h index 14c221154..388aa6c72 100644 --- a/src/lte/model/lte-enb-phy.h +++ b/src/lte/model/lte-enb-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-rrc.cc b/src/lte/model/lte-enb-rrc.cc index c47a46f56..fce6f567c 100644 --- a/src/lte/model/lte-enb-rrc.cc +++ b/src/lte/model/lte-enb-rrc.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2018 Fraunhofer ESK : RLF extensions diff --git a/src/lte/model/lte-enb-rrc.h b/src/lte/model/lte-enb-rrc.h index e63dd0afd..ff36d3699 100644 --- a/src/lte/model/lte-enb-rrc.h +++ b/src/lte/model/lte-enb-rrc.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2018 Fraunhofer ESK : RLF extensions diff --git a/src/lte/model/lte-ffr-algorithm.cc b/src/lte/model/lte-ffr-algorithm.cc index edfca4292..21decb003 100644 --- a/src/lte/model/lte-ffr-algorithm.cc +++ b/src/lte/model/lte-ffr-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-algorithm.h b/src/lte/model/lte-ffr-algorithm.h index dab0cc439..801de5fe5 100644 --- a/src/lte/model/lte-ffr-algorithm.h +++ b/src/lte/model/lte-ffr-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-distributed-algorithm.cc b/src/lte/model/lte-ffr-distributed-algorithm.cc index 463176690..45a340442 100644 --- a/src/lte/model/lte-ffr-distributed-algorithm.cc +++ b/src/lte/model/lte-ffr-distributed-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-distributed-algorithm.h b/src/lte/model/lte-ffr-distributed-algorithm.h index 9b7bc9723..daafd71c0 100644 --- a/src/lte/model/lte-ffr-distributed-algorithm.h +++ b/src/lte/model/lte-ffr-distributed-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-enhanced-algorithm.cc b/src/lte/model/lte-ffr-enhanced-algorithm.cc index 2e5a7c9f9..50d56ca83 100644 --- a/src/lte/model/lte-ffr-enhanced-algorithm.cc +++ b/src/lte/model/lte-ffr-enhanced-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-enhanced-algorithm.h b/src/lte/model/lte-ffr-enhanced-algorithm.h index 042661138..d6a0f2c26 100644 --- a/src/lte/model/lte-ffr-enhanced-algorithm.h +++ b/src/lte/model/lte-ffr-enhanced-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-rrc-sap.cc b/src/lte/model/lte-ffr-rrc-sap.cc index c26ab9277..f671b8176 100644 --- a/src/lte/model/lte-ffr-rrc-sap.cc +++ b/src/lte/model/lte-ffr-rrc-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-rrc-sap.h b/src/lte/model/lte-ffr-rrc-sap.h index 3e9757f7c..662b9588b 100644 --- a/src/lte/model/lte-ffr-rrc-sap.h +++ b/src/lte/model/lte-ffr-rrc-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-sap.cc b/src/lte/model/lte-ffr-sap.cc index e0c63b05c..d46d3de4e 100644 --- a/src/lte/model/lte-ffr-sap.cc +++ b/src/lte/model/lte-ffr-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-sap.h b/src/lte/model/lte-ffr-sap.h index e17124c2d..6a002f335 100644 --- a/src/lte/model/lte-ffr-sap.h +++ b/src/lte/model/lte-ffr-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-soft-algorithm.cc b/src/lte/model/lte-ffr-soft-algorithm.cc index 3930aec60..940353ea4 100644 --- a/src/lte/model/lte-ffr-soft-algorithm.cc +++ b/src/lte/model/lte-ffr-soft-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ffr-soft-algorithm.h b/src/lte/model/lte-ffr-soft-algorithm.h index 93ea278d0..663aa2da8 100644 --- a/src/lte/model/lte-ffr-soft-algorithm.h +++ b/src/lte/model/lte-ffr-soft-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-fr-hard-algorithm.cc b/src/lte/model/lte-fr-hard-algorithm.cc index 50d91a98e..3bc69184a 100644 --- a/src/lte/model/lte-fr-hard-algorithm.cc +++ b/src/lte/model/lte-fr-hard-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-fr-hard-algorithm.h b/src/lte/model/lte-fr-hard-algorithm.h index 412cc8cd5..d42acf313 100644 --- a/src/lte/model/lte-fr-hard-algorithm.h +++ b/src/lte/model/lte-fr-hard-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-fr-no-op-algorithm.cc b/src/lte/model/lte-fr-no-op-algorithm.cc index 732e6c303..7cd39e3ae 100644 --- a/src/lte/model/lte-fr-no-op-algorithm.cc +++ b/src/lte/model/lte-fr-no-op-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-fr-no-op-algorithm.h b/src/lte/model/lte-fr-no-op-algorithm.h index 40af1b15f..bdf4b3517 100644 --- a/src/lte/model/lte-fr-no-op-algorithm.h +++ b/src/lte/model/lte-fr-no-op-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-fr-soft-algorithm.cc b/src/lte/model/lte-fr-soft-algorithm.cc index 7f91a8e80..3f92f6d9b 100644 --- a/src/lte/model/lte-fr-soft-algorithm.cc +++ b/src/lte/model/lte-fr-soft-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-fr-soft-algorithm.h b/src/lte/model/lte-fr-soft-algorithm.h index 7274b9e3a..d42da04e1 100644 --- a/src/lte/model/lte-fr-soft-algorithm.h +++ b/src/lte/model/lte-fr-soft-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-fr-strict-algorithm.cc b/src/lte/model/lte-fr-strict-algorithm.cc index 35a4bbbb9..bd28f7418 100644 --- a/src/lte/model/lte-fr-strict-algorithm.cc +++ b/src/lte/model/lte-fr-strict-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-fr-strict-algorithm.h b/src/lte/model/lte-fr-strict-algorithm.h index 844ad2b39..2b7bc91ee 100644 --- a/src/lte/model/lte-fr-strict-algorithm.h +++ b/src/lte/model/lte-fr-strict-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-handover-algorithm.cc b/src/lte/model/lte-handover-algorithm.cc index af0cdd0a6..6e6053773 100644 --- a/src/lte/model/lte-handover-algorithm.cc +++ b/src/lte/model/lte-handover-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/lte-handover-algorithm.h b/src/lte/model/lte-handover-algorithm.h index ca177d199..29a90caee 100644 --- a/src/lte/model/lte-handover-algorithm.h +++ b/src/lte/model/lte-handover-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/lte-handover-management-sap.cc b/src/lte/model/lte-handover-management-sap.cc index ad2bf706c..696cb5509 100644 --- a/src/lte/model/lte-handover-management-sap.cc +++ b/src/lte/model/lte-handover-management-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/lte-handover-management-sap.h b/src/lte/model/lte-handover-management-sap.h index 99bb830cf..6487fafe5 100644 --- a/src/lte/model/lte-handover-management-sap.h +++ b/src/lte/model/lte-handover-management-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/lte-harq-phy.cc b/src/lte/model/lte-harq-phy.cc index 7a827fb67..dc5ae883f 100644 --- a/src/lte/model/lte-harq-phy.cc +++ b/src/lte/model/lte-harq-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-harq-phy.h b/src/lte/model/lte-harq-phy.h index 8b7ab7136..9b08b20b1 100644 --- a/src/lte/model/lte-harq-phy.h +++ b/src/lte/model/lte-harq-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-interference.cc b/src/lte/model/lte-interference.cc index 02f983e57..35c6efd44 100644 --- a/src/lte/model/lte-interference.cc +++ b/src/lte/model/lte-interference.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/lte/model/lte-interference.h b/src/lte/model/lte-interference.h index 90e8dc4ed..e52b00b36 100644 --- a/src/lte/model/lte-interference.h +++ b/src/lte/model/lte-interference.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/lte/model/lte-mac-sap.cc b/src/lte/model/lte-mac-sap.cc index f42f6ed71..80a1df5b3 100644 --- a/src/lte/model/lte-mac-sap.cc +++ b/src/lte/model/lte-mac-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-mac-sap.h b/src/lte/model/lte-mac-sap.h index bd4ff3a29..e8d3522e2 100644 --- a/src/lte/model/lte-mac-sap.h +++ b/src/lte/model/lte-mac-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-mi-error-model.cc b/src/lte/model/lte-mi-error-model.cc index 9263d1fae..8e23e159b 100644 --- a/src/lte/model/lte-mi-error-model.cc +++ b/src/lte/model/lte-mi-error-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 SIGNET LAB. Department of Information Engineering (DEI), University of Padua * diff --git a/src/lte/model/lte-mi-error-model.h b/src/lte/model/lte-mi-error-model.h index 4888df0dc..8ab0e0297 100644 --- a/src/lte/model/lte-mi-error-model.h +++ b/src/lte/model/lte-mi-error-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 SIGNET LAB. Department of Information Engineering (DEI), University of Padua * diff --git a/src/lte/model/lte-net-device.cc b/src/lte/model/lte-net-device.cc index b0ee748dc..e59891114 100644 --- a/src/lte/model/lte-net-device.cc +++ b/src/lte/model/lte-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-net-device.h b/src/lte/model/lte-net-device.h index d92f604bb..f4a319692 100644 --- a/src/lte/model/lte-net-device.h +++ b/src/lte/model/lte-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-pdcp-header.cc b/src/lte/model/lte-pdcp-header.cc index bdccf442f..ee996520a 100644 --- a/src/lte/model/lte-pdcp-header.cc +++ b/src/lte/model/lte-pdcp-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-pdcp-header.h b/src/lte/model/lte-pdcp-header.h index 4d5044775..9cc6f6bd9 100644 --- a/src/lte/model/lte-pdcp-header.h +++ b/src/lte/model/lte-pdcp-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-pdcp-sap.cc b/src/lte/model/lte-pdcp-sap.cc index a027eb24e..f67b61590 100644 --- a/src/lte/model/lte-pdcp-sap.cc +++ b/src/lte/model/lte-pdcp-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-pdcp-sap.h b/src/lte/model/lte-pdcp-sap.h index 58b214326..39cfd8346 100644 --- a/src/lte/model/lte-pdcp-sap.h +++ b/src/lte/model/lte-pdcp-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-pdcp-tag.cc b/src/lte/model/lte-pdcp-tag.cc index b72105aae..eedd6ff3f 100644 --- a/src/lte/model/lte-pdcp-tag.cc +++ b/src/lte/model/lte-pdcp-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/lte/model/lte-pdcp-tag.h b/src/lte/model/lte-pdcp-tag.h index d11e75b42..eb13eb45c 100644 --- a/src/lte/model/lte-pdcp-tag.h +++ b/src/lte/model/lte-pdcp-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/lte/model/lte-pdcp.cc b/src/lte/model/lte-pdcp.cc index daef70aed..bc6b20a99 100644 --- a/src/lte/model/lte-pdcp.cc +++ b/src/lte/model/lte-pdcp.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-pdcp.h b/src/lte/model/lte-pdcp.h index eb501d066..7786e4c13 100644 --- a/src/lte/model/lte-pdcp.h +++ b/src/lte/model/lte-pdcp.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-phy-tag.cc b/src/lte/model/lte-phy-tag.cc index c9a2ae0fa..df46cb5b2 100644 --- a/src/lte/model/lte-phy-tag.cc +++ b/src/lte/model/lte-phy-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-phy-tag.h b/src/lte/model/lte-phy-tag.h index 71d350862..a61748fb1 100644 --- a/src/lte/model/lte-phy-tag.h +++ b/src/lte/model/lte-phy-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-phy.cc b/src/lte/model/lte-phy.cc index 17f22f697..4881d4ca5 100644 --- a/src/lte/model/lte-phy.cc +++ b/src/lte/model/lte-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-phy.h b/src/lte/model/lte-phy.h index 4a3b53b9c..3ac928edf 100644 --- a/src/lte/model/lte-phy.h +++ b/src/lte/model/lte-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-radio-bearer-info.cc b/src/lte/model/lte-radio-bearer-info.cc index 9ef8486fc..2d86a4a4c 100644 --- a/src/lte/model/lte-radio-bearer-info.cc +++ b/src/lte/model/lte-radio-bearer-info.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-radio-bearer-info.h b/src/lte/model/lte-radio-bearer-info.h index 2d92746a8..113ab93ac 100644 --- a/src/lte/model/lte-radio-bearer-info.h +++ b/src/lte/model/lte-radio-bearer-info.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-radio-bearer-tag.cc b/src/lte/model/lte-radio-bearer-tag.cc index dde980c66..32c97e0db 100644 --- a/src/lte/model/lte-radio-bearer-tag.cc +++ b/src/lte/model/lte-radio-bearer-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-radio-bearer-tag.h b/src/lte/model/lte-radio-bearer-tag.h index 2e3e1da71..ce67a5a73 100644 --- a/src/lte/model/lte-radio-bearer-tag.h +++ b/src/lte/model/lte-radio-bearer-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-am-header.cc b/src/lte/model/lte-rlc-am-header.cc index 69a0cd27e..4fa417275 100644 --- a/src/lte/model/lte-rlc-am-header.cc +++ b/src/lte/model/lte-rlc-am-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-am-header.h b/src/lte/model/lte-rlc-am-header.h index 0e4f2113c..58785989a 100644 --- a/src/lte/model/lte-rlc-am-header.h +++ b/src/lte/model/lte-rlc-am-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-am.cc b/src/lte/model/lte-rlc-am.cc index e9e34e970..ba2785057 100644 --- a/src/lte/model/lte-rlc-am.cc +++ b/src/lte/model/lte-rlc-am.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-am.h b/src/lte/model/lte-rlc-am.h index 8c4fde4da..5359fa2f1 100644 --- a/src/lte/model/lte-rlc-am.h +++ b/src/lte/model/lte-rlc-am.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-header.cc b/src/lte/model/lte-rlc-header.cc index de949f682..adeea5e68 100644 --- a/src/lte/model/lte-rlc-header.cc +++ b/src/lte/model/lte-rlc-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-header.h b/src/lte/model/lte-rlc-header.h index dd9bc4adb..24ad38dbf 100644 --- a/src/lte/model/lte-rlc-header.h +++ b/src/lte/model/lte-rlc-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-sap.cc b/src/lte/model/lte-rlc-sap.cc index 093dad5b2..9ff4cf8cf 100644 --- a/src/lte/model/lte-rlc-sap.cc +++ b/src/lte/model/lte-rlc-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-sap.h b/src/lte/model/lte-rlc-sap.h index de22a5c68..af6d21092 100644 --- a/src/lte/model/lte-rlc-sap.h +++ b/src/lte/model/lte-rlc-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-sdu-status-tag.cc b/src/lte/model/lte-rlc-sdu-status-tag.cc index d658d62be..89a4dca73 100644 --- a/src/lte/model/lte-rlc-sdu-status-tag.cc +++ b/src/lte/model/lte-rlc-sdu-status-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-sdu-status-tag.h b/src/lte/model/lte-rlc-sdu-status-tag.h index 85629a415..aa7090156 100644 --- a/src/lte/model/lte-rlc-sdu-status-tag.h +++ b/src/lte/model/lte-rlc-sdu-status-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-sequence-number.cc b/src/lte/model/lte-rlc-sequence-number.cc index f44886682..90c8d7ccc 100644 --- a/src/lte/model/lte-rlc-sequence-number.cc +++ b/src/lte/model/lte-rlc-sequence-number.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-sequence-number.h b/src/lte/model/lte-rlc-sequence-number.h index 066dfad8b..6d8733836 100644 --- a/src/lte/model/lte-rlc-sequence-number.h +++ b/src/lte/model/lte-rlc-sequence-number.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-tag.cc b/src/lte/model/lte-rlc-tag.cc index b1b78f48b..beb30497a 100644 --- a/src/lte/model/lte-rlc-tag.cc +++ b/src/lte/model/lte-rlc-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/lte/model/lte-rlc-tag.h b/src/lte/model/lte-rlc-tag.h index 76f67956b..f750d5463 100644 --- a/src/lte/model/lte-rlc-tag.h +++ b/src/lte/model/lte-rlc-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/lte/model/lte-rlc-tm.cc b/src/lte/model/lte-rlc-tm.cc index f5c9ffd37..a860ed6f8 100644 --- a/src/lte/model/lte-rlc-tm.cc +++ b/src/lte/model/lte-rlc-tm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-tm.h b/src/lte/model/lte-rlc-tm.h index cc1ac3656..4683d2d49 100644 --- a/src/lte/model/lte-rlc-tm.h +++ b/src/lte/model/lte-rlc-tm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-um.cc b/src/lte/model/lte-rlc-um.cc index 525f34e95..e02953242 100644 --- a/src/lte/model/lte-rlc-um.cc +++ b/src/lte/model/lte-rlc-um.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc-um.h b/src/lte/model/lte-rlc-um.h index f57fd7ba9..47cd86419 100644 --- a/src/lte/model/lte-rlc-um.h +++ b/src/lte/model/lte-rlc-um.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc.cc b/src/lte/model/lte-rlc.cc index 86e33a8c9..b5e9cf5b5 100644 --- a/src/lte/model/lte-rlc.cc +++ b/src/lte/model/lte-rlc.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rlc.h b/src/lte/model/lte-rlc.h index b000ab071..ee45fee8a 100644 --- a/src/lte/model/lte-rlc.h +++ b/src/lte/model/lte-rlc.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rrc-header.cc b/src/lte/model/lte-rrc-header.cc index 88fdf13bf..13486e0d9 100644 --- a/src/lte/model/lte-rrc-header.cc +++ b/src/lte/model/lte-rrc-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rrc-header.h b/src/lte/model/lte-rrc-header.h index 95da8dbfd..58ab9e05f 100644 --- a/src/lte/model/lte-rrc-header.h +++ b/src/lte/model/lte-rrc-header.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rrc-protocol-ideal.cc b/src/lte/model/lte-rrc-protocol-ideal.cc index 79af3e60f..d8f346ae0 100644 --- a/src/lte/model/lte-rrc-protocol-ideal.cc +++ b/src/lte/model/lte-rrc-protocol-ideal.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rrc-protocol-ideal.h b/src/lte/model/lte-rrc-protocol-ideal.h index 44ef66272..979fc4462 100644 --- a/src/lte/model/lte-rrc-protocol-ideal.h +++ b/src/lte/model/lte-rrc-protocol-ideal.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rrc-protocol-real.cc b/src/lte/model/lte-rrc-protocol-real.cc index 37628187d..5cf0271be 100644 --- a/src/lte/model/lte-rrc-protocol-real.cc +++ b/src/lte/model/lte-rrc-protocol-real.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rrc-protocol-real.h b/src/lte/model/lte-rrc-protocol-real.h index a55b44344..26f83c887 100644 --- a/src/lte/model/lte-rrc-protocol-real.h +++ b/src/lte/model/lte-rrc-protocol-real.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rrc-sap.cc b/src/lte/model/lte-rrc-sap.cc index 6e868f531..4aaf71c1f 100644 --- a/src/lte/model/lte-rrc-sap.cc +++ b/src/lte/model/lte-rrc-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-rrc-sap.h b/src/lte/model/lte-rrc-sap.h index d0f4c4ac0..5bfdc43f4 100644 --- a/src/lte/model/lte-rrc-sap.h +++ b/src/lte/model/lte-rrc-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-spectrum-phy.cc b/src/lte/model/lte-spectrum-phy.cc index ef009d462..2c6d8cd01 100644 --- a/src/lte/model/lte-spectrum-phy.cc +++ b/src/lte/model/lte-spectrum-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2011 CTTC * diff --git a/src/lte/model/lte-spectrum-phy.h b/src/lte/model/lte-spectrum-phy.h index 8dd6fc45c..16ec2c090 100644 --- a/src/lte/model/lte-spectrum-phy.h +++ b/src/lte/model/lte-spectrum-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/lte/model/lte-spectrum-signal-parameters.cc b/src/lte/model/lte-spectrum-signal-parameters.cc index 68fd4e7e9..99a891669 100644 --- a/src/lte/model/lte-spectrum-signal-parameters.cc +++ b/src/lte/model/lte-spectrum-signal-parameters.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/lte/model/lte-spectrum-signal-parameters.h b/src/lte/model/lte-spectrum-signal-parameters.h index b4b4626f1..35f5c5fb2 100644 --- a/src/lte/model/lte-spectrum-signal-parameters.h +++ b/src/lte/model/lte-spectrum-signal-parameters.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/lte/model/lte-spectrum-value-helper.cc b/src/lte/model/lte-spectrum-value-helper.cc index 514fcfaa0..21c3ce08b 100644 --- a/src/lte/model/lte-spectrum-value-helper.cc +++ b/src/lte/model/lte-spectrum-value-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-spectrum-value-helper.h b/src/lte/model/lte-spectrum-value-helper.h index 819cc3958..eca9a01f8 100644 --- a/src/lte/model/lte-spectrum-value-helper.h +++ b/src/lte/model/lte-spectrum-value-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-ue-ccm-rrc-sap.cc b/src/lte/model/lte-ue-ccm-rrc-sap.cc index 79840e28c..d22812e55 100644 --- a/src/lte/model/lte-ue-ccm-rrc-sap.cc +++ b/src/lte/model/lte-ue-ccm-rrc-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-ue-ccm-rrc-sap.h b/src/lte/model/lte-ue-ccm-rrc-sap.h index ed39b8f00..5ac801558 100644 --- a/src/lte/model/lte-ue-ccm-rrc-sap.h +++ b/src/lte/model/lte-ue-ccm-rrc-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-ue-cmac-sap.cc b/src/lte/model/lte-ue-cmac-sap.cc index b9d8f4fa8..c55249550 100644 --- a/src/lte/model/lte-ue-cmac-sap.cc +++ b/src/lte/model/lte-ue-cmac-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ue-cmac-sap.h b/src/lte/model/lte-ue-cmac-sap.h index 34d8a6cff..20bdbc660 100644 --- a/src/lte/model/lte-ue-cmac-sap.h +++ b/src/lte/model/lte-ue-cmac-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ue-component-carrier-manager.cc b/src/lte/model/lte-ue-component-carrier-manager.cc index abeec1d14..03ba88af9 100644 --- a/src/lte/model/lte-ue-component-carrier-manager.cc +++ b/src/lte/model/lte-ue-component-carrier-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-ue-component-carrier-manager.h b/src/lte/model/lte-ue-component-carrier-manager.h index 1238505f7..52c116ee4 100644 --- a/src/lte/model/lte-ue-component-carrier-manager.h +++ b/src/lte/model/lte-ue-component-carrier-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/lte-ue-cphy-sap.cc b/src/lte/model/lte-ue-cphy-sap.cc index 2327d6bee..627c66056 100644 --- a/src/lte/model/lte-ue-cphy-sap.cc +++ b/src/lte/model/lte-ue-cphy-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ue-cphy-sap.h b/src/lte/model/lte-ue-cphy-sap.h index 025bfdb22..f67f83871 100644 --- a/src/lte/model/lte-ue-cphy-sap.h +++ b/src/lte/model/lte-ue-cphy-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ue-mac.cc b/src/lte/model/lte-ue-mac.cc index a8bacfe77..042bd5fbc 100644 --- a/src/lte/model/lte-ue-mac.cc +++ b/src/lte/model/lte-ue-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ue-mac.h b/src/lte/model/lte-ue-mac.h index f2a96a2db..4cd3eda1e 100644 --- a/src/lte/model/lte-ue-mac.h +++ b/src/lte/model/lte-ue-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ue-net-device.cc b/src/lte/model/lte-ue-net-device.cc index a0b56af08..f02206d1e 100644 --- a/src/lte/model/lte-ue-net-device.cc +++ b/src/lte/model/lte-ue-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-ue-net-device.h b/src/lte/model/lte-ue-net-device.h index 6da47e48a..9c938ddd3 100644 --- a/src/lte/model/lte-ue-net-device.h +++ b/src/lte/model/lte-ue-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-ue-phy-sap.cc b/src/lte/model/lte-ue-phy-sap.cc index 87ccba15d..5d495cc73 100644 --- a/src/lte/model/lte-ue-phy-sap.cc +++ b/src/lte/model/lte-ue-phy-sap.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ue-phy-sap.h b/src/lte/model/lte-ue-phy-sap.h index 7325e2206..93c81bff1 100644 --- a/src/lte/model/lte-ue-phy-sap.h +++ b/src/lte/model/lte-ue-phy-sap.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-ue-phy.cc b/src/lte/model/lte-ue-phy.cc index 1ee272fed..de49b4e68 100644 --- a/src/lte/model/lte-ue-phy.cc +++ b/src/lte/model/lte-ue-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * Copyright (c) 2018 Fraunhofer ESK : RLF extensions diff --git a/src/lte/model/lte-ue-phy.h b/src/lte/model/lte-ue-phy.h index 0a6519c05..0fdd438c3 100644 --- a/src/lte/model/lte-ue-phy.h +++ b/src/lte/model/lte-ue-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * Copyright (c) 2018 Fraunhofer ESK : RLF extensions diff --git a/src/lte/model/lte-ue-power-control.cc b/src/lte/model/lte-ue-power-control.cc index 80fc9746d..dbcad0cf1 100644 --- a/src/lte/model/lte-ue-power-control.cc +++ b/src/lte/model/lte-ue-power-control.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ue-power-control.h b/src/lte/model/lte-ue-power-control.h index 31cbcae84..17ef87ab2 100644 --- a/src/lte/model/lte-ue-power-control.h +++ b/src/lte/model/lte-ue-power-control.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/model/lte-ue-rrc.cc b/src/lte/model/lte-ue-rrc.cc index 00e4d39c7..d2ef512f5 100644 --- a/src/lte/model/lte-ue-rrc.cc +++ b/src/lte/model/lte-ue-rrc.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2018 Fraunhofer ESK : RLF extensions diff --git a/src/lte/model/lte-ue-rrc.h b/src/lte/model/lte-ue-rrc.h index f45aca4c7..ad8ffb704 100644 --- a/src/lte/model/lte-ue-rrc.h +++ b/src/lte/model/lte-ue-rrc.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2018 Fraunhofer ESK : RLF extensions diff --git a/src/lte/model/lte-vendor-specific-parameters.cc b/src/lte/model/lte-vendor-specific-parameters.cc index 1e9d4d07f..3176a366a 100644 --- a/src/lte/model/lte-vendor-specific-parameters.cc +++ b/src/lte/model/lte-vendor-specific-parameters.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/lte-vendor-specific-parameters.h b/src/lte/model/lte-vendor-specific-parameters.h index 0c7d8fc51..c2e155fa4 100644 --- a/src/lte/model/lte-vendor-specific-parameters.h +++ b/src/lte/model/lte-vendor-specific-parameters.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/no-op-component-carrier-manager.cc b/src/lte/model/no-op-component-carrier-manager.cc index 5311dacf4..c8215dc16 100644 --- a/src/lte/model/no-op-component-carrier-manager.cc +++ b/src/lte/model/no-op-component-carrier-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * Copyright (c) 2016 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) diff --git a/src/lte/model/no-op-component-carrier-manager.h b/src/lte/model/no-op-component-carrier-manager.h index 044de8cf0..5c9ed42a5 100644 --- a/src/lte/model/no-op-component-carrier-manager.h +++ b/src/lte/model/no-op-component-carrier-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * Copyright (c) 2016 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) diff --git a/src/lte/model/no-op-handover-algorithm.cc b/src/lte/model/no-op-handover-algorithm.cc index c9ecf04bb..507803ed3 100644 --- a/src/lte/model/no-op-handover-algorithm.cc +++ b/src/lte/model/no-op-handover-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/no-op-handover-algorithm.h b/src/lte/model/no-op-handover-algorithm.h index b9592d676..4f5172366 100644 --- a/src/lte/model/no-op-handover-algorithm.h +++ b/src/lte/model/no-op-handover-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/model/pf-ff-mac-scheduler.cc b/src/lte/model/pf-ff-mac-scheduler.cc index ae8d3d14a..542f57685 100644 --- a/src/lte/model/pf-ff-mac-scheduler.cc +++ b/src/lte/model/pf-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/pf-ff-mac-scheduler.h b/src/lte/model/pf-ff-mac-scheduler.h index 51403308d..10ab4a115 100644 --- a/src/lte/model/pf-ff-mac-scheduler.h +++ b/src/lte/model/pf-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/pss-ff-mac-scheduler.cc b/src/lte/model/pss-ff-mac-scheduler.cc index 3d6bdcc79..5c65934e6 100644 --- a/src/lte/model/pss-ff-mac-scheduler.cc +++ b/src/lte/model/pss-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/pss-ff-mac-scheduler.h b/src/lte/model/pss-ff-mac-scheduler.h index 6589a9e8e..ab4950030 100644 --- a/src/lte/model/pss-ff-mac-scheduler.h +++ b/src/lte/model/pss-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/rem-spectrum-phy.cc b/src/lte/model/rem-spectrum-phy.cc index e99770cbc..5a7d482c1 100644 --- a/src/lte/model/rem-spectrum-phy.cc +++ b/src/lte/model/rem-spectrum-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/lte/model/rem-spectrum-phy.h b/src/lte/model/rem-spectrum-phy.h index ede60b561..cf97b3586 100644 --- a/src/lte/model/rem-spectrum-phy.h +++ b/src/lte/model/rem-spectrum-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 CTTC * diff --git a/src/lte/model/rr-ff-mac-scheduler.cc b/src/lte/model/rr-ff-mac-scheduler.cc index d078a7f18..95a156db3 100644 --- a/src/lte/model/rr-ff-mac-scheduler.cc +++ b/src/lte/model/rr-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/rr-ff-mac-scheduler.h b/src/lte/model/rr-ff-mac-scheduler.h index 0ef600132..e4c20fba5 100644 --- a/src/lte/model/rr-ff-mac-scheduler.h +++ b/src/lte/model/rr-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/simple-ue-component-carrier-manager.cc b/src/lte/model/simple-ue-component-carrier-manager.cc index e523a3461..87916495b 100644 --- a/src/lte/model/simple-ue-component-carrier-manager.cc +++ b/src/lte/model/simple-ue-component-carrier-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/simple-ue-component-carrier-manager.h b/src/lte/model/simple-ue-component-carrier-manager.h index f6c2a0a8f..6f783bb0e 100644 --- a/src/lte/model/simple-ue-component-carrier-manager.h +++ b/src/lte/model/simple-ue-component-carrier-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Danilo Abrignani * diff --git a/src/lte/model/tdbet-ff-mac-scheduler.cc b/src/lte/model/tdbet-ff-mac-scheduler.cc index 7e067fd7c..244feca3c 100644 --- a/src/lte/model/tdbet-ff-mac-scheduler.cc +++ b/src/lte/model/tdbet-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/tdbet-ff-mac-scheduler.h b/src/lte/model/tdbet-ff-mac-scheduler.h index f5a55c201..55f8d66fb 100644 --- a/src/lte/model/tdbet-ff-mac-scheduler.h +++ b/src/lte/model/tdbet-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/tdmt-ff-mac-scheduler.cc b/src/lte/model/tdmt-ff-mac-scheduler.cc index 23236d30f..724fd75e2 100644 --- a/src/lte/model/tdmt-ff-mac-scheduler.cc +++ b/src/lte/model/tdmt-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/tdmt-ff-mac-scheduler.h b/src/lte/model/tdmt-ff-mac-scheduler.h index 63a4a74d2..06a6c3881 100644 --- a/src/lte/model/tdmt-ff-mac-scheduler.h +++ b/src/lte/model/tdmt-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/tdtbfq-ff-mac-scheduler.cc b/src/lte/model/tdtbfq-ff-mac-scheduler.cc index 6b347e11f..800206cd3 100644 --- a/src/lte/model/tdtbfq-ff-mac-scheduler.cc +++ b/src/lte/model/tdtbfq-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/tdtbfq-ff-mac-scheduler.h b/src/lte/model/tdtbfq-ff-mac-scheduler.h index b3391302a..c7cf9838b 100644 --- a/src/lte/model/tdtbfq-ff-mac-scheduler.h +++ b/src/lte/model/tdtbfq-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/tta-ff-mac-scheduler.cc b/src/lte/model/tta-ff-mac-scheduler.cc index 4bd4684ac..c676044ed 100644 --- a/src/lte/model/tta-ff-mac-scheduler.cc +++ b/src/lte/model/tta-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/model/tta-ff-mac-scheduler.h b/src/lte/model/tta-ff-mac-scheduler.h index 9338bbd4e..ce411d9b9 100644 --- a/src/lte/model/tta-ff-mac-scheduler.h +++ b/src/lte/model/tta-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/epc-test-gtpu.cc b/src/lte/test/epc-test-gtpu.cc index 70b4ae64b..b0dcb6333 100644 --- a/src/lte/test/epc-test-gtpu.cc +++ b/src/lte/test/epc-test-gtpu.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/epc-test-gtpu.h b/src/lte/test/epc-test-gtpu.h index 27b8d45a7..36d155c17 100644 --- a/src/lte/test/epc-test-gtpu.h +++ b/src/lte/test/epc-test-gtpu.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/epc-test-s1u-downlink.cc b/src/lte/test/epc-test-s1u-downlink.cc index 8345a7080..e8a29c9fa 100644 --- a/src/lte/test/epc-test-s1u-downlink.cc +++ b/src/lte/test/epc-test-s1u-downlink.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/epc-test-s1u-uplink.cc b/src/lte/test/epc-test-s1u-uplink.cc index 008020bd5..5c4ae74aa 100644 --- a/src/lte/test/epc-test-s1u-uplink.cc +++ b/src/lte/test/epc-test-s1u-uplink.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) diff --git a/src/lte/test/lte-ffr-simple.cc b/src/lte/test/lte-ffr-simple.cc index 6b6c8d798..faf08bf74 100644 --- a/src/lte/test/lte-ffr-simple.cc +++ b/src/lte/test/lte-ffr-simple.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-ffr-simple.h b/src/lte/test/lte-ffr-simple.h index 664925b27..5eff41a04 100644 --- a/src/lte/test/lte-ffr-simple.h +++ b/src/lte/test/lte-ffr-simple.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-simple-helper.cc b/src/lte/test/lte-simple-helper.cc index 545a3ce45..fa98fe77c 100644 --- a/src/lte/test/lte-simple-helper.cc +++ b/src/lte/test/lte-simple-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-simple-helper.h b/src/lte/test/lte-simple-helper.h index c4fe4a9b8..56dbe8042 100644 --- a/src/lte/test/lte-simple-helper.h +++ b/src/lte/test/lte-simple-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-simple-net-device.cc b/src/lte/test/lte-simple-net-device.cc index 45041fd1a..482cade30 100644 --- a/src/lte/test/lte-simple-net-device.cc +++ b/src/lte/test/lte-simple-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-simple-net-device.h b/src/lte/test/lte-simple-net-device.h index 2ad2309ae..8061f5414 100644 --- a/src/lte/test/lte-simple-net-device.h +++ b/src/lte/test/lte-simple-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-simple-spectrum-phy.cc b/src/lte/test/lte-simple-spectrum-phy.cc index 9cd5ed911..600c64b36 100644 --- a/src/lte/test/lte-simple-spectrum-phy.cc +++ b/src/lte/test/lte-simple-spectrum-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-simple-spectrum-phy.h b/src/lte/test/lte-simple-spectrum-phy.h index 5a2a4ebcc..a625947ad 100644 --- a/src/lte/test/lte-simple-spectrum-phy.h +++ b/src/lte/test/lte-simple-spectrum-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-aggregation-throughput-scale.cc b/src/lte/test/lte-test-aggregation-throughput-scale.cc index 6ca437e1c..5e0d0931d 100644 --- a/src/lte/test/lte-test-aggregation-throughput-scale.cc +++ b/src/lte/test/lte-test-aggregation-throughput-scale.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Alexander Krotov * diff --git a/src/lte/test/lte-test-aggregation-throughput-scale.h b/src/lte/test/lte-test-aggregation-throughput-scale.h index 829e3d2dd..84f61d66d 100644 --- a/src/lte/test/lte-test-aggregation-throughput-scale.h +++ b/src/lte/test/lte-test-aggregation-throughput-scale.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Alexander Krotov * diff --git a/src/lte/test/lte-test-carrier-aggregation-configuration.cc b/src/lte/test/lte-test-carrier-aggregation-configuration.cc index 4869d2738..3c89094d7 100644 --- a/src/lte/test/lte-test-carrier-aggregation-configuration.cc +++ b/src/lte/test/lte-test-carrier-aggregation-configuration.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-carrier-aggregation.cc b/src/lte/test/lte-test-carrier-aggregation.cc index b58a81a75..f329bfbc7 100644 --- a/src/lte/test/lte-test-carrier-aggregation.cc +++ b/src/lte/test/lte-test-carrier-aggregation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-carrier-aggregation.h b/src/lte/test/lte-test-carrier-aggregation.h index cc2b4ec29..765288999 100644 --- a/src/lte/test/lte-test-carrier-aggregation.h +++ b/src/lte/test/lte-test-carrier-aggregation.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-cell-selection.cc b/src/lte/test/lte-test-cell-selection.cc index a174349b0..5c686354b 100644 --- a/src/lte/test/lte-test-cell-selection.cc +++ b/src/lte/test/lte-test-cell-selection.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/test/lte-test-cell-selection.h b/src/lte/test/lte-test-cell-selection.h index 80cc4a4b7..a561d97cb 100644 --- a/src/lte/test/lte-test-cell-selection.h +++ b/src/lte/test/lte-test-cell-selection.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/test/lte-test-cqa-ff-mac-scheduler.cc b/src/lte/test/lte-test-cqa-ff-mac-scheduler.cc index 4600814a8..8d709bbd2 100644 --- a/src/lte/test/lte-test-cqa-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-cqa-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-cqa-ff-mac-scheduler.h b/src/lte/test/lte-test-cqa-ff-mac-scheduler.h index 693bb02b4..4d365cd34 100644 --- a/src/lte/test/lte-test-cqa-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-cqa-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-cqi-generation.cc b/src/lte/test/lte-test-cqi-generation.cc index efb0a2a8f..97dc4f319 100644 --- a/src/lte/test/lte-test-cqi-generation.cc +++ b/src/lte/test/lte-test-cqi-generation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-cqi-generation.h b/src/lte/test/lte-test-cqi-generation.h index ce3f9cc89..5e7c3e9f3 100644 --- a/src/lte/test/lte-test-cqi-generation.h +++ b/src/lte/test/lte-test-cqi-generation.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-deactivate-bearer.cc b/src/lte/test/lte-test-deactivate-bearer.cc index e9ba59ccc..8ac0b5c00 100644 --- a/src/lte/test/lte-test-deactivate-bearer.cc +++ b/src/lte/test/lte-test-deactivate-bearer.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-deactivate-bearer.h b/src/lte/test/lte-test-deactivate-bearer.h index 8d88b5ff1..4a88d518f 100644 --- a/src/lte/test/lte-test-deactivate-bearer.h +++ b/src/lte/test/lte-test-deactivate-bearer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #ifndef LENA_TEST_DEACTIVATE_BEARER_H #define LENA_TEST_DEACTIVATE_BEARER_H diff --git a/src/lte/test/lte-test-downlink-power-control.cc b/src/lte/test/lte-test-downlink-power-control.cc index 9f545ec65..a8296a931 100644 --- a/src/lte/test/lte-test-downlink-power-control.cc +++ b/src/lte/test/lte-test-downlink-power-control.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-downlink-power-control.h b/src/lte/test/lte-test-downlink-power-control.h index f5a325443..a909d98f4 100644 --- a/src/lte/test/lte-test-downlink-power-control.h +++ b/src/lte/test/lte-test-downlink-power-control.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-downlink-sinr.cc b/src/lte/test/lte-test-downlink-sinr.cc index 75a971d16..5d95f14e2 100644 --- a/src/lte/test/lte-test-downlink-sinr.cc +++ b/src/lte/test/lte-test-downlink-sinr.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-downlink-sinr.h b/src/lte/test/lte-test-downlink-sinr.h index 7434a88eb..7f17cdfff 100644 --- a/src/lte/test/lte-test-downlink-sinr.h +++ b/src/lte/test/lte-test-downlink-sinr.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-earfcn.cc b/src/lte/test/lte-test-earfcn.cc index d7a58b25f..9ff1a87cd 100644 --- a/src/lte/test/lte-test-earfcn.cc +++ b/src/lte/test/lte-test-earfcn.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-entities.cc b/src/lte/test/lte-test-entities.cc index c63a59203..f1863b126 100644 --- a/src/lte/test/lte-test-entities.cc +++ b/src/lte/test/lte-test-entities.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-entities.h b/src/lte/test/lte-test-entities.h index 01ec6b111..1bf2b1b7e 100644 --- a/src/lte/test/lte-test-entities.h +++ b/src/lte/test/lte-test-entities.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-fdbet-ff-mac-scheduler.cc b/src/lte/test/lte-test-fdbet-ff-mac-scheduler.cc index f40981d36..45776e921 100644 --- a/src/lte/test/lte-test-fdbet-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-fdbet-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-fdbet-ff-mac-scheduler.h b/src/lte/test/lte-test-fdbet-ff-mac-scheduler.h index bc0b39587..4fc76d975 100644 --- a/src/lte/test/lte-test-fdbet-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-fdbet-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-fdmt-ff-mac-scheduler.cc b/src/lte/test/lte-test-fdmt-ff-mac-scheduler.cc index 7f2502aa8..0dec071b1 100644 --- a/src/lte/test/lte-test-fdmt-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-fdmt-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-fdmt-ff-mac-scheduler.h b/src/lte/test/lte-test-fdmt-ff-mac-scheduler.h index c2a0c9672..0b020b1b9 100644 --- a/src/lte/test/lte-test-fdmt-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-fdmt-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.cc b/src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.cc index 364fae98a..3aff95fbe 100644 --- a/src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.h b/src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.h index 06c20b4f0..979c788f4 100644 --- a/src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-frequency-reuse.cc b/src/lte/test/lte-test-frequency-reuse.cc index 0bf87335f..a5691ff29 100644 --- a/src/lte/test/lte-test-frequency-reuse.cc +++ b/src/lte/test/lte-test-frequency-reuse.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-frequency-reuse.h b/src/lte/test/lte-test-frequency-reuse.h index b8c851084..577a35151 100644 --- a/src/lte/test/lte-test-frequency-reuse.h +++ b/src/lte/test/lte-test-frequency-reuse.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-harq.cc b/src/lte/test/lte-test-harq.cc index c4a5e7b68..cfcc69be6 100644 --- a/src/lte/test/lte-test-harq.cc +++ b/src/lte/test/lte-test-harq.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-harq.h b/src/lte/test/lte-test-harq.h index 807a0cd3f..7cd59342d 100644 --- a/src/lte/test/lte-test-harq.h +++ b/src/lte/test/lte-test-harq.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-interference-fr.cc b/src/lte/test/lte-test-interference-fr.cc index 5360cba24..1ca603887 100644 --- a/src/lte/test/lte-test-interference-fr.cc +++ b/src/lte/test/lte-test-interference-fr.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-interference-fr.h b/src/lte/test/lte-test-interference-fr.h index e1a04620e..f59f50acb 100644 --- a/src/lte/test/lte-test-interference-fr.h +++ b/src/lte/test/lte-test-interference-fr.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-interference.cc b/src/lte/test/lte-test-interference.cc index 7f82c3e61..d0ce8193b 100644 --- a/src/lte/test/lte-test-interference.cc +++ b/src/lte/test/lte-test-interference.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-interference.h b/src/lte/test/lte-test-interference.h index 2f20b2fb5..a41d6b5f7 100644 --- a/src/lte/test/lte-test-interference.h +++ b/src/lte/test/lte-test-interference.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-ipv6-routing.cc b/src/lte/test/lte-test-ipv6-routing.cc index 0fd1b0c7f..995499206 100644 --- a/src/lte/test/lte-test-ipv6-routing.cc +++ b/src/lte/test/lte-test-ipv6-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Jadavpur University, India * diff --git a/src/lte/test/lte-test-link-adaptation.cc b/src/lte/test/lte-test-link-adaptation.cc index 41c4a8ba1..fffb3a483 100644 --- a/src/lte/test/lte-test-link-adaptation.cc +++ b/src/lte/test/lte-test-link-adaptation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-link-adaptation.h b/src/lte/test/lte-test-link-adaptation.h index c5387f13c..9edd3ac53 100644 --- a/src/lte/test/lte-test-link-adaptation.h +++ b/src/lte/test/lte-test-link-adaptation.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-mimo.cc b/src/lte/test/lte-test-mimo.cc index b1ccbd4b6..8ac10c09c 100644 --- a/src/lte/test/lte-test-mimo.cc +++ b/src/lte/test/lte-test-mimo.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-mimo.h b/src/lte/test/lte-test-mimo.h index a43eba402..12e84375d 100644 --- a/src/lte/test/lte-test-mimo.h +++ b/src/lte/test/lte-test-mimo.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-pathloss-model.cc b/src/lte/test/lte-test-pathloss-model.cc index 3f4ef4ed2..ae9d24a36 100644 --- a/src/lte/test/lte-test-pathloss-model.cc +++ b/src/lte/test/lte-test-pathloss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-pathloss-model.h b/src/lte/test/lte-test-pathloss-model.h index ad0df7479..b3003884e 100644 --- a/src/lte/test/lte-test-pathloss-model.h +++ b/src/lte/test/lte-test-pathloss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-pf-ff-mac-scheduler.cc b/src/lte/test/lte-test-pf-ff-mac-scheduler.cc index a1ab4138f..ba3b8f916 100644 --- a/src/lte/test/lte-test-pf-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-pf-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-pf-ff-mac-scheduler.h b/src/lte/test/lte-test-pf-ff-mac-scheduler.h index f8e448589..f86f3a295 100644 --- a/src/lte/test/lte-test-pf-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-pf-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-phy-error-model.cc b/src/lte/test/lte-test-phy-error-model.cc index 9f0c2b4aa..e9b0c487a 100644 --- a/src/lte/test/lte-test-phy-error-model.cc +++ b/src/lte/test/lte-test-phy-error-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-phy-error-model.h b/src/lte/test/lte-test-phy-error-model.h index 39fcea5ff..4b194b668 100644 --- a/src/lte/test/lte-test-phy-error-model.h +++ b/src/lte/test/lte-test-phy-error-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-primary-cell-change.cc b/src/lte/test/lte-test-primary-cell-change.cc index 48648ef8a..16bb0d9fa 100644 --- a/src/lte/test/lte-test-primary-cell-change.cc +++ b/src/lte/test/lte-test-primary-cell-change.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Alexander Krotov * diff --git a/src/lte/test/lte-test-primary-cell-change.h b/src/lte/test/lte-test-primary-cell-change.h index daa0afcc3..2de75d0b8 100644 --- a/src/lte/test/lte-test-primary-cell-change.h +++ b/src/lte/test/lte-test-primary-cell-change.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Alexander Krotov * diff --git a/src/lte/test/lte-test-pss-ff-mac-scheduler.cc b/src/lte/test/lte-test-pss-ff-mac-scheduler.cc index 0c69068d9..144ec4214 100644 --- a/src/lte/test/lte-test-pss-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-pss-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-pss-ff-mac-scheduler.h b/src/lte/test/lte-test-pss-ff-mac-scheduler.h index 47153db40..24e7c979c 100644 --- a/src/lte/test/lte-test-pss-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-pss-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-radio-link-failure.cc b/src/lte/test/lte-test-radio-link-failure.cc index e9efc0cc3..40af3a776 100644 --- a/src/lte/test/lte-test-radio-link-failure.cc +++ b/src/lte/test/lte-test-radio-link-failure.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Fraunhofer ESK * diff --git a/src/lte/test/lte-test-radio-link-failure.h b/src/lte/test/lte-test-radio-link-failure.h index 51a5a7333..abda23397 100644 --- a/src/lte/test/lte-test-radio-link-failure.h +++ b/src/lte/test/lte-test-radio-link-failure.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Fraunhofer ESK * diff --git a/src/lte/test/lte-test-rlc-am-e2e.cc b/src/lte/test/lte-test-rlc-am-e2e.cc index be9b9b437..4ee632cbc 100644 --- a/src/lte/test/lte-test-rlc-am-e2e.cc +++ b/src/lte/test/lte-test-rlc-am-e2e.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rlc-am-e2e.h b/src/lte/test/lte-test-rlc-am-e2e.h index beb6a25c3..71c99d028 100644 --- a/src/lte/test/lte-test-rlc-am-e2e.h +++ b/src/lte/test/lte-test-rlc-am-e2e.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rlc-am-transmitter.cc b/src/lte/test/lte-test-rlc-am-transmitter.cc index e5c4c9f1b..c3c08fcbd 100644 --- a/src/lte/test/lte-test-rlc-am-transmitter.cc +++ b/src/lte/test/lte-test-rlc-am-transmitter.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rlc-am-transmitter.h b/src/lte/test/lte-test-rlc-am-transmitter.h index 8261d0e7a..09e78e9b3 100644 --- a/src/lte/test/lte-test-rlc-am-transmitter.h +++ b/src/lte/test/lte-test-rlc-am-transmitter.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rlc-um-e2e.cc b/src/lte/test/lte-test-rlc-um-e2e.cc index fda6fd938..c6b2f5ca7 100644 --- a/src/lte/test/lte-test-rlc-um-e2e.cc +++ b/src/lte/test/lte-test-rlc-um-e2e.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rlc-um-e2e.h b/src/lte/test/lte-test-rlc-um-e2e.h index e0c46712b..cf986985a 100644 --- a/src/lte/test/lte-test-rlc-um-e2e.h +++ b/src/lte/test/lte-test-rlc-um-e2e.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rlc-um-transmitter.cc b/src/lte/test/lte-test-rlc-um-transmitter.cc index b3e361219..4422ce605 100644 --- a/src/lte/test/lte-test-rlc-um-transmitter.cc +++ b/src/lte/test/lte-test-rlc-um-transmitter.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rlc-um-transmitter.h b/src/lte/test/lte-test-rlc-um-transmitter.h index e4a21c925..856ce5891 100644 --- a/src/lte/test/lte-test-rlc-um-transmitter.h +++ b/src/lte/test/lte-test-rlc-um-transmitter.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rr-ff-mac-scheduler.cc b/src/lte/test/lte-test-rr-ff-mac-scheduler.cc index b3271cb22..30e6e1fc7 100644 --- a/src/lte/test/lte-test-rr-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-rr-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-rr-ff-mac-scheduler.h b/src/lte/test/lte-test-rr-ff-mac-scheduler.h index b371357db..cbe7574fb 100644 --- a/src/lte/test/lte-test-rr-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-rr-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-secondary-cell-handover.cc b/src/lte/test/lte-test-secondary-cell-handover.cc index 99e1d53da..a80980359 100644 --- a/src/lte/test/lte-test-secondary-cell-handover.cc +++ b/src/lte/test/lte-test-secondary-cell-handover.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Alexander Krotov * diff --git a/src/lte/test/lte-test-secondary-cell-selection.cc b/src/lte/test/lte-test-secondary-cell-selection.cc index 130c79ed2..d0eac9aad 100644 --- a/src/lte/test/lte-test-secondary-cell-selection.cc +++ b/src/lte/test/lte-test-secondary-cell-selection.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Alexander Krotov * diff --git a/src/lte/test/lte-test-secondary-cell-selection.h b/src/lte/test/lte-test-secondary-cell-selection.h index 87848de5a..0676038d0 100644 --- a/src/lte/test/lte-test-secondary-cell-selection.h +++ b/src/lte/test/lte-test-secondary-cell-selection.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Alexander Krotov * diff --git a/src/lte/test/lte-test-spectrum-value-helper.cc b/src/lte/test/lte-test-spectrum-value-helper.cc index 093528c48..1f93aebc4 100644 --- a/src/lte/test/lte-test-spectrum-value-helper.cc +++ b/src/lte/test/lte-test-spectrum-value-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-tdbet-ff-mac-scheduler.cc b/src/lte/test/lte-test-tdbet-ff-mac-scheduler.cc index 445ca4f4b..5f8d15d5e 100644 --- a/src/lte/test/lte-test-tdbet-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-tdbet-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-tdbet-ff-mac-scheduler.h b/src/lte/test/lte-test-tdbet-ff-mac-scheduler.h index 92a988ab6..99fbc1da1 100644 --- a/src/lte/test/lte-test-tdbet-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-tdbet-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-tdmt-ff-mac-scheduler.cc b/src/lte/test/lte-test-tdmt-ff-mac-scheduler.cc index ef44da341..e84030abf 100644 --- a/src/lte/test/lte-test-tdmt-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-tdmt-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-tdmt-ff-mac-scheduler.h b/src/lte/test/lte-test-tdmt-ff-mac-scheduler.h index 2bd564a33..2667a7352 100644 --- a/src/lte/test/lte-test-tdmt-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-tdmt-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.cc b/src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.cc index df609ac21..80e9ae57a 100644 --- a/src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.h b/src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.h index e276282ef..9eac776de 100644 --- a/src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-tta-ff-mac-scheduler.cc b/src/lte/test/lte-test-tta-ff-mac-scheduler.cc index 7048e3c0d..25968e5f7 100644 --- a/src/lte/test/lte-test-tta-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-tta-ff-mac-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-tta-ff-mac-scheduler.h b/src/lte/test/lte-test-tta-ff-mac-scheduler.h index 14adff42a..f537026b8 100644 --- a/src/lte/test/lte-test-tta-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-tta-ff-mac-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-ue-measurements.cc b/src/lte/test/lte-test-ue-measurements.cc index d717f19c0..54ed02104 100644 --- a/src/lte/test/lte-test-ue-measurements.cc +++ b/src/lte/test/lte-test-ue-measurements.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-ue-measurements.h b/src/lte/test/lte-test-ue-measurements.h index c492089c8..b6020f866 100644 --- a/src/lte/test/lte-test-ue-measurements.h +++ b/src/lte/test/lte-test-ue-measurements.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-ue-phy.cc b/src/lte/test/lte-test-ue-phy.cc index ad2b6b53c..762c5d935 100644 --- a/src/lte/test/lte-test-ue-phy.cc +++ b/src/lte/test/lte-test-ue-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-ue-phy.h b/src/lte/test/lte-test-ue-phy.h index c5c154ebf..c276ae20b 100644 --- a/src/lte/test/lte-test-ue-phy.h +++ b/src/lte/test/lte-test-ue-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-uplink-power-control.cc b/src/lte/test/lte-test-uplink-power-control.cc index bbe558d8a..0661e9381 100644 --- a/src/lte/test/lte-test-uplink-power-control.cc +++ b/src/lte/test/lte-test-uplink-power-control.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-uplink-power-control.h b/src/lte/test/lte-test-uplink-power-control.h index e81ae18f0..36d4f0e9f 100644 --- a/src/lte/test/lte-test-uplink-power-control.h +++ b/src/lte/test/lte-test-uplink-power-control.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Piotr Gawlowicz * diff --git a/src/lte/test/lte-test-uplink-sinr.cc b/src/lte/test/lte-test-uplink-sinr.cc index 527dc71b7..314785c0b 100644 --- a/src/lte/test/lte-test-uplink-sinr.cc +++ b/src/lte/test/lte-test-uplink-sinr.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/lte-test-uplink-sinr.h b/src/lte/test/lte-test-uplink-sinr.h index 62f6fd63d..a3786e82e 100644 --- a/src/lte/test/lte-test-uplink-sinr.h +++ b/src/lte/test/lte-test-uplink-sinr.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/test-asn1-encoding.cc b/src/lte/test/test-asn1-encoding.cc index 7479904f1..0a0cb78a3 100644 --- a/src/lte/test/test-asn1-encoding.cc +++ b/src/lte/test/test-asn1-encoding.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/test-epc-tft-classifier.cc b/src/lte/test/test-epc-tft-classifier.cc index f0c7b8772..e71db3721 100644 --- a/src/lte/test/test-epc-tft-classifier.cc +++ b/src/lte/test/test-epc-tft-classifier.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/test-lte-antenna.cc b/src/lte/test/test-lte-antenna.cc index f3006c57f..93418b4ad 100644 --- a/src/lte/test/test-lte-antenna.cc +++ b/src/lte/test/test-lte-antenna.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/test-lte-epc-e2e-data.cc b/src/lte/test/test-lte-epc-e2e-data.cc index a5875d0f4..e3603e3ff 100644 --- a/src/lte/test/test-lte-epc-e2e-data.cc +++ b/src/lte/test/test-lte-epc-e2e-data.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/test-lte-handover-delay.cc b/src/lte/test/test-lte-handover-delay.cc index e4c26bebb..c860e2add 100644 --- a/src/lte/test/test-lte-handover-delay.cc +++ b/src/lte/test/test-lte-handover-delay.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Magister Solutions * diff --git a/src/lte/test/test-lte-handover-failure.cc b/src/lte/test/test-lte-handover-failure.cc index 7a725c3ad..6676b2b20 100644 --- a/src/lte/test/test-lte-handover-failure.cc +++ b/src/lte/test/test-lte-handover-failure.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Magister Solutions (original test-lte-handover-delay.cc) * Copyright (c) 2021 University of Washington (handover failure cases) diff --git a/src/lte/test/test-lte-handover-target.cc b/src/lte/test/test-lte-handover-target.cc index 283dd246c..9238e22bf 100644 --- a/src/lte/test/test-lte-handover-target.cc +++ b/src/lte/test/test-lte-handover-target.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * diff --git a/src/lte/test/test-lte-rlc-header.cc b/src/lte/test/test-lte-rlc-header.cc index ad5cfd063..09b6c715c 100644 --- a/src/lte/test/test-lte-rlc-header.cc +++ b/src/lte/test/test-lte-rlc-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012, 2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/test-lte-rrc.cc b/src/lte/test/test-lte-rrc.cc index 6d5c54bff..609857719 100644 --- a/src/lte/test/test-lte-rrc.cc +++ b/src/lte/test/test-lte-rrc.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/test-lte-x2-handover-measures.cc b/src/lte/test/test-lte-x2-handover-measures.cc index e084697e8..1b269c942 100644 --- a/src/lte/test/test-lte-x2-handover-measures.cc +++ b/src/lte/test/test-lte-x2-handover-measures.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/lte/test/test-lte-x2-handover.cc b/src/lte/test/test-lte-x2-handover.cc index 86e3dc6b6..e79d89102 100644 --- a/src/lte/test/test-lte-x2-handover.cc +++ b/src/lte/test/test-lte-x2-handover.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/mesh/doc/mesh.h b/src/mesh/doc/mesh.h index 537cd2dc9..cd845db16 100644 --- a/src/mesh/doc/mesh.h +++ b/src/mesh/doc/mesh.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/examples/mesh.cc b/src/mesh/examples/mesh.cc index 403f4173b..69fcd9787 100644 --- a/src/mesh/examples/mesh.cc +++ b/src/mesh/examples/mesh.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/helper/dot11s/dot11s-installer.cc b/src/mesh/helper/dot11s/dot11s-installer.cc index e39134408..1b4c370e6 100644 --- a/src/mesh/helper/dot11s/dot11s-installer.cc +++ b/src/mesh/helper/dot11s/dot11s-installer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/helper/dot11s/dot11s-installer.h b/src/mesh/helper/dot11s/dot11s-installer.h index 795d8586a..0cb51597a 100644 --- a/src/mesh/helper/dot11s/dot11s-installer.h +++ b/src/mesh/helper/dot11s/dot11s-installer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/helper/flame/flame-installer.cc b/src/mesh/helper/flame/flame-installer.cc index 472aba1fc..4728d188c 100644 --- a/src/mesh/helper/flame/flame-installer.cc +++ b/src/mesh/helper/flame/flame-installer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/helper/flame/flame-installer.h b/src/mesh/helper/flame/flame-installer.h index 177cef393..3e8272189 100644 --- a/src/mesh/helper/flame/flame-installer.h +++ b/src/mesh/helper/flame/flame-installer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/helper/mesh-helper.cc b/src/mesh/helper/mesh-helper.cc index b0cee6821..cc7dffaf3 100644 --- a/src/mesh/helper/mesh-helper.cc +++ b/src/mesh/helper/mesh-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/helper/mesh-helper.h b/src/mesh/helper/mesh-helper.h index 21199aa79..dbd02da50 100644 --- a/src/mesh/helper/mesh-helper.h +++ b/src/mesh/helper/mesh-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/helper/mesh-stack-installer.cc b/src/mesh/helper/mesh-stack-installer.cc index 3c6528c62..28b7a2829 100644 --- a/src/mesh/helper/mesh-stack-installer.cc +++ b/src/mesh/helper/mesh-stack-installer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015, Lawrence Livermore National Laboratory * diff --git a/src/mesh/helper/mesh-stack-installer.h b/src/mesh/helper/mesh-stack-installer.h index e2045b801..817188142 100644 --- a/src/mesh/helper/mesh-stack-installer.h +++ b/src/mesh/helper/mesh-stack-installer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/airtime-metric.cc b/src/mesh/model/dot11s/airtime-metric.cc index f97cd8cc0..e97ac86f8 100644 --- a/src/mesh/model/dot11s/airtime-metric.cc +++ b/src/mesh/model/dot11s/airtime-metric.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/airtime-metric.h b/src/mesh/model/dot11s/airtime-metric.h index 1f4406e63..6f1a62364 100644 --- a/src/mesh/model/dot11s/airtime-metric.h +++ b/src/mesh/model/dot11s/airtime-metric.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/dot11s-mac-header.cc b/src/mesh/model/dot11s/dot11s-mac-header.cc index 3f10a79b5..922a5bb07 100644 --- a/src/mesh/model/dot11s/dot11s-mac-header.cc +++ b/src/mesh/model/dot11s/dot11s-mac-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/dot11s-mac-header.h b/src/mesh/model/dot11s/dot11s-mac-header.h index 46b02367d..4c87a26b8 100644 --- a/src/mesh/model/dot11s/dot11s-mac-header.h +++ b/src/mesh/model/dot11s/dot11s-mac-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/dot11s.h b/src/mesh/model/dot11s/dot11s.h index 654a3fe2f..fe116fe46 100644 --- a/src/mesh/model/dot11s/dot11s.h +++ b/src/mesh/model/dot11s/dot11s.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/hwmp-protocol-mac.cc b/src/mesh/model/dot11s/hwmp-protocol-mac.cc index a57c3aaf0..4db270f45 100644 --- a/src/mesh/model/dot11s/hwmp-protocol-mac.cc +++ b/src/mesh/model/dot11s/hwmp-protocol-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/hwmp-protocol-mac.h b/src/mesh/model/dot11s/hwmp-protocol-mac.h index 40bce8fbb..7f8c23477 100644 --- a/src/mesh/model/dot11s/hwmp-protocol-mac.h +++ b/src/mesh/model/dot11s/hwmp-protocol-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/hwmp-protocol.cc b/src/mesh/model/dot11s/hwmp-protocol.cc index fdb98d4dd..11f65c12a 100644 --- a/src/mesh/model/dot11s/hwmp-protocol.cc +++ b/src/mesh/model/dot11s/hwmp-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/hwmp-protocol.h b/src/mesh/model/dot11s/hwmp-protocol.h index 6158bac53..808c55a6a 100644 --- a/src/mesh/model/dot11s/hwmp-protocol.h +++ b/src/mesh/model/dot11s/hwmp-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/hwmp-rtable.cc b/src/mesh/model/dot11s/hwmp-rtable.cc index 6c3184533..c397f8cc5 100644 --- a/src/mesh/model/dot11s/hwmp-rtable.cc +++ b/src/mesh/model/dot11s/hwmp-rtable.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/hwmp-rtable.h b/src/mesh/model/dot11s/hwmp-rtable.h index a9a701be3..f1df49ba8 100644 --- a/src/mesh/model/dot11s/hwmp-rtable.h +++ b/src/mesh/model/dot11s/hwmp-rtable.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/hwmp-tag.cc b/src/mesh/model/dot11s/hwmp-tag.cc index 3ab0ea41f..a30a6a9a3 100644 --- a/src/mesh/model/dot11s/hwmp-tag.cc +++ b/src/mesh/model/dot11s/hwmp-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/hwmp-tag.h b/src/mesh/model/dot11s/hwmp-tag.h index 8a21279fd..1c13f4d2c 100644 --- a/src/mesh/model/dot11s/hwmp-tag.h +++ b/src/mesh/model/dot11s/hwmp-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc b/src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc index 643e0bddc..a6dcfc29c 100644 --- a/src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc +++ b/src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-beacon-timing.h b/src/mesh/model/dot11s/ie-dot11s-beacon-timing.h index d8b96cc1c..60b33d565 100644 --- a/src/mesh/model/dot11s/ie-dot11s-beacon-timing.h +++ b/src/mesh/model/dot11s/ie-dot11s-beacon-timing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-configuration.cc b/src/mesh/model/dot11s/ie-dot11s-configuration.cc index 243e7e47d..39d1ea77f 100644 --- a/src/mesh/model/dot11s/ie-dot11s-configuration.cc +++ b/src/mesh/model/dot11s/ie-dot11s-configuration.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-configuration.h b/src/mesh/model/dot11s/ie-dot11s-configuration.h index ce21961d6..2a3dd2d57 100644 --- a/src/mesh/model/dot11s/ie-dot11s-configuration.h +++ b/src/mesh/model/dot11s/ie-dot11s-configuration.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-id.cc b/src/mesh/model/dot11s/ie-dot11s-id.cc index 86a00e18b..a6b8692ef 100644 --- a/src/mesh/model/dot11s/ie-dot11s-id.cc +++ b/src/mesh/model/dot11s/ie-dot11s-id.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-id.h b/src/mesh/model/dot11s/ie-dot11s-id.h index b2c9103e7..2916a9d6e 100644 --- a/src/mesh/model/dot11s/ie-dot11s-id.h +++ b/src/mesh/model/dot11s/ie-dot11s-id.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-metric-report.cc b/src/mesh/model/dot11s/ie-dot11s-metric-report.cc index fbb39e593..6e5a0ea30 100644 --- a/src/mesh/model/dot11s/ie-dot11s-metric-report.cc +++ b/src/mesh/model/dot11s/ie-dot11s-metric-report.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-metric-report.h b/src/mesh/model/dot11s/ie-dot11s-metric-report.h index 130ab45c3..f65a7301a 100644 --- a/src/mesh/model/dot11s/ie-dot11s-metric-report.h +++ b/src/mesh/model/dot11s/ie-dot11s-metric-report.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-peer-management.cc b/src/mesh/model/dot11s/ie-dot11s-peer-management.cc index a76d958dc..46975c334 100644 --- a/src/mesh/model/dot11s/ie-dot11s-peer-management.cc +++ b/src/mesh/model/dot11s/ie-dot11s-peer-management.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-peer-management.h b/src/mesh/model/dot11s/ie-dot11s-peer-management.h index fb41769db..4ca48d704 100644 --- a/src/mesh/model/dot11s/ie-dot11s-peer-management.h +++ b/src/mesh/model/dot11s/ie-dot11s-peer-management.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc b/src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc index 5c68ae251..c3ab9c7b5 100644 --- a/src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc +++ b/src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-peering-protocol.h b/src/mesh/model/dot11s/ie-dot11s-peering-protocol.h index 2838e8fdd..52dae13be 100644 --- a/src/mesh/model/dot11s/ie-dot11s-peering-protocol.h +++ b/src/mesh/model/dot11s/ie-dot11s-peering-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-perr.cc b/src/mesh/model/dot11s/ie-dot11s-perr.cc index 18da4d64a..2c40cbb0a 100644 --- a/src/mesh/model/dot11s/ie-dot11s-perr.cc +++ b/src/mesh/model/dot11s/ie-dot11s-perr.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-perr.h b/src/mesh/model/dot11s/ie-dot11s-perr.h index dfc373990..72bc3633d 100644 --- a/src/mesh/model/dot11s/ie-dot11s-perr.h +++ b/src/mesh/model/dot11s/ie-dot11s-perr.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-prep.cc b/src/mesh/model/dot11s/ie-dot11s-prep.cc index 5c2c7bd56..ca975a3f0 100644 --- a/src/mesh/model/dot11s/ie-dot11s-prep.cc +++ b/src/mesh/model/dot11s/ie-dot11s-prep.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-prep.h b/src/mesh/model/dot11s/ie-dot11s-prep.h index f1173fe5b..80331bda6 100644 --- a/src/mesh/model/dot11s/ie-dot11s-prep.h +++ b/src/mesh/model/dot11s/ie-dot11s-prep.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-preq.cc b/src/mesh/model/dot11s/ie-dot11s-preq.cc index c5400c9c0..7a3e2a34d 100644 --- a/src/mesh/model/dot11s/ie-dot11s-preq.cc +++ b/src/mesh/model/dot11s/ie-dot11s-preq.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-preq.h b/src/mesh/model/dot11s/ie-dot11s-preq.h index 0c054c7ba..a14e16668 100644 --- a/src/mesh/model/dot11s/ie-dot11s-preq.h +++ b/src/mesh/model/dot11s/ie-dot11s-preq.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-rann.cc b/src/mesh/model/dot11s/ie-dot11s-rann.cc index 29e049835..703720c68 100644 --- a/src/mesh/model/dot11s/ie-dot11s-rann.cc +++ b/src/mesh/model/dot11s/ie-dot11s-rann.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-rann.h b/src/mesh/model/dot11s/ie-dot11s-rann.h index 5d9a58e64..b7e769557 100644 --- a/src/mesh/model/dot11s/ie-dot11s-rann.h +++ b/src/mesh/model/dot11s/ie-dot11s-rann.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/peer-link-frame.cc b/src/mesh/model/dot11s/peer-link-frame.cc index 21cdfbe70..fd54f4e6e 100644 --- a/src/mesh/model/dot11s/peer-link-frame.cc +++ b/src/mesh/model/dot11s/peer-link-frame.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/peer-link-frame.h b/src/mesh/model/dot11s/peer-link-frame.h index 4b9f34cba..ae1fbd06c 100644 --- a/src/mesh/model/dot11s/peer-link-frame.h +++ b/src/mesh/model/dot11s/peer-link-frame.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/peer-link.cc b/src/mesh/model/dot11s/peer-link.cc index f10d6b939..0fd4b7412 100644 --- a/src/mesh/model/dot11s/peer-link.cc +++ b/src/mesh/model/dot11s/peer-link.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/peer-link.h b/src/mesh/model/dot11s/peer-link.h index c143eec57..321b354ba 100644 --- a/src/mesh/model/dot11s/peer-link.h +++ b/src/mesh/model/dot11s/peer-link.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/peer-management-protocol-mac.cc b/src/mesh/model/dot11s/peer-management-protocol-mac.cc index 6cea15190..141546fe4 100644 --- a/src/mesh/model/dot11s/peer-management-protocol-mac.cc +++ b/src/mesh/model/dot11s/peer-management-protocol-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/peer-management-protocol-mac.h b/src/mesh/model/dot11s/peer-management-protocol-mac.h index ac859d68f..a28ec973f 100644 --- a/src/mesh/model/dot11s/peer-management-protocol-mac.h +++ b/src/mesh/model/dot11s/peer-management-protocol-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/dot11s/peer-management-protocol.cc b/src/mesh/model/dot11s/peer-management-protocol.cc index bdf72fa54..bce832154 100644 --- a/src/mesh/model/dot11s/peer-management-protocol.cc +++ b/src/mesh/model/dot11s/peer-management-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/peer-management-protocol.h b/src/mesh/model/dot11s/peer-management-protocol.h index 6a3238e40..244e41a9d 100644 --- a/src/mesh/model/dot11s/peer-management-protocol.h +++ b/src/mesh/model/dot11s/peer-management-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/flame/flame-header.cc b/src/mesh/model/flame/flame-header.cc index 6199f2b6b..cffaf99d9 100644 --- a/src/mesh/model/flame/flame-header.cc +++ b/src/mesh/model/flame/flame-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/flame/flame-header.h b/src/mesh/model/flame/flame-header.h index 9da7b00fc..0850766bb 100644 --- a/src/mesh/model/flame/flame-header.h +++ b/src/mesh/model/flame/flame-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/flame/flame-protocol-mac.cc b/src/mesh/model/flame/flame-protocol-mac.cc index f41fce6f5..d2ab017e3 100644 --- a/src/mesh/model/flame/flame-protocol-mac.cc +++ b/src/mesh/model/flame/flame-protocol-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/flame/flame-protocol-mac.h b/src/mesh/model/flame/flame-protocol-mac.h index 8390b44e9..c91891091 100644 --- a/src/mesh/model/flame/flame-protocol-mac.h +++ b/src/mesh/model/flame/flame-protocol-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/flame/flame-protocol.cc b/src/mesh/model/flame/flame-protocol.cc index 5c6fb3e49..d4dc1cce1 100644 --- a/src/mesh/model/flame/flame-protocol.cc +++ b/src/mesh/model/flame/flame-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/flame/flame-protocol.h b/src/mesh/model/flame/flame-protocol.h index 559b25f18..6876f2423 100644 --- a/src/mesh/model/flame/flame-protocol.h +++ b/src/mesh/model/flame/flame-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/flame/flame-rtable.cc b/src/mesh/model/flame/flame-rtable.cc index 9e08a6f97..2bbc097be 100644 --- a/src/mesh/model/flame/flame-rtable.cc +++ b/src/mesh/model/flame/flame-rtable.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/flame/flame-rtable.h b/src/mesh/model/flame/flame-rtable.h index 96be6c2f8..123548b1c 100644 --- a/src/mesh/model/flame/flame-rtable.h +++ b/src/mesh/model/flame/flame-rtable.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/mesh-information-element-vector.cc b/src/mesh/model/mesh-information-element-vector.cc index f9c017b88..d6ed0e882 100644 --- a/src/mesh/model/mesh-information-element-vector.cc +++ b/src/mesh/model/mesh-information-element-vector.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/mesh-information-element-vector.h b/src/mesh/model/mesh-information-element-vector.h index 1c8a561f2..6abb7fbd6 100644 --- a/src/mesh/model/mesh-information-element-vector.h +++ b/src/mesh/model/mesh-information-element-vector.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/mesh-l2-routing-protocol.cc b/src/mesh/model/mesh-l2-routing-protocol.cc index ef68c90e0..67788dff7 100644 --- a/src/mesh/model/mesh-l2-routing-protocol.cc +++ b/src/mesh/model/mesh-l2-routing-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/mesh-l2-routing-protocol.h b/src/mesh/model/mesh-l2-routing-protocol.h index 9276d33aa..a2ecebae1 100644 --- a/src/mesh/model/mesh-l2-routing-protocol.h +++ b/src/mesh/model/mesh-l2-routing-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/mesh-point-device.cc b/src/mesh/model/mesh-point-device.cc index 7ec252bef..85dca3ae6 100644 --- a/src/mesh/model/mesh-point-device.cc +++ b/src/mesh/model/mesh-point-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/mesh-point-device.h b/src/mesh/model/mesh-point-device.h index 33a8dfa58..e186c6b2a 100644 --- a/src/mesh/model/mesh-point-device.h +++ b/src/mesh/model/mesh-point-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/mesh-wifi-beacon.cc b/src/mesh/model/mesh-wifi-beacon.cc index ef537bbf5..d8348689c 100644 --- a/src/mesh/model/mesh-wifi-beacon.cc +++ b/src/mesh/model/mesh-wifi-beacon.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/mesh-wifi-beacon.h b/src/mesh/model/mesh-wifi-beacon.h index 551e5a845..57a5ed0c3 100644 --- a/src/mesh/model/mesh-wifi-beacon.h +++ b/src/mesh/model/mesh-wifi-beacon.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/mesh-wifi-interface-mac-plugin.h b/src/mesh/model/mesh-wifi-interface-mac-plugin.h index bedb3ef3a..74dd3366d 100644 --- a/src/mesh/model/mesh-wifi-interface-mac-plugin.h +++ b/src/mesh/model/mesh-wifi-interface-mac-plugin.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/mesh-wifi-interface-mac.cc b/src/mesh/model/mesh-wifi-interface-mac.cc index 8b844c2f4..32bcaac0b 100644 --- a/src/mesh/model/mesh-wifi-interface-mac.cc +++ b/src/mesh/model/mesh-wifi-interface-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/model/mesh-wifi-interface-mac.h b/src/mesh/model/mesh-wifi-interface-mac.h index 678158b9e..8b10f2755 100644 --- a/src/mesh/model/mesh-wifi-interface-mac.h +++ b/src/mesh/model/mesh-wifi-interface-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/dot11s-test-suite.cc b/src/mesh/test/dot11s/dot11s-test-suite.cc index e25cef0a4..716f32e67 100644 --- a/src/mesh/test/dot11s/dot11s-test-suite.cc +++ b/src/mesh/test/dot11s/dot11s-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/hwmp-proactive-regression.cc b/src/mesh/test/dot11s/hwmp-proactive-regression.cc index 91e0fc9ab..2666f280b 100644 --- a/src/mesh/test/dot11s/hwmp-proactive-regression.cc +++ b/src/mesh/test/dot11s/hwmp-proactive-regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/hwmp-proactive-regression.h b/src/mesh/test/dot11s/hwmp-proactive-regression.h index 2c355971c..c3ef3a67c 100644 --- a/src/mesh/test/dot11s/hwmp-proactive-regression.h +++ b/src/mesh/test/dot11s/hwmp-proactive-regression.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/hwmp-reactive-regression.cc b/src/mesh/test/dot11s/hwmp-reactive-regression.cc index 3479d9f07..cf66beba1 100644 --- a/src/mesh/test/dot11s/hwmp-reactive-regression.cc +++ b/src/mesh/test/dot11s/hwmp-reactive-regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/hwmp-reactive-regression.h b/src/mesh/test/dot11s/hwmp-reactive-regression.h index 7c620af4f..0a8cc48a6 100644 --- a/src/mesh/test/dot11s/hwmp-reactive-regression.h +++ b/src/mesh/test/dot11s/hwmp-reactive-regression.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/hwmp-simplest-regression.cc b/src/mesh/test/dot11s/hwmp-simplest-regression.cc index d1cb1584a..c37389436 100644 --- a/src/mesh/test/dot11s/hwmp-simplest-regression.cc +++ b/src/mesh/test/dot11s/hwmp-simplest-regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/hwmp-simplest-regression.h b/src/mesh/test/dot11s/hwmp-simplest-regression.h index 8402759be..47c6ca8f8 100644 --- a/src/mesh/test/dot11s/hwmp-simplest-regression.h +++ b/src/mesh/test/dot11s/hwmp-simplest-regression.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/hwmp-target-flags-regression.cc b/src/mesh/test/dot11s/hwmp-target-flags-regression.cc index 5d5e31f1c..ce84fe1fc 100644 --- a/src/mesh/test/dot11s/hwmp-target-flags-regression.cc +++ b/src/mesh/test/dot11s/hwmp-target-flags-regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/hwmp-target-flags-regression.h b/src/mesh/test/dot11s/hwmp-target-flags-regression.h index 89c219281..578ffc305 100644 --- a/src/mesh/test/dot11s/hwmp-target-flags-regression.h +++ b/src/mesh/test/dot11s/hwmp-target-flags-regression.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/pmp-regression.cc b/src/mesh/test/dot11s/pmp-regression.cc index 3a1d1eb98..44adff06c 100644 --- a/src/mesh/test/dot11s/pmp-regression.cc +++ b/src/mesh/test/dot11s/pmp-regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/pmp-regression.h b/src/mesh/test/dot11s/pmp-regression.h index 94293ec56..a641e927f 100644 --- a/src/mesh/test/dot11s/pmp-regression.h +++ b/src/mesh/test/dot11s/pmp-regression.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/dot11s/regression.cc b/src/mesh/test/dot11s/regression.cc index 0fe47168b..f28d95b6d 100644 --- a/src/mesh/test/dot11s/regression.cc +++ b/src/mesh/test/dot11s/regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/flame/flame-regression.cc b/src/mesh/test/flame/flame-regression.cc index 7eabfffee..23f4d7e61 100644 --- a/src/mesh/test/flame/flame-regression.cc +++ b/src/mesh/test/flame/flame-regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/flame/flame-regression.h b/src/mesh/test/flame/flame-regression.h index de5d964ac..a5fce5ad4 100644 --- a/src/mesh/test/flame/flame-regression.h +++ b/src/mesh/test/flame/flame-regression.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/flame/flame-test-suite.cc b/src/mesh/test/flame/flame-test-suite.cc index 82972d238..c8ae46179 100644 --- a/src/mesh/test/flame/flame-test-suite.cc +++ b/src/mesh/test/flame/flame-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/flame/regression.cc b/src/mesh/test/flame/regression.cc index f03ff0aed..7d8017ded 100644 --- a/src/mesh/test/flame/regression.cc +++ b/src/mesh/test/flame/regression.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mesh/test/mesh-information-element-vector-test-suite.cc b/src/mesh/test/mesh-information-element-vector-test-suite.cc index 4e09223f8..64916f84d 100644 --- a/src/mesh/test/mesh-information-element-vector-test-suite.cc +++ b/src/mesh/test/mesh-information-element-vector-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mobility/examples/bonnmotion-ns2-example.cc b/src/mobility/examples/bonnmotion-ns2-example.cc index 8731f4e8f..183eb91b5 100644 --- a/src/mobility/examples/bonnmotion-ns2-example.cc +++ b/src/mobility/examples/bonnmotion-ns2-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2012 Eric Gamess * diff --git a/src/mobility/examples/main-grid-topology.cc b/src/mobility/examples/main-grid-topology.cc index 9ad3f66eb..8941b00ea 100644 --- a/src/mobility/examples/main-grid-topology.cc +++ b/src/mobility/examples/main-grid-topology.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/examples/main-random-topology.cc b/src/mobility/examples/main-random-topology.cc index 6520cb86f..62b53a9c0 100644 --- a/src/mobility/examples/main-random-topology.cc +++ b/src/mobility/examples/main-random-topology.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/examples/main-random-walk.cc b/src/mobility/examples/main-random-walk.cc index 734dd4a1f..71b738678 100644 --- a/src/mobility/examples/main-random-walk.cc +++ b/src/mobility/examples/main-random-walk.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/examples/mobility-trace-example.cc b/src/mobility/examples/mobility-trace-example.cc index 2fed329e5..64e555243 100644 --- a/src/mobility/examples/mobility-trace-example.cc +++ b/src/mobility/examples/mobility-trace-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/mobility/examples/ns2-mobility-trace.cc b/src/mobility/examples/ns2-mobility-trace.cc index 3833c7365..db54ec9cc 100644 --- a/src/mobility/examples/ns2-mobility-trace.cc +++ b/src/mobility/examples/ns2-mobility-trace.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors diff --git a/src/mobility/examples/reference-point-group-mobility-example.cc b/src/mobility/examples/reference-point-group-mobility-example.cc index e77c9add1..1a9083908 100644 --- a/src/mobility/examples/reference-point-group-mobility-example.cc +++ b/src/mobility/examples/reference-point-group-mobility-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Institute for the Wireless Internet of Things, Northeastern University, * Boston, MA Copyright (c) 2021 University of Washington: for HierarchicalMobilityModel diff --git a/src/mobility/helper/group-mobility-helper.cc b/src/mobility/helper/group-mobility-helper.cc index bfd1bbbb9..36f062cba 100644 --- a/src/mobility/helper/group-mobility-helper.cc +++ b/src/mobility/helper/group-mobility-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2021 University of Washington: Group mobility changes diff --git a/src/mobility/helper/group-mobility-helper.h b/src/mobility/helper/group-mobility-helper.h index 4878760a5..55377361c 100644 --- a/src/mobility/helper/group-mobility-helper.h +++ b/src/mobility/helper/group-mobility-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2021 University of Washington: Group mobility changes diff --git a/src/mobility/helper/mobility-helper.cc b/src/mobility/helper/mobility-helper.cc index e48a6197c..e73a766ab 100644 --- a/src/mobility/helper/mobility-helper.cc +++ b/src/mobility/helper/mobility-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/mobility/helper/mobility-helper.h b/src/mobility/helper/mobility-helper.h index 9fd163be6..d23f62213 100644 --- a/src/mobility/helper/mobility-helper.h +++ b/src/mobility/helper/mobility-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/mobility/helper/ns2-mobility-helper.cc b/src/mobility/helper/ns2-mobility-helper.cc index cd5ef677f..4e2d1cee9 100644 --- a/src/mobility/helper/ns2-mobility-helper.cc +++ b/src/mobility/helper/ns2-mobility-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors diff --git a/src/mobility/helper/ns2-mobility-helper.h b/src/mobility/helper/ns2-mobility-helper.h index 2dc28d97b..45d985a78 100644 --- a/src/mobility/helper/ns2-mobility-helper.h +++ b/src/mobility/helper/ns2-mobility-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors diff --git a/src/mobility/model/box.cc b/src/mobility/model/box.cc index 774f468ad..021efcf63 100644 --- a/src/mobility/model/box.cc +++ b/src/mobility/model/box.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * diff --git a/src/mobility/model/box.h b/src/mobility/model/box.h index fb73b2316..6dd4a8264 100644 --- a/src/mobility/model/box.h +++ b/src/mobility/model/box.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * diff --git a/src/mobility/model/constant-acceleration-mobility-model.cc b/src/mobility/model/constant-acceleration-mobility-model.cc index 159f91e84..0581ee1e3 100644 --- a/src/mobility/model/constant-acceleration-mobility-model.cc +++ b/src/mobility/model/constant-acceleration-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mobility/model/constant-acceleration-mobility-model.h b/src/mobility/model/constant-acceleration-mobility-model.h index bd04993fc..1c979b598 100644 --- a/src/mobility/model/constant-acceleration-mobility-model.h +++ b/src/mobility/model/constant-acceleration-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mobility/model/constant-position-mobility-model.cc b/src/mobility/model/constant-position-mobility-model.cc index 826fce56d..4890e56a4 100644 --- a/src/mobility/model/constant-position-mobility-model.cc +++ b/src/mobility/model/constant-position-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/constant-position-mobility-model.h b/src/mobility/model/constant-position-mobility-model.h index d6262450f..3c88623b0 100644 --- a/src/mobility/model/constant-position-mobility-model.h +++ b/src/mobility/model/constant-position-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/constant-velocity-helper.cc b/src/mobility/model/constant-velocity-helper.cc index 03da4f575..c7efee912 100644 --- a/src/mobility/model/constant-velocity-helper.cc +++ b/src/mobility/model/constant-velocity-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/constant-velocity-helper.h b/src/mobility/model/constant-velocity-helper.h index 0ad31265b..53abe6cb0 100644 --- a/src/mobility/model/constant-velocity-helper.h +++ b/src/mobility/model/constant-velocity-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/constant-velocity-mobility-model.cc b/src/mobility/model/constant-velocity-mobility-model.cc index 93474dc26..797c2cb5d 100644 --- a/src/mobility/model/constant-velocity-mobility-model.cc +++ b/src/mobility/model/constant-velocity-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2007 INRIA * diff --git a/src/mobility/model/constant-velocity-mobility-model.h b/src/mobility/model/constant-velocity-mobility-model.h index 0a49bf74d..a784a1d9c 100644 --- a/src/mobility/model/constant-velocity-mobility-model.h +++ b/src/mobility/model/constant-velocity-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2007 INRIA * diff --git a/src/mobility/model/gauss-markov-mobility-model.cc b/src/mobility/model/gauss-markov-mobility-model.cc index 170b20563..494994b1f 100644 --- a/src/mobility/model/gauss-markov-mobility-model.cc +++ b/src/mobility/model/gauss-markov-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * diff --git a/src/mobility/model/gauss-markov-mobility-model.h b/src/mobility/model/gauss-markov-mobility-model.h index 20c7c6845..4d092c8c3 100644 --- a/src/mobility/model/gauss-markov-mobility-model.h +++ b/src/mobility/model/gauss-markov-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * diff --git a/src/mobility/model/geographic-positions.cc b/src/mobility/model/geographic-positions.cc index f8809935b..36b7a4bea 100644 --- a/src/mobility/model/geographic-positions.cc +++ b/src/mobility/model/geographic-positions.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/mobility/model/geographic-positions.h b/src/mobility/model/geographic-positions.h index d7d7cef65..279e07310 100644 --- a/src/mobility/model/geographic-positions.h +++ b/src/mobility/model/geographic-positions.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/mobility/model/hierarchical-mobility-model.cc b/src/mobility/model/hierarchical-mobility-model.cc index a7d3a01a9..10c933410 100644 --- a/src/mobility/model/hierarchical-mobility-model.cc +++ b/src/mobility/model/hierarchical-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/hierarchical-mobility-model.h b/src/mobility/model/hierarchical-mobility-model.h index da6e8522f..8959fc270 100644 --- a/src/mobility/model/hierarchical-mobility-model.h +++ b/src/mobility/model/hierarchical-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/mobility-model.cc b/src/mobility/model/mobility-model.cc index e15140f36..7cd6f19c6 100644 --- a/src/mobility/model/mobility-model.cc +++ b/src/mobility/model/mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/mobility-model.h b/src/mobility/model/mobility-model.h index e5d616835..917f4590c 100644 --- a/src/mobility/model/mobility-model.h +++ b/src/mobility/model/mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/mobility.h b/src/mobility/model/mobility.h index 4bb3bcaf7..e3d787572 100644 --- a/src/mobility/model/mobility.h +++ b/src/mobility/model/mobility.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/position-allocator.cc b/src/mobility/model/position-allocator.cc index 8f129fb56..4112a1cb2 100644 --- a/src/mobility/model/position-allocator.cc +++ b/src/mobility/model/position-allocator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/position-allocator.h b/src/mobility/model/position-allocator.h index 0a1af7a32..b2e7faf51 100644 --- a/src/mobility/model/position-allocator.h +++ b/src/mobility/model/position-allocator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/random-direction-2d-mobility-model.cc b/src/mobility/model/random-direction-2d-mobility-model.cc index a194e4310..4e87f1faf 100644 --- a/src/mobility/model/random-direction-2d-mobility-model.cc +++ b/src/mobility/model/random-direction-2d-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/random-direction-2d-mobility-model.h b/src/mobility/model/random-direction-2d-mobility-model.h index 91825c805..dd35949fc 100644 --- a/src/mobility/model/random-direction-2d-mobility-model.h +++ b/src/mobility/model/random-direction-2d-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/random-walk-2d-mobility-model.cc b/src/mobility/model/random-walk-2d-mobility-model.cc index 0a330de73..70e5f59b4 100644 --- a/src/mobility/model/random-walk-2d-mobility-model.cc +++ b/src/mobility/model/random-walk-2d-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/random-walk-2d-mobility-model.h b/src/mobility/model/random-walk-2d-mobility-model.h index 1e66759a6..c1c1a3b8c 100644 --- a/src/mobility/model/random-walk-2d-mobility-model.h +++ b/src/mobility/model/random-walk-2d-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/random-waypoint-mobility-model.cc b/src/mobility/model/random-waypoint-mobility-model.cc index 06e4646ce..036731409 100644 --- a/src/mobility/model/random-waypoint-mobility-model.cc +++ b/src/mobility/model/random-waypoint-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/random-waypoint-mobility-model.h b/src/mobility/model/random-waypoint-mobility-model.h index be1d11e23..877c25358 100644 --- a/src/mobility/model/random-waypoint-mobility-model.h +++ b/src/mobility/model/random-waypoint-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/rectangle.cc b/src/mobility/model/rectangle.cc index 41bef1b28..ef612fe2a 100644 --- a/src/mobility/model/rectangle.cc +++ b/src/mobility/model/rectangle.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/rectangle.h b/src/mobility/model/rectangle.h index ee505c16a..c846a7a9e 100644 --- a/src/mobility/model/rectangle.h +++ b/src/mobility/model/rectangle.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/steady-state-random-waypoint-mobility-model.cc b/src/mobility/model/steady-state-random-waypoint-mobility-model.cc index 75c07a6bc..0af855134 100644 --- a/src/mobility/model/steady-state-random-waypoint-mobility-model.cc +++ b/src/mobility/model/steady-state-random-waypoint-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mobility/model/steady-state-random-waypoint-mobility-model.h b/src/mobility/model/steady-state-random-waypoint-mobility-model.h index 9112c075f..012baef0d 100644 --- a/src/mobility/model/steady-state-random-waypoint-mobility-model.h +++ b/src/mobility/model/steady-state-random-waypoint-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mobility/model/waypoint-mobility-model.cc b/src/mobility/model/waypoint-mobility-model.cc index f5a63318c..d44629e80 100644 --- a/src/mobility/model/waypoint-mobility-model.cc +++ b/src/mobility/model/waypoint-mobility-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/model/waypoint-mobility-model.h b/src/mobility/model/waypoint-mobility-model.h index 9beda37b1..5f31cd47a 100644 --- a/src/mobility/model/waypoint-mobility-model.h +++ b/src/mobility/model/waypoint-mobility-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/model/waypoint.cc b/src/mobility/model/waypoint.cc index 882fae198..a6fcb055f 100644 --- a/src/mobility/model/waypoint.cc +++ b/src/mobility/model/waypoint.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/model/waypoint.h b/src/mobility/model/waypoint.h index cdf7f5541..5d842faab 100644 --- a/src/mobility/model/waypoint.h +++ b/src/mobility/model/waypoint.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/test/box-line-intersection-test.cc b/src/mobility/test/box-line-intersection-test.cc index 0d86cb3cc..c183237d7 100644 --- a/src/mobility/test/box-line-intersection-test.cc +++ b/src/mobility/test/box-line-intersection-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/mobility/test/box-line-intersection-test.h b/src/mobility/test/box-line-intersection-test.h index 0b109c828..b05e16849 100644 --- a/src/mobility/test/box-line-intersection-test.h +++ b/src/mobility/test/box-line-intersection-test.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/mobility/test/geo-to-cartesian-test.cc b/src/mobility/test/geo-to-cartesian-test.cc index 0cdd0f2da..9c3cdaad7 100644 --- a/src/mobility/test/geo-to-cartesian-test.cc +++ b/src/mobility/test/geo-to-cartesian-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/mobility/test/mobility-test-suite.cc b/src/mobility/test/mobility-test-suite.cc index 0b0bb3b3d..8363975f2 100644 --- a/src/mobility/test/mobility-test-suite.cc +++ b/src/mobility/test/mobility-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2010 University of Washington * diff --git a/src/mobility/test/mobility-trace-test-suite.cc b/src/mobility/test/mobility-trace-test-suite.cc index c2d80b361..9f445c33a 100644 --- a/src/mobility/test/mobility-trace-test-suite.cc +++ b/src/mobility/test/mobility-trace-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/mobility/test/ns2-mobility-helper-test-suite.cc b/src/mobility/test/ns2-mobility-helper-test-suite.cc index 22bbdde71..e9d376f01 100644 --- a/src/mobility/test/ns2-mobility-helper-test-suite.cc +++ b/src/mobility/test/ns2-mobility-helper-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors diff --git a/src/mobility/test/rand-cart-around-geo-test.cc b/src/mobility/test/rand-cart-around-geo-test.cc index d29fc01c6..5fe90a172 100644 --- a/src/mobility/test/rand-cart-around-geo-test.cc +++ b/src/mobility/test/rand-cart-around-geo-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/mobility/test/steady-state-random-waypoint-mobility-model-test.cc b/src/mobility/test/steady-state-random-waypoint-mobility-model-test.cc index 9ff5e1563..f39c7cb3b 100644 --- a/src/mobility/test/steady-state-random-waypoint-mobility-model-test.cc +++ b/src/mobility/test/steady-state-random-waypoint-mobility-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mobility/test/waypoint-mobility-model-test.cc b/src/mobility/test/waypoint-mobility-model-test.cc index 2e465f1f0..318dd3a9a 100644 --- a/src/mobility/test/waypoint-mobility-model-test.cc +++ b/src/mobility/test/waypoint-mobility-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mpi/examples/mpi-test-fixtures.cc b/src/mpi/examples/mpi-test-fixtures.cc index d252aa97b..76a96c055 100644 --- a/src/mpi/examples/mpi-test-fixtures.cc +++ b/src/mpi/examples/mpi-test-fixtures.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2018. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/examples/mpi-test-fixtures.h b/src/mpi/examples/mpi-test-fixtures.h index 35999dcb0..25a1ed7e8 100644 --- a/src/mpi/examples/mpi-test-fixtures.h +++ b/src/mpi/examples/mpi-test-fixtures.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2018. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/examples/nms-p2p-nix-distributed.cc b/src/mpi/examples/nms-p2p-nix-distributed.cc index 2f8494f65..f23615af2 100644 --- a/src/mpi/examples/nms-p2p-nix-distributed.cc +++ b/src/mpi/examples/nms-p2p-nix-distributed.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/examples/simple-distributed-empty-node.cc b/src/mpi/examples/simple-distributed-empty-node.cc index 7fd73835a..873def8a3 100644 --- a/src/mpi/examples/simple-distributed-empty-node.cc +++ b/src/mpi/examples/simple-distributed-empty-node.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/examples/simple-distributed-mpi-comm.cc b/src/mpi/examples/simple-distributed-mpi-comm.cc index d2521e192..2c6cd583f 100644 --- a/src/mpi/examples/simple-distributed-mpi-comm.cc +++ b/src/mpi/examples/simple-distributed-mpi-comm.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2018. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/examples/simple-distributed.cc b/src/mpi/examples/simple-distributed.cc index 5cdee163d..9f6f846ce 100644 --- a/src/mpi/examples/simple-distributed.cc +++ b/src/mpi/examples/simple-distributed.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/examples/third-distributed.cc b/src/mpi/examples/third-distributed.cc index cb712b746..d540c6639 100644 --- a/src/mpi/examples/third-distributed.cc +++ b/src/mpi/examples/third-distributed.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/model/distributed-simulator-impl.cc b/src/mpi/model/distributed-simulator-impl.cc index 23736ef91..ca04b215c 100644 --- a/src/mpi/model/distributed-simulator-impl.cc +++ b/src/mpi/model/distributed-simulator-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/model/distributed-simulator-impl.h b/src/mpi/model/distributed-simulator-impl.h index da7e622e3..f1d32ebee 100644 --- a/src/mpi/model/distributed-simulator-impl.h +++ b/src/mpi/model/distributed-simulator-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/model/granted-time-window-mpi-interface.cc b/src/mpi/model/granted-time-window-mpi-interface.cc index b433daf14..75b371e3b 100644 --- a/src/mpi/model/granted-time-window-mpi-interface.cc +++ b/src/mpi/model/granted-time-window-mpi-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/model/granted-time-window-mpi-interface.h b/src/mpi/model/granted-time-window-mpi-interface.h index fa91999e9..7e493c089 100644 --- a/src/mpi/model/granted-time-window-mpi-interface.h +++ b/src/mpi/model/granted-time-window-mpi-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/model/mpi-interface.cc b/src/mpi/model/mpi-interface.cc index af35df19a..1700a1599 100644 --- a/src/mpi/model/mpi-interface.cc +++ b/src/mpi/model/mpi-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/mpi-interface.h b/src/mpi/model/mpi-interface.h index 892f7068f..587423f1d 100644 --- a/src/mpi/model/mpi-interface.h +++ b/src/mpi/model/mpi-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/mpi-receiver.cc b/src/mpi/model/mpi-receiver.cc index 36d3341d0..9d749caaa 100644 --- a/src/mpi/model/mpi-receiver.cc +++ b/src/mpi/model/mpi-receiver.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/model/mpi-receiver.h b/src/mpi/model/mpi-receiver.h index e65a606d7..6a4bed8d6 100644 --- a/src/mpi/model/mpi-receiver.h +++ b/src/mpi/model/mpi-receiver.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/mpi/model/null-message-mpi-interface.cc b/src/mpi/model/null-message-mpi-interface.cc index aba7211cc..5964f324f 100644 --- a/src/mpi/model/null-message-mpi-interface.cc +++ b/src/mpi/model/null-message-mpi-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/null-message-mpi-interface.h b/src/mpi/model/null-message-mpi-interface.h index b9ed6bac0..4409b374d 100644 --- a/src/mpi/model/null-message-mpi-interface.h +++ b/src/mpi/model/null-message-mpi-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/null-message-simulator-impl.cc b/src/mpi/model/null-message-simulator-impl.cc index b35e42485..0a86f0dff 100644 --- a/src/mpi/model/null-message-simulator-impl.cc +++ b/src/mpi/model/null-message-simulator-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/null-message-simulator-impl.h b/src/mpi/model/null-message-simulator-impl.h index d71bd0a2f..b17b12b87 100644 --- a/src/mpi/model/null-message-simulator-impl.h +++ b/src/mpi/model/null-message-simulator-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/parallel-communication-interface.h b/src/mpi/model/parallel-communication-interface.h index 6562e66e5..297dd06aa 100644 --- a/src/mpi/model/parallel-communication-interface.h +++ b/src/mpi/model/parallel-communication-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/remote-channel-bundle-manager.cc b/src/mpi/model/remote-channel-bundle-manager.cc index b13663bbf..3dfcc046d 100644 --- a/src/mpi/model/remote-channel-bundle-manager.cc +++ b/src/mpi/model/remote-channel-bundle-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/remote-channel-bundle-manager.h b/src/mpi/model/remote-channel-bundle-manager.h index 926a192d9..e0ed85666 100644 --- a/src/mpi/model/remote-channel-bundle-manager.h +++ b/src/mpi/model/remote-channel-bundle-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/remote-channel-bundle.cc b/src/mpi/model/remote-channel-bundle.cc index 124676e68..0a3698724 100644 --- a/src/mpi/model/remote-channel-bundle.cc +++ b/src/mpi/model/remote-channel-bundle.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/model/remote-channel-bundle.h b/src/mpi/model/remote-channel-bundle.h index 8cff7680d..e24d7f58d 100644 --- a/src/mpi/model/remote-channel-bundle.h +++ b/src/mpi/model/remote-channel-bundle.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2013. Lawrence Livermore National Security, LLC. * diff --git a/src/mpi/test/mpi-test-suite.cc b/src/mpi/test/mpi-test-suite.cc index c7dc25cf5..4efb29ad6 100644 --- a/src/mpi/test/mpi-test-suite.cc +++ b/src/mpi/test/mpi-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Lawrence Livermore National Laboratory * diff --git a/src/netanim/examples/colors-link-description.cc b/src/netanim/examples/colors-link-description.cc index 254707c9b..ec2521a90 100644 --- a/src/netanim/examples/colors-link-description.cc +++ b/src/netanim/examples/colors-link-description.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/netanim/examples/dumbbell-animation.cc b/src/netanim/examples/dumbbell-animation.cc index f4b8e3ff5..bd1d04315 100644 --- a/src/netanim/examples/dumbbell-animation.cc +++ b/src/netanim/examples/dumbbell-animation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/netanim/examples/grid-animation.cc b/src/netanim/examples/grid-animation.cc index 241c3bb67..2df659b4d 100644 --- a/src/netanim/examples/grid-animation.cc +++ b/src/netanim/examples/grid-animation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/netanim/examples/resources-counters.cc b/src/netanim/examples/resources-counters.cc index 8bb617f1a..db3c4356b 100644 --- a/src/netanim/examples/resources-counters.cc +++ b/src/netanim/examples/resources-counters.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/netanim/examples/star-animation.cc b/src/netanim/examples/star-animation.cc index 31718a742..593fdcaab 100644 --- a/src/netanim/examples/star-animation.cc +++ b/src/netanim/examples/star-animation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/netanim/examples/uan-animation.cc b/src/netanim/examples/uan-animation.cc index b849dc23a..a9fea8b5f 100644 --- a/src/netanim/examples/uan-animation.cc +++ b/src/netanim/examples/uan-animation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/netanim/examples/uan-animation.h b/src/netanim/examples/uan-animation.h index f268c8423..bd78e7fed 100644 --- a/src/netanim/examples/uan-animation.h +++ b/src/netanim/examples/uan-animation.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/netanim/examples/wireless-animation.cc b/src/netanim/examples/wireless-animation.cc index 91e50d358..1a462158d 100644 --- a/src/netanim/examples/wireless-animation.cc +++ b/src/netanim/examples/wireless-animation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/netanim/model/animation-interface.cc b/src/netanim/model/animation-interface.cc index 88ad2844f..d3f4e1610 100644 --- a/src/netanim/model/animation-interface.cc +++ b/src/netanim/model/animation-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/netanim/model/animation-interface.h b/src/netanim/model/animation-interface.h index 53b384bca..8149a9980 100644 --- a/src/netanim/model/animation-interface.h +++ b/src/netanim/model/animation-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/netanim/test/netanim-test.cc b/src/netanim/test/netanim-test.cc index 0874c7278..84007ef23 100644 --- a/src/netanim/test/netanim-test.cc +++ b/src/netanim/test/netanim-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/network/doc/network.h b/src/network/doc/network.h index 961a7e72b..6a02873a6 100644 --- a/src/network/doc/network.h +++ b/src/network/doc/network.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/network/examples/bit-serializer.cc b/src/network/examples/bit-serializer.cc index 510f55f69..2cc486680 100644 --- a/src/network/examples/bit-serializer.cc +++ b/src/network/examples/bit-serializer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/examples/lollipop-comparisions.cc b/src/network/examples/lollipop-comparisions.cc index 93d2225e0..24dac7a8e 100644 --- a/src/network/examples/lollipop-comparisions.cc +++ b/src/network/examples/lollipop-comparisions.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/examples/main-packet-header.cc b/src/network/examples/main-packet-header.cc index 8be9945b5..2827e282b 100644 --- a/src/network/examples/main-packet-header.cc +++ b/src/network/examples/main-packet-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ns3/header.h" #include "ns3/packet.h" #include "ns3/ptr.h" diff --git a/src/network/examples/main-packet-tag.cc b/src/network/examples/main-packet-tag.cc index 60905c3b9..a33cf6768 100644 --- a/src/network/examples/main-packet-tag.cc +++ b/src/network/examples/main-packet-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/network/examples/packet-socket-apps.cc b/src/network/examples/packet-socket-apps.cc index 7f4133330..2c53b2a55 100644 --- a/src/network/examples/packet-socket-apps.cc +++ b/src/network/examples/packet-socket-apps.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/network/helper/application-container.cc b/src/network/helper/application-container.cc index 1df156293..504c2ad69 100644 --- a/src/network/helper/application-container.cc +++ b/src/network/helper/application-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/helper/application-container.h b/src/network/helper/application-container.h index 70be792ec..1d35261e0 100644 --- a/src/network/helper/application-container.h +++ b/src/network/helper/application-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/helper/delay-jitter-estimation.cc b/src/network/helper/delay-jitter-estimation.cc index 80f36d3ec..04d034a76 100644 --- a/src/network/helper/delay-jitter-estimation.cc +++ b/src/network/helper/delay-jitter-estimation.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/helper/delay-jitter-estimation.h b/src/network/helper/delay-jitter-estimation.h index fbb2baf31..8c1096f71 100644 --- a/src/network/helper/delay-jitter-estimation.h +++ b/src/network/helper/delay-jitter-estimation.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/helper/net-device-container.cc b/src/network/helper/net-device-container.cc index 5ed7e69f8..9d93f13eb 100644 --- a/src/network/helper/net-device-container.cc +++ b/src/network/helper/net-device-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/helper/net-device-container.h b/src/network/helper/net-device-container.h index d717f1939..af8d48013 100644 --- a/src/network/helper/net-device-container.h +++ b/src/network/helper/net-device-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/helper/node-container.cc b/src/network/helper/node-container.cc index 21489c070..2a00ae670 100644 --- a/src/network/helper/node-container.cc +++ b/src/network/helper/node-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/helper/node-container.h b/src/network/helper/node-container.h index 0eb3aabe1..ad95f20d2 100644 --- a/src/network/helper/node-container.h +++ b/src/network/helper/node-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/helper/packet-socket-helper.cc b/src/network/helper/packet-socket-helper.cc index 6183cc424..d417c1ae5 100644 --- a/src/network/helper/packet-socket-helper.cc +++ b/src/network/helper/packet-socket-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/helper/packet-socket-helper.h b/src/network/helper/packet-socket-helper.h index 610f1c27e..fbef6cf00 100644 --- a/src/network/helper/packet-socket-helper.h +++ b/src/network/helper/packet-socket-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/helper/simple-net-device-helper.cc b/src/network/helper/simple-net-device-helper.cc index a09e0889b..df17b023b 100644 --- a/src/network/helper/simple-net-device-helper.cc +++ b/src/network/helper/simple-net-device-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/network/helper/simple-net-device-helper.h b/src/network/helper/simple-net-device-helper.h index 5faf8e94f..0154dd0da 100644 --- a/src/network/helper/simple-net-device-helper.h +++ b/src/network/helper/simple-net-device-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/network/helper/trace-helper.cc b/src/network/helper/trace-helper.cc index 28e58e536..9ba12777c 100644 --- a/src/network/helper/trace-helper.cc +++ b/src/network/helper/trace-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/network/helper/trace-helper.h b/src/network/helper/trace-helper.h index 2fe416e96..6941af33c 100644 --- a/src/network/helper/trace-helper.h +++ b/src/network/helper/trace-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/network/model/address.cc b/src/network/model/address.cc index 95c15cd9c..733c0b6f1 100644 --- a/src/network/model/address.cc +++ b/src/network/model/address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/model/address.h b/src/network/model/address.h index 1c054d192..afe5b4dba 100644 --- a/src/network/model/address.h +++ b/src/network/model/address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/model/application.cc b/src/network/model/application.cc index dc4c32378..25778f89e 100644 --- a/src/network/model/application.cc +++ b/src/network/model/application.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * diff --git a/src/network/model/application.h b/src/network/model/application.h index bf413293d..53c643f1f 100644 --- a/src/network/model/application.h +++ b/src/network/model/application.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * diff --git a/src/network/model/buffer.cc b/src/network/model/buffer.cc index 98f0d706f..f51544665 100644 --- a/src/network/model/buffer.cc +++ b/src/network/model/buffer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/network/model/buffer.h b/src/network/model/buffer.h index 37332fdf6..1d666ce57 100644 --- a/src/network/model/buffer.h +++ b/src/network/model/buffer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/network/model/byte-tag-list.cc b/src/network/model/byte-tag-list.cc index c611fa463..5e7281b87 100644 --- a/src/network/model/byte-tag-list.cc +++ b/src/network/model/byte-tag-list.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/byte-tag-list.h b/src/network/model/byte-tag-list.h index 7e25a0e1c..c2903a0d0 100644 --- a/src/network/model/byte-tag-list.h +++ b/src/network/model/byte-tag-list.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/channel-list.cc b/src/network/model/channel-list.cc index cb026e30e..bbfcf9cd1 100644 --- a/src/network/model/channel-list.cc +++ b/src/network/model/channel-list.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/network/model/channel-list.h b/src/network/model/channel-list.h index 42f0deea1..484a8adcd 100644 --- a/src/network/model/channel-list.h +++ b/src/network/model/channel-list.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/network/model/channel.cc b/src/network/model/channel.cc index 1b638a611..2dc1e4700 100644 --- a/src/network/model/channel.cc +++ b/src/network/model/channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * diff --git a/src/network/model/channel.h b/src/network/model/channel.h index 0f00c4ca6..d1f6d9c41 100644 --- a/src/network/model/channel.h +++ b/src/network/model/channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/network/model/chunk.cc b/src/network/model/chunk.cc index b166a5700..9230ed0e7 100644 --- a/src/network/model/chunk.cc +++ b/src/network/model/chunk.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/chunk.h b/src/network/model/chunk.h index bc7adb1ed..efac8ab2e 100644 --- a/src/network/model/chunk.h +++ b/src/network/model/chunk.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/header.cc b/src/network/model/header.cc index cf5043b50..f5fc1fe9f 100644 --- a/src/network/model/header.cc +++ b/src/network/model/header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/header.h b/src/network/model/header.h index 5b8c152bf..f92e0d569 100644 --- a/src/network/model/header.h +++ b/src/network/model/header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/model/net-device.cc b/src/network/model/net-device.cc index f943de84c..1d1539c23 100644 --- a/src/network/model/net-device.cc +++ b/src/network/model/net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/network/model/net-device.h b/src/network/model/net-device.h index 5d46f7231..ad00ffb02 100644 --- a/src/network/model/net-device.h +++ b/src/network/model/net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/network/model/nix-vector.cc b/src/network/model/nix-vector.cc index c9701ee57..d7caeb3cc 100644 --- a/src/network/model/nix-vector.cc +++ b/src/network/model/nix-vector.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * diff --git a/src/network/model/nix-vector.h b/src/network/model/nix-vector.h index 1ef1b384b..34bd86447 100644 --- a/src/network/model/nix-vector.h +++ b/src/network/model/nix-vector.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * diff --git a/src/network/model/node-list.cc b/src/network/model/node-list.cc index ce2592d17..2e796df3f 100644 --- a/src/network/model/node-list.cc +++ b/src/network/model/node-list.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/model/node-list.h b/src/network/model/node-list.h index 0497f658c..7e2edcaeb 100644 --- a/src/network/model/node-list.h +++ b/src/network/model/node-list.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/model/node.cc b/src/network/model/node.cc index b6b8e9b43..a5183b626 100644 --- a/src/network/model/node.cc +++ b/src/network/model/node.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation, INRIA * diff --git a/src/network/model/node.h b/src/network/model/node.h index fbc12fbd0..57fe6e2d0 100644 --- a/src/network/model/node.h +++ b/src/network/model/node.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation, INRIA * diff --git a/src/network/model/packet-metadata.cc b/src/network/model/packet-metadata.cc index 0ecba586d..dd3c9b173 100644 --- a/src/network/model/packet-metadata.cc +++ b/src/network/model/packet-metadata.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/network/model/packet-metadata.h b/src/network/model/packet-metadata.h index 824572c6f..9be2c1894 100644 --- a/src/network/model/packet-metadata.h +++ b/src/network/model/packet-metadata.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/network/model/packet-tag-list.cc b/src/network/model/packet-tag-list.cc index 30c818993..0a71133d4 100644 --- a/src/network/model/packet-tag-list.cc +++ b/src/network/model/packet-tag-list.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/network/model/packet-tag-list.h b/src/network/model/packet-tag-list.h index 049709807..c94196382 100644 --- a/src/network/model/packet-tag-list.h +++ b/src/network/model/packet-tag-list.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/network/model/packet.cc b/src/network/model/packet.cc index c1d17091f..82503adef 100644 --- a/src/network/model/packet.cc +++ b/src/network/model/packet.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/network/model/packet.h b/src/network/model/packet.h index ecd80da68..f6d167d2a 100644 --- a/src/network/model/packet.h +++ b/src/network/model/packet.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/network/model/socket-factory.cc b/src/network/model/socket-factory.cc index 21adabba2..073b39cf1 100644 --- a/src/network/model/socket-factory.cc +++ b/src/network/model/socket-factory.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/model/socket-factory.h b/src/network/model/socket-factory.h index b1368b03d..2c1af5b1a 100644 --- a/src/network/model/socket-factory.h +++ b/src/network/model/socket-factory.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/model/socket.cc b/src/network/model/socket.cc index a15a61088..ba6424018 100644 --- a/src/network/model/socket.cc +++ b/src/network/model/socket.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * 2007 INRIA diff --git a/src/network/model/socket.h b/src/network/model/socket.h index e8d848ca7..08513fb23 100644 --- a/src/network/model/socket.h +++ b/src/network/model/socket.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * 2007 INRIA diff --git a/src/network/model/tag-buffer.cc b/src/network/model/tag-buffer.cc index 2c78939ba..22664ab90 100644 --- a/src/network/model/tag-buffer.cc +++ b/src/network/model/tag-buffer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/tag-buffer.h b/src/network/model/tag-buffer.h index 493f5fb4e..44d111357 100644 --- a/src/network/model/tag-buffer.h +++ b/src/network/model/tag-buffer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/tag.cc b/src/network/model/tag.cc index 5e078fb26..ef06bef28 100644 --- a/src/network/model/tag.cc +++ b/src/network/model/tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/tag.h b/src/network/model/tag.h index c01f935e4..ddb846cff 100644 --- a/src/network/model/tag.h +++ b/src/network/model/tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/trailer.cc b/src/network/model/trailer.cc index 65ef7c3b5..755fb1e29 100644 --- a/src/network/model/trailer.cc +++ b/src/network/model/trailer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/model/trailer.h b/src/network/model/trailer.h index ee76bd705..0424fc3e1 100644 --- a/src/network/model/trailer.h +++ b/src/network/model/trailer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/test/bit-serializer-test.cc b/src/network/test/bit-serializer-test.cc index 34581b16b..88b106540 100644 --- a/src/network/test/bit-serializer-test.cc +++ b/src/network/test/bit-serializer-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/test/buffer-test.cc b/src/network/test/buffer-test.cc index a78071444..81c832d0b 100644 --- a/src/network/test/buffer-test.cc +++ b/src/network/test/buffer-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/network/test/drop-tail-queue-test-suite.cc b/src/network/test/drop-tail-queue-test-suite.cc index b73814ce1..5d4b377c1 100644 --- a/src/network/test/drop-tail-queue-test-suite.cc +++ b/src/network/test/drop-tail-queue-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * diff --git a/src/network/test/error-model-test-suite.cc b/src/network/test/error-model-test-suite.cc index 9870ee0ac..296ab183d 100644 --- a/src/network/test/error-model-test-suite.cc +++ b/src/network/test/error-model-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * Copyright (c) 2013 ResiliNets, ITTC, University of Kansas diff --git a/src/network/test/header-serialization-test.h b/src/network/test/header-serialization-test.h index 0c58d75f7..e616ea498 100644 --- a/src/network/test/header-serialization-test.h +++ b/src/network/test/header-serialization-test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/test/ipv6-address-test-suite.cc b/src/network/test/ipv6-address-test-suite.cc index e2511b553..0fee55d6a 100644 --- a/src/network/test/ipv6-address-test-suite.cc +++ b/src/network/test/ipv6-address-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/network/test/lollipop-counter-test.cc b/src/network/test/lollipop-counter-test.cc index dfe08f3ef..926db249f 100644 --- a/src/network/test/lollipop-counter-test.cc +++ b/src/network/test/lollipop-counter-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/test/packet-metadata-test.cc b/src/network/test/packet-metadata-test.cc index 3c02fd1f9..bb917252a 100644 --- a/src/network/test/packet-metadata-test.cc +++ b/src/network/test/packet-metadata-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/network/test/packet-socket-apps-test-suite.cc b/src/network/test/packet-socket-apps-test-suite.cc index 4c2660284..cae461581 100644 --- a/src/network/test/packet-socket-apps-test-suite.cc +++ b/src/network/test/packet-socket-apps-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/network/test/packet-test-suite.cc b/src/network/test/packet-test-suite.cc index ebc7ba98f..775eb2e37 100644 --- a/src/network/test/packet-test-suite.cc +++ b/src/network/test/packet-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/network/test/packetbb-test-suite.cc b/src/network/test/packetbb-test-suite.cc index bc2c225ee..3a649622d 100644 --- a/src/network/test/packetbb-test-suite.cc +++ b/src/network/test/packetbb-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* vim: set ts=2 sw=2 sta expandtab ai si cin: */ /* * Copyright (c) 2009 Drexel University diff --git a/src/network/test/pcap-file-test-suite.cc b/src/network/test/pcap-file-test-suite.cc index c2411cea8..ab5d7f8f1 100644 --- a/src/network/test/pcap-file-test-suite.cc +++ b/src/network/test/pcap-file-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/network/test/sequence-number-test-suite.cc b/src/network/test/sequence-number-test-suite.cc index 142beef31..2c0a4f492 100644 --- a/src/network/test/sequence-number-test-suite.cc +++ b/src/network/test/sequence-number-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2008-2010 INESC Porto // diff --git a/src/network/test/test-data-rate.cc b/src/network/test/test-data-rate.cc index 1dd5f9c33..befff3620 100644 --- a/src/network/test/test-data-rate.cc +++ b/src/network/test/test-data-rate.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) Facebook, Inc. and its affiliates. * diff --git a/src/network/utils/address-utils.cc b/src/network/utils/address-utils.cc index ec43be0f9..caea08da0 100644 --- a/src/network/utils/address-utils.cc +++ b/src/network/utils/address-utils.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/network/utils/address-utils.h b/src/network/utils/address-utils.h index f77a1e2b4..8e7f2b449 100644 --- a/src/network/utils/address-utils.h +++ b/src/network/utils/address-utils.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/network/utils/bit-deserializer.cc b/src/network/utils/bit-deserializer.cc index c1eb73592..64e0f0f20 100644 --- a/src/network/utils/bit-deserializer.cc +++ b/src/network/utils/bit-deserializer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/utils/bit-deserializer.h b/src/network/utils/bit-deserializer.h index 5895d2f0e..b8e8f666c 100644 --- a/src/network/utils/bit-deserializer.h +++ b/src/network/utils/bit-deserializer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/utils/bit-serializer.cc b/src/network/utils/bit-serializer.cc index b769882a5..1a9bd7d6d 100644 --- a/src/network/utils/bit-serializer.cc +++ b/src/network/utils/bit-serializer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/utils/bit-serializer.h b/src/network/utils/bit-serializer.h index 8fd7e463e..3d0cc8d15 100644 --- a/src/network/utils/bit-serializer.h +++ b/src/network/utils/bit-serializer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/utils/crc32.cc b/src/network/utils/crc32.cc index 3a56a96f7..05ba02069 100644 --- a/src/network/utils/crc32.cc +++ b/src/network/utils/crc32.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 PIOTR JURKIEWICZ * diff --git a/src/network/utils/crc32.h b/src/network/utils/crc32.h index 9613c58ff..2c47179ca 100644 --- a/src/network/utils/crc32.h +++ b/src/network/utils/crc32.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 PIOTR JURKIEWICZ * diff --git a/src/network/utils/data-rate.cc b/src/network/utils/data-rate.cc index f79633d64..dc4952bdc 100644 --- a/src/network/utils/data-rate.cc +++ b/src/network/utils/data-rate.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/network/utils/data-rate.h b/src/network/utils/data-rate.h index e76eb22c7..548eefa0a 100644 --- a/src/network/utils/data-rate.h +++ b/src/network/utils/data-rate.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/network/utils/drop-tail-queue.cc b/src/network/utils/drop-tail-queue.cc index 22d307cdd..0ebd74c17 100644 --- a/src/network/utils/drop-tail-queue.cc +++ b/src/network/utils/drop-tail-queue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * diff --git a/src/network/utils/drop-tail-queue.h b/src/network/utils/drop-tail-queue.h index b1d829766..0e89ee8e6 100644 --- a/src/network/utils/drop-tail-queue.h +++ b/src/network/utils/drop-tail-queue.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * diff --git a/src/network/utils/dynamic-queue-limits.cc b/src/network/utils/dynamic-queue-limits.cc index c05a45745..136ca1fe3 100644 --- a/src/network/utils/dynamic-queue-limits.cc +++ b/src/network/utils/dynamic-queue-limits.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/dynamic-queue-limits.h b/src/network/utils/dynamic-queue-limits.h index 1a8dd34a4..4bdf8897c 100644 --- a/src/network/utils/dynamic-queue-limits.h +++ b/src/network/utils/dynamic-queue-limits.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/error-channel.cc b/src/network/utils/error-channel.cc index 91c8c7c07..19aa2adaa 100644 --- a/src/network/utils/error-channel.cc +++ b/src/network/utils/error-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/network/utils/error-channel.h b/src/network/utils/error-channel.h index aa7fcc9fa..adacfb9d8 100644 --- a/src/network/utils/error-channel.h +++ b/src/network/utils/error-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/network/utils/error-model.cc b/src/network/utils/error-model.cc index 57a89e764..ce4055359 100644 --- a/src/network/utils/error-model.cc +++ b/src/network/utils/error-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * Copyright (c) 2013 ResiliNets, ITTC, University of Kansas diff --git a/src/network/utils/error-model.h b/src/network/utils/error-model.h index 546ba4751..fe2cfb3ac 100644 --- a/src/network/utils/error-model.h +++ b/src/network/utils/error-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * Copyright (c) 2013 ResiliNets, ITTC, University of Kansas diff --git a/src/network/utils/ethernet-header.cc b/src/network/utils/ethernet-header.cc index e9a257f1c..fdbc28b3f 100644 --- a/src/network/utils/ethernet-header.cc +++ b/src/network/utils/ethernet-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/ethernet-header.h b/src/network/utils/ethernet-header.h index 05ec693a1..f0d57e369 100644 --- a/src/network/utils/ethernet-header.h +++ b/src/network/utils/ethernet-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/network/utils/ethernet-trailer.cc b/src/network/utils/ethernet-trailer.cc index 2bb74492e..27891920f 100644 --- a/src/network/utils/ethernet-trailer.cc +++ b/src/network/utils/ethernet-trailer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/ethernet-trailer.h b/src/network/utils/ethernet-trailer.h index ff42038c5..62ca0a93d 100644 --- a/src/network/utils/ethernet-trailer.h +++ b/src/network/utils/ethernet-trailer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/network/utils/flow-id-tag.cc b/src/network/utils/flow-id-tag.cc index 1bc8b5f2f..46cfe72d9 100644 --- a/src/network/utils/flow-id-tag.cc +++ b/src/network/utils/flow-id-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/utils/flow-id-tag.h b/src/network/utils/flow-id-tag.h index 967d91898..dc19fbd6e 100644 --- a/src/network/utils/flow-id-tag.h +++ b/src/network/utils/flow-id-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/utils/generic-phy.h b/src/network/utils/generic-phy.h index 8484bb477..3831cd058 100644 --- a/src/network/utils/generic-phy.h +++ b/src/network/utils/generic-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/network/utils/inet-socket-address.cc b/src/network/utils/inet-socket-address.cc index d209a1f16..f52462008 100644 --- a/src/network/utils/inet-socket-address.cc +++ b/src/network/utils/inet-socket-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/inet-socket-address.h b/src/network/utils/inet-socket-address.h index 318231677..6ac02e3c5 100644 --- a/src/network/utils/inet-socket-address.h +++ b/src/network/utils/inet-socket-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/inet6-socket-address.cc b/src/network/utils/inet6-socket-address.cc index 34de11e61..a50c323f9 100644 --- a/src/network/utils/inet6-socket-address.cc +++ b/src/network/utils/inet6-socket-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/network/utils/inet6-socket-address.h b/src/network/utils/inet6-socket-address.h index aa7c1809b..56cf0f6b8 100644 --- a/src/network/utils/inet6-socket-address.h +++ b/src/network/utils/inet6-socket-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/network/utils/ipv4-address.cc b/src/network/utils/ipv4-address.cc index 0a1bebab2..4ea4cc868 100644 --- a/src/network/utils/ipv4-address.cc +++ b/src/network/utils/ipv4-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/ipv4-address.h b/src/network/utils/ipv4-address.h index 4a1fa0763..1e5c8746c 100644 --- a/src/network/utils/ipv4-address.h +++ b/src/network/utils/ipv4-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/ipv6-address.cc b/src/network/utils/ipv6-address.cc index 526c39d93..dfc0b0a53 100644 --- a/src/network/utils/ipv6-address.cc +++ b/src/network/utils/ipv6-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/network/utils/ipv6-address.h b/src/network/utils/ipv6-address.h index 8d56014d8..acda1f3b7 100644 --- a/src/network/utils/ipv6-address.h +++ b/src/network/utils/ipv6-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/network/utils/llc-snap-header.cc b/src/network/utils/llc-snap-header.cc index bbc70fed3..20d3e31cb 100644 --- a/src/network/utils/llc-snap-header.cc +++ b/src/network/utils/llc-snap-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/llc-snap-header.h b/src/network/utils/llc-snap-header.h index 40d6a78bd..5aa8781e9 100644 --- a/src/network/utils/llc-snap-header.h +++ b/src/network/utils/llc-snap-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/lollipop-counter.h b/src/network/utils/lollipop-counter.h index 44c75da4b..760ef4a59 100644 --- a/src/network/utils/lollipop-counter.h +++ b/src/network/utils/lollipop-counter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/network/utils/mac16-address.cc b/src/network/utils/mac16-address.cc index c180fd3f3..e6a75ce7c 100644 --- a/src/network/utils/mac16-address.cc +++ b/src/network/utils/mac16-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * Copyright (c) 2011 The Boeing Company diff --git a/src/network/utils/mac16-address.h b/src/network/utils/mac16-address.h index 7416137da..bc1b0a0a7 100644 --- a/src/network/utils/mac16-address.h +++ b/src/network/utils/mac16-address.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * Copyright (c) 2011 The Boeing Company diff --git a/src/network/utils/mac48-address.cc b/src/network/utils/mac48-address.cc index ca1834e45..7611e5687 100644 --- a/src/network/utils/mac48-address.cc +++ b/src/network/utils/mac48-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/mac48-address.h b/src/network/utils/mac48-address.h index 9c552f771..76624b799 100644 --- a/src/network/utils/mac48-address.h +++ b/src/network/utils/mac48-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/mac64-address.cc b/src/network/utils/mac64-address.cc index 69316463f..1f2aec961 100644 --- a/src/network/utils/mac64-address.cc +++ b/src/network/utils/mac64-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/mac64-address.h b/src/network/utils/mac64-address.h index 8c16cbb71..2c29fe5f9 100644 --- a/src/network/utils/mac64-address.h +++ b/src/network/utils/mac64-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/mac8-address.cc b/src/network/utils/mac8-address.cc index 481ca93d6..e6c8627d1 100644 --- a/src/network/utils/mac8-address.cc +++ b/src/network/utils/mac8-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/network/utils/mac8-address.h b/src/network/utils/mac8-address.h index ab708565c..71bde06ef 100644 --- a/src/network/utils/mac8-address.h +++ b/src/network/utils/mac8-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/network/utils/net-device-queue-interface.cc b/src/network/utils/net-device-queue-interface.cc index 3a4d8efbb..2382119ab 100644 --- a/src/network/utils/net-device-queue-interface.cc +++ b/src/network/utils/net-device-queue-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/net-device-queue-interface.h b/src/network/utils/net-device-queue-interface.h index 3c0b92e52..b4efb6d51 100644 --- a/src/network/utils/net-device-queue-interface.h +++ b/src/network/utils/net-device-queue-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/output-stream-wrapper.cc b/src/network/utils/output-stream-wrapper.cc index 6ee19ceca..8bb6fb618 100644 --- a/src/network/utils/output-stream-wrapper.cc +++ b/src/network/utils/output-stream-wrapper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/network/utils/output-stream-wrapper.h b/src/network/utils/output-stream-wrapper.h index cbdf34982..6c326d9f4 100644 --- a/src/network/utils/output-stream-wrapper.h +++ b/src/network/utils/output-stream-wrapper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/network/utils/packet-burst.cc b/src/network/utils/packet-burst.cc index 05ec83644..675f2929e 100644 --- a/src/network/utils/packet-burst.cc +++ b/src/network/utils/packet-burst.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/network/utils/packet-burst.h b/src/network/utils/packet-burst.h index abf56d21a..5193e0309 100644 --- a/src/network/utils/packet-burst.h +++ b/src/network/utils/packet-burst.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/network/utils/packet-data-calculators.cc b/src/network/utils/packet-data-calculators.cc index b6408e3a2..18ea532b9 100644 --- a/src/network/utils/packet-data-calculators.cc +++ b/src/network/utils/packet-data-calculators.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/network/utils/packet-data-calculators.h b/src/network/utils/packet-data-calculators.h index 680646eae..d77e2ec26 100644 --- a/src/network/utils/packet-data-calculators.h +++ b/src/network/utils/packet-data-calculators.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/network/utils/packet-probe.cc b/src/network/utils/packet-probe.cc index 48e56e665..42423e701 100644 --- a/src/network/utils/packet-probe.cc +++ b/src/network/utils/packet-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/network/utils/packet-probe.h b/src/network/utils/packet-probe.h index 2397dbf6e..9e7b34e81 100644 --- a/src/network/utils/packet-probe.h +++ b/src/network/utils/packet-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/network/utils/packet-socket-address.cc b/src/network/utils/packet-socket-address.cc index 2d4631e49..0022d72a7 100644 --- a/src/network/utils/packet-socket-address.cc +++ b/src/network/utils/packet-socket-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/packet-socket-address.h b/src/network/utils/packet-socket-address.h index 80379c2d4..760628bef 100644 --- a/src/network/utils/packet-socket-address.h +++ b/src/network/utils/packet-socket-address.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/packet-socket-client.cc b/src/network/utils/packet-socket-client.cc index b4e26c44d..dcdcbab08 100644 --- a/src/network/utils/packet-socket-client.cc +++ b/src/network/utils/packet-socket-client.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/network/utils/packet-socket-client.h b/src/network/utils/packet-socket-client.h index 68467fc4d..1da59f926 100644 --- a/src/network/utils/packet-socket-client.h +++ b/src/network/utils/packet-socket-client.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/network/utils/packet-socket-factory.cc b/src/network/utils/packet-socket-factory.cc index 94c04c481..efa986a56 100644 --- a/src/network/utils/packet-socket-factory.cc +++ b/src/network/utils/packet-socket-factory.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/network/utils/packet-socket-factory.h b/src/network/utils/packet-socket-factory.h index f8ddd417c..64391ab65 100644 --- a/src/network/utils/packet-socket-factory.h +++ b/src/network/utils/packet-socket-factory.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/network/utils/packet-socket-server.cc b/src/network/utils/packet-socket-server.cc index 9bd6083e3..932a9ee10 100644 --- a/src/network/utils/packet-socket-server.cc +++ b/src/network/utils/packet-socket-server.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/network/utils/packet-socket-server.h b/src/network/utils/packet-socket-server.h index 92e2851bb..1960f446a 100644 --- a/src/network/utils/packet-socket-server.h +++ b/src/network/utils/packet-socket-server.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * diff --git a/src/network/utils/packet-socket.cc b/src/network/utils/packet-socket.cc index a9df13a81..e786a3848 100644 --- a/src/network/utils/packet-socket.cc +++ b/src/network/utils/packet-socket.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise, INRIA * diff --git a/src/network/utils/packet-socket.h b/src/network/utils/packet-socket.h index 79b468bd0..58ee1d5e3 100644 --- a/src/network/utils/packet-socket.h +++ b/src/network/utils/packet-socket.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise, INRIA * diff --git a/src/network/utils/packetbb.cc b/src/network/utils/packetbb.cc index 204ae8d83..96478c2ea 100644 --- a/src/network/utils/packetbb.cc +++ b/src/network/utils/packetbb.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* vim: set ts=2 sw=2 sta expandtab ai si cin: */ /* * Copyright (c) 2009 Drexel University diff --git a/src/network/utils/packetbb.h b/src/network/utils/packetbb.h index 03a228a5e..ceaeec0f9 100644 --- a/src/network/utils/packetbb.h +++ b/src/network/utils/packetbb.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* vim: set ts=2 sw=2 sta expandtab ai si cin: */ /* * Copyright (c) 2009 Drexel University diff --git a/src/network/utils/pcap-file-wrapper.cc b/src/network/utils/pcap-file-wrapper.cc index e6f60323a..ccf6c9bf7 100644 --- a/src/network/utils/pcap-file-wrapper.cc +++ b/src/network/utils/pcap-file-wrapper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/network/utils/pcap-file-wrapper.h b/src/network/utils/pcap-file-wrapper.h index 4fd3c65c6..c401a4812 100644 --- a/src/network/utils/pcap-file-wrapper.h +++ b/src/network/utils/pcap-file-wrapper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/network/utils/pcap-file.cc b/src/network/utils/pcap-file.cc index 78732773a..9f5c70bc7 100644 --- a/src/network/utils/pcap-file.cc +++ b/src/network/utils/pcap-file.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/network/utils/pcap-file.h b/src/network/utils/pcap-file.h index c3a5a0431..26d673bcd 100644 --- a/src/network/utils/pcap-file.h +++ b/src/network/utils/pcap-file.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/network/utils/pcap-test.h b/src/network/utils/pcap-test.h index fc00c1ab9..7964bf88f 100644 --- a/src/network/utils/pcap-test.h +++ b/src/network/utils/pcap-test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 INRIA * diff --git a/src/network/utils/queue-fwd.h b/src/network/utils/queue-fwd.h index f425ed301..64cce93d4 100644 --- a/src/network/utils/queue-fwd.h +++ b/src/network/utils/queue-fwd.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/queue-item.cc b/src/network/utils/queue-item.cc index 767ef1083..77e25afa9 100644 --- a/src/network/utils/queue-item.cc +++ b/src/network/utils/queue-item.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/queue-item.h b/src/network/utils/queue-item.h index 9cb66b958..a143f625b 100644 --- a/src/network/utils/queue-item.h +++ b/src/network/utils/queue-item.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/queue-limits.cc b/src/network/utils/queue-limits.cc index 009623de9..0503db07f 100644 --- a/src/network/utils/queue-limits.cc +++ b/src/network/utils/queue-limits.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/queue-limits.h b/src/network/utils/queue-limits.h index 32d1756bc..4ac90a1f3 100644 --- a/src/network/utils/queue-limits.h +++ b/src/network/utils/queue-limits.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/network/utils/queue-size.cc b/src/network/utils/queue-size.cc index f506ab491..b958cfeac 100644 --- a/src/network/utils/queue-size.cc +++ b/src/network/utils/queue-size.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2018 Universita' degli Studi di Napoli Federico II // diff --git a/src/network/utils/queue-size.h b/src/network/utils/queue-size.h index 2e822183e..e103f5f84 100644 --- a/src/network/utils/queue-size.h +++ b/src/network/utils/queue-size.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2018 Universita' degli Studi di Napoli Federico II // diff --git a/src/network/utils/queue.cc b/src/network/utils/queue.cc index 1a48c1dbe..6058aba34 100644 --- a/src/network/utils/queue.cc +++ b/src/network/utils/queue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * diff --git a/src/network/utils/queue.h b/src/network/utils/queue.h index b430a681e..71606e983 100644 --- a/src/network/utils/queue.h +++ b/src/network/utils/queue.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * diff --git a/src/network/utils/radiotap-header.cc b/src/network/utils/radiotap-header.cc index 21eae6a24..35f06a6ef 100644 --- a/src/network/utils/radiotap-header.cc +++ b/src/network/utils/radiotap-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/network/utils/radiotap-header.h b/src/network/utils/radiotap-header.h index 5c559ea64..eff42a99b 100644 --- a/src/network/utils/radiotap-header.h +++ b/src/network/utils/radiotap-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/network/utils/sequence-number.h b/src/network/utils/sequence-number.h index ebb81adf8..6856c4fad 100644 --- a/src/network/utils/sequence-number.h +++ b/src/network/utils/sequence-number.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2008-2010 INESC Porto // diff --git a/src/network/utils/simple-channel.cc b/src/network/utils/simple-channel.cc index 0cacf7495..5ba3db453 100644 --- a/src/network/utils/simple-channel.cc +++ b/src/network/utils/simple-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/utils/simple-channel.h b/src/network/utils/simple-channel.h index 3d60e4900..4b55f852d 100644 --- a/src/network/utils/simple-channel.h +++ b/src/network/utils/simple-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/utils/simple-net-device.cc b/src/network/utils/simple-net-device.cc index a785e0d73..7be9dd524 100644 --- a/src/network/utils/simple-net-device.cc +++ b/src/network/utils/simple-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/utils/simple-net-device.h b/src/network/utils/simple-net-device.h index 30cff79f5..0f3dde9b3 100644 --- a/src/network/utils/simple-net-device.h +++ b/src/network/utils/simple-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/network/utils/sll-header.cc b/src/network/utils/sll-header.cc index 91a52b9c2..02f0b1099 100644 --- a/src/network/utils/sll-header.cc +++ b/src/network/utils/sll-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Université Pierre et Marie Curie * diff --git a/src/network/utils/sll-header.h b/src/network/utils/sll-header.h index 4e370adcf..dd4f65577 100644 --- a/src/network/utils/sll-header.h +++ b/src/network/utils/sll-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Université Pierre et Marie Curie * diff --git a/src/nix-vector-routing/examples/nix-double-wifi.cc b/src/nix-vector-routing/examples/nix-double-wifi.cc index a064e257c..12f0de3dd 100644 --- a/src/nix-vector-routing/examples/nix-double-wifi.cc +++ b/src/nix-vector-routing/examples/nix-double-wifi.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 NITK Surathkal * diff --git a/src/nix-vector-routing/examples/nix-simple-multi-address.cc b/src/nix-vector-routing/examples/nix-simple-multi-address.cc index 348df6afc..2330d2735 100644 --- a/src/nix-vector-routing/examples/nix-simple-multi-address.cc +++ b/src/nix-vector-routing/examples/nix-simple-multi-address.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 NITK Surathkal * diff --git a/src/nix-vector-routing/examples/nix-simple.cc b/src/nix-vector-routing/examples/nix-simple.cc index 83a97aa80..f7eaf399a 100644 --- a/src/nix-vector-routing/examples/nix-simple.cc +++ b/src/nix-vector-routing/examples/nix-simple.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 NITK Surathkal * diff --git a/src/nix-vector-routing/examples/nms-p2p-nix.cc b/src/nix-vector-routing/examples/nms-p2p-nix.cc index 7774fe70c..c44f833e9 100644 --- a/src/nix-vector-routing/examples/nms-p2p-nix.cc +++ b/src/nix-vector-routing/examples/nms-p2p-nix.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, GTech Systems, Inc. * Copyright (c) 2021 NITK Surathkal: Extended to handle IPv6 diff --git a/src/nix-vector-routing/helper/ipv4-nix-vector-helper.h b/src/nix-vector-routing/helper/ipv4-nix-vector-helper.h index c56922323..94e4afefe 100644 --- a/src/nix-vector-routing/helper/ipv4-nix-vector-helper.h +++ b/src/nix-vector-routing/helper/ipv4-nix-vector-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 NITK Surathkal * diff --git a/src/nix-vector-routing/helper/nix-vector-helper.cc b/src/nix-vector-routing/helper/nix-vector-helper.cc index 0f453f6e5..b282db4ec 100644 --- a/src/nix-vector-routing/helper/nix-vector-helper.cc +++ b/src/nix-vector-routing/helper/nix-vector-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * Copyright (c) 2021 NITK Surathkal diff --git a/src/nix-vector-routing/helper/nix-vector-helper.h b/src/nix-vector-routing/helper/nix-vector-helper.h index 4cee1a9ec..e4daf92dc 100644 --- a/src/nix-vector-routing/helper/nix-vector-helper.h +++ b/src/nix-vector-routing/helper/nix-vector-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * Copyright (c) 2021 NITK Surathkal diff --git a/src/nix-vector-routing/model/ipv4-nix-vector-routing.h b/src/nix-vector-routing/model/ipv4-nix-vector-routing.h index 16bc2124e..9dd617fc5 100644 --- a/src/nix-vector-routing/model/ipv4-nix-vector-routing.h +++ b/src/nix-vector-routing/model/ipv4-nix-vector-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 NITK Surathkal * diff --git a/src/nix-vector-routing/model/nix-vector-routing.cc b/src/nix-vector-routing/model/nix-vector-routing.cc index be5c58b1b..ade0e3ea3 100644 --- a/src/nix-vector-routing/model/nix-vector-routing.cc +++ b/src/nix-vector-routing/model/nix-vector-routing.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * Copyright (c) 2021 NITK Surathkal diff --git a/src/nix-vector-routing/model/nix-vector-routing.h b/src/nix-vector-routing/model/nix-vector-routing.h index 4be4d6088..7a8001f1f 100644 --- a/src/nix-vector-routing/model/nix-vector-routing.h +++ b/src/nix-vector-routing/model/nix-vector-routing.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * Copyright (c) 2021 NITK Surathkal diff --git a/src/nix-vector-routing/test/nix-test.cc b/src/nix-vector-routing/test/nix-test.cc index f4e0585c4..936c2d520 100644 --- a/src/nix-vector-routing/test/nix-test.cc +++ b/src/nix-vector-routing/test/nix-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 NITK Surathkal * diff --git a/src/olsr/examples/olsr-hna.cc b/src/olsr/examples/olsr-hna.cc index e088d4c6f..187288fa3 100644 --- a/src/olsr/examples/olsr-hna.cc +++ b/src/olsr/examples/olsr-hna.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * * This program is free software; you can redistribute it and/or modify diff --git a/src/olsr/examples/simple-point-to-point-olsr.cc b/src/olsr/examples/simple-point-to-point-olsr.cc index e60bec3b3..220f02f2d 100644 --- a/src/olsr/examples/simple-point-to-point-olsr.cc +++ b/src/olsr/examples/simple-point-to-point-olsr.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/olsr/helper/olsr-helper.cc b/src/olsr/helper/olsr-helper.cc index d0b78ef6c..38be92fef 100644 --- a/src/olsr/helper/olsr-helper.cc +++ b/src/olsr/helper/olsr-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/olsr/helper/olsr-helper.h b/src/olsr/helper/olsr-helper.h index f1661ecee..d381de7b6 100644 --- a/src/olsr/helper/olsr-helper.h +++ b/src/olsr/helper/olsr-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/olsr/model/olsr-header.cc b/src/olsr/model/olsr-header.cc index 4462fa02f..70036d106 100644 --- a/src/olsr/model/olsr-header.cc +++ b/src/olsr/model/olsr-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/olsr/model/olsr-header.h b/src/olsr/model/olsr-header.h index feac8e481..5040d1685 100644 --- a/src/olsr/model/olsr-header.h +++ b/src/olsr/model/olsr-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/olsr/model/olsr-repositories.h b/src/olsr/model/olsr-repositories.h index 96074d7f2..17ff5695e 100644 --- a/src/olsr/model/olsr-repositories.h +++ b/src/olsr/model/olsr-repositories.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto diff --git a/src/olsr/model/olsr-routing-protocol.cc b/src/olsr/model/olsr-routing-protocol.cc index e2179e761..025ccffb8 100644 --- a/src/olsr/model/olsr-routing-protocol.cc +++ b/src/olsr/model/olsr-routing-protocol.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto diff --git a/src/olsr/model/olsr-routing-protocol.h b/src/olsr/model/olsr-routing-protocol.h index 76da040f2..c7b730967 100644 --- a/src/olsr/model/olsr-routing-protocol.h +++ b/src/olsr/model/olsr-routing-protocol.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto diff --git a/src/olsr/model/olsr-state.cc b/src/olsr/model/olsr-state.cc index 58ae51a87..0478d60c2 100644 --- a/src/olsr/model/olsr-state.cc +++ b/src/olsr/model/olsr-state.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto diff --git a/src/olsr/model/olsr-state.h b/src/olsr/model/olsr-state.h index 2b3d72fdd..a1f4b0fdd 100644 --- a/src/olsr/model/olsr-state.h +++ b/src/olsr/model/olsr-state.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto diff --git a/src/olsr/test/bug780-test.cc b/src/olsr/test/bug780-test.cc index bdeed3f88..9f37acffa 100644 --- a/src/olsr/test/bug780-test.cc +++ b/src/olsr/test/bug780-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; diff --git a/src/olsr/test/bug780-test.h b/src/olsr/test/bug780-test.h index 5c52fe4fa..b3b03fea8 100644 --- a/src/olsr/test/bug780-test.h +++ b/src/olsr/test/bug780-test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/olsr/test/hello-regression-test.cc b/src/olsr/test/hello-regression-test.cc index a21cc3db3..4af8deca5 100644 --- a/src/olsr/test/hello-regression-test.cc +++ b/src/olsr/test/hello-regression-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/olsr/test/hello-regression-test.h b/src/olsr/test/hello-regression-test.h index d54b77576..9bacc1634 100644 --- a/src/olsr/test/hello-regression-test.h +++ b/src/olsr/test/hello-regression-test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/olsr/test/olsr-header-test-suite.cc b/src/olsr/test/olsr-header-test-suite.cc index 94c715531..851e23d97 100644 --- a/src/olsr/test/olsr-header-test-suite.cc +++ b/src/olsr/test/olsr-header-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/olsr/test/olsr-routing-protocol-test-suite.cc b/src/olsr/test/olsr-routing-protocol-test-suite.cc index 9ddfd6ed9..0c340a9df 100644 --- a/src/olsr/test/olsr-routing-protocol-test-suite.cc +++ b/src/olsr/test/olsr-routing-protocol-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto diff --git a/src/olsr/test/regression-test-suite.cc b/src/olsr/test/regression-test-suite.cc index 1290e3333..7450fa6a1 100644 --- a/src/olsr/test/regression-test-suite.cc +++ b/src/olsr/test/regression-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/olsr/test/tc-regression-test.cc b/src/olsr/test/tc-regression-test.cc index e281b55ef..41171838f 100644 --- a/src/olsr/test/tc-regression-test.cc +++ b/src/olsr/test/tc-regression-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/olsr/test/tc-regression-test.h b/src/olsr/test/tc-regression-test.h index 086cbfe24..9f0f57df4 100644 --- a/src/olsr/test/tc-regression-test.h +++ b/src/olsr/test/tc-regression-test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/openflow/examples/openflow-switch.cc b/src/openflow/examples/openflow-switch.cc index f089e748b..a416f4d70 100644 --- a/src/openflow/examples/openflow-switch.cc +++ b/src/openflow/examples/openflow-switch.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/openflow/helper/openflow-switch-helper.cc b/src/openflow/helper/openflow-switch-helper.cc index 4e0b2b9b9..0eee87685 100644 --- a/src/openflow/helper/openflow-switch-helper.cc +++ b/src/openflow/helper/openflow-switch-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Blake Hurd * diff --git a/src/openflow/helper/openflow-switch-helper.h b/src/openflow/helper/openflow-switch-helper.h index 33477250d..f1c539638 100644 --- a/src/openflow/helper/openflow-switch-helper.h +++ b/src/openflow/helper/openflow-switch-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Blake Hurd * diff --git a/src/openflow/model/openflow-interface.cc b/src/openflow/model/openflow-interface.cc index 95d72b983..599a6faf7 100644 --- a/src/openflow/model/openflow-interface.cc +++ b/src/openflow/model/openflow-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/openflow/model/openflow-interface.h b/src/openflow/model/openflow-interface.h index a8ce180c8..4f7e630fa 100644 --- a/src/openflow/model/openflow-interface.h +++ b/src/openflow/model/openflow-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/openflow/model/openflow-switch-net-device.cc b/src/openflow/model/openflow-switch-net-device.cc index e1bfddd55..fecf86536 100644 --- a/src/openflow/model/openflow-switch-net-device.cc +++ b/src/openflow/model/openflow-switch-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/openflow/model/openflow-switch-net-device.h b/src/openflow/model/openflow-switch-net-device.h index 70c5075e1..911fd291a 100644 --- a/src/openflow/model/openflow-switch-net-device.h +++ b/src/openflow/model/openflow-switch-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/openflow/test/openflow-switch-test-suite.cc b/src/openflow/test/openflow-switch-test-suite.cc index f09c7abe0..b546df79c 100644 --- a/src/openflow/test/openflow-switch-test-suite.cc +++ b/src/openflow/test/openflow-switch-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Blake Hurd * diff --git a/src/point-to-point-layout/model/point-to-point-dumbbell.cc b/src/point-to-point-layout/model/point-to-point-dumbbell.cc index 264dd9c9e..3a3df2a14 100644 --- a/src/point-to-point-layout/model/point-to-point-dumbbell.cc +++ b/src/point-to-point-layout/model/point-to-point-dumbbell.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/point-to-point-layout/model/point-to-point-dumbbell.h b/src/point-to-point-layout/model/point-to-point-dumbbell.h index 8d09f064e..325dc8d60 100644 --- a/src/point-to-point-layout/model/point-to-point-dumbbell.h +++ b/src/point-to-point-layout/model/point-to-point-dumbbell.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/point-to-point-layout/model/point-to-point-grid.cc b/src/point-to-point-layout/model/point-to-point-grid.cc index 42c42f6be..14ddad53d 100644 --- a/src/point-to-point-layout/model/point-to-point-grid.cc +++ b/src/point-to-point-layout/model/point-to-point-grid.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/point-to-point-layout/model/point-to-point-grid.h b/src/point-to-point-layout/model/point-to-point-grid.h index 820afd062..f6e6204d8 100644 --- a/src/point-to-point-layout/model/point-to-point-grid.h +++ b/src/point-to-point-layout/model/point-to-point-grid.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/point-to-point-layout/model/point-to-point-star.cc b/src/point-to-point-layout/model/point-to-point-star.cc index bc8646c35..7ba982cd5 100644 --- a/src/point-to-point-layout/model/point-to-point-star.cc +++ b/src/point-to-point-layout/model/point-to-point-star.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/point-to-point-layout/model/point-to-point-star.h b/src/point-to-point-layout/model/point-to-point-star.h index 5cfe819e9..086f68cfc 100644 --- a/src/point-to-point-layout/model/point-to-point-star.h +++ b/src/point-to-point-layout/model/point-to-point-star.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/point-to-point/examples/main-attribute-value.cc b/src/point-to-point/examples/main-attribute-value.cc index 1e7327bc9..41dba1b95 100644 --- a/src/point-to-point/examples/main-attribute-value.cc +++ b/src/point-to-point/examples/main-attribute-value.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/point-to-point/helper/point-to-point-helper.cc b/src/point-to-point/helper/point-to-point-helper.cc index af915a05c..05cf8e40a 100644 --- a/src/point-to-point/helper/point-to-point-helper.cc +++ b/src/point-to-point/helper/point-to-point-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/point-to-point/helper/point-to-point-helper.h b/src/point-to-point/helper/point-to-point-helper.h index 95228c7c8..11708e73e 100644 --- a/src/point-to-point/helper/point-to-point-helper.h +++ b/src/point-to-point/helper/point-to-point-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/point-to-point/model/point-to-point-channel.cc b/src/point-to-point/model/point-to-point-channel.cc index 03802b413..8a8177b17 100644 --- a/src/point-to-point/model/point-to-point-channel.cc +++ b/src/point-to-point/model/point-to-point-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2008 University of Washington * diff --git a/src/point-to-point/model/point-to-point-channel.h b/src/point-to-point/model/point-to-point-channel.h index b39348908..070fe36b0 100644 --- a/src/point-to-point/model/point-to-point-channel.h +++ b/src/point-to-point/model/point-to-point-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * diff --git a/src/point-to-point/model/point-to-point-net-device.cc b/src/point-to-point/model/point-to-point-net-device.cc index bbe469fc0..50ca65f86 100644 --- a/src/point-to-point/model/point-to-point-net-device.cc +++ b/src/point-to-point/model/point-to-point-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2008 University of Washington * diff --git a/src/point-to-point/model/point-to-point-net-device.h b/src/point-to-point/model/point-to-point-net-device.h index 4b9295a55..a482d224f 100644 --- a/src/point-to-point/model/point-to-point-net-device.h +++ b/src/point-to-point/model/point-to-point-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2008 University of Washington * diff --git a/src/point-to-point/model/point-to-point-remote-channel.cc b/src/point-to-point/model/point-to-point-remote-channel.cc index 780f9508e..a14efd296 100644 --- a/src/point-to-point/model/point-to-point-remote-channel.cc +++ b/src/point-to-point/model/point-to-point-remote-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2008 University of Washington * diff --git a/src/point-to-point/model/point-to-point-remote-channel.h b/src/point-to-point/model/point-to-point-remote-channel.h index 88538f3e0..3c1394e11 100644 --- a/src/point-to-point/model/point-to-point-remote-channel.h +++ b/src/point-to-point/model/point-to-point-remote-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 University of Washington * diff --git a/src/point-to-point/model/ppp-header.cc b/src/point-to-point/model/ppp-header.cc index e75ff659b..5734fbf1e 100644 --- a/src/point-to-point/model/ppp-header.cc +++ b/src/point-to-point/model/ppp-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/point-to-point/model/ppp-header.h b/src/point-to-point/model/ppp-header.h index b12afcabe..cd390cf5e 100644 --- a/src/point-to-point/model/ppp-header.h +++ b/src/point-to-point/model/ppp-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/point-to-point/test/point-to-point-test.cc b/src/point-to-point/test/point-to-point-test.cc index 683f0f98e..87bd0a0cc 100644 --- a/src/point-to-point/test/point-to-point-test.cc +++ b/src/point-to-point/test/point-to-point-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/propagation/examples/jakes-propagation-model-example.cc b/src/propagation/examples/jakes-propagation-model-example.cc index 854d3d282..e46eddd62 100644 --- a/src/propagation/examples/jakes-propagation-model-example.cc +++ b/src/propagation/examples/jakes-propagation-model-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Telum (www.telum.ru) * diff --git a/src/propagation/examples/main-propagation-loss.cc b/src/propagation/examples/main-propagation-loss.cc index feb0f38a5..fc68317aa 100644 --- a/src/propagation/examples/main-propagation-loss.cc +++ b/src/propagation/examples/main-propagation-loss.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Timo Bingmann * diff --git a/src/propagation/model/channel-condition-model.cc b/src/propagation/model/channel-condition-model.cc index c6635e224..c14d6f444 100644 --- a/src/propagation/model/channel-condition-model.cc +++ b/src/propagation/model/channel-condition-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/model/channel-condition-model.h b/src/propagation/model/channel-condition-model.h index e05e56ae8..92893f374 100644 --- a/src/propagation/model/channel-condition-model.h +++ b/src/propagation/model/channel-condition-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/model/cost231-propagation-loss-model.cc b/src/propagation/model/cost231-propagation-loss-model.cc index 184b920f4..e2646cb7f 100644 --- a/src/propagation/model/cost231-propagation-loss-model.cc +++ b/src/propagation/model/cost231-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/propagation/model/cost231-propagation-loss-model.h b/src/propagation/model/cost231-propagation-loss-model.h index 4a75c7d5f..f65685b7a 100644 --- a/src/propagation/model/cost231-propagation-loss-model.h +++ b/src/propagation/model/cost231-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/propagation/model/itu-r-1411-los-propagation-loss-model.cc b/src/propagation/model/itu-r-1411-los-propagation-loss-model.cc index 0fbc1357f..594060e68 100644 --- a/src/propagation/model/itu-r-1411-los-propagation-loss-model.cc +++ b/src/propagation/model/itu-r-1411-los-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/itu-r-1411-los-propagation-loss-model.h b/src/propagation/model/itu-r-1411-los-propagation-loss-model.h index d1fbe84d5..c0d83184b 100644 --- a/src/propagation/model/itu-r-1411-los-propagation-loss-model.h +++ b/src/propagation/model/itu-r-1411-los-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc b/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc index b4ae14bab..416cb573a 100644 --- a/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc +++ b/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h b/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h index 50ea597fa..5b5dbe735 100644 --- a/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h +++ b/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/jakes-process.cc b/src/propagation/model/jakes-process.cc index 7025cddc4..34fa21133 100644 --- a/src/propagation/model/jakes-process.cc +++ b/src/propagation/model/jakes-process.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Telum (www.telum.ru) * diff --git a/src/propagation/model/jakes-process.h b/src/propagation/model/jakes-process.h index f2eb48c97..f9040e675 100644 --- a/src/propagation/model/jakes-process.h +++ b/src/propagation/model/jakes-process.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Telum (www.telum.ru) * diff --git a/src/propagation/model/jakes-propagation-loss-model.cc b/src/propagation/model/jakes-propagation-loss-model.cc index b118b0393..3ea42e55e 100644 --- a/src/propagation/model/jakes-propagation-loss-model.cc +++ b/src/propagation/model/jakes-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Telum (www.telum.ru) * diff --git a/src/propagation/model/jakes-propagation-loss-model.h b/src/propagation/model/jakes-propagation-loss-model.h index d86e8ca7a..d67310a2c 100644 --- a/src/propagation/model/jakes-propagation-loss-model.h +++ b/src/propagation/model/jakes-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Telum (www.telum.ru) * diff --git a/src/propagation/model/kun-2600-mhz-propagation-loss-model.cc b/src/propagation/model/kun-2600-mhz-propagation-loss-model.cc index 749c0144d..cbf2eafca 100644 --- a/src/propagation/model/kun-2600-mhz-propagation-loss-model.cc +++ b/src/propagation/model/kun-2600-mhz-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/kun-2600-mhz-propagation-loss-model.h b/src/propagation/model/kun-2600-mhz-propagation-loss-model.h index 2ab9ea99e..18fd6084f 100644 --- a/src/propagation/model/kun-2600-mhz-propagation-loss-model.h +++ b/src/propagation/model/kun-2600-mhz-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/okumura-hata-propagation-loss-model.cc b/src/propagation/model/okumura-hata-propagation-loss-model.cc index 81df49cf3..6020b8d0d 100644 --- a/src/propagation/model/okumura-hata-propagation-loss-model.cc +++ b/src/propagation/model/okumura-hata-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/okumura-hata-propagation-loss-model.h b/src/propagation/model/okumura-hata-propagation-loss-model.h index e34d1dfca..54c8c8cb6 100644 --- a/src/propagation/model/okumura-hata-propagation-loss-model.h +++ b/src/propagation/model/okumura-hata-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/probabilistic-v2v-channel-condition-model.cc b/src/propagation/model/probabilistic-v2v-channel-condition-model.cc index ffe3aac5b..b2a23a8ac 100644 --- a/src/propagation/model/probabilistic-v2v-channel-condition-model.cc +++ b/src/propagation/model/probabilistic-v2v-channel-condition-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/model/probabilistic-v2v-channel-condition-model.h b/src/propagation/model/probabilistic-v2v-channel-condition-model.h index da46ad948..1104a8bc2 100644 --- a/src/propagation/model/probabilistic-v2v-channel-condition-model.h +++ b/src/propagation/model/probabilistic-v2v-channel-condition-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/model/propagation-cache.h b/src/propagation/model/propagation-cache.h index 16ff5897f..526bd3ee7 100644 --- a/src/propagation/model/propagation-cache.h +++ b/src/propagation/model/propagation-cache.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Telum (www.telum.ru) * diff --git a/src/propagation/model/propagation-delay-model.cc b/src/propagation/model/propagation-delay-model.cc index 83da8f809..d8fdd9bde 100644 --- a/src/propagation/model/propagation-delay-model.cc +++ b/src/propagation/model/propagation-delay-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/propagation-delay-model.h b/src/propagation/model/propagation-delay-model.h index 74d43817b..200e0809c 100644 --- a/src/propagation/model/propagation-delay-model.h +++ b/src/propagation/model/propagation-delay-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/propagation-environment.h b/src/propagation/model/propagation-environment.h index 734e93aa8..4fff14319 100644 --- a/src/propagation/model/propagation-environment.h +++ b/src/propagation/model/propagation-environment.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/model/propagation-loss-model.cc b/src/propagation/model/propagation-loss-model.cc index fe0519d33..116149a55 100644 --- a/src/propagation/model/propagation-loss-model.cc +++ b/src/propagation/model/propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/propagation-loss-model.h b/src/propagation/model/propagation-loss-model.h index 373687920..f875b7a43 100644 --- a/src/propagation/model/propagation-loss-model.h +++ b/src/propagation/model/propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/three-gpp-propagation-loss-model.cc b/src/propagation/model/three-gpp-propagation-loss-model.cc index 904f3fa60..5420d118f 100644 --- a/src/propagation/model/three-gpp-propagation-loss-model.cc +++ b/src/propagation/model/three-gpp-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/model/three-gpp-propagation-loss-model.h b/src/propagation/model/three-gpp-propagation-loss-model.h index 0a49d3f2e..be8617cd8 100644 --- a/src/propagation/model/three-gpp-propagation-loss-model.h +++ b/src/propagation/model/three-gpp-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/model/three-gpp-v2v-propagation-loss-model.cc b/src/propagation/model/three-gpp-v2v-propagation-loss-model.cc index b8211116a..2f1005204 100644 --- a/src/propagation/model/three-gpp-v2v-propagation-loss-model.cc +++ b/src/propagation/model/three-gpp-v2v-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/model/three-gpp-v2v-propagation-loss-model.h b/src/propagation/model/three-gpp-v2v-propagation-loss-model.h index 4172abcb8..ecd67a84d 100644 --- a/src/propagation/model/three-gpp-v2v-propagation-loss-model.h +++ b/src/propagation/model/three-gpp-v2v-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/test/channel-condition-model-test-suite.cc b/src/propagation/test/channel-condition-model-test-suite.cc index 762101423..e7b0100d8 100644 --- a/src/propagation/test/channel-condition-model-test-suite.cc +++ b/src/propagation/test/channel-condition-model-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/propagation/test/itu-r-1411-los-test-suite.cc b/src/propagation/test/itu-r-1411-los-test-suite.cc index eaa0c6cf4..0329c3498 100644 --- a/src/propagation/test/itu-r-1411-los-test-suite.cc +++ b/src/propagation/test/itu-r-1411-los-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/test/itu-r-1411-nlos-over-rooftop-test-suite.cc b/src/propagation/test/itu-r-1411-nlos-over-rooftop-test-suite.cc index 7be140177..6e21de762 100644 --- a/src/propagation/test/itu-r-1411-nlos-over-rooftop-test-suite.cc +++ b/src/propagation/test/itu-r-1411-nlos-over-rooftop-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/test/kun-2600-mhz-test-suite.cc b/src/propagation/test/kun-2600-mhz-test-suite.cc index ef58b9799..9d4f4833c 100644 --- a/src/propagation/test/kun-2600-mhz-test-suite.cc +++ b/src/propagation/test/kun-2600-mhz-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/test/okumura-hata-test-suite.cc b/src/propagation/test/okumura-hata-test-suite.cc index 5f80174c4..fb8450dab 100644 --- a/src/propagation/test/okumura-hata-test-suite.cc +++ b/src/propagation/test/okumura-hata-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/test/probabilistic-v2v-channel-condition-model-test.cc b/src/propagation/test/probabilistic-v2v-channel-condition-model-test.cc index 2077d726e..e5a6babd2 100644 --- a/src/propagation/test/probabilistic-v2v-channel-condition-model-test.cc +++ b/src/propagation/test/probabilistic-v2v-channel-condition-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/propagation/test/propagation-loss-model-test-suite.cc b/src/propagation/test/propagation-loss-model-test-suite.cc index 7b7496235..a87b227c7 100644 --- a/src/propagation/test/propagation-loss-model-test-suite.cc +++ b/src/propagation/test/propagation-loss-model-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Boeing Company * diff --git a/src/propagation/test/three-gpp-propagation-loss-model-test-suite.cc b/src/propagation/test/three-gpp-propagation-loss-model-test-suite.cc index bb83dbfd2..8c5fa31e9 100644 --- a/src/propagation/test/three-gpp-propagation-loss-model-test-suite.cc +++ b/src/propagation/test/three-gpp-propagation-loss-model-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/sixlowpan/examples/example-ping-lr-wpan-beacon.cc b/src/sixlowpan/examples/example-ping-lr-wpan-beacon.cc index 914f57242..c0d4d6217 100644 --- a/src/sixlowpan/examples/example-ping-lr-wpan-beacon.cc +++ b/src/sixlowpan/examples/example-ping-lr-wpan-beacon.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Ritsumeikan University, Shiga, Japan * diff --git a/src/sixlowpan/examples/example-ping-lr-wpan-mesh-under.cc b/src/sixlowpan/examples/example-ping-lr-wpan-mesh-under.cc index 977c48d86..ce56b44d1 100644 --- a/src/sixlowpan/examples/example-ping-lr-wpan-mesh-under.cc +++ b/src/sixlowpan/examples/example-ping-lr-wpan-mesh-under.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/examples/example-ping-lr-wpan.cc b/src/sixlowpan/examples/example-ping-lr-wpan.cc index 0ffe37e01..becd7f6f3 100644 --- a/src/sixlowpan/examples/example-ping-lr-wpan.cc +++ b/src/sixlowpan/examples/example-ping-lr-wpan.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/examples/example-sixlowpan.cc b/src/sixlowpan/examples/example-sixlowpan.cc index 6ae96169c..470308210 100644 --- a/src/sixlowpan/examples/example-sixlowpan.cc +++ b/src/sixlowpan/examples/example-sixlowpan.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/helper/sixlowpan-helper.cc b/src/sixlowpan/helper/sixlowpan-helper.cc index d050f0ae8..74ab70a60 100644 --- a/src/sixlowpan/helper/sixlowpan-helper.cc +++ b/src/sixlowpan/helper/sixlowpan-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/helper/sixlowpan-helper.h b/src/sixlowpan/helper/sixlowpan-helper.h index 80886ad8a..554772148 100644 --- a/src/sixlowpan/helper/sixlowpan-helper.h +++ b/src/sixlowpan/helper/sixlowpan-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/model/sixlowpan-header.cc b/src/sixlowpan/model/sixlowpan-header.cc index 71c9d3031..8880bfcdd 100644 --- a/src/sixlowpan/model/sixlowpan-header.cc +++ b/src/sixlowpan/model/sixlowpan-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/model/sixlowpan-header.h b/src/sixlowpan/model/sixlowpan-header.h index 4c8776010..6e76016b4 100644 --- a/src/sixlowpan/model/sixlowpan-header.h +++ b/src/sixlowpan/model/sixlowpan-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/model/sixlowpan-net-device.cc b/src/sixlowpan/model/sixlowpan-net-device.cc index 5e59498f8..94feea2ad 100644 --- a/src/sixlowpan/model/sixlowpan-net-device.cc +++ b/src/sixlowpan/model/sixlowpan-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/model/sixlowpan-net-device.h b/src/sixlowpan/model/sixlowpan-net-device.h index b0c051ea0..b38a52fdf 100644 --- a/src/sixlowpan/model/sixlowpan-net-device.h +++ b/src/sixlowpan/model/sixlowpan-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/test/mock-net-device.cc b/src/sixlowpan/test/mock-net-device.cc index 5391d72c2..aa266f464 100644 --- a/src/sixlowpan/test/mock-net-device.cc +++ b/src/sixlowpan/test/mock-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/test/mock-net-device.h b/src/sixlowpan/test/mock-net-device.h index a74bb8182..748458ace 100644 --- a/src/sixlowpan/test/mock-net-device.h +++ b/src/sixlowpan/test/mock-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/test/sixlowpan-fragmentation-test.cc b/src/sixlowpan/test/sixlowpan-fragmentation-test.cc index 0b0efb484..d7a082945 100644 --- a/src/sixlowpan/test/sixlowpan-fragmentation-test.cc +++ b/src/sixlowpan/test/sixlowpan-fragmentation-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/test/sixlowpan-hc1-test.cc b/src/sixlowpan/test/sixlowpan-hc1-test.cc index 8b425641a..65ac2e167 100644 --- a/src/sixlowpan/test/sixlowpan-hc1-test.cc +++ b/src/sixlowpan/test/sixlowpan-hc1-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/test/sixlowpan-iphc-stateful-test.cc b/src/sixlowpan/test/sixlowpan-iphc-stateful-test.cc index 5058857ab..b280abf4a 100644 --- a/src/sixlowpan/test/sixlowpan-iphc-stateful-test.cc +++ b/src/sixlowpan/test/sixlowpan-iphc-stateful-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' di Firenze, Italy * diff --git a/src/sixlowpan/test/sixlowpan-iphc-test.cc b/src/sixlowpan/test/sixlowpan-iphc-test.cc index e1c8a8d64..1400b2bea 100644 --- a/src/sixlowpan/test/sixlowpan-iphc-test.cc +++ b/src/sixlowpan/test/sixlowpan-iphc-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze, Italy * diff --git a/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc b/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc index 556874121..d051fc6d9 100644 --- a/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc +++ b/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc b/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc index 5bf9ecd57..a70ce5f4c 100644 --- a/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc +++ b/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/examples/adhoc-aloha-ideal-phy.cc b/src/spectrum/examples/adhoc-aloha-ideal-phy.cc index 0f420df46..da7907578 100644 --- a/src/spectrum/examples/adhoc-aloha-ideal-phy.cc +++ b/src/spectrum/examples/adhoc-aloha-ideal-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/examples/three-gpp-channel-example.cc b/src/spectrum/examples/three-gpp-channel-example.cc index 65e28c14e..f5341c49c 100644 --- a/src/spectrum/examples/three-gpp-channel-example.cc +++ b/src/spectrum/examples/three-gpp-channel-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/spectrum/examples/tv-trans-example.cc b/src/spectrum/examples/tv-trans-example.cc index 1bc2e20e7..813d69907 100644 --- a/src/spectrum/examples/tv-trans-example.cc +++ b/src/spectrum/examples/tv-trans-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/spectrum/examples/tv-trans-regional-example.cc b/src/spectrum/examples/tv-trans-regional-example.cc index 6276f4c24..4cc23b711 100644 --- a/src/spectrum/examples/tv-trans-regional-example.cc +++ b/src/spectrum/examples/tv-trans-regional-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc b/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc index 2a772f00c..02e3ab28d 100644 --- a/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc +++ b/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.h b/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.h index 3128fe68a..7bd88aa3b 100644 --- a/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.h +++ b/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/helper/spectrum-analyzer-helper.cc b/src/spectrum/helper/spectrum-analyzer-helper.cc index a7c6761ac..bba571203 100644 --- a/src/spectrum/helper/spectrum-analyzer-helper.cc +++ b/src/spectrum/helper/spectrum-analyzer-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/helper/spectrum-analyzer-helper.h b/src/spectrum/helper/spectrum-analyzer-helper.h index 49741fbd0..95a273bcf 100644 --- a/src/spectrum/helper/spectrum-analyzer-helper.h +++ b/src/spectrum/helper/spectrum-analyzer-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/helper/spectrum-helper.cc b/src/spectrum/helper/spectrum-helper.cc index a5d1783e4..0b97a673a 100644 --- a/src/spectrum/helper/spectrum-helper.cc +++ b/src/spectrum/helper/spectrum-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/helper/spectrum-helper.h b/src/spectrum/helper/spectrum-helper.h index e5b37cae9..b065b8bdb 100644 --- a/src/spectrum/helper/spectrum-helper.h +++ b/src/spectrum/helper/spectrum-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/helper/tv-spectrum-transmitter-helper.cc b/src/spectrum/helper/tv-spectrum-transmitter-helper.cc index 21d40155c..c236b8518 100644 --- a/src/spectrum/helper/tv-spectrum-transmitter-helper.cc +++ b/src/spectrum/helper/tv-spectrum-transmitter-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/spectrum/helper/tv-spectrum-transmitter-helper.h b/src/spectrum/helper/tv-spectrum-transmitter-helper.h index 7c8a2f080..4ff4ddf7a 100644 --- a/src/spectrum/helper/tv-spectrum-transmitter-helper.h +++ b/src/spectrum/helper/tv-spectrum-transmitter-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/spectrum/helper/waveform-generator-helper.cc b/src/spectrum/helper/waveform-generator-helper.cc index 453b66e7b..ccd6e4506 100644 --- a/src/spectrum/helper/waveform-generator-helper.cc +++ b/src/spectrum/helper/waveform-generator-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/helper/waveform-generator-helper.h b/src/spectrum/helper/waveform-generator-helper.h index e48b726db..fdc92b6ed 100644 --- a/src/spectrum/helper/waveform-generator-helper.h +++ b/src/spectrum/helper/waveform-generator-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/model/aloha-noack-mac-header.cc b/src/spectrum/model/aloha-noack-mac-header.cc index a1741a690..96c9bfe1b 100644 --- a/src/spectrum/model/aloha-noack-mac-header.cc +++ b/src/spectrum/model/aloha-noack-mac-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/aloha-noack-mac-header.h b/src/spectrum/model/aloha-noack-mac-header.h index 1c1b71967..68259fff1 100644 --- a/src/spectrum/model/aloha-noack-mac-header.h +++ b/src/spectrum/model/aloha-noack-mac-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 CTTC * diff --git a/src/spectrum/model/aloha-noack-net-device.cc b/src/spectrum/model/aloha-noack-net-device.cc index 6f55b8054..079b1ce1b 100644 --- a/src/spectrum/model/aloha-noack-net-device.cc +++ b/src/spectrum/model/aloha-noack-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/model/aloha-noack-net-device.h b/src/spectrum/model/aloha-noack-net-device.h index 8f08df324..ff3cdfaf8 100644 --- a/src/spectrum/model/aloha-noack-net-device.h +++ b/src/spectrum/model/aloha-noack-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 * diff --git a/src/spectrum/model/constant-spectrum-propagation-loss.cc b/src/spectrum/model/constant-spectrum-propagation-loss.cc index 1f4fca278..12152f946 100644 --- a/src/spectrum/model/constant-spectrum-propagation-loss.cc +++ b/src/spectrum/model/constant-spectrum-propagation-loss.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/spectrum/model/constant-spectrum-propagation-loss.h b/src/spectrum/model/constant-spectrum-propagation-loss.h index 6191cade7..1669eeed0 100644 --- a/src/spectrum/model/constant-spectrum-propagation-loss.h +++ b/src/spectrum/model/constant-spectrum-propagation-loss.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/spectrum/model/friis-spectrum-propagation-loss.cc b/src/spectrum/model/friis-spectrum-propagation-loss.cc index 38d410c98..c6d2594eb 100644 --- a/src/spectrum/model/friis-spectrum-propagation-loss.cc +++ b/src/spectrum/model/friis-spectrum-propagation-loss.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/friis-spectrum-propagation-loss.h b/src/spectrum/model/friis-spectrum-propagation-loss.h index 982f15cd0..1749d08f8 100644 --- a/src/spectrum/model/friis-spectrum-propagation-loss.h +++ b/src/spectrum/model/friis-spectrum-propagation-loss.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/half-duplex-ideal-phy-signal-parameters.cc b/src/spectrum/model/half-duplex-ideal-phy-signal-parameters.cc index f69003a45..5a774d5a8 100644 --- a/src/spectrum/model/half-duplex-ideal-phy-signal-parameters.cc +++ b/src/spectrum/model/half-duplex-ideal-phy-signal-parameters.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/spectrum/model/half-duplex-ideal-phy-signal-parameters.h b/src/spectrum/model/half-duplex-ideal-phy-signal-parameters.h index 19782913a..614ef4949 100644 --- a/src/spectrum/model/half-duplex-ideal-phy-signal-parameters.h +++ b/src/spectrum/model/half-duplex-ideal-phy-signal-parameters.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/half-duplex-ideal-phy.cc b/src/spectrum/model/half-duplex-ideal-phy.cc index d0b830c74..817b504be 100644 --- a/src/spectrum/model/half-duplex-ideal-phy.cc +++ b/src/spectrum/model/half-duplex-ideal-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/half-duplex-ideal-phy.h b/src/spectrum/model/half-duplex-ideal-phy.h index f5fb250d0..75712218e 100644 --- a/src/spectrum/model/half-duplex-ideal-phy.h +++ b/src/spectrum/model/half-duplex-ideal-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/matrix-based-channel-model.cc b/src/spectrum/model/matrix-based-channel-model.cc index d945501e9..ebe82e945 100644 --- a/src/spectrum/model/matrix-based-channel-model.cc +++ b/src/spectrum/model/matrix-based-channel-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/spectrum/model/matrix-based-channel-model.h b/src/spectrum/model/matrix-based-channel-model.h index fce333c2f..5183bbf6c 100644 --- a/src/spectrum/model/matrix-based-channel-model.h +++ b/src/spectrum/model/matrix-based-channel-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/spectrum/model/microwave-oven-spectrum-value-helper.cc b/src/spectrum/model/microwave-oven-spectrum-value-helper.cc index 7210e6e5e..552be11aa 100644 --- a/src/spectrum/model/microwave-oven-spectrum-value-helper.cc +++ b/src/spectrum/model/microwave-oven-spectrum-value-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/microwave-oven-spectrum-value-helper.h b/src/spectrum/model/microwave-oven-spectrum-value-helper.h index ffb7b67dc..6bd0200cf 100644 --- a/src/spectrum/model/microwave-oven-spectrum-value-helper.h +++ b/src/spectrum/model/microwave-oven-spectrum-value-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/multi-model-spectrum-channel.cc b/src/spectrum/model/multi-model-spectrum-channel.cc index a99657e8f..7f4ace7c9 100644 --- a/src/spectrum/model/multi-model-spectrum-channel.cc +++ b/src/spectrum/model/multi-model-spectrum-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/multi-model-spectrum-channel.h b/src/spectrum/model/multi-model-spectrum-channel.h index b340d5405..6ace8abf5 100644 --- a/src/spectrum/model/multi-model-spectrum-channel.h +++ b/src/spectrum/model/multi-model-spectrum-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/non-communicating-net-device.cc b/src/spectrum/model/non-communicating-net-device.cc index 799b30c41..fd07c3eb7 100644 --- a/src/spectrum/model/non-communicating-net-device.cc +++ b/src/spectrum/model/non-communicating-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/model/non-communicating-net-device.h b/src/spectrum/model/non-communicating-net-device.h index 020cbc21f..902dc37ef 100644 --- a/src/spectrum/model/non-communicating-net-device.h +++ b/src/spectrum/model/non-communicating-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 * diff --git a/src/spectrum/model/phased-array-spectrum-propagation-loss-model.cc b/src/spectrum/model/phased-array-spectrum-propagation-loss-model.cc index 8742788d5..328b0ab1e 100644 --- a/src/spectrum/model/phased-array-spectrum-propagation-loss-model.cc +++ b/src/spectrum/model/phased-array-spectrum-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 CTTC * diff --git a/src/spectrum/model/phased-array-spectrum-propagation-loss-model.h b/src/spectrum/model/phased-array-spectrum-propagation-loss-model.h index 22b39433f..453bef2aa 100644 --- a/src/spectrum/model/phased-array-spectrum-propagation-loss-model.h +++ b/src/spectrum/model/phased-array-spectrum-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 CTTC * diff --git a/src/spectrum/model/single-model-spectrum-channel.cc b/src/spectrum/model/single-model-spectrum-channel.cc index dc1915544..53da3ff4f 100644 --- a/src/spectrum/model/single-model-spectrum-channel.cc +++ b/src/spectrum/model/single-model-spectrum-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/single-model-spectrum-channel.h b/src/spectrum/model/single-model-spectrum-channel.h index 4656562eb..a3542a4c0 100644 --- a/src/spectrum/model/single-model-spectrum-channel.h +++ b/src/spectrum/model/single-model-spectrum-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-analyzer.cc b/src/spectrum/model/spectrum-analyzer.cc index e55f76ecd..75cd18b4a 100644 --- a/src/spectrum/model/spectrum-analyzer.cc +++ b/src/spectrum/model/spectrum-analyzer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-analyzer.h b/src/spectrum/model/spectrum-analyzer.h index 903c86703..3284c485d 100644 --- a/src/spectrum/model/spectrum-analyzer.h +++ b/src/spectrum/model/spectrum-analyzer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-channel.cc b/src/spectrum/model/spectrum-channel.cc index b30de3a32..71e460741 100644 --- a/src/spectrum/model/spectrum-channel.cc +++ b/src/spectrum/model/spectrum-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-channel.h b/src/spectrum/model/spectrum-channel.h index b2cf0d195..ed9deaf65 100644 --- a/src/spectrum/model/spectrum-channel.h +++ b/src/spectrum/model/spectrum-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-converter.cc b/src/spectrum/model/spectrum-converter.cc index dd7ad56ae..357e1a39e 100644 --- a/src/spectrum/model/spectrum-converter.cc +++ b/src/spectrum/model/spectrum-converter.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-converter.h b/src/spectrum/model/spectrum-converter.h index a93c65637..08149fb12 100644 --- a/src/spectrum/model/spectrum-converter.h +++ b/src/spectrum/model/spectrum-converter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-error-model.cc b/src/spectrum/model/spectrum-error-model.cc index f642f46f3..3cd7db2be 100644 --- a/src/spectrum/model/spectrum-error-model.cc +++ b/src/spectrum/model/spectrum-error-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-error-model.h b/src/spectrum/model/spectrum-error-model.h index 5dd4f9a77..958315f41 100644 --- a/src/spectrum/model/spectrum-error-model.h +++ b/src/spectrum/model/spectrum-error-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-interference.cc b/src/spectrum/model/spectrum-interference.cc index be03e2b24..b25b24e40 100644 --- a/src/spectrum/model/spectrum-interference.cc +++ b/src/spectrum/model/spectrum-interference.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-interference.h b/src/spectrum/model/spectrum-interference.h index 32bf64634..f2b5043e3 100644 --- a/src/spectrum/model/spectrum-interference.h +++ b/src/spectrum/model/spectrum-interference.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc b/src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc index 8968eeeda..0be3e661b 100644 --- a/src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc +++ b/src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model-300kHz-300GHz-log.h b/src/spectrum/model/spectrum-model-300kHz-300GHz-log.h index 18817fc3e..5810253ef 100644 --- a/src/spectrum/model/spectrum-model-300kHz-300GHz-log.h +++ b/src/spectrum/model/spectrum-model-300kHz-300GHz-log.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc b/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc index 7674a2ca8..fb374e66f 100644 --- a/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc +++ b/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h b/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h index 87b565a92..6cd9371a2 100644 --- a/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h +++ b/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model.cc b/src/spectrum/model/spectrum-model.cc index ef67690b9..3fecc1c0d 100644 --- a/src/spectrum/model/spectrum-model.cc +++ b/src/spectrum/model/spectrum-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC diff --git a/src/spectrum/model/spectrum-model.h b/src/spectrum/model/spectrum-model.h index 22551212e..034df1913 100644 --- a/src/spectrum/model/spectrum-model.h +++ b/src/spectrum/model/spectrum-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-phy.cc b/src/spectrum/model/spectrum-phy.cc index 5f5e4a68a..da50632b2 100644 --- a/src/spectrum/model/spectrum-phy.cc +++ b/src/spectrum/model/spectrum-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-phy.h b/src/spectrum/model/spectrum-phy.h index 4b655e075..4ffecbc73 100644 --- a/src/spectrum/model/spectrum-phy.h +++ b/src/spectrum/model/spectrum-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-propagation-loss-model.cc b/src/spectrum/model/spectrum-propagation-loss-model.cc index 30ff7e683..62f90002c 100644 --- a/src/spectrum/model/spectrum-propagation-loss-model.cc +++ b/src/spectrum/model/spectrum-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/model/spectrum-propagation-loss-model.h b/src/spectrum/model/spectrum-propagation-loss-model.h index 5c8ef443e..fd8c7c81b 100644 --- a/src/spectrum/model/spectrum-propagation-loss-model.h +++ b/src/spectrum/model/spectrum-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-signal-parameters.cc b/src/spectrum/model/spectrum-signal-parameters.cc index 60d3a0030..db053e141 100644 --- a/src/spectrum/model/spectrum-signal-parameters.cc +++ b/src/spectrum/model/spectrum-signal-parameters.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/spectrum/model/spectrum-signal-parameters.h b/src/spectrum/model/spectrum-signal-parameters.h index 9896b5097..e2b5c8865 100644 --- a/src/spectrum/model/spectrum-signal-parameters.h +++ b/src/spectrum/model/spectrum-signal-parameters.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/spectrum/model/spectrum-value.cc b/src/spectrum/model/spectrum-value.cc index 468ad1364..d53d333b3 100644 --- a/src/spectrum/model/spectrum-value.cc +++ b/src/spectrum/model/spectrum-value.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC diff --git a/src/spectrum/model/spectrum-value.h b/src/spectrum/model/spectrum-value.h index 9abe90ee2..c814d383a 100644 --- a/src/spectrum/model/spectrum-value.h +++ b/src/spectrum/model/spectrum-value.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/three-gpp-channel-model.cc b/src/spectrum/model/three-gpp-channel-model.cc index 223e0398c..2a75a1d58 100644 --- a/src/spectrum/model/three-gpp-channel-model.cc +++ b/src/spectrum/model/three-gpp-channel-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * University of Padova diff --git a/src/spectrum/model/three-gpp-channel-model.h b/src/spectrum/model/three-gpp-channel-model.h index 09c105466..757c091e1 100644 --- a/src/spectrum/model/three-gpp-channel-model.h +++ b/src/spectrum/model/three-gpp-channel-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015, NYU WIRELESS, Tandon School of Engineering, * New York University diff --git a/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.cc b/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.cc index 5f1241e9f..5dcfff319 100644 --- a/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.cc +++ b/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015, NYU WIRELESS, Tandon School of Engineering, * New York University diff --git a/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.h b/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.h index cbfc9f160..6dd259a76 100644 --- a/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.h +++ b/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015, NYU WIRELESS, Tandon School of Engineering, * New York University diff --git a/src/spectrum/model/trace-fading-loss-model.cc b/src/spectrum/model/trace-fading-loss-model.cc index 6f78c4646..eb35f46a4 100644 --- a/src/spectrum/model/trace-fading-loss-model.cc +++ b/src/spectrum/model/trace-fading-loss-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/spectrum/model/trace-fading-loss-model.h b/src/spectrum/model/trace-fading-loss-model.h index df60043e9..1e22defe0 100644 --- a/src/spectrum/model/trace-fading-loss-model.h +++ b/src/spectrum/model/trace-fading-loss-model.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * diff --git a/src/spectrum/model/tv-spectrum-transmitter.cc b/src/spectrum/model/tv-spectrum-transmitter.cc index 918a4b932..9802ac8f9 100644 --- a/src/spectrum/model/tv-spectrum-transmitter.cc +++ b/src/spectrum/model/tv-spectrum-transmitter.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/spectrum/model/tv-spectrum-transmitter.h b/src/spectrum/model/tv-spectrum-transmitter.h index 47114c458..cbb2f3765 100644 --- a/src/spectrum/model/tv-spectrum-transmitter.h +++ b/src/spectrum/model/tv-spectrum-transmitter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/spectrum/model/waveform-generator.cc b/src/spectrum/model/waveform-generator.cc index c8c061205..0d9825e00 100644 --- a/src/spectrum/model/waveform-generator.cc +++ b/src/spectrum/model/waveform-generator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/waveform-generator.h b/src/spectrum/model/waveform-generator.h index c75c4f047..4eef4a7a0 100644 --- a/src/spectrum/model/waveform-generator.h +++ b/src/spectrum/model/waveform-generator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/wifi-spectrum-value-helper.cc b/src/spectrum/model/wifi-spectrum-value-helper.cc index 581f67264..b958cb728 100644 --- a/src/spectrum/model/wifi-spectrum-value-helper.cc +++ b/src/spectrum/model/wifi-spectrum-value-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari diff --git a/src/spectrum/model/wifi-spectrum-value-helper.h b/src/spectrum/model/wifi-spectrum-value-helper.h index 3abfe0a18..c0cea026e 100644 --- a/src/spectrum/model/wifi-spectrum-value-helper.h +++ b/src/spectrum/model/wifi-spectrum-value-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * Copyright (c) 2017 Orange Labs diff --git a/src/spectrum/test/spectrum-ideal-phy-test.cc b/src/spectrum/test/spectrum-ideal-phy-test.cc index a66ef1f96..588a38c56 100644 --- a/src/spectrum/test/spectrum-ideal-phy-test.cc +++ b/src/spectrum/test/spectrum-ideal-phy-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/spectrum/test/spectrum-interference-test.cc b/src/spectrum/test/spectrum-interference-test.cc index d793eea01..221a5bd20 100644 --- a/src/spectrum/test/spectrum-interference-test.cc +++ b/src/spectrum/test/spectrum-interference-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/test/spectrum-test.h b/src/spectrum/test/spectrum-test.h index 8dfcb7998..f010bf7ab 100644 --- a/src/spectrum/test/spectrum-test.h +++ b/src/spectrum/test/spectrum-test.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * Copyright (c) 2011 CTTC diff --git a/src/spectrum/test/spectrum-value-test.cc b/src/spectrum/test/spectrum-value-test.cc index fdb232cd1..3fddc0643 100644 --- a/src/spectrum/test/spectrum-value-test.cc +++ b/src/spectrum/test/spectrum-value-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/test/spectrum-waveform-generator-test.cc b/src/spectrum/test/spectrum-waveform-generator-test.cc index 748f596ef..2df3f3dec 100644 --- a/src/spectrum/test/spectrum-waveform-generator-test.cc +++ b/src/spectrum/test/spectrum-waveform-generator-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/spectrum/test/three-gpp-channel-test-suite.cc b/src/spectrum/test/three-gpp-channel-test-suite.cc index 07e406a27..e4cc04e23 100644 --- a/src/spectrum/test/three-gpp-channel-test-suite.cc +++ b/src/spectrum/test/three-gpp-channel-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering, * diff --git a/src/spectrum/test/tv-helper-distribution-test.cc b/src/spectrum/test/tv-helper-distribution-test.cc index 020732917..7cca83b17 100644 --- a/src/spectrum/test/tv-helper-distribution-test.cc +++ b/src/spectrum/test/tv-helper-distribution-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/spectrum/test/tv-spectrum-transmitter-test.cc b/src/spectrum/test/tv-spectrum-transmitter-test.cc index 059b1aeb5..3f5b5079f 100644 --- a/src/spectrum/test/tv-spectrum-transmitter-test.cc +++ b/src/spectrum/test/tv-spectrum-transmitter-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/stats/examples/double-probe-example.cc b/src/stats/examples/double-probe-example.cc index ee4e8b91b..3cace5f06 100644 --- a/src/stats/examples/double-probe-example.cc +++ b/src/stats/examples/double-probe-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/stats/examples/file-aggregator-example.cc b/src/stats/examples/file-aggregator-example.cc index 2b0170a5f..25f7830a1 100644 --- a/src/stats/examples/file-aggregator-example.cc +++ b/src/stats/examples/file-aggregator-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/examples/file-helper-example.cc b/src/stats/examples/file-helper-example.cc index c79182919..6de59b84b 100644 --- a/src/stats/examples/file-helper-example.cc +++ b/src/stats/examples/file-helper-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/examples/gnuplot-aggregator-example.cc b/src/stats/examples/gnuplot-aggregator-example.cc index 4908858a3..b66ea739f 100644 --- a/src/stats/examples/gnuplot-aggregator-example.cc +++ b/src/stats/examples/gnuplot-aggregator-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/examples/gnuplot-example.cc b/src/stats/examples/gnuplot-example.cc index a40b7810e..dfb5756f9 100644 --- a/src/stats/examples/gnuplot-example.cc +++ b/src/stats/examples/gnuplot-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 University of Washington * diff --git a/src/stats/examples/gnuplot-helper-example.cc b/src/stats/examples/gnuplot-helper-example.cc index 338e56057..ec6d3d234 100644 --- a/src/stats/examples/gnuplot-helper-example.cc +++ b/src/stats/examples/gnuplot-helper-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/examples/time-probe-example.cc b/src/stats/examples/time-probe-example.cc index c584bf9f2..296cae4f9 100644 --- a/src/stats/examples/time-probe-example.cc +++ b/src/stats/examples/time-probe-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/stats/helper/file-helper.cc b/src/stats/helper/file-helper.cc index f10606ba0..6a5d45633 100644 --- a/src/stats/helper/file-helper.cc +++ b/src/stats/helper/file-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/helper/file-helper.h b/src/stats/helper/file-helper.h index ebc2a4b44..3f9f768ae 100644 --- a/src/stats/helper/file-helper.h +++ b/src/stats/helper/file-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/helper/gnuplot-helper.cc b/src/stats/helper/gnuplot-helper.cc index 276a21e6d..1d5c429c1 100644 --- a/src/stats/helper/gnuplot-helper.cc +++ b/src/stats/helper/gnuplot-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/helper/gnuplot-helper.h b/src/stats/helper/gnuplot-helper.h index 6e074d0b0..f19bb6bfb 100644 --- a/src/stats/helper/gnuplot-helper.h +++ b/src/stats/helper/gnuplot-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/model/average.h b/src/stats/model/average.h index 08c8fd367..76cc89549 100644 --- a/src/stats/model/average.h +++ b/src/stats/model/average.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/stats/model/basic-data-calculators.h b/src/stats/model/basic-data-calculators.h index 8d37790e6..3368491e0 100644 --- a/src/stats/model/basic-data-calculators.h +++ b/src/stats/model/basic-data-calculators.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/boolean-probe.cc b/src/stats/model/boolean-probe.cc index 8fc7c40e9..4cd51f898 100644 --- a/src/stats/model/boolean-probe.cc +++ b/src/stats/model/boolean-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/boolean-probe.h b/src/stats/model/boolean-probe.h index 3906d0aae..e7e379779 100644 --- a/src/stats/model/boolean-probe.h +++ b/src/stats/model/boolean-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/data-calculator.cc b/src/stats/model/data-calculator.cc index 618faaa8b..e069ec0e7 100644 --- a/src/stats/model/data-calculator.cc +++ b/src/stats/model/data-calculator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/data-calculator.h b/src/stats/model/data-calculator.h index 966ba1408..cf41bc04c 100644 --- a/src/stats/model/data-calculator.h +++ b/src/stats/model/data-calculator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/data-collection-object.cc b/src/stats/model/data-collection-object.cc index 49d816e14..190c3e1d1 100644 --- a/src/stats/model/data-collection-object.cc +++ b/src/stats/model/data-collection-object.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/data-collection-object.h b/src/stats/model/data-collection-object.h index 7823fbb4a..6badcb855 100644 --- a/src/stats/model/data-collection-object.h +++ b/src/stats/model/data-collection-object.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/data-collector.cc b/src/stats/model/data-collector.cc index 23064a799..aa48a4131 100644 --- a/src/stats/model/data-collector.cc +++ b/src/stats/model/data-collector.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/data-collector.h b/src/stats/model/data-collector.h index f0daf9240..92815a50f 100644 --- a/src/stats/model/data-collector.h +++ b/src/stats/model/data-collector.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/data-output-interface.cc b/src/stats/model/data-output-interface.cc index 3ec1d9f78..e300d020f 100644 --- a/src/stats/model/data-output-interface.cc +++ b/src/stats/model/data-output-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/data-output-interface.h b/src/stats/model/data-output-interface.h index e12342998..d363b7d80 100644 --- a/src/stats/model/data-output-interface.h +++ b/src/stats/model/data-output-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/double-probe.cc b/src/stats/model/double-probe.cc index 80842b0de..a364bddc4 100644 --- a/src/stats/model/double-probe.cc +++ b/src/stats/model/double-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/double-probe.h b/src/stats/model/double-probe.h index e91df9603..bb52650ac 100644 --- a/src/stats/model/double-probe.h +++ b/src/stats/model/double-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/file-aggregator.cc b/src/stats/model/file-aggregator.cc index 69a522334..c560407ce 100644 --- a/src/stats/model/file-aggregator.cc +++ b/src/stats/model/file-aggregator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/model/file-aggregator.h b/src/stats/model/file-aggregator.h index c17a975a2..9be5ef94d 100644 --- a/src/stats/model/file-aggregator.h +++ b/src/stats/model/file-aggregator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/get-wildcard-matches.cc b/src/stats/model/get-wildcard-matches.cc index d299cde08..e4f16a81a 100644 --- a/src/stats/model/get-wildcard-matches.cc +++ b/src/stats/model/get-wildcard-matches.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/model/get-wildcard-matches.h b/src/stats/model/get-wildcard-matches.h index e82563b16..842896c86 100644 --- a/src/stats/model/get-wildcard-matches.h +++ b/src/stats/model/get-wildcard-matches.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/model/gnuplot-aggregator.cc b/src/stats/model/gnuplot-aggregator.cc index 07034fb65..faf2d0221 100644 --- a/src/stats/model/gnuplot-aggregator.cc +++ b/src/stats/model/gnuplot-aggregator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/model/gnuplot-aggregator.h b/src/stats/model/gnuplot-aggregator.h index 12d607c43..ba575d1cc 100644 --- a/src/stats/model/gnuplot-aggregator.h +++ b/src/stats/model/gnuplot-aggregator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/gnuplot.cc b/src/stats/model/gnuplot.cc index 829d96615..52b9b16be 100644 --- a/src/stats/model/gnuplot.cc +++ b/src/stats/model/gnuplot.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, 2008 Timo Bingmann * diff --git a/src/stats/model/gnuplot.h b/src/stats/model/gnuplot.h index d31c43201..86673112b 100644 --- a/src/stats/model/gnuplot.h +++ b/src/stats/model/gnuplot.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA, 2008 Timo Bingmann * diff --git a/src/stats/model/histogram.cc b/src/stats/model/histogram.cc index 24f0420d6..8f11f94ad 100644 --- a/src/stats/model/histogram.cc +++ b/src/stats/model/histogram.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/stats/model/histogram.h b/src/stats/model/histogram.h index 37d2ea964..6f2537e2b 100644 --- a/src/stats/model/histogram.h +++ b/src/stats/model/histogram.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/stats/model/omnet-data-output.cc b/src/stats/model/omnet-data-output.cc index 4d6634b85..c0446603e 100644 --- a/src/stats/model/omnet-data-output.cc +++ b/src/stats/model/omnet-data-output.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/omnet-data-output.h b/src/stats/model/omnet-data-output.h index c56e04680..f2777bb84 100644 --- a/src/stats/model/omnet-data-output.h +++ b/src/stats/model/omnet-data-output.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/probe.cc b/src/stats/model/probe.cc index c89166726..36ea10a0f 100644 --- a/src/stats/model/probe.cc +++ b/src/stats/model/probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/probe.h b/src/stats/model/probe.h index d3f43dd4a..38a64cefc 100644 --- a/src/stats/model/probe.h +++ b/src/stats/model/probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/sqlite-data-output.cc b/src/stats/model/sqlite-data-output.cc index 97ad41e57..773800776 100644 --- a/src/stats/model/sqlite-data-output.cc +++ b/src/stats/model/sqlite-data-output.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/sqlite-data-output.h b/src/stats/model/sqlite-data-output.h index 0fb5fcd1b..58b33a947 100644 --- a/src/stats/model/sqlite-data-output.h +++ b/src/stats/model/sqlite-data-output.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/sqlite-output.cc b/src/stats/model/sqlite-output.cc index 756cff6a6..c2f2adc38 100644 --- a/src/stats/model/sqlite-output.cc +++ b/src/stats/model/sqlite-output.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Natale Patriciello * diff --git a/src/stats/model/sqlite-output.h b/src/stats/model/sqlite-output.h index 352754c28..b04b1545b 100644 --- a/src/stats/model/sqlite-output.h +++ b/src/stats/model/sqlite-output.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Natale Patriciello * diff --git a/src/stats/model/stats.h b/src/stats/model/stats.h index f414e3654..28c4dcaa8 100644 --- a/src/stats/model/stats.h +++ b/src/stats/model/stats.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Universita' di Firenze * diff --git a/src/stats/model/time-data-calculators.cc b/src/stats/model/time-data-calculators.cc index dd48b3aaa..51f86bf79 100644 --- a/src/stats/model/time-data-calculators.cc +++ b/src/stats/model/time-data-calculators.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/time-data-calculators.h b/src/stats/model/time-data-calculators.h index b23c0d265..bda1b1a96 100644 --- a/src/stats/model/time-data-calculators.h +++ b/src/stats/model/time-data-calculators.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Drexel University * diff --git a/src/stats/model/time-probe.cc b/src/stats/model/time-probe.cc index 5aea8ad59..3a8a184b9 100644 --- a/src/stats/model/time-probe.cc +++ b/src/stats/model/time-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/time-probe.h b/src/stats/model/time-probe.h index fa7319af4..7a429f8df 100644 --- a/src/stats/model/time-probe.h +++ b/src/stats/model/time-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/time-series-adaptor.cc b/src/stats/model/time-series-adaptor.cc index 54319f6af..01e24dd17 100644 --- a/src/stats/model/time-series-adaptor.cc +++ b/src/stats/model/time-series-adaptor.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/model/time-series-adaptor.h b/src/stats/model/time-series-adaptor.h index 6c45e1f44..106cceb2f 100644 --- a/src/stats/model/time-series-adaptor.h +++ b/src/stats/model/time-series-adaptor.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * diff --git a/src/stats/model/uinteger-16-probe.cc b/src/stats/model/uinteger-16-probe.cc index 78f3ed17c..e5c563f68 100644 --- a/src/stats/model/uinteger-16-probe.cc +++ b/src/stats/model/uinteger-16-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/uinteger-16-probe.h b/src/stats/model/uinteger-16-probe.h index e6d733c8e..f912060e1 100644 --- a/src/stats/model/uinteger-16-probe.h +++ b/src/stats/model/uinteger-16-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/uinteger-32-probe.cc b/src/stats/model/uinteger-32-probe.cc index 53e845862..cdb9fbde1 100644 --- a/src/stats/model/uinteger-32-probe.cc +++ b/src/stats/model/uinteger-32-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/uinteger-32-probe.h b/src/stats/model/uinteger-32-probe.h index a1a5b7d7c..366f47a7d 100644 --- a/src/stats/model/uinteger-32-probe.h +++ b/src/stats/model/uinteger-32-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/uinteger-8-probe.cc b/src/stats/model/uinteger-8-probe.cc index 5d9ba4ba7..f58f88533 100644 --- a/src/stats/model/uinteger-8-probe.cc +++ b/src/stats/model/uinteger-8-probe.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/model/uinteger-8-probe.h b/src/stats/model/uinteger-8-probe.h index a56843932..c085fa531 100644 --- a/src/stats/model/uinteger-8-probe.h +++ b/src/stats/model/uinteger-8-probe.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * diff --git a/src/stats/test/average-test-suite.cc b/src/stats/test/average-test-suite.cc index eb4f1aadd..b2737e01a 100644 --- a/src/stats/test/average-test-suite.cc +++ b/src/stats/test/average-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of Washington * diff --git a/src/stats/test/basic-data-calculators-test-suite.cc b/src/stats/test/basic-data-calculators-test-suite.cc index a6456d490..0616be901 100644 --- a/src/stats/test/basic-data-calculators-test-suite.cc +++ b/src/stats/test/basic-data-calculators-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 University of Washington * diff --git a/src/stats/test/double-probe-test-suite.cc b/src/stats/test/double-probe-test-suite.cc index 19a4069aa..2e93699a9 100644 --- a/src/stats/test/double-probe-test-suite.cc +++ b/src/stats/test/double-probe-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // Include a header file from your module to test. #include "ns3/double-probe.h" diff --git a/src/stats/test/histogram-test-suite.cc b/src/stats/test/histogram-test-suite.cc index 5d8a0bbdc..93db17014 100644 --- a/src/stats/test/histogram-test-suite.cc +++ b/src/stats/test/histogram-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // diff --git a/src/tap-bridge/examples/tap-csma-virtual-machine.cc b/src/tap-bridge/examples/tap-csma-virtual-machine.cc index eee353eed..1c6f1eb44 100644 --- a/src/tap-bridge/examples/tap-csma-virtual-machine.cc +++ b/src/tap-bridge/examples/tap-csma-virtual-machine.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/tap-bridge/examples/tap-csma.cc b/src/tap-bridge/examples/tap-csma.cc index 9287fa34b..eac3fdc8f 100644 --- a/src/tap-bridge/examples/tap-csma.cc +++ b/src/tap-bridge/examples/tap-csma.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/tap-bridge/examples/tap-wifi-dumbbell.cc b/src/tap-bridge/examples/tap-wifi-dumbbell.cc index 1524fda58..93e89ec9d 100644 --- a/src/tap-bridge/examples/tap-wifi-dumbbell.cc +++ b/src/tap-bridge/examples/tap-wifi-dumbbell.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/tap-bridge/examples/tap-wifi-virtual-machine.cc b/src/tap-bridge/examples/tap-wifi-virtual-machine.cc index 01b7ed356..1bd05db4e 100644 --- a/src/tap-bridge/examples/tap-wifi-virtual-machine.cc +++ b/src/tap-bridge/examples/tap-wifi-virtual-machine.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/tap-bridge/helper/tap-bridge-helper.cc b/src/tap-bridge/helper/tap-bridge-helper.cc index 3f4684186..7cb514099 100644 --- a/src/tap-bridge/helper/tap-bridge-helper.cc +++ b/src/tap-bridge/helper/tap-bridge-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/tap-bridge/helper/tap-bridge-helper.h b/src/tap-bridge/helper/tap-bridge-helper.h index 84a985775..3424cb28e 100644 --- a/src/tap-bridge/helper/tap-bridge-helper.h +++ b/src/tap-bridge/helper/tap-bridge-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/tap-bridge/model/tap-bridge.cc b/src/tap-bridge/model/tap-bridge.cc index b3aeb018e..1fb66bda8 100644 --- a/src/tap-bridge/model/tap-bridge.cc +++ b/src/tap-bridge/model/tap-bridge.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/tap-bridge/model/tap-bridge.h b/src/tap-bridge/model/tap-bridge.h index 9a327f420..fdce0fc1e 100644 --- a/src/tap-bridge/model/tap-bridge.h +++ b/src/tap-bridge/model/tap-bridge.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/tap-bridge/model/tap-creator.cc b/src/tap-bridge/model/tap-creator.cc index 40ae0ec5d..0d4aa3c53 100644 --- a/src/tap-bridge/model/tap-creator.cc +++ b/src/tap-bridge/model/tap-creator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/tap-bridge/model/tap-encode-decode.cc b/src/tap-bridge/model/tap-encode-decode.cc index cdb4bb374..ecdbdd938 100644 --- a/src/tap-bridge/model/tap-encode-decode.cc +++ b/src/tap-bridge/model/tap-encode-decode.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/tap-bridge/model/tap-encode-decode.h b/src/tap-bridge/model/tap-encode-decode.h index 3f7c88959..c928cf425 100644 --- a/src/tap-bridge/model/tap-encode-decode.h +++ b/src/tap-bridge/model/tap-encode-decode.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/test/csma-system-test-suite.cc b/src/test/csma-system-test-suite.cc index 7855a2232..1554e9a13 100644 --- a/src/test/csma-system-test-suite.cc +++ b/src/test/csma-system-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/test/doc/tests.h b/src/test/doc/tests.h index 1d4c9c73f..09a5bf2a0 100644 --- a/src/test/doc/tests.h +++ b/src/test/doc/tests.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc b/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc index f0d94fe68..ed753f232 100644 --- a/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc +++ b/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * Copyright (c) 2020 NITK Surathkal (adapted for COBALT) diff --git a/src/test/ns3tc/fq-codel-queue-disc-test-suite.cc b/src/test/ns3tc/fq-codel-queue-disc-test-suite.cc index bdf100e81..8c7405e0e 100644 --- a/src/test/ns3tc/fq-codel-queue-disc-test-suite.cc +++ b/src/test/ns3tc/fq-codel-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/test/ns3tc/fq-pie-queue-disc-test-suite.cc b/src/test/ns3tc/fq-pie-queue-disc-test-suite.cc index 9c6ed480f..13ee95b24 100644 --- a/src/test/ns3tc/fq-pie-queue-disc-test-suite.cc +++ b/src/test/ns3tc/fq-pie-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * Copyright (c) 2020 NITK Surathkal (modified for FQ-PIE) diff --git a/src/test/ns3tc/pfifo-fast-queue-disc-test-suite.cc b/src/test/ns3tc/pfifo-fast-queue-disc-test-suite.cc index 1060f4746..39438598d 100644 --- a/src/test/ns3tc/pfifo-fast-queue-disc-test-suite.cc +++ b/src/test/ns3tc/pfifo-fast-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 University of Washington * diff --git a/src/test/ns3tcp/ns3tcp-loss-test-suite.cc b/src/test/ns3tcp/ns3tcp-loss-test-suite.cc index 8b8e5aecc..f7f82bd60 100644 --- a/src/test/ns3tcp/ns3tcp-loss-test-suite.cc +++ b/src/test/ns3tcp/ns3tcp-loss-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/test/ns3tcp/ns3tcp-no-delay-test-suite.cc b/src/test/ns3tcp/ns3tcp-no-delay-test-suite.cc index a7dc2b3e9..d56eda6f0 100644 --- a/src/test/ns3tcp/ns3tcp-no-delay-test-suite.cc +++ b/src/test/ns3tcp/ns3tcp-no-delay-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/test/ns3tcp/ns3tcp-socket-test-suite.cc b/src/test/ns3tcp/ns3tcp-socket-test-suite.cc index 53b3518bf..35ab152e8 100644 --- a/src/test/ns3tcp/ns3tcp-socket-test-suite.cc +++ b/src/test/ns3tcp/ns3tcp-socket-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/test/ns3tcp/ns3tcp-socket-writer.cc b/src/test/ns3tcp/ns3tcp-socket-writer.cc index b01b21442..5e8e7439f 100644 --- a/src/test/ns3tcp/ns3tcp-socket-writer.cc +++ b/src/test/ns3tcp/ns3tcp-socket-writer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/test/ns3tcp/ns3tcp-socket-writer.h b/src/test/ns3tcp/ns3tcp-socket-writer.h index 2ff12561c..d91120412 100644 --- a/src/test/ns3tcp/ns3tcp-socket-writer.h +++ b/src/test/ns3tcp/ns3tcp-socket-writer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/test/ns3tcp/ns3tcp-state-test-suite.cc b/src/test/ns3tcp/ns3tcp-state-test-suite.cc index 4ebae1c78..57160cec1 100644 --- a/src/test/ns3tcp/ns3tcp-state-test-suite.cc +++ b/src/test/ns3tcp/ns3tcp-state-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * diff --git a/src/test/ns3wifi/wifi-ac-mapping-test-suite.cc b/src/test/ns3wifi/wifi-ac-mapping-test-suite.cc index 8adb2262a..b0c90a837 100644 --- a/src/test/ns3wifi/wifi-ac-mapping-test-suite.cc +++ b/src/test/ns3wifi/wifi-ac-mapping-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/test/ns3wifi/wifi-issue-211-test-suite.cc b/src/test/ns3wifi/wifi-issue-211-test-suite.cc index bedfe2399..224bc4404 100644 --- a/src/test/ns3wifi/wifi-issue-211-test-suite.cc +++ b/src/test/ns3wifi/wifi-issue-211-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 * diff --git a/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc b/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc index 5c363a26e..22725a180 100644 --- a/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc +++ b/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Dean Armstrong * diff --git a/src/test/traced/traced-callback-typedef-test-suite.cc b/src/test/traced/traced-callback-typedef-test-suite.cc index 597530c0f..f4f7d5b98 100644 --- a/src/test/traced/traced-callback-typedef-test-suite.cc +++ b/src/test/traced/traced-callback-typedef-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Lawrence Livermore National Laboratory * diff --git a/src/test/traced/traced-value-callback-typedef-test-suite.cc b/src/test/traced/traced-value-callback-typedef-test-suite.cc index a5540a6f5..b49daaf1f 100644 --- a/src/test/traced/traced-value-callback-typedef-test-suite.cc +++ b/src/test/traced/traced-value-callback-typedef-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Lawrence Livermore National Laboratory * diff --git a/src/topology-read/examples/topology-example-sim.cc b/src/topology-read/examples/topology-example-sim.cc index 7930ef366..58b079b04 100644 --- a/src/topology-read/examples/topology-example-sim.cc +++ b/src/topology-read/examples/topology-example-sim.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/topology-read/helper/topology-reader-helper.cc b/src/topology-read/helper/topology-reader-helper.cc index 4ab226246..2417747a6 100644 --- a/src/topology-read/helper/topology-reader-helper.cc +++ b/src/topology-read/helper/topology-reader-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Universita' di Firenze, Italy * diff --git a/src/topology-read/helper/topology-reader-helper.h b/src/topology-read/helper/topology-reader-helper.h index 2b7505bcd..3f28151a3 100644 --- a/src/topology-read/helper/topology-reader-helper.h +++ b/src/topology-read/helper/topology-reader-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Universita' di Firenze, Italy * diff --git a/src/topology-read/model/inet-topology-reader.cc b/src/topology-read/model/inet-topology-reader.cc index 00fb0960c..d44a7f6e7 100644 --- a/src/topology-read/model/inet-topology-reader.cc +++ b/src/topology-read/model/inet-topology-reader.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Universita' di Firenze, Italy * diff --git a/src/topology-read/model/inet-topology-reader.h b/src/topology-read/model/inet-topology-reader.h index 2db89456e..40162daf9 100644 --- a/src/topology-read/model/inet-topology-reader.h +++ b/src/topology-read/model/inet-topology-reader.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Universita' di Firenze, Italy * diff --git a/src/topology-read/model/orbis-topology-reader.cc b/src/topology-read/model/orbis-topology-reader.cc index 66bf47326..315dc6676 100644 --- a/src/topology-read/model/orbis-topology-reader.cc +++ b/src/topology-read/model/orbis-topology-reader.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Universita' di Firenze, Italy * diff --git a/src/topology-read/model/orbis-topology-reader.h b/src/topology-read/model/orbis-topology-reader.h index 49102cef0..8a7d217dd 100644 --- a/src/topology-read/model/orbis-topology-reader.h +++ b/src/topology-read/model/orbis-topology-reader.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Universita' di Firenze, Italy * diff --git a/src/topology-read/model/rocketfuel-topology-reader.cc b/src/topology-read/model/rocketfuel-topology-reader.cc index 9acf369ba..303450406 100644 --- a/src/topology-read/model/rocketfuel-topology-reader.cc +++ b/src/topology-read/model/rocketfuel-topology-reader.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/topology-read/model/rocketfuel-topology-reader.h b/src/topology-read/model/rocketfuel-topology-reader.h index 810706bb9..f691d5b27 100644 --- a/src/topology-read/model/rocketfuel-topology-reader.h +++ b/src/topology-read/model/rocketfuel-topology-reader.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/topology-read/model/topology-reader.cc b/src/topology-read/model/topology-reader.cc index 6cf7b72ec..a8ed5150b 100644 --- a/src/topology-read/model/topology-reader.cc +++ b/src/topology-read/model/topology-reader.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Universita' di Firenze, Italy * diff --git a/src/topology-read/model/topology-reader.h b/src/topology-read/model/topology-reader.h index 6e74ccc17..ddc56abf5 100644 --- a/src/topology-read/model/topology-reader.h +++ b/src/topology-read/model/topology-reader.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Universita' di Firenze, Italy * diff --git a/src/topology-read/test/rocketfuel-topology-reader-test-suite.cc b/src/topology-read/test/rocketfuel-topology-reader-test-suite.cc index fbd063812..fe9bbcbfb 100644 --- a/src/topology-read/test/rocketfuel-topology-reader-test-suite.cc +++ b/src/topology-read/test/rocketfuel-topology-reader-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * diff --git a/src/traffic-control/examples/adaptive-red-tests.cc b/src/traffic-control/examples/adaptive-red-tests.cc index 0fc62e607..bad24305e 100644 --- a/src/traffic-control/examples/adaptive-red-tests.cc +++ b/src/traffic-control/examples/adaptive-red-tests.cc @@ -1,5 +1,4 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 NITK Surathkal * diff --git a/src/traffic-control/examples/codel-vs-pfifo-asymmetric.cc b/src/traffic-control/examples/codel-vs-pfifo-asymmetric.cc index b91b7da83..6268effdd 100644 --- a/src/traffic-control/examples/codel-vs-pfifo-asymmetric.cc +++ b/src/traffic-control/examples/codel-vs-pfifo-asymmetric.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 ResiliNets, ITTC, University of Kansas * diff --git a/src/traffic-control/examples/codel-vs-pfifo-basic-test.cc b/src/traffic-control/examples/codel-vs-pfifo-basic-test.cc index 7845fb804..43a56b8b8 100644 --- a/src/traffic-control/examples/codel-vs-pfifo-basic-test.cc +++ b/src/traffic-control/examples/codel-vs-pfifo-basic-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 ResiliNets, ITTC, University of Kansas * diff --git a/src/traffic-control/examples/fqcodel-l4s-example.cc b/src/traffic-control/examples/fqcodel-l4s-example.cc index 1d24513b8..52889a8d4 100644 --- a/src/traffic-control/examples/fqcodel-l4s-example.cc +++ b/src/traffic-control/examples/fqcodel-l4s-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 NITK Surathkal * diff --git a/src/traffic-control/examples/pfifo-vs-red.cc b/src/traffic-control/examples/pfifo-vs-red.cc index 4955ecbd3..a359763e8 100644 --- a/src/traffic-control/examples/pfifo-vs-red.cc +++ b/src/traffic-control/examples/pfifo-vs-red.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/traffic-control/examples/pie-example.cc b/src/traffic-control/examples/pie-example.cc index 14b67e567..e8622ef38 100644 --- a/src/traffic-control/examples/pie-example.cc +++ b/src/traffic-control/examples/pie-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/traffic-control/examples/red-tests.cc b/src/traffic-control/examples/red-tests.cc index a78a715ea..c59cc7a57 100644 --- a/src/traffic-control/examples/red-tests.cc +++ b/src/traffic-control/examples/red-tests.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/traffic-control/examples/red-vs-ared.cc b/src/traffic-control/examples/red-vs-ared.cc index 236d2d611..ae327f283 100644 --- a/src/traffic-control/examples/red-vs-ared.cc +++ b/src/traffic-control/examples/red-vs-ared.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 NITK Surathkal * diff --git a/src/traffic-control/helper/queue-disc-container.cc b/src/traffic-control/helper/queue-disc-container.cc index 352fbf3e8..5c342e0d9 100644 --- a/src/traffic-control/helper/queue-disc-container.cc +++ b/src/traffic-control/helper/queue-disc-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/helper/queue-disc-container.h b/src/traffic-control/helper/queue-disc-container.h index 618dd30cc..f147456c2 100644 --- a/src/traffic-control/helper/queue-disc-container.h +++ b/src/traffic-control/helper/queue-disc-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/helper/traffic-control-helper.cc b/src/traffic-control/helper/traffic-control-helper.cc index 61825d4cf..d009cdaf5 100644 --- a/src/traffic-control/helper/traffic-control-helper.cc +++ b/src/traffic-control/helper/traffic-control-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/helper/traffic-control-helper.h b/src/traffic-control/helper/traffic-control-helper.h index 1435c29c3..a5d1b5594 100644 --- a/src/traffic-control/helper/traffic-control-helper.h +++ b/src/traffic-control/helper/traffic-control-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/cobalt-queue-disc.cc b/src/traffic-control/model/cobalt-queue-disc.cc index 1d5589ce4..c39235a8c 100644 --- a/src/traffic-control/model/cobalt-queue-disc.cc +++ b/src/traffic-control/model/cobalt-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/src/traffic-control/model/cobalt-queue-disc.h b/src/traffic-control/model/cobalt-queue-disc.h index 03d33431d..c349727e5 100644 --- a/src/traffic-control/model/cobalt-queue-disc.h +++ b/src/traffic-control/model/cobalt-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/src/traffic-control/model/codel-queue-disc.cc b/src/traffic-control/model/codel-queue-disc.cc index 81cd8f8a8..d66257edd 100644 --- a/src/traffic-control/model/codel-queue-disc.cc +++ b/src/traffic-control/model/codel-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Andrew McGregor * diff --git a/src/traffic-control/model/codel-queue-disc.h b/src/traffic-control/model/codel-queue-disc.h index 323885b34..378327cdf 100644 --- a/src/traffic-control/model/codel-queue-disc.h +++ b/src/traffic-control/model/codel-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Andrew McGregor * diff --git a/src/traffic-control/model/fifo-queue-disc.cc b/src/traffic-control/model/fifo-queue-disc.cc index 2ccda3cf2..fe6c3fec7 100644 --- a/src/traffic-control/model/fifo-queue-disc.cc +++ b/src/traffic-control/model/fifo-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/fifo-queue-disc.h b/src/traffic-control/model/fifo-queue-disc.h index 390534e0e..43e5ee5e7 100644 --- a/src/traffic-control/model/fifo-queue-disc.h +++ b/src/traffic-control/model/fifo-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/fq-cobalt-queue-disc.cc b/src/traffic-control/model/fq-cobalt-queue-disc.cc index d36c8b9ae..794c426ff 100644 --- a/src/traffic-control/model/fq-cobalt-queue-disc.cc +++ b/src/traffic-control/model/fq-cobalt-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * Copyright (c) 2020 NITK Surathkal (adapted for COBALT) diff --git a/src/traffic-control/model/fq-cobalt-queue-disc.h b/src/traffic-control/model/fq-cobalt-queue-disc.h index 86d21aefe..41dde9a60 100644 --- a/src/traffic-control/model/fq-cobalt-queue-disc.h +++ b/src/traffic-control/model/fq-cobalt-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * Copyright (c) 2020 NITK Surathkal (adapted for COBALT) diff --git a/src/traffic-control/model/fq-codel-queue-disc.cc b/src/traffic-control/model/fq-codel-queue-disc.cc index d5abeb687..ca934a962 100644 --- a/src/traffic-control/model/fq-codel-queue-disc.cc +++ b/src/traffic-control/model/fq-codel-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/fq-codel-queue-disc.h b/src/traffic-control/model/fq-codel-queue-disc.h index 3ce99cf83..2e18336ee 100644 --- a/src/traffic-control/model/fq-codel-queue-disc.h +++ b/src/traffic-control/model/fq-codel-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/fq-pie-queue-disc.cc b/src/traffic-control/model/fq-pie-queue-disc.cc index 02dedc128..07827ac28 100644 --- a/src/traffic-control/model/fq-pie-queue-disc.cc +++ b/src/traffic-control/model/fq-pie-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * Copyright (c) 2018 NITK Surathkal (modified for FQ-PIE) diff --git a/src/traffic-control/model/fq-pie-queue-disc.h b/src/traffic-control/model/fq-pie-queue-disc.h index eb185b941..bfb2ba334 100644 --- a/src/traffic-control/model/fq-pie-queue-disc.h +++ b/src/traffic-control/model/fq-pie-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * Copyright (c) 2018 NITK Surathkal (modified for FQ-PIE) diff --git a/src/traffic-control/model/mq-queue-disc.cc b/src/traffic-control/model/mq-queue-disc.cc index d29704f67..e96888510 100644 --- a/src/traffic-control/model/mq-queue-disc.cc +++ b/src/traffic-control/model/mq-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/mq-queue-disc.h b/src/traffic-control/model/mq-queue-disc.h index 5d6724b3e..d7af1190b 100644 --- a/src/traffic-control/model/mq-queue-disc.h +++ b/src/traffic-control/model/mq-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/packet-filter.cc b/src/traffic-control/model/packet-filter.cc index 7a4c8c521..432153755 100644 --- a/src/traffic-control/model/packet-filter.cc +++ b/src/traffic-control/model/packet-filter.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/packet-filter.h b/src/traffic-control/model/packet-filter.h index 567272156..4312689fc 100644 --- a/src/traffic-control/model/packet-filter.h +++ b/src/traffic-control/model/packet-filter.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/pfifo-fast-queue-disc.cc b/src/traffic-control/model/pfifo-fast-queue-disc.cc index 739675ffd..5b9619034 100644 --- a/src/traffic-control/model/pfifo-fast-queue-disc.cc +++ b/src/traffic-control/model/pfifo-fast-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2014 University of Washington * 2015 Universita' degli Studi di Napoli Federico II diff --git a/src/traffic-control/model/pfifo-fast-queue-disc.h b/src/traffic-control/model/pfifo-fast-queue-disc.h index 8240b02fc..f64fa5c9b 100644 --- a/src/traffic-control/model/pfifo-fast-queue-disc.h +++ b/src/traffic-control/model/pfifo-fast-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2014 University of Washington * 2015 Universita' degli Studi di Napoli Federico II diff --git a/src/traffic-control/model/pie-queue-disc.cc b/src/traffic-control/model/pie-queue-disc.cc index 4ba1f9191..f27357228 100644 --- a/src/traffic-control/model/pie-queue-disc.cc +++ b/src/traffic-control/model/pie-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/traffic-control/model/pie-queue-disc.h b/src/traffic-control/model/pie-queue-disc.h index 62d21c844..378af479b 100644 --- a/src/traffic-control/model/pie-queue-disc.h +++ b/src/traffic-control/model/pie-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/traffic-control/model/prio-queue-disc.cc b/src/traffic-control/model/prio-queue-disc.cc index cc0f7d6fc..39eb64fd8 100644 --- a/src/traffic-control/model/prio-queue-disc.cc +++ b/src/traffic-control/model/prio-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/prio-queue-disc.h b/src/traffic-control/model/prio-queue-disc.h index b4a628ddd..58abb1da1 100644 --- a/src/traffic-control/model/prio-queue-disc.h +++ b/src/traffic-control/model/prio-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/model/queue-disc.cc b/src/traffic-control/model/queue-disc.cc index a66c900d3..2f5f80e24 100644 --- a/src/traffic-control/model/queue-disc.cc +++ b/src/traffic-control/model/queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2014 University of Washington * 2015 Universita' degli Studi di Napoli Federico II diff --git a/src/traffic-control/model/queue-disc.h b/src/traffic-control/model/queue-disc.h index e9070cd92..89e0b3dac 100644 --- a/src/traffic-control/model/queue-disc.h +++ b/src/traffic-control/model/queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2014 University of Washington * 2015 Universita' degli Studi di Napoli Federico II diff --git a/src/traffic-control/model/red-queue-disc.cc b/src/traffic-control/model/red-queue-disc.cc index 59a553e67..423b53ca7 100644 --- a/src/traffic-control/model/red-queue-disc.cc +++ b/src/traffic-control/model/red-queue-disc.cc @@ -1,4 +1,3 @@ -// /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright © 2011 Marcos Talau * diff --git a/src/traffic-control/model/red-queue-disc.h b/src/traffic-control/model/red-queue-disc.h index b8ae58fd5..9374b124f 100644 --- a/src/traffic-control/model/red-queue-disc.h +++ b/src/traffic-control/model/red-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright © 2011 Marcos Talau * diff --git a/src/traffic-control/model/tbf-queue-disc.cc b/src/traffic-control/model/tbf-queue-disc.cc index 86b70d1f0..543a73900 100644 --- a/src/traffic-control/model/tbf-queue-disc.cc +++ b/src/traffic-control/model/tbf-queue-disc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Kungliga Tekniska Högskolan * 2017 Universita' degli Studi di Napoli Federico II diff --git a/src/traffic-control/model/tbf-queue-disc.h b/src/traffic-control/model/tbf-queue-disc.h index f5d3d8b52..950fd2967 100644 --- a/src/traffic-control/model/tbf-queue-disc.h +++ b/src/traffic-control/model/tbf-queue-disc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Kungliga Tekniska Högskolan * 2017 Universita' degli Studi di Napoli Federico II diff --git a/src/traffic-control/model/traffic-control-layer.cc b/src/traffic-control/model/traffic-control-layer.cc index cede0c943..dd4431f85 100644 --- a/src/traffic-control/model/traffic-control-layer.cc +++ b/src/traffic-control/model/traffic-control-layer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * 2016 Stefano Avallone diff --git a/src/traffic-control/model/traffic-control-layer.h b/src/traffic-control/model/traffic-control-layer.h index 9ee52fdea..6cc7dfff3 100644 --- a/src/traffic-control/model/traffic-control-layer.h +++ b/src/traffic-control/model/traffic-control-layer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello * 2016 Stefano Avallone diff --git a/src/traffic-control/test/adaptive-red-queue-disc-test-suite.cc b/src/traffic-control/test/adaptive-red-queue-disc-test-suite.cc index 9e9cb5649..78269825f 100644 --- a/src/traffic-control/test/adaptive-red-queue-disc-test-suite.cc +++ b/src/traffic-control/test/adaptive-red-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 NITK Surathkal * diff --git a/src/traffic-control/test/cobalt-queue-disc-test-suite.cc b/src/traffic-control/test/cobalt-queue-disc-test-suite.cc index 650a0ec23..78f7d1a3f 100644 --- a/src/traffic-control/test/cobalt-queue-disc-test-suite.cc +++ b/src/traffic-control/test/cobalt-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 NITK Surathkal * diff --git a/src/traffic-control/test/codel-queue-disc-test-suite.cc b/src/traffic-control/test/codel-queue-disc-test-suite.cc index 9d4ff14e2..6c0ed4089 100644 --- a/src/traffic-control/test/codel-queue-disc-test-suite.cc +++ b/src/traffic-control/test/codel-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 ResiliNets, ITTC, University of Kansas * diff --git a/src/traffic-control/test/fifo-queue-disc-test-suite.cc b/src/traffic-control/test/fifo-queue-disc-test-suite.cc index 51b629e64..f5f4547e5 100644 --- a/src/traffic-control/test/fifo-queue-disc-test-suite.cc +++ b/src/traffic-control/test/fifo-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/test/pie-queue-disc-test-suite.cc b/src/traffic-control/test/pie-queue-disc-test-suite.cc index f6cec1f80..c1380fb76 100644 --- a/src/traffic-control/test/pie-queue-disc-test-suite.cc +++ b/src/traffic-control/test/pie-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * diff --git a/src/traffic-control/test/prio-queue-disc-test-suite.cc b/src/traffic-control/test/prio-queue-disc-test-suite.cc index c37e7b947..792cefb3f 100644 --- a/src/traffic-control/test/prio-queue-disc-test-suite.cc +++ b/src/traffic-control/test/prio-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/test/queue-disc-traces-test-suite.cc b/src/traffic-control/test/queue-disc-traces-test-suite.cc index 82e78cf50..b79e77eff 100644 --- a/src/traffic-control/test/queue-disc-traces-test-suite.cc +++ b/src/traffic-control/test/queue-disc-traces-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Universita' degli Studi di Napoli Federico II * diff --git a/src/traffic-control/test/red-queue-disc-test-suite.cc b/src/traffic-control/test/red-queue-disc-test-suite.cc index 9e400d9d8..bcf4c8c85 100644 --- a/src/traffic-control/test/red-queue-disc-test-suite.cc +++ b/src/traffic-control/test/red-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright © 2011 Marcos Talau * diff --git a/src/traffic-control/test/tbf-queue-disc-test-suite.cc b/src/traffic-control/test/tbf-queue-disc-test-suite.cc index 0191c76e2..e54553f52 100644 --- a/src/traffic-control/test/tbf-queue-disc-test-suite.cc +++ b/src/traffic-control/test/tbf-queue-disc-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Kungliga Tekniska Högskolan * 2017 Universita' degli Studi di Napoli Federico II diff --git a/src/traffic-control/test/tc-flow-control-test-suite.cc b/src/traffic-control/test/tc-flow-control-test-suite.cc index 84d9ef9eb..f9e19add7 100644 --- a/src/traffic-control/test/tc-flow-control-test-suite.cc +++ b/src/traffic-control/test/tc-flow-control-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II * diff --git a/src/uan/examples/uan-6lowpan-example.cc b/src/uan/examples/uan-6lowpan-example.cc index 3b49a3eda..8b49a3f9d 100644 --- a/src/uan/examples/uan-6lowpan-example.cc +++ b/src/uan/examples/uan-6lowpan-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * * This program is free software; you can redistribute it and/or modify diff --git a/src/uan/examples/uan-cw-example.cc b/src/uan/examples/uan-cw-example.cc index a8e127194..e6a58c4d1 100644 --- a/src/uan/examples/uan-cw-example.cc +++ b/src/uan/examples/uan-cw-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/examples/uan-cw-example.h b/src/uan/examples/uan-cw-example.h index 0c0c08e9a..b67419b26 100644 --- a/src/uan/examples/uan-cw-example.h +++ b/src/uan/examples/uan-cw-example.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/examples/uan-ipv4-example.cc b/src/uan/examples/uan-ipv4-example.cc index 7981cf7df..d4db2016a 100644 --- a/src/uan/examples/uan-ipv4-example.cc +++ b/src/uan/examples/uan-ipv4-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * * This program is free software; you can redistribute it and/or modify diff --git a/src/uan/examples/uan-ipv6-example.cc b/src/uan/examples/uan-ipv6-example.cc index 44526983a..79e92a6e2 100644 --- a/src/uan/examples/uan-ipv6-example.cc +++ b/src/uan/examples/uan-ipv6-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * * This program is free software; you can redistribute it and/or modify diff --git a/src/uan/examples/uan-raw-example.cc b/src/uan/examples/uan-raw-example.cc index 6118eac42..a1e2c5dbb 100644 --- a/src/uan/examples/uan-raw-example.cc +++ b/src/uan/examples/uan-raw-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * * This program is free software; you can redistribute it and/or modify diff --git a/src/uan/examples/uan-rc-example.cc b/src/uan/examples/uan-rc-example.cc index 3c4d0ed9c..1bc1b9f3e 100644 --- a/src/uan/examples/uan-rc-example.cc +++ b/src/uan/examples/uan-rc-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/examples/uan-rc-example.h b/src/uan/examples/uan-rc-example.h index c318d7719..a0fe2171f 100644 --- a/src/uan/examples/uan-rc-example.h +++ b/src/uan/examples/uan-rc-example.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/helper/acoustic-modem-energy-model-helper.cc b/src/uan/helper/acoustic-modem-energy-model-helper.cc index 5be14a498..17a08dc4d 100644 --- a/src/uan/helper/acoustic-modem-energy-model-helper.cc +++ b/src/uan/helper/acoustic-modem-energy-model-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/helper/acoustic-modem-energy-model-helper.h b/src/uan/helper/acoustic-modem-energy-model-helper.h index 8860632a8..32bfed0f0 100644 --- a/src/uan/helper/acoustic-modem-energy-model-helper.h +++ b/src/uan/helper/acoustic-modem-energy-model-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/helper/uan-helper.cc b/src/uan/helper/uan-helper.cc index 3bd2596bc..c4d00d6e2 100644 --- a/src/uan/helper/uan-helper.cc +++ b/src/uan/helper/uan-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * uan-helper.cc * diff --git a/src/uan/helper/uan-helper.h b/src/uan/helper/uan-helper.h index 151c41c0c..0173e4546 100644 --- a/src/uan/helper/uan-helper.h +++ b/src/uan/helper/uan-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/uan/model/acoustic-modem-energy-model.cc b/src/uan/model/acoustic-modem-energy-model.cc index e58bf40a5..79abcccf2 100644 --- a/src/uan/model/acoustic-modem-energy-model.cc +++ b/src/uan/model/acoustic-modem-energy-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/model/acoustic-modem-energy-model.h b/src/uan/model/acoustic-modem-energy-model.h index d629b1ef0..7b752c511 100644 --- a/src/uan/model/acoustic-modem-energy-model.h +++ b/src/uan/model/acoustic-modem-energy-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/model/uan-channel.cc b/src/uan/model/uan-channel.cc index 3777794d5..402e0da1c 100644 --- a/src/uan/model/uan-channel.cc +++ b/src/uan/model/uan-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-channel.h b/src/uan/model/uan-channel.h index 26e9d68e0..8921eed93 100644 --- a/src/uan/model/uan-channel.h +++ b/src/uan/model/uan-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-header-common.cc b/src/uan/model/uan-header-common.cc index 39657f3a0..d064c6cf9 100644 --- a/src/uan/model/uan-header-common.cc +++ b/src/uan/model/uan-header-common.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-header-common.h b/src/uan/model/uan-header-common.h index 5e05dcdcb..374945fe9 100644 --- a/src/uan/model/uan-header-common.h +++ b/src/uan/model/uan-header-common.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-header-rc.cc b/src/uan/model/uan-header-rc.cc index 4a8259e21..ef992d4b0 100644 --- a/src/uan/model/uan-header-rc.cc +++ b/src/uan/model/uan-header-rc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-header-rc.h b/src/uan/model/uan-header-rc.h index 4e2aa940b..cdbc4972d 100644 --- a/src/uan/model/uan-header-rc.h +++ b/src/uan/model/uan-header-rc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-aloha.cc b/src/uan/model/uan-mac-aloha.cc index ac19601d2..89367a27f 100644 --- a/src/uan/model/uan-mac-aloha.cc +++ b/src/uan/model/uan-mac-aloha.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-aloha.h b/src/uan/model/uan-mac-aloha.h index 6d23cc8ae..3ef323568 100644 --- a/src/uan/model/uan-mac-aloha.h +++ b/src/uan/model/uan-mac-aloha.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-cw.cc b/src/uan/model/uan-mac-cw.cc index b6a019557..117b69ce3 100644 --- a/src/uan/model/uan-mac-cw.cc +++ b/src/uan/model/uan-mac-cw.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-cw.h b/src/uan/model/uan-mac-cw.h index 3fcb62efe..a2485c4f3 100644 --- a/src/uan/model/uan-mac-cw.h +++ b/src/uan/model/uan-mac-cw.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-rc-gw.cc b/src/uan/model/uan-mac-rc-gw.cc index f6199c983..2d9d68bd6 100644 --- a/src/uan/model/uan-mac-rc-gw.cc +++ b/src/uan/model/uan-mac-rc-gw.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-rc-gw.h b/src/uan/model/uan-mac-rc-gw.h index 681efdd80..d2d2bc34e 100644 --- a/src/uan/model/uan-mac-rc-gw.h +++ b/src/uan/model/uan-mac-rc-gw.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-rc.cc b/src/uan/model/uan-mac-rc.cc index 7c74741f6..204da2f3c 100644 --- a/src/uan/model/uan-mac-rc.cc +++ b/src/uan/model/uan-mac-rc.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-rc.h b/src/uan/model/uan-mac-rc.h index ef2166ba2..2b203bf4e 100644 --- a/src/uan/model/uan-mac-rc.h +++ b/src/uan/model/uan-mac-rc.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac.cc b/src/uan/model/uan-mac.cc index 1106e2a66..0fc9bdab2 100644 --- a/src/uan/model/uan-mac.cc +++ b/src/uan/model/uan-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 University of Washington * diff --git a/src/uan/model/uan-mac.h b/src/uan/model/uan-mac.h index 75f97975f..865a42f1a 100644 --- a/src/uan/model/uan-mac.h +++ b/src/uan/model/uan-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-net-device.cc b/src/uan/model/uan-net-device.cc index e12fc88e1..d6d8605bc 100644 --- a/src/uan/model/uan-net-device.cc +++ b/src/uan/model/uan-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-net-device.h b/src/uan/model/uan-net-device.h index dc9feb03d..47fbfdf9d 100644 --- a/src/uan/model/uan-net-device.h +++ b/src/uan/model/uan-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-noise-model-default.cc b/src/uan/model/uan-noise-model-default.cc index 8e49b29c0..629fb8895 100644 --- a/src/uan/model/uan-noise-model-default.cc +++ b/src/uan/model/uan-noise-model-default.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-noise-model-default.h b/src/uan/model/uan-noise-model-default.h index 30a896137..8646645da 100644 --- a/src/uan/model/uan-noise-model-default.h +++ b/src/uan/model/uan-noise-model-default.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-noise-model.cc b/src/uan/model/uan-noise-model.cc index 386fc1db4..3e6a9ddf5 100644 --- a/src/uan/model/uan-noise-model.cc +++ b/src/uan/model/uan-noise-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-noise-model.h b/src/uan/model/uan-noise-model.h index 9643cb83f..fc34583b3 100644 --- a/src/uan/model/uan-noise-model.h +++ b/src/uan/model/uan-noise-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-phy-dual.cc b/src/uan/model/uan-phy-dual.cc index ac6cb46bf..a9e7c6b07 100644 --- a/src/uan/model/uan-phy-dual.cc +++ b/src/uan/model/uan-phy-dual.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-phy-dual.h b/src/uan/model/uan-phy-dual.h index c2bbf8ec8..de03138ea 100644 --- a/src/uan/model/uan-phy-dual.h +++ b/src/uan/model/uan-phy-dual.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-phy-gen.cc b/src/uan/model/uan-phy-gen.cc index a45ee53da..05d94dc04 100644 --- a/src/uan/model/uan-phy-gen.cc +++ b/src/uan/model/uan-phy-gen.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-phy-gen.h b/src/uan/model/uan-phy-gen.h index 4f614d2f6..0b3249a4e 100644 --- a/src/uan/model/uan-phy-gen.h +++ b/src/uan/model/uan-phy-gen.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-phy.cc b/src/uan/model/uan-phy.cc index f74fb33b2..ac9638603 100644 --- a/src/uan/model/uan-phy.cc +++ b/src/uan/model/uan-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-phy.h b/src/uan/model/uan-phy.h index 43c363ee5..3625241cf 100644 --- a/src/uan/model/uan-phy.h +++ b/src/uan/model/uan-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-prop-model-ideal.cc b/src/uan/model/uan-prop-model-ideal.cc index 96453d4ac..3826abaa3 100644 --- a/src/uan/model/uan-prop-model-ideal.cc +++ b/src/uan/model/uan-prop-model-ideal.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-prop-model-ideal.h b/src/uan/model/uan-prop-model-ideal.h index f1b190b98..7e9abfd2a 100644 --- a/src/uan/model/uan-prop-model-ideal.h +++ b/src/uan/model/uan-prop-model-ideal.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-prop-model-thorp.cc b/src/uan/model/uan-prop-model-thorp.cc index c3234fd35..167f839e0 100644 --- a/src/uan/model/uan-prop-model-thorp.cc +++ b/src/uan/model/uan-prop-model-thorp.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-prop-model-thorp.h b/src/uan/model/uan-prop-model-thorp.h index a39831271..20f5efaa8 100644 --- a/src/uan/model/uan-prop-model-thorp.h +++ b/src/uan/model/uan-prop-model-thorp.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-prop-model.cc b/src/uan/model/uan-prop-model.cc index c0c0a9307..d077128f5 100644 --- a/src/uan/model/uan-prop-model.cc +++ b/src/uan/model/uan-prop-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-prop-model.h b/src/uan/model/uan-prop-model.h index fe19744f9..1224dd858 100644 --- a/src/uan/model/uan-prop-model.h +++ b/src/uan/model/uan-prop-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-transducer-hd.cc b/src/uan/model/uan-transducer-hd.cc index d852149d8..f82701580 100644 --- a/src/uan/model/uan-transducer-hd.cc +++ b/src/uan/model/uan-transducer-hd.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-transducer-hd.h b/src/uan/model/uan-transducer-hd.h index db504d42d..3f063d4a7 100644 --- a/src/uan/model/uan-transducer-hd.h +++ b/src/uan/model/uan-transducer-hd.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-transducer.cc b/src/uan/model/uan-transducer.cc index 57addbca3..bb1422746 100644 --- a/src/uan/model/uan-transducer.cc +++ b/src/uan/model/uan-transducer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 University of Washington * diff --git a/src/uan/model/uan-transducer.h b/src/uan/model/uan-transducer.h index b1bca0bcd..9f50204b0 100644 --- a/src/uan/model/uan-transducer.h +++ b/src/uan/model/uan-transducer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-tx-mode.cc b/src/uan/model/uan-tx-mode.cc index 7872847c0..06b438d00 100644 --- a/src/uan/model/uan-tx-mode.cc +++ b/src/uan/model/uan-tx-mode.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-tx-mode.h b/src/uan/model/uan-tx-mode.h index cc44a6c77..11f4adcad 100644 --- a/src/uan/model/uan-tx-mode.h +++ b/src/uan/model/uan-tx-mode.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/test/uan-energy-model-test.cc b/src/uan/test/uan-energy-model-test.cc index c76506154..25b227d55 100644 --- a/src/uan/test/uan-energy-model-test.cc +++ b/src/uan/test/uan-energy-model-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/test/uan-test.cc b/src/uan/test/uan-test.cc index 09a04dc92..40f466aee 100644 --- a/src/uan/test/uan-test.cc +++ b/src/uan/test/uan-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/virtual-net-device/examples/virtual-net-device.cc b/src/virtual-net-device/examples/virtual-net-device.cc index 2b0841c2b..f3af6274f 100644 --- a/src/virtual-net-device/examples/virtual-net-device.cc +++ b/src/virtual-net-device/examples/virtual-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/virtual-net-device/model/virtual-net-device.cc b/src/virtual-net-device/model/virtual-net-device.cc index 3f60af0c5..6b19ef1d7 100644 --- a/src/virtual-net-device/model/virtual-net-device.cc +++ b/src/virtual-net-device/model/virtual-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 INESC Porto * diff --git a/src/virtual-net-device/model/virtual-net-device.h b/src/virtual-net-device/model/virtual-net-device.h index 51c03c11e..66718596a 100644 --- a/src/virtual-net-device/model/virtual-net-device.h +++ b/src/virtual-net-device/model/virtual-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 INESC Porto * diff --git a/src/visualizer/model/pyviz.cc b/src/visualizer/model/pyviz.cc index 128972d3c..64337af38 100644 --- a/src/visualizer/model/pyviz.cc +++ b/src/visualizer/model/pyviz.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INESC Porto * diff --git a/src/visualizer/model/pyviz.h b/src/visualizer/model/pyviz.h index 25fef0c5b..0df012545 100644 --- a/src/visualizer/model/pyviz.h +++ b/src/visualizer/model/pyviz.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INESC Porto * diff --git a/src/visualizer/model/visual-simulator-impl.cc b/src/visualizer/model/visual-simulator-impl.cc index df1d04d1a..b35816c84 100644 --- a/src/visualizer/model/visual-simulator-impl.cc +++ b/src/visualizer/model/visual-simulator-impl.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Gustavo Carneiro * diff --git a/src/visualizer/model/visual-simulator-impl.h b/src/visualizer/model/visual-simulator-impl.h index fc44cdd27..ab1bba197 100644 --- a/src/visualizer/model/visual-simulator-impl.h +++ b/src/visualizer/model/visual-simulator-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Gustavo Carneiro * diff --git a/src/wave/examples/vanet-routing-compare.cc b/src/wave/examples/vanet-routing-compare.cc index 87fa9bb7a..e716e9362 100644 --- a/src/wave/examples/vanet-routing-compare.cc +++ b/src/wave/examples/vanet-routing-compare.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 North Carolina State University * diff --git a/src/wave/examples/wave-simple-80211p.cc b/src/wave/examples/wave-simple-80211p.cc index 46e58c0f5..3804a1fa0 100644 --- a/src/wave/examples/wave-simple-80211p.cc +++ b/src/wave/examples/wave-simple-80211p.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * Copyright (c) 2013 Dalian University of Technology diff --git a/src/wave/examples/wave-simple-device.cc b/src/wave/examples/wave-simple-device.cc index 9cbeca38b..af5a6972b 100644 --- a/src/wave/examples/wave-simple-device.cc +++ b/src/wave/examples/wave-simple-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/helper/wave-bsm-helper.cc b/src/wave/helper/wave-bsm-helper.cc index a55107abf..70c389d17 100644 --- a/src/wave/helper/wave-bsm-helper.cc +++ b/src/wave/helper/wave-bsm-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 North Carolina State University * diff --git a/src/wave/helper/wave-bsm-helper.h b/src/wave/helper/wave-bsm-helper.h index 510cfd9d9..d1009a182 100644 --- a/src/wave/helper/wave-bsm-helper.h +++ b/src/wave/helper/wave-bsm-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 North Carolina State University * diff --git a/src/wave/helper/wave-bsm-stats.cc b/src/wave/helper/wave-bsm-stats.cc index 51adc2d7d..627a8a05f 100644 --- a/src/wave/helper/wave-bsm-stats.cc +++ b/src/wave/helper/wave-bsm-stats.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 North Carolina State University * diff --git a/src/wave/helper/wave-bsm-stats.h b/src/wave/helper/wave-bsm-stats.h index 3556ef65f..01671213e 100644 --- a/src/wave/helper/wave-bsm-stats.h +++ b/src/wave/helper/wave-bsm-stats.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 North Carolina State University * diff --git a/src/wave/helper/wave-helper.cc b/src/wave/helper/wave-helper.cc index 924549679..f789ae3ce 100644 --- a/src/wave/helper/wave-helper.cc +++ b/src/wave/helper/wave-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/helper/wave-helper.h b/src/wave/helper/wave-helper.h index 101bdd435..dead48a51 100644 --- a/src/wave/helper/wave-helper.h +++ b/src/wave/helper/wave-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/helper/wave-mac-helper.cc b/src/wave/helper/wave-mac-helper.cc index 1648e52d3..a9d2495f6 100644 --- a/src/wave/helper/wave-mac-helper.cc +++ b/src/wave/helper/wave-mac-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wave/helper/wave-mac-helper.h b/src/wave/helper/wave-mac-helper.h index 2a13b0ae4..de7bd942c 100644 --- a/src/wave/helper/wave-mac-helper.h +++ b/src/wave/helper/wave-mac-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wave/helper/wifi-80211p-helper.cc b/src/wave/helper/wifi-80211p-helper.cc index b7e8b60b0..e3e7b8908 100644 --- a/src/wave/helper/wifi-80211p-helper.cc +++ b/src/wave/helper/wifi-80211p-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wave/helper/wifi-80211p-helper.h b/src/wave/helper/wifi-80211p-helper.h index 7eb2b4973..a680f875a 100644 --- a/src/wave/helper/wifi-80211p-helper.h +++ b/src/wave/helper/wifi-80211p-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wave/model/bsm-application.cc b/src/wave/model/bsm-application.cc index 899c5378a..c2c29aba4 100644 --- a/src/wave/model/bsm-application.cc +++ b/src/wave/model/bsm-application.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 North Carolina State University * diff --git a/src/wave/model/bsm-application.h b/src/wave/model/bsm-application.h index 4da5e95f9..a407dbd0a 100644 --- a/src/wave/model/bsm-application.h +++ b/src/wave/model/bsm-application.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 North Carolina State University * diff --git a/src/wave/model/channel-coordinator.cc b/src/wave/model/channel-coordinator.cc index 94fe79abd..898e4f2b7 100644 --- a/src/wave/model/channel-coordinator.cc +++ b/src/wave/model/channel-coordinator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/channel-coordinator.h b/src/wave/model/channel-coordinator.h index 5ae0a4f81..b372860c5 100644 --- a/src/wave/model/channel-coordinator.h +++ b/src/wave/model/channel-coordinator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/channel-manager.cc b/src/wave/model/channel-manager.cc index 0c41a99fd..3834c5480 100644 --- a/src/wave/model/channel-manager.cc +++ b/src/wave/model/channel-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/channel-manager.h b/src/wave/model/channel-manager.h index c7a138415..326a7b0e2 100644 --- a/src/wave/model/channel-manager.h +++ b/src/wave/model/channel-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/channel-scheduler.cc b/src/wave/model/channel-scheduler.cc index c48d095c9..f463a9e6d 100644 --- a/src/wave/model/channel-scheduler.cc +++ b/src/wave/model/channel-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/channel-scheduler.h b/src/wave/model/channel-scheduler.h index 41c34e002..43d12b7b0 100644 --- a/src/wave/model/channel-scheduler.h +++ b/src/wave/model/channel-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/default-channel-scheduler.cc b/src/wave/model/default-channel-scheduler.cc index 6214df7d0..e0d9b48bb 100644 --- a/src/wave/model/default-channel-scheduler.cc +++ b/src/wave/model/default-channel-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/default-channel-scheduler.h b/src/wave/model/default-channel-scheduler.h index 41399d191..cd8b38c92 100644 --- a/src/wave/model/default-channel-scheduler.h +++ b/src/wave/model/default-channel-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/higher-tx-tag.cc b/src/wave/model/higher-tx-tag.cc index 7af59e309..f63d450da 100644 --- a/src/wave/model/higher-tx-tag.cc +++ b/src/wave/model/higher-tx-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2013 Dalian University of Technology diff --git a/src/wave/model/higher-tx-tag.h b/src/wave/model/higher-tx-tag.h index 6c3e4d4f9..61634ddd5 100644 --- a/src/wave/model/higher-tx-tag.h +++ b/src/wave/model/higher-tx-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2013 Dalian University of Technology diff --git a/src/wave/model/ocb-wifi-mac.cc b/src/wave/model/ocb-wifi-mac.cc index 211b36d58..acd9425c3 100644 --- a/src/wave/model/ocb-wifi-mac.cc +++ b/src/wave/model/ocb-wifi-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2013 Dalian University of Technology diff --git a/src/wave/model/ocb-wifi-mac.h b/src/wave/model/ocb-wifi-mac.h index b99f86904..45e272610 100644 --- a/src/wave/model/ocb-wifi-mac.h +++ b/src/wave/model/ocb-wifi-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2013 Dalian University of Technology diff --git a/src/wave/model/vendor-specific-action.cc b/src/wave/model/vendor-specific-action.cc index 590e5030d..84e7eea5e 100644 --- a/src/wave/model/vendor-specific-action.cc +++ b/src/wave/model/vendor-specific-action.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Dalian University of Technology * This program is free software; you can redistribute it and/or modify diff --git a/src/wave/model/vendor-specific-action.h b/src/wave/model/vendor-specific-action.h index 302923881..e78f63118 100644 --- a/src/wave/model/vendor-specific-action.h +++ b/src/wave/model/vendor-specific-action.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Dalian University of Technology * This program is free software; you can redistribute it and/or modify diff --git a/src/wave/model/vsa-manager.cc b/src/wave/model/vsa-manager.cc index a8a615fd2..cc1d5e60d 100644 --- a/src/wave/model/vsa-manager.cc +++ b/src/wave/model/vsa-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/model/vsa-manager.h b/src/wave/model/vsa-manager.h index 69d9840d9..b2dd4a03f 100644 --- a/src/wave/model/vsa-manager.h +++ b/src/wave/model/vsa-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Dalian University of Technology * This program is free software; you can redistribute it and/or modify diff --git a/src/wave/model/wave-frame-exchange-manager.cc b/src/wave/model/wave-frame-exchange-manager.cc index 74e1332d9..ef89cc4bf 100644 --- a/src/wave/model/wave-frame-exchange-manager.cc +++ b/src/wave/model/wave-frame-exchange-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wave/model/wave-frame-exchange-manager.h b/src/wave/model/wave-frame-exchange-manager.h index be370b440..dd4abcf59 100644 --- a/src/wave/model/wave-frame-exchange-manager.h +++ b/src/wave/model/wave-frame-exchange-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wave/model/wave-net-device.cc b/src/wave/model/wave-net-device.cc index 31c590c1b..d2805476b 100644 --- a/src/wave/model/wave-net-device.cc +++ b/src/wave/model/wave-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * This program is free software; you can redistribute it and/or modify diff --git a/src/wave/model/wave-net-device.h b/src/wave/model/wave-net-device.h index aefa0549a..f0bc900fb 100644 --- a/src/wave/model/wave-net-device.h +++ b/src/wave/model/wave-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * This program is free software; you can redistribute it and/or modify diff --git a/src/wave/test/mac-extension-test-suite.cc b/src/wave/test/mac-extension-test-suite.cc index b9b037120..f24cb660a 100644 --- a/src/wave/test/mac-extension-test-suite.cc +++ b/src/wave/test/mac-extension-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wave/test/ocb-test-suite.cc b/src/wave/test/ocb-test-suite.cc index 57348389d..4a1ab20d4 100644 --- a/src/wave/test/ocb-test-suite.cc +++ b/src/wave/test/ocb-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Dalian University of Technology * diff --git a/src/wifi/examples/wifi-bianchi.cc b/src/wifi/examples/wifi-bianchi.cc index 5b96ab3fc..65833bbed 100644 --- a/src/wifi/examples/wifi-bianchi.cc +++ b/src/wifi/examples/wifi-bianchi.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 The Boeing Company * diff --git a/src/wifi/examples/wifi-manager-example.cc b/src/wifi/examples/wifi-manager-example.cc index 8352d62d9..78288acc6 100644 --- a/src/wifi/examples/wifi-manager-example.cc +++ b/src/wifi/examples/wifi-manager-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 University of Washington * diff --git a/src/wifi/examples/wifi-phy-configuration.cc b/src/wifi/examples/wifi-phy-configuration.cc index 780c6acf6..5a4865400 100644 --- a/src/wifi/examples/wifi-phy-configuration.cc +++ b/src/wifi/examples/wifi-phy-configuration.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Tom Henderson * diff --git a/src/wifi/examples/wifi-phy-test.cc b/src/wifi/examples/wifi-phy-test.cc index 5d3407c51..3fdf24991 100644 --- a/src/wifi/examples/wifi-phy-test.cc +++ b/src/wifi/examples/wifi-phy-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/examples/wifi-test-interference-helper.cc b/src/wifi/examples/wifi-test-interference-helper.cc index fd995f907..144893b41 100644 --- a/src/wifi/examples/wifi-test-interference-helper.cc +++ b/src/wifi/examples/wifi-test-interference-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 * diff --git a/src/wifi/examples/wifi-trans-example.cc b/src/wifi/examples/wifi-trans-example.cc index 49ec37c58..1ebd7e84f 100644 --- a/src/wifi/examples/wifi-trans-example.cc +++ b/src/wifi/examples/wifi-trans-example.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Orange Labs * diff --git a/src/wifi/helper/athstats-helper.cc b/src/wifi/helper/athstats-helper.cc index 72215b4f3..d0ba7dab9 100644 --- a/src/wifi/helper/athstats-helper.cc +++ b/src/wifi/helper/athstats-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/wifi/helper/athstats-helper.h b/src/wifi/helper/athstats-helper.h index 46cc2c6f0..48d4782e5 100644 --- a/src/wifi/helper/athstats-helper.h +++ b/src/wifi/helper/athstats-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/wifi/helper/spectrum-wifi-helper.cc b/src/wifi/helper/spectrum-wifi-helper.cc index 0a3b2dcd1..b2d5d271a 100644 --- a/src/wifi/helper/spectrum-wifi-helper.cc +++ b/src/wifi/helper/spectrum-wifi-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/wifi/helper/spectrum-wifi-helper.h b/src/wifi/helper/spectrum-wifi-helper.h index e3e1f895c..378f1ef30 100644 --- a/src/wifi/helper/spectrum-wifi-helper.h +++ b/src/wifi/helper/spectrum-wifi-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/wifi/helper/wifi-helper.cc b/src/wifi/helper/wifi-helper.cc index ad865408c..9d811daea 100644 --- a/src/wifi/helper/wifi-helper.cc +++ b/src/wifi/helper/wifi-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/helper/wifi-helper.h b/src/wifi/helper/wifi-helper.h index e31dbe84b..5ad4a69d5 100644 --- a/src/wifi/helper/wifi-helper.h +++ b/src/wifi/helper/wifi-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/helper/wifi-mac-helper.cc b/src/wifi/helper/wifi-mac-helper.cc index 4c16254c4..82360bfa3 100644 --- a/src/wifi/helper/wifi-mac-helper.cc +++ b/src/wifi/helper/wifi-mac-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 * diff --git a/src/wifi/helper/wifi-mac-helper.h b/src/wifi/helper/wifi-mac-helper.h index 71aca9dc3..6f4a1d0d5 100644 --- a/src/wifi/helper/wifi-mac-helper.h +++ b/src/wifi/helper/wifi-mac-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 * diff --git a/src/wifi/helper/wifi-radio-energy-model-helper.cc b/src/wifi/helper/wifi-radio-energy-model-helper.cc index 199760f9d..06bbb43c3 100644 --- a/src/wifi/helper/wifi-radio-energy-model-helper.cc +++ b/src/wifi/helper/wifi-radio-energy-model-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/wifi/helper/wifi-radio-energy-model-helper.h b/src/wifi/helper/wifi-radio-energy-model-helper.h index c5370d107..7c6044566 100644 --- a/src/wifi/helper/wifi-radio-energy-model-helper.h +++ b/src/wifi/helper/wifi-radio-energy-model-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/wifi/helper/yans-wifi-helper.cc b/src/wifi/helper/yans-wifi-helper.cc index ca73c3563..1ee1b43f1 100644 --- a/src/wifi/helper/yans-wifi-helper.cc +++ b/src/wifi/helper/yans-wifi-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/wifi/helper/yans-wifi-helper.h b/src/wifi/helper/yans-wifi-helper.h index 0c628131b..7dada22e1 100644 --- a/src/wifi/helper/yans-wifi-helper.h +++ b/src/wifi/helper/yans-wifi-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/wifi/model/adhoc-wifi-mac.cc b/src/wifi/model/adhoc-wifi-mac.cc index a7de10382..0c14fa0fe 100644 --- a/src/wifi/model/adhoc-wifi-mac.cc +++ b/src/wifi/model/adhoc-wifi-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/adhoc-wifi-mac.h b/src/wifi/model/adhoc-wifi-mac.h index 2250d2151..fdcae80c1 100644 --- a/src/wifi/model/adhoc-wifi-mac.h +++ b/src/wifi/model/adhoc-wifi-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/ampdu-subframe-header.cc b/src/wifi/model/ampdu-subframe-header.cc index 52092738c..2a843599e 100644 --- a/src/wifi/model/ampdu-subframe-header.cc +++ b/src/wifi/model/ampdu-subframe-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 * diff --git a/src/wifi/model/ampdu-subframe-header.h b/src/wifi/model/ampdu-subframe-header.h index 54a7f5b8d..e07ee1a5b 100644 --- a/src/wifi/model/ampdu-subframe-header.h +++ b/src/wifi/model/ampdu-subframe-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 * diff --git a/src/wifi/model/ampdu-tag.cc b/src/wifi/model/ampdu-tag.cc index f6e6b9980..5467d705c 100644 --- a/src/wifi/model/ampdu-tag.cc +++ b/src/wifi/model/ampdu-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 * diff --git a/src/wifi/model/ampdu-tag.h b/src/wifi/model/ampdu-tag.h index 6adb64902..9cd314a60 100644 --- a/src/wifi/model/ampdu-tag.h +++ b/src/wifi/model/ampdu-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 * diff --git a/src/wifi/model/amsdu-subframe-header.cc b/src/wifi/model/amsdu-subframe-header.cc index e5c0f9a69..03dccec6c 100644 --- a/src/wifi/model/amsdu-subframe-header.cc +++ b/src/wifi/model/amsdu-subframe-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/amsdu-subframe-header.h b/src/wifi/model/amsdu-subframe-header.h index 9e8ef319f..6760a1f28 100644 --- a/src/wifi/model/amsdu-subframe-header.h +++ b/src/wifi/model/amsdu-subframe-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/ap-wifi-mac.cc b/src/wifi/model/ap-wifi-mac.cc index 53d9190e4..03c360fc4 100644 --- a/src/wifi/model/ap-wifi-mac.cc +++ b/src/wifi/model/ap-wifi-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/ap-wifi-mac.h b/src/wifi/model/ap-wifi-mac.h index e59a16891..8442e1251 100644 --- a/src/wifi/model/ap-wifi-mac.h +++ b/src/wifi/model/ap-wifi-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/block-ack-agreement.cc b/src/wifi/model/block-ack-agreement.cc index c7a3ff044..c01337a69 100644 --- a/src/wifi/model/block-ack-agreement.cc +++ b/src/wifi/model/block-ack-agreement.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/block-ack-agreement.h b/src/wifi/model/block-ack-agreement.h index 9ee265024..bd3ce5b47 100644 --- a/src/wifi/model/block-ack-agreement.h +++ b/src/wifi/model/block-ack-agreement.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/block-ack-manager.cc b/src/wifi/model/block-ack-manager.cc index fe905708a..9a6196918 100644 --- a/src/wifi/model/block-ack-manager.cc +++ b/src/wifi/model/block-ack-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * diff --git a/src/wifi/model/block-ack-manager.h b/src/wifi/model/block-ack-manager.h index 2d68f772e..c92f96b7a 100644 --- a/src/wifi/model/block-ack-manager.h +++ b/src/wifi/model/block-ack-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * diff --git a/src/wifi/model/block-ack-type.cc b/src/wifi/model/block-ack-type.cc index 8de1151c1..9779e5fd5 100644 --- a/src/wifi/model/block-ack-type.cc +++ b/src/wifi/model/block-ack-type.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Universita' di Napoli * diff --git a/src/wifi/model/block-ack-type.h b/src/wifi/model/block-ack-type.h index cf7162d88..272aba379 100644 --- a/src/wifi/model/block-ack-type.h +++ b/src/wifi/model/block-ack-type.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 * diff --git a/src/wifi/model/block-ack-window.cc b/src/wifi/model/block-ack-window.cc index 1a2970b97..d7d26aabe 100644 --- a/src/wifi/model/block-ack-window.cc +++ b/src/wifi/model/block-ack-window.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/block-ack-window.h b/src/wifi/model/block-ack-window.h index eaab70f02..4685c3629 100644 --- a/src/wifi/model/block-ack-window.h +++ b/src/wifi/model/block-ack-window.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/capability-information.cc b/src/wifi/model/capability-information.cc index ec54b7fb4..0e14acf0e 100644 --- a/src/wifi/model/capability-information.cc +++ b/src/wifi/model/capability-information.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/capability-information.h b/src/wifi/model/capability-information.h index 5019c2f0e..3979dff09 100644 --- a/src/wifi/model/capability-information.h +++ b/src/wifi/model/capability-information.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/channel-access-manager.cc b/src/wifi/model/channel-access-manager.cc index 67dea5a49..70443a728 100644 --- a/src/wifi/model/channel-access-manager.cc +++ b/src/wifi/model/channel-access-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/channel-access-manager.h b/src/wifi/model/channel-access-manager.h index d54e798bb..3addc8ba9 100644 --- a/src/wifi/model/channel-access-manager.h +++ b/src/wifi/model/channel-access-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/ctrl-headers.cc b/src/wifi/model/ctrl-headers.cc index 7b3a51bf1..02d6e84d2 100644 --- a/src/wifi/model/ctrl-headers.cc +++ b/src/wifi/model/ctrl-headers.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/ctrl-headers.h b/src/wifi/model/ctrl-headers.h index f7682d550..4489d2be4 100644 --- a/src/wifi/model/ctrl-headers.h +++ b/src/wifi/model/ctrl-headers.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/edca-parameter-set.cc b/src/wifi/model/edca-parameter-set.cc index e9b14d522..b599e86b4 100644 --- a/src/wifi/model/edca-parameter-set.cc +++ b/src/wifi/model/edca-parameter-set.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/src/wifi/model/edca-parameter-set.h b/src/wifi/model/edca-parameter-set.h index 6f923eb7d..8eca30a10 100644 --- a/src/wifi/model/edca-parameter-set.h +++ b/src/wifi/model/edca-parameter-set.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/src/wifi/model/eht/eht-capabilities.cc b/src/wifi/model/eht/eht-capabilities.cc index b38a83cd0..8ef1b40eb 100644 --- a/src/wifi/model/eht/eht-capabilities.cc +++ b/src/wifi/model/eht/eht-capabilities.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/src/wifi/model/eht/eht-capabilities.h b/src/wifi/model/eht/eht-capabilities.h index 74cde11eb..17621182b 100644 --- a/src/wifi/model/eht/eht-capabilities.h +++ b/src/wifi/model/eht/eht-capabilities.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/src/wifi/model/eht/eht-configuration.cc b/src/wifi/model/eht/eht-configuration.cc index 365521f91..9ce431f53 100644 --- a/src/wifi/model/eht/eht-configuration.cc +++ b/src/wifi/model/eht/eht-configuration.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/src/wifi/model/eht/eht-configuration.h b/src/wifi/model/eht/eht-configuration.h index 73a824c58..0f27a43b5 100644 --- a/src/wifi/model/eht/eht-configuration.h +++ b/src/wifi/model/eht/eht-configuration.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/src/wifi/model/eht/eht-phy.cc b/src/wifi/model/eht/eht-phy.cc index 8c1edb20d..57eab3c09 100644 --- a/src/wifi/model/eht/eht-phy.cc +++ b/src/wifi/model/eht/eht-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/src/wifi/model/eht/eht-phy.h b/src/wifi/model/eht/eht-phy.h index c2d8fb875..e3ef523aa 100644 --- a/src/wifi/model/eht/eht-phy.h +++ b/src/wifi/model/eht/eht-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/src/wifi/model/eht/eht-ppdu.cc b/src/wifi/model/eht/eht-ppdu.cc index 059531402..f207a0e1c 100644 --- a/src/wifi/model/eht/eht-ppdu.cc +++ b/src/wifi/model/eht/eht-ppdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/src/wifi/model/eht/eht-ppdu.h b/src/wifi/model/eht/eht-ppdu.h index 3d0d06c20..656509f28 100644 --- a/src/wifi/model/eht/eht-ppdu.h +++ b/src/wifi/model/eht/eht-ppdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING * diff --git a/src/wifi/model/eht/multi-link-element.cc b/src/wifi/model/eht/multi-link-element.cc index 00c4c037c..4ecf24462 100644 --- a/src/wifi/model/eht/multi-link-element.cc +++ b/src/wifi/model/eht/multi-link-element.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/eht/multi-link-element.h b/src/wifi/model/eht/multi-link-element.h index dcfbe549a..9f569012c 100644 --- a/src/wifi/model/eht/multi-link-element.h +++ b/src/wifi/model/eht/multi-link-element.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/error-rate-model.cc b/src/wifi/model/error-rate-model.cc index 5982d9902..82446f329 100644 --- a/src/wifi/model/error-rate-model.cc +++ b/src/wifi/model/error-rate-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/error-rate-model.h b/src/wifi/model/error-rate-model.h index 65ebd2fbd..9a231647a 100644 --- a/src/wifi/model/error-rate-model.h +++ b/src/wifi/model/error-rate-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/extended-capabilities.cc b/src/wifi/model/extended-capabilities.cc index 89df17c11..eb8f8a093 100644 --- a/src/wifi/model/extended-capabilities.cc +++ b/src/wifi/model/extended-capabilities.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 * diff --git a/src/wifi/model/extended-capabilities.h b/src/wifi/model/extended-capabilities.h index 6f19b31fe..e2e660770 100644 --- a/src/wifi/model/extended-capabilities.h +++ b/src/wifi/model/extended-capabilities.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 * diff --git a/src/wifi/model/fcfs-wifi-queue-scheduler.cc b/src/wifi/model/fcfs-wifi-queue-scheduler.cc index c59d40e87..a72623c88 100644 --- a/src/wifi/model/fcfs-wifi-queue-scheduler.cc +++ b/src/wifi/model/fcfs-wifi-queue-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/fcfs-wifi-queue-scheduler.h b/src/wifi/model/fcfs-wifi-queue-scheduler.h index 6caf66960..0edd76eb0 100644 --- a/src/wifi/model/fcfs-wifi-queue-scheduler.h +++ b/src/wifi/model/fcfs-wifi-queue-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/frame-capture-model.cc b/src/wifi/model/frame-capture-model.cc index 7095cf69c..3c53c9d51 100644 --- a/src/wifi/model/frame-capture-model.cc +++ b/src/wifi/model/frame-capture-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 * diff --git a/src/wifi/model/frame-capture-model.h b/src/wifi/model/frame-capture-model.h index 47116b351..b665eee0e 100644 --- a/src/wifi/model/frame-capture-model.h +++ b/src/wifi/model/frame-capture-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 * diff --git a/src/wifi/model/frame-exchange-manager.cc b/src/wifi/model/frame-exchange-manager.cc index 97267daac..6ec02e54b 100644 --- a/src/wifi/model/frame-exchange-manager.cc +++ b/src/wifi/model/frame-exchange-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/frame-exchange-manager.h b/src/wifi/model/frame-exchange-manager.h index efa606c14..36b48178e 100644 --- a/src/wifi/model/frame-exchange-manager.h +++ b/src/wifi/model/frame-exchange-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/constant-obss-pd-algorithm.cc b/src/wifi/model/he/constant-obss-pd-algorithm.cc index 183c47388..a26a5b01c 100644 --- a/src/wifi/model/he/constant-obss-pd-algorithm.cc +++ b/src/wifi/model/he/constant-obss-pd-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/he/constant-obss-pd-algorithm.h b/src/wifi/model/he/constant-obss-pd-algorithm.h index a125c0f70..9b50f5404 100644 --- a/src/wifi/model/he/constant-obss-pd-algorithm.h +++ b/src/wifi/model/he/constant-obss-pd-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/he/he-capabilities.cc b/src/wifi/model/he/he-capabilities.cc index a9b6cd753..a72be2669 100644 --- a/src/wifi/model/he/he-capabilities.cc +++ b/src/wifi/model/he/he-capabilities.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 * diff --git a/src/wifi/model/he/he-capabilities.h b/src/wifi/model/he/he-capabilities.h index b52409f5c..0e63538fa 100644 --- a/src/wifi/model/he/he-capabilities.h +++ b/src/wifi/model/he/he-capabilities.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 * diff --git a/src/wifi/model/he/he-configuration.cc b/src/wifi/model/he/he-configuration.cc index c07526f08..143bdeed4 100644 --- a/src/wifi/model/he/he-configuration.cc +++ b/src/wifi/model/he/he-configuration.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/he/he-configuration.h b/src/wifi/model/he/he-configuration.h index b02a2ba1c..d06fb8b2c 100644 --- a/src/wifi/model/he/he-configuration.h +++ b/src/wifi/model/he/he-configuration.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/he/he-frame-exchange-manager.cc b/src/wifi/model/he/he-frame-exchange-manager.cc index 8df78d3e6..b0cdcc215 100644 --- a/src/wifi/model/he/he-frame-exchange-manager.cc +++ b/src/wifi/model/he/he-frame-exchange-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/he-frame-exchange-manager.h b/src/wifi/model/he/he-frame-exchange-manager.h index 19ac47f97..c7d7fb4e9 100644 --- a/src/wifi/model/he/he-frame-exchange-manager.h +++ b/src/wifi/model/he/he-frame-exchange-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/he-operation.cc b/src/wifi/model/he/he-operation.cc index 63db3df5f..af10b78cf 100644 --- a/src/wifi/model/he/he-operation.cc +++ b/src/wifi/model/he/he-operation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Sébastien Deronne * diff --git a/src/wifi/model/he/he-operation.h b/src/wifi/model/he/he-operation.h index 08ed034a9..87ea60803 100644 --- a/src/wifi/model/he/he-operation.h +++ b/src/wifi/model/he/he-operation.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Sébastien Deronne * diff --git a/src/wifi/model/he/he-phy.cc b/src/wifi/model/he/he-phy.cc index ab30e8e35..4500afe98 100644 --- a/src/wifi/model/he/he-phy.cc +++ b/src/wifi/model/he/he-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/he/he-phy.h b/src/wifi/model/he/he-phy.h index a4f8c2b26..79293ca31 100644 --- a/src/wifi/model/he/he-phy.h +++ b/src/wifi/model/he/he-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/he/he-ppdu.cc b/src/wifi/model/he/he-ppdu.cc index f4242d576..a25af9050 100644 --- a/src/wifi/model/he/he-ppdu.cc +++ b/src/wifi/model/he/he-ppdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/he/he-ppdu.h b/src/wifi/model/he/he-ppdu.h index 82fd24b18..8efefcb5a 100644 --- a/src/wifi/model/he/he-ppdu.h +++ b/src/wifi/model/he/he-ppdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/he/he-ru.cc b/src/wifi/model/he/he-ru.cc index 121a5a3f7..e6a61cd7f 100644 --- a/src/wifi/model/he/he-ru.cc +++ b/src/wifi/model/he/he-ru.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 * diff --git a/src/wifi/model/he/he-ru.h b/src/wifi/model/he/he-ru.h index e2bdd6e8d..a7e1ac5dd 100644 --- a/src/wifi/model/he/he-ru.h +++ b/src/wifi/model/he/he-ru.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 * diff --git a/src/wifi/model/he/mu-edca-parameter-set.cc b/src/wifi/model/he/mu-edca-parameter-set.cc index abcceabd9..cfab7901e 100644 --- a/src/wifi/model/he/mu-edca-parameter-set.cc +++ b/src/wifi/model/he/mu-edca-parameter-set.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/mu-edca-parameter-set.h b/src/wifi/model/he/mu-edca-parameter-set.h index f20e64ee1..0e1b446c2 100644 --- a/src/wifi/model/he/mu-edca-parameter-set.h +++ b/src/wifi/model/he/mu-edca-parameter-set.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/mu-snr-tag.cc b/src/wifi/model/he/mu-snr-tag.cc index ff97e1b40..8e8ea26d9 100644 --- a/src/wifi/model/he/mu-snr-tag.cc +++ b/src/wifi/model/he/mu-snr-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/mu-snr-tag.h b/src/wifi/model/he/mu-snr-tag.h index abef5ce42..a3f0438e3 100644 --- a/src/wifi/model/he/mu-snr-tag.h +++ b/src/wifi/model/he/mu-snr-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/multi-user-scheduler.cc b/src/wifi/model/he/multi-user-scheduler.cc index 21f4036d4..a7df1c094 100644 --- a/src/wifi/model/he/multi-user-scheduler.cc +++ b/src/wifi/model/he/multi-user-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/multi-user-scheduler.h b/src/wifi/model/he/multi-user-scheduler.h index 26e7cc986..5d9eb1973 100644 --- a/src/wifi/model/he/multi-user-scheduler.h +++ b/src/wifi/model/he/multi-user-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/obss-pd-algorithm.cc b/src/wifi/model/he/obss-pd-algorithm.cc index f821ec8f4..dd6e997e3 100644 --- a/src/wifi/model/he/obss-pd-algorithm.cc +++ b/src/wifi/model/he/obss-pd-algorithm.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/he/obss-pd-algorithm.h b/src/wifi/model/he/obss-pd-algorithm.h index 19c76faa1..73811265a 100644 --- a/src/wifi/model/he/obss-pd-algorithm.h +++ b/src/wifi/model/he/obss-pd-algorithm.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/he/rr-multi-user-scheduler.cc b/src/wifi/model/he/rr-multi-user-scheduler.cc index a6038ad5e..30ab52920 100644 --- a/src/wifi/model/he/rr-multi-user-scheduler.cc +++ b/src/wifi/model/he/rr-multi-user-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/he/rr-multi-user-scheduler.h b/src/wifi/model/he/rr-multi-user-scheduler.h index dae07f3b5..bba425659 100644 --- a/src/wifi/model/he/rr-multi-user-scheduler.h +++ b/src/wifi/model/he/rr-multi-user-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/ht/ht-capabilities.cc b/src/wifi/model/ht/ht-capabilities.cc index dac8f4fd9..dbcfa20ba 100644 --- a/src/wifi/model/ht/ht-capabilities.cc +++ b/src/wifi/model/ht/ht-capabilities.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 * diff --git a/src/wifi/model/ht/ht-capabilities.h b/src/wifi/model/ht/ht-capabilities.h index e365e5ed1..f2ff46893 100644 --- a/src/wifi/model/ht/ht-capabilities.h +++ b/src/wifi/model/ht/ht-capabilities.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 * diff --git a/src/wifi/model/ht/ht-configuration.cc b/src/wifi/model/ht/ht-configuration.cc index e338e6626..6a396a583 100644 --- a/src/wifi/model/ht/ht-configuration.cc +++ b/src/wifi/model/ht/ht-configuration.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Sébastien Deronne * diff --git a/src/wifi/model/ht/ht-configuration.h b/src/wifi/model/ht/ht-configuration.h index 38f913633..2083f618f 100644 --- a/src/wifi/model/ht/ht-configuration.h +++ b/src/wifi/model/ht/ht-configuration.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Sébastien Deronne * diff --git a/src/wifi/model/ht/ht-frame-exchange-manager.cc b/src/wifi/model/ht/ht-frame-exchange-manager.cc index 53806cb89..952cb749d 100644 --- a/src/wifi/model/ht/ht-frame-exchange-manager.cc +++ b/src/wifi/model/ht/ht-frame-exchange-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/ht/ht-frame-exchange-manager.h b/src/wifi/model/ht/ht-frame-exchange-manager.h index b8118a92c..dd4d5c960 100644 --- a/src/wifi/model/ht/ht-frame-exchange-manager.h +++ b/src/wifi/model/ht/ht-frame-exchange-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/ht/ht-operation.cc b/src/wifi/model/ht/ht-operation.cc index 8f765821b..f44550126 100644 --- a/src/wifi/model/ht/ht-operation.cc +++ b/src/wifi/model/ht/ht-operation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/src/wifi/model/ht/ht-operation.h b/src/wifi/model/ht/ht-operation.h index 589eab026..8ce88fdb3 100644 --- a/src/wifi/model/ht/ht-operation.h +++ b/src/wifi/model/ht/ht-operation.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/src/wifi/model/ht/ht-phy.cc b/src/wifi/model/ht/ht-phy.cc index ef4a7f5d6..dbbfdd8c4 100644 --- a/src/wifi/model/ht/ht-phy.cc +++ b/src/wifi/model/ht/ht-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/ht/ht-phy.h b/src/wifi/model/ht/ht-phy.h index 575f7365c..5047536a9 100644 --- a/src/wifi/model/ht/ht-phy.h +++ b/src/wifi/model/ht/ht-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/ht/ht-ppdu.cc b/src/wifi/model/ht/ht-ppdu.cc index 51a428070..4d86f5945 100644 --- a/src/wifi/model/ht/ht-ppdu.cc +++ b/src/wifi/model/ht/ht-ppdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/ht/ht-ppdu.h b/src/wifi/model/ht/ht-ppdu.h index dc2d2798d..8b5d875db 100644 --- a/src/wifi/model/ht/ht-ppdu.h +++ b/src/wifi/model/ht/ht-ppdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/interference-helper.cc b/src/wifi/model/interference-helper.cc index f101885c1..1c1ec2604 100644 --- a/src/wifi/model/interference-helper.cc +++ b/src/wifi/model/interference-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/interference-helper.h b/src/wifi/model/interference-helper.h index 5726d4caf..942acd3da 100644 --- a/src/wifi/model/interference-helper.h +++ b/src/wifi/model/interference-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/mac-rx-middle.cc b/src/wifi/model/mac-rx-middle.cc index 9d39a41e8..18f065907 100644 --- a/src/wifi/model/mac-rx-middle.cc +++ b/src/wifi/model/mac-rx-middle.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/mac-rx-middle.h b/src/wifi/model/mac-rx-middle.h index 57c7a1cdc..4dd974b01 100644 --- a/src/wifi/model/mac-rx-middle.h +++ b/src/wifi/model/mac-rx-middle.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/mac-tx-middle.cc b/src/wifi/model/mac-tx-middle.cc index 2b8e9a185..f141e7e2b 100644 --- a/src/wifi/model/mac-tx-middle.cc +++ b/src/wifi/model/mac-tx-middle.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mac-tx-middle.h b/src/wifi/model/mac-tx-middle.h index 76e2f4a9a..3912c887d 100644 --- a/src/wifi/model/mac-tx-middle.h +++ b/src/wifi/model/mac-tx-middle.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mgt-headers.cc b/src/wifi/model/mgt-headers.cc index 2d5326064..fcad2556c 100644 --- a/src/wifi/model/mgt-headers.cc +++ b/src/wifi/model/mgt-headers.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mgt-headers.h b/src/wifi/model/mgt-headers.h index 821b8ff8f..53a2088f7 100644 --- a/src/wifi/model/mgt-headers.h +++ b/src/wifi/model/mgt-headers.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mpdu-aggregator.cc b/src/wifi/model/mpdu-aggregator.cc index 02cd707b3..dfa0ef9ce 100644 --- a/src/wifi/model/mpdu-aggregator.cc +++ b/src/wifi/model/mpdu-aggregator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 * diff --git a/src/wifi/model/mpdu-aggregator.h b/src/wifi/model/mpdu-aggregator.h index 30b65a3f2..3c1715931 100644 --- a/src/wifi/model/mpdu-aggregator.h +++ b/src/wifi/model/mpdu-aggregator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 * diff --git a/src/wifi/model/msdu-aggregator.cc b/src/wifi/model/msdu-aggregator.cc index 044e9aa61..0c140516d 100644 --- a/src/wifi/model/msdu-aggregator.cc +++ b/src/wifi/model/msdu-aggregator.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/msdu-aggregator.h b/src/wifi/model/msdu-aggregator.h index 8880f4a71..d002303b3 100644 --- a/src/wifi/model/msdu-aggregator.h +++ b/src/wifi/model/msdu-aggregator.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/nist-error-rate-model.cc b/src/wifi/model/nist-error-rate-model.cc index ca94d49a3..a467a3a53 100644 --- a/src/wifi/model/nist-error-rate-model.cc +++ b/src/wifi/model/nist-error-rate-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/wifi/model/nist-error-rate-model.h b/src/wifi/model/nist-error-rate-model.h index 91bc307c0..1b58d63a7 100644 --- a/src/wifi/model/nist-error-rate-model.h +++ b/src/wifi/model/nist-error-rate-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/wifi/model/non-ht/dsss-error-rate-model.cc b/src/wifi/model/non-ht/dsss-error-rate-model.cc index 0b3e38ea7..6e295e01c 100644 --- a/src/wifi/model/non-ht/dsss-error-rate-model.cc +++ b/src/wifi/model/non-ht/dsss-error-rate-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/wifi/model/non-ht/dsss-error-rate-model.h b/src/wifi/model/non-ht/dsss-error-rate-model.h index c1a4ea6e2..993f691ba 100644 --- a/src/wifi/model/non-ht/dsss-error-rate-model.h +++ b/src/wifi/model/non-ht/dsss-error-rate-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/wifi/model/non-ht/dsss-parameter-set.cc b/src/wifi/model/non-ht/dsss-parameter-set.cc index 1d2066c81..cb5491f6e 100644 --- a/src/wifi/model/non-ht/dsss-parameter-set.cc +++ b/src/wifi/model/non-ht/dsss-parameter-set.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/src/wifi/model/non-ht/dsss-parameter-set.h b/src/wifi/model/non-ht/dsss-parameter-set.h index e8f11a6b1..777536c49 100644 --- a/src/wifi/model/non-ht/dsss-parameter-set.h +++ b/src/wifi/model/non-ht/dsss-parameter-set.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/src/wifi/model/non-ht/dsss-phy.cc b/src/wifi/model/non-ht/dsss-phy.cc index d0a6b36da..0093738b9 100644 --- a/src/wifi/model/non-ht/dsss-phy.cc +++ b/src/wifi/model/non-ht/dsss-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/dsss-phy.h b/src/wifi/model/non-ht/dsss-phy.h index 88e594049..a692bfb74 100644 --- a/src/wifi/model/non-ht/dsss-phy.h +++ b/src/wifi/model/non-ht/dsss-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/dsss-ppdu.cc b/src/wifi/model/non-ht/dsss-ppdu.cc index e7f690a9f..2d8575727 100644 --- a/src/wifi/model/non-ht/dsss-ppdu.cc +++ b/src/wifi/model/non-ht/dsss-ppdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/dsss-ppdu.h b/src/wifi/model/non-ht/dsss-ppdu.h index 4e40fa3dc..d1d724ae7 100644 --- a/src/wifi/model/non-ht/dsss-ppdu.h +++ b/src/wifi/model/non-ht/dsss-ppdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/erp-information.cc b/src/wifi/model/non-ht/erp-information.cc index eb2a51493..b79d22edd 100644 --- a/src/wifi/model/non-ht/erp-information.cc +++ b/src/wifi/model/non-ht/erp-information.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Sébastien Deronne * diff --git a/src/wifi/model/non-ht/erp-information.h b/src/wifi/model/non-ht/erp-information.h index 5a0f392c8..a8b07d25a 100644 --- a/src/wifi/model/non-ht/erp-information.h +++ b/src/wifi/model/non-ht/erp-information.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Sébastien Deronne * diff --git a/src/wifi/model/non-ht/erp-ofdm-phy.cc b/src/wifi/model/non-ht/erp-ofdm-phy.cc index edbe78718..4badcc889 100644 --- a/src/wifi/model/non-ht/erp-ofdm-phy.cc +++ b/src/wifi/model/non-ht/erp-ofdm-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/erp-ofdm-phy.h b/src/wifi/model/non-ht/erp-ofdm-phy.h index 2a2198f66..8abe4c8de 100644 --- a/src/wifi/model/non-ht/erp-ofdm-phy.h +++ b/src/wifi/model/non-ht/erp-ofdm-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/erp-ofdm-ppdu.cc b/src/wifi/model/non-ht/erp-ofdm-ppdu.cc index fb2bd40dc..757569eaf 100644 --- a/src/wifi/model/non-ht/erp-ofdm-ppdu.cc +++ b/src/wifi/model/non-ht/erp-ofdm-ppdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/erp-ofdm-ppdu.h b/src/wifi/model/non-ht/erp-ofdm-ppdu.h index 0e4ca4391..74d566162 100644 --- a/src/wifi/model/non-ht/erp-ofdm-ppdu.h +++ b/src/wifi/model/non-ht/erp-ofdm-ppdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/ofdm-phy.cc b/src/wifi/model/non-ht/ofdm-phy.cc index 685f2d3c0..ec6560d08 100644 --- a/src/wifi/model/non-ht/ofdm-phy.cc +++ b/src/wifi/model/non-ht/ofdm-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/ofdm-phy.h b/src/wifi/model/non-ht/ofdm-phy.h index fe01aa998..bbd5274d2 100644 --- a/src/wifi/model/non-ht/ofdm-phy.h +++ b/src/wifi/model/non-ht/ofdm-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/ofdm-ppdu.cc b/src/wifi/model/non-ht/ofdm-ppdu.cc index 88248f081..acc79a905 100644 --- a/src/wifi/model/non-ht/ofdm-ppdu.cc +++ b/src/wifi/model/non-ht/ofdm-ppdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/non-ht/ofdm-ppdu.h b/src/wifi/model/non-ht/ofdm-ppdu.h index 69ec9438e..fc14a1c9a 100644 --- a/src/wifi/model/non-ht/ofdm-ppdu.h +++ b/src/wifi/model/non-ht/ofdm-ppdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/originator-block-ack-agreement.cc b/src/wifi/model/originator-block-ack-agreement.cc index b0889e563..7ed9fe7d1 100644 --- a/src/wifi/model/originator-block-ack-agreement.cc +++ b/src/wifi/model/originator-block-ack-agreement.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * diff --git a/src/wifi/model/originator-block-ack-agreement.h b/src/wifi/model/originator-block-ack-agreement.h index 2d1282e87..e80faff4b 100644 --- a/src/wifi/model/originator-block-ack-agreement.h +++ b/src/wifi/model/originator-block-ack-agreement.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * diff --git a/src/wifi/model/phy-entity.cc b/src/wifi/model/phy-entity.cc index f2cf6cf87..6b3ecfc8c 100644 --- a/src/wifi/model/phy-entity.cc +++ b/src/wifi/model/phy-entity.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/phy-entity.h b/src/wifi/model/phy-entity.h index 6b9148010..dcc5bce08 100644 --- a/src/wifi/model/phy-entity.h +++ b/src/wifi/model/phy-entity.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/preamble-detection-model.cc b/src/wifi/model/preamble-detection-model.cc index ea2276724..051d3f9b7 100644 --- a/src/wifi/model/preamble-detection-model.cc +++ b/src/wifi/model/preamble-detection-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/preamble-detection-model.h b/src/wifi/model/preamble-detection-model.h index 02b3e8978..57f940cc7 100644 --- a/src/wifi/model/preamble-detection-model.h +++ b/src/wifi/model/preamble-detection-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/qos-blocked-destinations.cc b/src/wifi/model/qos-blocked-destinations.cc index 83fb465cc..b5982eed4 100644 --- a/src/wifi/model/qos-blocked-destinations.cc +++ b/src/wifi/model/qos-blocked-destinations.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/qos-blocked-destinations.h b/src/wifi/model/qos-blocked-destinations.h index f60c792cc..ff2d9a5c0 100644 --- a/src/wifi/model/qos-blocked-destinations.h +++ b/src/wifi/model/qos-blocked-destinations.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/qos-frame-exchange-manager.cc b/src/wifi/model/qos-frame-exchange-manager.cc index ce6ee1782..f11619985 100644 --- a/src/wifi/model/qos-frame-exchange-manager.cc +++ b/src/wifi/model/qos-frame-exchange-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/qos-frame-exchange-manager.h b/src/wifi/model/qos-frame-exchange-manager.h index b7ebb77e0..d3ab0cc85 100644 --- a/src/wifi/model/qos-frame-exchange-manager.h +++ b/src/wifi/model/qos-frame-exchange-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/qos-txop.cc b/src/wifi/model/qos-txop.cc index 11ffaaf91..ce387d563 100644 --- a/src/wifi/model/qos-txop.cc +++ b/src/wifi/model/qos-txop.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/qos-txop.h b/src/wifi/model/qos-txop.h index b48961ed0..e059e5809 100644 --- a/src/wifi/model/qos-txop.h +++ b/src/wifi/model/qos-txop.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/qos-utils.cc b/src/wifi/model/qos-utils.cc index 161fbd30a..e2bf72a1d 100644 --- a/src/wifi/model/qos-utils.cc +++ b/src/wifi/model/qos-utils.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/qos-utils.h b/src/wifi/model/qos-utils.h index caa325f03..41a86b6ed 100644 --- a/src/wifi/model/qos-utils.h +++ b/src/wifi/model/qos-utils.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * diff --git a/src/wifi/model/rate-control/aarf-wifi-manager.cc b/src/wifi/model/rate-control/aarf-wifi-manager.cc index 6f4abecfa..cf0fcf784 100644 --- a/src/wifi/model/rate-control/aarf-wifi-manager.cc +++ b/src/wifi/model/rate-control/aarf-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/aarf-wifi-manager.h b/src/wifi/model/rate-control/aarf-wifi-manager.h index 3efc71b10..a7fd04724 100644 --- a/src/wifi/model/rate-control/aarf-wifi-manager.h +++ b/src/wifi/model/rate-control/aarf-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/aarfcd-wifi-manager.cc b/src/wifi/model/rate-control/aarfcd-wifi-manager.cc index 1de69b046..1f7bf002b 100644 --- a/src/wifi/model/rate-control/aarfcd-wifi-manager.cc +++ b/src/wifi/model/rate-control/aarfcd-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/aarfcd-wifi-manager.h b/src/wifi/model/rate-control/aarfcd-wifi-manager.h index 5c5842062..d3b03ab94 100644 --- a/src/wifi/model/rate-control/aarfcd-wifi-manager.h +++ b/src/wifi/model/rate-control/aarfcd-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/amrr-wifi-manager.cc b/src/wifi/model/rate-control/amrr-wifi-manager.cc index 1ad519e1e..70548257d 100644 --- a/src/wifi/model/rate-control/amrr-wifi-manager.cc +++ b/src/wifi/model/rate-control/amrr-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2003,2007 INRIA * diff --git a/src/wifi/model/rate-control/amrr-wifi-manager.h b/src/wifi/model/rate-control/amrr-wifi-manager.h index 8bf03e8a6..736bc90d6 100644 --- a/src/wifi/model/rate-control/amrr-wifi-manager.h +++ b/src/wifi/model/rate-control/amrr-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2003,2007 INRIA * diff --git a/src/wifi/model/rate-control/aparf-wifi-manager.cc b/src/wifi/model/rate-control/aparf-wifi-manager.cc index 311383e0e..2146ea40e 100644 --- a/src/wifi/model/rate-control/aparf-wifi-manager.cc +++ b/src/wifi/model/rate-control/aparf-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universidad de la República - Uruguay * diff --git a/src/wifi/model/rate-control/aparf-wifi-manager.h b/src/wifi/model/rate-control/aparf-wifi-manager.h index da474e0f9..b7c8817c8 100644 --- a/src/wifi/model/rate-control/aparf-wifi-manager.h +++ b/src/wifi/model/rate-control/aparf-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universidad de la República - Uruguay * diff --git a/src/wifi/model/rate-control/arf-wifi-manager.cc b/src/wifi/model/rate-control/arf-wifi-manager.cc index b5e8dbf40..5396d8e2a 100644 --- a/src/wifi/model/rate-control/arf-wifi-manager.cc +++ b/src/wifi/model/rate-control/arf-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/arf-wifi-manager.h b/src/wifi/model/rate-control/arf-wifi-manager.h index 4402be8f9..95aed6e2f 100644 --- a/src/wifi/model/rate-control/arf-wifi-manager.h +++ b/src/wifi/model/rate-control/arf-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/cara-wifi-manager.cc b/src/wifi/model/rate-control/cara-wifi-manager.cc index 586c7ea29..4a690dee3 100644 --- a/src/wifi/model/rate-control/cara-wifi-manager.cc +++ b/src/wifi/model/rate-control/cara-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/cara-wifi-manager.h b/src/wifi/model/rate-control/cara-wifi-manager.h index a99cbbc1c..e8f3a1eb8 100644 --- a/src/wifi/model/rate-control/cara-wifi-manager.h +++ b/src/wifi/model/rate-control/cara-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/constant-rate-wifi-manager.cc b/src/wifi/model/rate-control/constant-rate-wifi-manager.cc index 2eff9b03d..928d1701b 100644 --- a/src/wifi/model/rate-control/constant-rate-wifi-manager.cc +++ b/src/wifi/model/rate-control/constant-rate-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005 INRIA * diff --git a/src/wifi/model/rate-control/constant-rate-wifi-manager.h b/src/wifi/model/rate-control/constant-rate-wifi-manager.h index 843635260..e1f7d627e 100644 --- a/src/wifi/model/rate-control/constant-rate-wifi-manager.h +++ b/src/wifi/model/rate-control/constant-rate-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/ideal-wifi-manager.cc b/src/wifi/model/rate-control/ideal-wifi-manager.cc index 95b9d09f2..47498916a 100644 --- a/src/wifi/model/rate-control/ideal-wifi-manager.cc +++ b/src/wifi/model/rate-control/ideal-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/rate-control/ideal-wifi-manager.h b/src/wifi/model/rate-control/ideal-wifi-manager.h index e80bae416..94f4cf7f4 100644 --- a/src/wifi/model/rate-control/ideal-wifi-manager.h +++ b/src/wifi/model/rate-control/ideal-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/rate-control/minstrel-ht-wifi-manager.cc b/src/wifi/model/rate-control/minstrel-ht-wifi-manager.cc index 753020efd..013d764ff 100644 --- a/src/wifi/model/rate-control/minstrel-ht-wifi-manager.cc +++ b/src/wifi/model/rate-control/minstrel-ht-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Duy Nguyen * Copyright (c) 2015 Ghada Badawy diff --git a/src/wifi/model/rate-control/minstrel-ht-wifi-manager.h b/src/wifi/model/rate-control/minstrel-ht-wifi-manager.h index 890a44371..5fdac0a06 100644 --- a/src/wifi/model/rate-control/minstrel-ht-wifi-manager.h +++ b/src/wifi/model/rate-control/minstrel-ht-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Duy Nguyen * Copyright (c) 2015 Ghada Badawy diff --git a/src/wifi/model/rate-control/minstrel-wifi-manager.cc b/src/wifi/model/rate-control/minstrel-wifi-manager.cc index 0d17be8fb..aa2a94613 100644 --- a/src/wifi/model/rate-control/minstrel-wifi-manager.cc +++ b/src/wifi/model/rate-control/minstrel-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Duy Nguyen * diff --git a/src/wifi/model/rate-control/minstrel-wifi-manager.h b/src/wifi/model/rate-control/minstrel-wifi-manager.h index f6116fdd7..bbff5abe6 100644 --- a/src/wifi/model/rate-control/minstrel-wifi-manager.h +++ b/src/wifi/model/rate-control/minstrel-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Duy Nguyen * diff --git a/src/wifi/model/rate-control/onoe-wifi-manager.cc b/src/wifi/model/rate-control/onoe-wifi-manager.cc index 7b1e79500..c5a4b3057 100644 --- a/src/wifi/model/rate-control/onoe-wifi-manager.cc +++ b/src/wifi/model/rate-control/onoe-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2003,2007 INRIA * diff --git a/src/wifi/model/rate-control/onoe-wifi-manager.h b/src/wifi/model/rate-control/onoe-wifi-manager.h index fb3bb0fa4..6af269c90 100644 --- a/src/wifi/model/rate-control/onoe-wifi-manager.h +++ b/src/wifi/model/rate-control/onoe-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2003,2007 INRIA * diff --git a/src/wifi/model/rate-control/parf-wifi-manager.cc b/src/wifi/model/rate-control/parf-wifi-manager.cc index bd97b2b4d..4df3c00bb 100644 --- a/src/wifi/model/rate-control/parf-wifi-manager.cc +++ b/src/wifi/model/rate-control/parf-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universidad de la República - Uruguay * diff --git a/src/wifi/model/rate-control/parf-wifi-manager.h b/src/wifi/model/rate-control/parf-wifi-manager.h index c8457c67e..fe2d09bd9 100644 --- a/src/wifi/model/rate-control/parf-wifi-manager.h +++ b/src/wifi/model/rate-control/parf-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universidad de la República - Uruguay * diff --git a/src/wifi/model/rate-control/rraa-wifi-manager.cc b/src/wifi/model/rate-control/rraa-wifi-manager.cc index 181ab8702..284b0d80a 100644 --- a/src/wifi/model/rate-control/rraa-wifi-manager.cc +++ b/src/wifi/model/rate-control/rraa-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/rraa-wifi-manager.h b/src/wifi/model/rate-control/rraa-wifi-manager.h index e41231e12..aaa1623b3 100644 --- a/src/wifi/model/rate-control/rraa-wifi-manager.h +++ b/src/wifi/model/rate-control/rraa-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/rate-control/rrpaa-wifi-manager.cc b/src/wifi/model/rate-control/rrpaa-wifi-manager.cc index 36ed7f606..fe692bec7 100644 --- a/src/wifi/model/rate-control/rrpaa-wifi-manager.cc +++ b/src/wifi/model/rate-control/rrpaa-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universidad de la República - Uruguay * diff --git a/src/wifi/model/rate-control/rrpaa-wifi-manager.h b/src/wifi/model/rate-control/rrpaa-wifi-manager.h index c3a3b7212..c0b7c27c2 100644 --- a/src/wifi/model/rate-control/rrpaa-wifi-manager.h +++ b/src/wifi/model/rate-control/rrpaa-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Universidad de la República - Uruguay * diff --git a/src/wifi/model/rate-control/thompson-sampling-wifi-manager.cc b/src/wifi/model/rate-control/thompson-sampling-wifi-manager.cc index c4776610c..a85d0ca9f 100644 --- a/src/wifi/model/rate-control/thompson-sampling-wifi-manager.cc +++ b/src/wifi/model/rate-control/thompson-sampling-wifi-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 IITP RAS * diff --git a/src/wifi/model/rate-control/thompson-sampling-wifi-manager.h b/src/wifi/model/rate-control/thompson-sampling-wifi-manager.h index 368201357..f880f21a9 100644 --- a/src/wifi/model/rate-control/thompson-sampling-wifi-manager.h +++ b/src/wifi/model/rate-control/thompson-sampling-wifi-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 IITP RAS * diff --git a/src/wifi/model/recipient-block-ack-agreement.cc b/src/wifi/model/recipient-block-ack-agreement.cc index 6c9eeb2ed..e7426cf6a 100644 --- a/src/wifi/model/recipient-block-ack-agreement.cc +++ b/src/wifi/model/recipient-block-ack-agreement.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/recipient-block-ack-agreement.h b/src/wifi/model/recipient-block-ack-agreement.h index e81455473..d0b2230da 100644 --- a/src/wifi/model/recipient-block-ack-agreement.h +++ b/src/wifi/model/recipient-block-ack-agreement.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/reduced-neighbor-report.cc b/src/wifi/model/reduced-neighbor-report.cc index f773c4ac3..04da04b4b 100644 --- a/src/wifi/model/reduced-neighbor-report.cc +++ b/src/wifi/model/reduced-neighbor-report.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/reduced-neighbor-report.h b/src/wifi/model/reduced-neighbor-report.h index 0dd2f41f3..40389b34f 100644 --- a/src/wifi/model/reduced-neighbor-report.h +++ b/src/wifi/model/reduced-neighbor-report.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/reference/error-rate-tables.h b/src/wifi/model/reference/error-rate-tables.h index 576b4fd81..fcb105861 100644 --- a/src/wifi/model/reference/error-rate-tables.h +++ b/src/wifi/model/reference/error-rate-tables.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Washington * diff --git a/src/wifi/model/simple-frame-capture-model.cc b/src/wifi/model/simple-frame-capture-model.cc index c7c1ed686..761661faf 100644 --- a/src/wifi/model/simple-frame-capture-model.cc +++ b/src/wifi/model/simple-frame-capture-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 * diff --git a/src/wifi/model/simple-frame-capture-model.h b/src/wifi/model/simple-frame-capture-model.h index 26dc58933..017b67b50 100644 --- a/src/wifi/model/simple-frame-capture-model.h +++ b/src/wifi/model/simple-frame-capture-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 * diff --git a/src/wifi/model/snr-tag.cc b/src/wifi/model/snr-tag.cc index ed0e674d4..0eb5b3eef 100644 --- a/src/wifi/model/snr-tag.cc +++ b/src/wifi/model/snr-tag.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/snr-tag.h b/src/wifi/model/snr-tag.h index cd998fb96..ebe89fd2e 100644 --- a/src/wifi/model/snr-tag.h +++ b/src/wifi/model/snr-tag.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/spectrum-wifi-phy.cc b/src/wifi/model/spectrum-wifi-phy.cc index 0862a9aa6..c0db1decc 100644 --- a/src/wifi/model/spectrum-wifi-phy.cc +++ b/src/wifi/model/spectrum-wifi-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/spectrum-wifi-phy.h b/src/wifi/model/spectrum-wifi-phy.h index 82dc58e4b..174ec482c 100644 --- a/src/wifi/model/spectrum-wifi-phy.h +++ b/src/wifi/model/spectrum-wifi-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/ssid.cc b/src/wifi/model/ssid.cc index d9921361a..39b3928eb 100644 --- a/src/wifi/model/ssid.cc +++ b/src/wifi/model/ssid.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/ssid.h b/src/wifi/model/ssid.h index a6670cb36..335594788 100644 --- a/src/wifi/model/ssid.h +++ b/src/wifi/model/ssid.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/sta-wifi-mac.cc b/src/wifi/model/sta-wifi-mac.cc index e597bcbe6..526a6b07c 100644 --- a/src/wifi/model/sta-wifi-mac.cc +++ b/src/wifi/model/sta-wifi-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/sta-wifi-mac.h b/src/wifi/model/sta-wifi-mac.h index bd83f7962..b2b1d5703 100644 --- a/src/wifi/model/sta-wifi-mac.h +++ b/src/wifi/model/sta-wifi-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/status-code.cc b/src/wifi/model/status-code.cc index 86a927a11..39244781b 100644 --- a/src/wifi/model/status-code.cc +++ b/src/wifi/model/status-code.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/status-code.h b/src/wifi/model/status-code.h index 8ed6a465e..3a45e6e7f 100644 --- a/src/wifi/model/status-code.h +++ b/src/wifi/model/status-code.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/supported-rates.cc b/src/wifi/model/supported-rates.cc index 87bb15eda..6e3b8fc30 100644 --- a/src/wifi/model/supported-rates.cc +++ b/src/wifi/model/supported-rates.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/supported-rates.h b/src/wifi/model/supported-rates.h index a5ce51cf3..3fe8d2b95 100644 --- a/src/wifi/model/supported-rates.h +++ b/src/wifi/model/supported-rates.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/table-based-error-rate-model.cc b/src/wifi/model/table-based-error-rate-model.cc index 3e7cbf68c..2f07df21e 100644 --- a/src/wifi/model/table-based-error-rate-model.cc +++ b/src/wifi/model/table-based-error-rate-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Washington * diff --git a/src/wifi/model/table-based-error-rate-model.h b/src/wifi/model/table-based-error-rate-model.h index 494cccd78..078d3ab18 100644 --- a/src/wifi/model/table-based-error-rate-model.h +++ b/src/wifi/model/table-based-error-rate-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 University of Washington * diff --git a/src/wifi/model/threshold-preamble-detection-model.cc b/src/wifi/model/threshold-preamble-detection-model.cc index ab01009e6..e0200fb23 100644 --- a/src/wifi/model/threshold-preamble-detection-model.cc +++ b/src/wifi/model/threshold-preamble-detection-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/threshold-preamble-detection-model.h b/src/wifi/model/threshold-preamble-detection-model.h index ece1334f2..3b7e46b63 100644 --- a/src/wifi/model/threshold-preamble-detection-model.h +++ b/src/wifi/model/threshold-preamble-detection-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/model/txop.cc b/src/wifi/model/txop.cc index a59436ff1..c3f1d67b9 100644 --- a/src/wifi/model/txop.cc +++ b/src/wifi/model/txop.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/txop.h b/src/wifi/model/txop.h index fb5161a52..ad8af1d47 100644 --- a/src/wifi/model/txop.h +++ b/src/wifi/model/txop.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/vht/vht-capabilities.cc b/src/wifi/model/vht/vht-capabilities.cc index fb4f79d83..a4d81ac6d 100644 --- a/src/wifi/model/vht/vht-capabilities.cc +++ b/src/wifi/model/vht/vht-capabilities.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 * diff --git a/src/wifi/model/vht/vht-capabilities.h b/src/wifi/model/vht/vht-capabilities.h index 32174da2d..b560ccf34 100644 --- a/src/wifi/model/vht/vht-capabilities.h +++ b/src/wifi/model/vht/vht-capabilities.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 * diff --git a/src/wifi/model/vht/vht-configuration.cc b/src/wifi/model/vht/vht-configuration.cc index d77961da1..1fe8cdaff 100644 --- a/src/wifi/model/vht/vht-configuration.cc +++ b/src/wifi/model/vht/vht-configuration.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Sébastien Deronne * diff --git a/src/wifi/model/vht/vht-configuration.h b/src/wifi/model/vht/vht-configuration.h index 974290901..0594d0ac1 100644 --- a/src/wifi/model/vht/vht-configuration.h +++ b/src/wifi/model/vht/vht-configuration.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Sébastien Deronne * diff --git a/src/wifi/model/vht/vht-frame-exchange-manager.cc b/src/wifi/model/vht/vht-frame-exchange-manager.cc index 6928d5904..c422c6ed9 100644 --- a/src/wifi/model/vht/vht-frame-exchange-manager.cc +++ b/src/wifi/model/vht/vht-frame-exchange-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/vht/vht-frame-exchange-manager.h b/src/wifi/model/vht/vht-frame-exchange-manager.h index f5a90bebe..ade67c828 100644 --- a/src/wifi/model/vht/vht-frame-exchange-manager.h +++ b/src/wifi/model/vht/vht-frame-exchange-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/vht/vht-operation.cc b/src/wifi/model/vht/vht-operation.cc index 822a4b401..61888935a 100644 --- a/src/wifi/model/vht/vht-operation.cc +++ b/src/wifi/model/vht/vht-operation.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/src/wifi/model/vht/vht-operation.h b/src/wifi/model/vht/vht-operation.h index 11307724e..a69014bc6 100644 --- a/src/wifi/model/vht/vht-operation.h +++ b/src/wifi/model/vht/vht-operation.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * diff --git a/src/wifi/model/vht/vht-phy.cc b/src/wifi/model/vht/vht-phy.cc index 035087e44..7d92be745 100644 --- a/src/wifi/model/vht/vht-phy.cc +++ b/src/wifi/model/vht/vht-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/vht/vht-phy.h b/src/wifi/model/vht/vht-phy.h index 52f6dd91b..f7c0a7e5f 100644 --- a/src/wifi/model/vht/vht-phy.h +++ b/src/wifi/model/vht/vht-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Orange Labs * diff --git a/src/wifi/model/vht/vht-ppdu.cc b/src/wifi/model/vht/vht-ppdu.cc index c38206af8..84c8b41ad 100644 --- a/src/wifi/model/vht/vht-ppdu.cc +++ b/src/wifi/model/vht/vht-ppdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Orange Labs * diff --git a/src/wifi/model/vht/vht-ppdu.h b/src/wifi/model/vht/vht-ppdu.h index 2e23fb87a..96a8b7360 100644 --- a/src/wifi/model/vht/vht-ppdu.h +++ b/src/wifi/model/vht/vht-ppdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Orange Labs * diff --git a/src/wifi/model/wifi-ack-manager.cc b/src/wifi/model/wifi-ack-manager.cc index 6307cef16..e86004477 100644 --- a/src/wifi/model/wifi-ack-manager.cc +++ b/src/wifi/model/wifi-ack-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-ack-manager.h b/src/wifi/model/wifi-ack-manager.h index 95e0997db..193ee9e35 100644 --- a/src/wifi/model/wifi-ack-manager.h +++ b/src/wifi/model/wifi-ack-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-acknowledgment.cc b/src/wifi/model/wifi-acknowledgment.cc index d7c1cde9d..83d591f09 100644 --- a/src/wifi/model/wifi-acknowledgment.cc +++ b/src/wifi/model/wifi-acknowledgment.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-acknowledgment.h b/src/wifi/model/wifi-acknowledgment.h index 70870ff9d..63139d8d9 100644 --- a/src/wifi/model/wifi-acknowledgment.h +++ b/src/wifi/model/wifi-acknowledgment.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-assoc-manager.cc b/src/wifi/model/wifi-assoc-manager.cc index 55c08171e..69a1715f5 100644 --- a/src/wifi/model/wifi-assoc-manager.cc +++ b/src/wifi/model/wifi-assoc-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II diff --git a/src/wifi/model/wifi-assoc-manager.h b/src/wifi/model/wifi-assoc-manager.h index 0f803f315..ac8d1cb13 100644 --- a/src/wifi/model/wifi-assoc-manager.h +++ b/src/wifi/model/wifi-assoc-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-default-ack-manager.cc b/src/wifi/model/wifi-default-ack-manager.cc index 3b76d5f60..be58047ae 100644 --- a/src/wifi/model/wifi-default-ack-manager.cc +++ b/src/wifi/model/wifi-default-ack-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-default-ack-manager.h b/src/wifi/model/wifi-default-ack-manager.h index b75f32faa..1e371f4aa 100644 --- a/src/wifi/model/wifi-default-ack-manager.h +++ b/src/wifi/model/wifi-default-ack-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-default-assoc-manager.cc b/src/wifi/model/wifi-default-assoc-manager.cc index 20e8e2bb1..c3bfab14f 100644 --- a/src/wifi/model/wifi-default-assoc-manager.cc +++ b/src/wifi/model/wifi-default-assoc-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II diff --git a/src/wifi/model/wifi-default-assoc-manager.h b/src/wifi/model/wifi-default-assoc-manager.h index 70131f34c..281b50019 100644 --- a/src/wifi/model/wifi-default-assoc-manager.h +++ b/src/wifi/model/wifi-default-assoc-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-default-protection-manager.cc b/src/wifi/model/wifi-default-protection-manager.cc index 431e28745..cfe927611 100644 --- a/src/wifi/model/wifi-default-protection-manager.cc +++ b/src/wifi/model/wifi-default-protection-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-default-protection-manager.h b/src/wifi/model/wifi-default-protection-manager.h index a9b1b5c56..6a649f660 100644 --- a/src/wifi/model/wifi-default-protection-manager.h +++ b/src/wifi/model/wifi-default-protection-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-information-element-vector.cc b/src/wifi/model/wifi-information-element-vector.cc index 5e1a0cbe9..ac532f59d 100644 --- a/src/wifi/model/wifi-information-element-vector.cc +++ b/src/wifi/model/wifi-information-element-vector.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/wifi/model/wifi-information-element-vector.h b/src/wifi/model/wifi-information-element-vector.h index 47e540c31..23b45a794 100644 --- a/src/wifi/model/wifi-information-element-vector.h +++ b/src/wifi/model/wifi-information-element-vector.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/wifi/model/wifi-information-element.cc b/src/wifi/model/wifi-information-element.cc index 4eb9cbec5..c0ba1a126 100644 --- a/src/wifi/model/wifi-information-element.cc +++ b/src/wifi/model/wifi-information-element.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Dean Armstrong * diff --git a/src/wifi/model/wifi-information-element.h b/src/wifi/model/wifi-information-element.h index 47a0ef51b..66da30512 100644 --- a/src/wifi/model/wifi-information-element.h +++ b/src/wifi/model/wifi-information-element.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Dean Armstrong * diff --git a/src/wifi/model/wifi-mac-header.cc b/src/wifi/model/wifi-mac-header.cc index da47d5ad9..6fa8f92c1 100644 --- a/src/wifi/model/wifi-mac-header.cc +++ b/src/wifi/model/wifi-mac-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mac-header.h b/src/wifi/model/wifi-mac-header.h index 7c1e27b32..494a14067 100644 --- a/src/wifi/model/wifi-mac-header.h +++ b/src/wifi/model/wifi-mac-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mac-queue-container.cc b/src/wifi/model/wifi-mac-queue-container.cc index 6d0746488..7a740f8b4 100644 --- a/src/wifi/model/wifi-mac-queue-container.cc +++ b/src/wifi/model/wifi-mac-queue-container.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-mac-queue-container.h b/src/wifi/model/wifi-mac-queue-container.h index ea5d68264..78c0e4a12 100644 --- a/src/wifi/model/wifi-mac-queue-container.h +++ b/src/wifi/model/wifi-mac-queue-container.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-mac-queue-elem.cc b/src/wifi/model/wifi-mac-queue-elem.cc index 67badcea4..aff06817b 100644 --- a/src/wifi/model/wifi-mac-queue-elem.cc +++ b/src/wifi/model/wifi-mac-queue-elem.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-mac-queue-elem.h b/src/wifi/model/wifi-mac-queue-elem.h index e4af8fd2f..2c63275a9 100644 --- a/src/wifi/model/wifi-mac-queue-elem.h +++ b/src/wifi/model/wifi-mac-queue-elem.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-mac-queue-scheduler-impl.h b/src/wifi/model/wifi-mac-queue-scheduler-impl.h index 863436f0e..62f5390ad 100644 --- a/src/wifi/model/wifi-mac-queue-scheduler-impl.h +++ b/src/wifi/model/wifi-mac-queue-scheduler-impl.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-mac-queue-scheduler.cc b/src/wifi/model/wifi-mac-queue-scheduler.cc index 9d2a34206..e432ef259 100644 --- a/src/wifi/model/wifi-mac-queue-scheduler.cc +++ b/src/wifi/model/wifi-mac-queue-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-mac-queue-scheduler.h b/src/wifi/model/wifi-mac-queue-scheduler.h index 58fabe098..6dd3ff865 100644 --- a/src/wifi/model/wifi-mac-queue-scheduler.h +++ b/src/wifi/model/wifi-mac-queue-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-mac-queue.cc b/src/wifi/model/wifi-mac-queue.cc index 116556aeb..101952292 100644 --- a/src/wifi/model/wifi-mac-queue.cc +++ b/src/wifi/model/wifi-mac-queue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mac-queue.h b/src/wifi/model/wifi-mac-queue.h index 172afc4a9..810f1ba70 100644 --- a/src/wifi/model/wifi-mac-queue.h +++ b/src/wifi/model/wifi-mac-queue.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mac-trailer.cc b/src/wifi/model/wifi-mac-trailer.cc index 0879cb9ec..b04783d86 100644 --- a/src/wifi/model/wifi-mac-trailer.cc +++ b/src/wifi/model/wifi-mac-trailer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/wifi-mac-trailer.h b/src/wifi/model/wifi-mac-trailer.h index c28b209ed..e929df247 100644 --- a/src/wifi/model/wifi-mac-trailer.h +++ b/src/wifi/model/wifi-mac-trailer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/wifi-mac.cc b/src/wifi/model/wifi-mac.cc index ae56a03d8..4e10d785d 100644 --- a/src/wifi/model/wifi-mac.cc +++ b/src/wifi/model/wifi-mac.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/wifi/model/wifi-mac.h b/src/wifi/model/wifi-mac.h index 481806d7d..6b54cd78e 100644 --- a/src/wifi/model/wifi-mac.h +++ b/src/wifi/model/wifi-mac.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/wifi/model/wifi-mode.cc b/src/wifi/model/wifi-mode.cc index a3a730123..966e5173b 100644 --- a/src/wifi/model/wifi-mode.cc +++ b/src/wifi/model/wifi-mode.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/wifi-mode.h b/src/wifi/model/wifi-mode.h index ee7892b0c..463df9ec7 100644 --- a/src/wifi/model/wifi-mode.h +++ b/src/wifi/model/wifi-mode.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/wifi-mpdu-type.h b/src/wifi/model/wifi-mpdu-type.h index 08fb6041f..d237cce5b 100644 --- a/src/wifi/model/wifi-mpdu-type.h +++ b/src/wifi/model/wifi-mpdu-type.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 * diff --git a/src/wifi/model/wifi-mpdu.cc b/src/wifi/model/wifi-mpdu.cc index 0b2e48910..e48da53d7 100644 --- a/src/wifi/model/wifi-mpdu.cc +++ b/src/wifi/model/wifi-mpdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mpdu.h b/src/wifi/model/wifi-mpdu.h index 1b42481bd..999a258a8 100644 --- a/src/wifi/model/wifi-mpdu.h +++ b/src/wifi/model/wifi-mpdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-net-device.cc b/src/wifi/model/wifi-net-device.cc index 7c96d4212..a43a640c6 100644 --- a/src/wifi/model/wifi-net-device.cc +++ b/src/wifi/model/wifi-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-net-device.h b/src/wifi/model/wifi-net-device.h index dc63819c3..81901da09 100644 --- a/src/wifi/model/wifi-net-device.h +++ b/src/wifi/model/wifi-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy-band.h b/src/wifi/model/wifi-phy-band.h index 03bad0e10..e6a9196b5 100644 --- a/src/wifi/model/wifi-phy-band.h +++ b/src/wifi/model/wifi-phy-band.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 * diff --git a/src/wifi/model/wifi-phy-common.cc b/src/wifi/model/wifi-phy-common.cc index dd68c67d0..5535c76a3 100644 --- a/src/wifi/model/wifi-phy-common.cc +++ b/src/wifi/model/wifi-phy-common.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 * diff --git a/src/wifi/model/wifi-phy-common.h b/src/wifi/model/wifi-phy-common.h index e4e74dbe6..c051e27de 100644 --- a/src/wifi/model/wifi-phy-common.h +++ b/src/wifi/model/wifi-phy-common.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * Copyright (c) 2020 Orange Labs diff --git a/src/wifi/model/wifi-phy-listener.h b/src/wifi/model/wifi-phy-listener.h index 2d60a07e2..51356d5ae 100644 --- a/src/wifi/model/wifi-phy-listener.h +++ b/src/wifi/model/wifi-phy-listener.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy-operating-channel.cc b/src/wifi/model/wifi-phy-operating-channel.cc index 330917f95..356711361 100644 --- a/src/wifi/model/wifi-phy-operating-channel.cc +++ b/src/wifi/model/wifi-phy-operating-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 * diff --git a/src/wifi/model/wifi-phy-operating-channel.h b/src/wifi/model/wifi-phy-operating-channel.h index b65f793db..2ae1e4d55 100644 --- a/src/wifi/model/wifi-phy-operating-channel.h +++ b/src/wifi/model/wifi-phy-operating-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 * diff --git a/src/wifi/model/wifi-phy-state-helper.cc b/src/wifi/model/wifi-phy-state-helper.cc index 05e8745fd..e5309bc03 100644 --- a/src/wifi/model/wifi-phy-state-helper.cc +++ b/src/wifi/model/wifi-phy-state-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy-state-helper.h b/src/wifi/model/wifi-phy-state-helper.h index b321893c8..7b4ce4a43 100644 --- a/src/wifi/model/wifi-phy-state-helper.h +++ b/src/wifi/model/wifi-phy-state-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy-state.h b/src/wifi/model/wifi-phy-state.h index 9f9add08d..eb9f8743f 100644 --- a/src/wifi/model/wifi-phy-state.h +++ b/src/wifi/model/wifi-phy-state.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index c52ec6110..1baf05d30 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy.h b/src/wifi/model/wifi-phy.h index f033ac487..923361134 100644 --- a/src/wifi/model/wifi-phy.h +++ b/src/wifi/model/wifi-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-ppdu.cc b/src/wifi/model/wifi-ppdu.cc index e63edcd0e..8f43d1d9a 100644 --- a/src/wifi/model/wifi-ppdu.cc +++ b/src/wifi/model/wifi-ppdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Orange Labs * diff --git a/src/wifi/model/wifi-ppdu.h b/src/wifi/model/wifi-ppdu.h index 8fa5e16d9..1f83026e1 100644 --- a/src/wifi/model/wifi-ppdu.h +++ b/src/wifi/model/wifi-ppdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Orange Labs * diff --git a/src/wifi/model/wifi-protection-manager.cc b/src/wifi/model/wifi-protection-manager.cc index 0d932bb76..09fd54dae 100644 --- a/src/wifi/model/wifi-protection-manager.cc +++ b/src/wifi/model/wifi-protection-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-protection-manager.h b/src/wifi/model/wifi-protection-manager.h index 045640a6e..0c9eb344c 100644 --- a/src/wifi/model/wifi-protection-manager.h +++ b/src/wifi/model/wifi-protection-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-protection.cc b/src/wifi/model/wifi-protection.cc index f04a32243..06280f70b 100644 --- a/src/wifi/model/wifi-protection.cc +++ b/src/wifi/model/wifi-protection.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-protection.h b/src/wifi/model/wifi-protection.h index 15724ab81..c41576af6 100644 --- a/src/wifi/model/wifi-protection.h +++ b/src/wifi/model/wifi-protection.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-psdu.cc b/src/wifi/model/wifi-psdu.cc index 63187076d..5e4c2d9b3 100644 --- a/src/wifi/model/wifi-psdu.cc +++ b/src/wifi/model/wifi-psdu.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-psdu.h b/src/wifi/model/wifi-psdu.h index cb9a9bdff..e9daae9ba 100644 --- a/src/wifi/model/wifi-psdu.h +++ b/src/wifi/model/wifi-psdu.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-radio-energy-model.cc b/src/wifi/model/wifi-radio-energy-model.cc index 03dc54131..efa4b5790 100644 --- a/src/wifi/model/wifi-radio-energy-model.cc +++ b/src/wifi/model/wifi-radio-energy-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/wifi/model/wifi-radio-energy-model.h b/src/wifi/model/wifi-radio-energy-model.h index 8b2102416..206900df9 100644 --- a/src/wifi/model/wifi-radio-energy-model.h +++ b/src/wifi/model/wifi-radio-energy-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/wifi/model/wifi-remote-station-info.cc b/src/wifi/model/wifi-remote-station-info.cc index 258297440..d91c8ba09 100644 --- a/src/wifi/model/wifi-remote-station-info.cc +++ b/src/wifi/model/wifi-remote-station-info.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/wifi-remote-station-info.h b/src/wifi/model/wifi-remote-station-info.h index e4f44a00d..e38e28f98 100644 --- a/src/wifi/model/wifi-remote-station-info.h +++ b/src/wifi/model/wifi-remote-station-info.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/wifi-remote-station-manager.cc b/src/wifi/model/wifi-remote-station-manager.cc index 239522dc3..3c7d8907e 100644 --- a/src/wifi/model/wifi-remote-station-manager.cc +++ b/src/wifi/model/wifi-remote-station-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/wifi-remote-station-manager.h b/src/wifi/model/wifi-remote-station-manager.h index ad7814a2d..e63a5dffe 100644 --- a/src/wifi/model/wifi-remote-station-manager.h +++ b/src/wifi/model/wifi-remote-station-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/wifi-spectrum-phy-interface.cc b/src/wifi/model/wifi-spectrum-phy-interface.cc index 56a78e4c3..7124fbb8d 100644 --- a/src/wifi/model/wifi-spectrum-phy-interface.cc +++ b/src/wifi/model/wifi-spectrum-phy-interface.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/wifi/model/wifi-spectrum-phy-interface.h b/src/wifi/model/wifi-spectrum-phy-interface.h index 96efa4dd8..9ff2596da 100644 --- a/src/wifi/model/wifi-spectrum-phy-interface.h +++ b/src/wifi/model/wifi-spectrum-phy-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/wifi/model/wifi-spectrum-signal-parameters.cc b/src/wifi/model/wifi-spectrum-signal-parameters.cc index 3a5330db1..3e067e2fc 100644 --- a/src/wifi/model/wifi-spectrum-signal-parameters.cc +++ b/src/wifi/model/wifi-spectrum-signal-parameters.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/wifi/model/wifi-spectrum-signal-parameters.h b/src/wifi/model/wifi-spectrum-signal-parameters.h index 2f8fd42eb..1aa602d4e 100644 --- a/src/wifi/model/wifi-spectrum-signal-parameters.h +++ b/src/wifi/model/wifi-spectrum-signal-parameters.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 CTTC * diff --git a/src/wifi/model/wifi-standards.h b/src/wifi/model/wifi-standards.h index a6bf27a07..8e1311a0f 100644 --- a/src/wifi/model/wifi-standards.h +++ b/src/wifi/model/wifi-standards.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/wifi/model/wifi-tx-current-model.cc b/src/wifi/model/wifi-tx-current-model.cc index 78eca0ae4..dc326ebb3 100644 --- a/src/wifi/model/wifi-tx-current-model.cc +++ b/src/wifi/model/wifi-tx-current-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' degli Studi di Napoli "Federico II" * diff --git a/src/wifi/model/wifi-tx-current-model.h b/src/wifi/model/wifi-tx-current-model.h index 6f9c06857..1e40b2340 100644 --- a/src/wifi/model/wifi-tx-current-model.h +++ b/src/wifi/model/wifi-tx-current-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' degli Studi di Napoli "Federico II" * diff --git a/src/wifi/model/wifi-tx-parameters.cc b/src/wifi/model/wifi-tx-parameters.cc index f9ae8f96b..80005cb34 100644 --- a/src/wifi/model/wifi-tx-parameters.cc +++ b/src/wifi/model/wifi-tx-parameters.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-tx-parameters.h b/src/wifi/model/wifi-tx-parameters.h index bda1c4bea..1f08eb6fd 100644 --- a/src/wifi/model/wifi-tx-parameters.h +++ b/src/wifi/model/wifi-tx-parameters.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-tx-timer.cc b/src/wifi/model/wifi-tx-timer.cc index 894e3cc0a..c66e51c6f 100644 --- a/src/wifi/model/wifi-tx-timer.cc +++ b/src/wifi/model/wifi-tx-timer.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-tx-timer.h b/src/wifi/model/wifi-tx-timer.h index a3c264c6f..c98186239 100644 --- a/src/wifi/model/wifi-tx-timer.h +++ b/src/wifi/model/wifi-tx-timer.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/model/wifi-tx-vector.cc b/src/wifi/model/wifi-tx-vector.cc index 8336c4dab..dd47df68d 100644 --- a/src/wifi/model/wifi-tx-vector.cc +++ b/src/wifi/model/wifi-tx-vector.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/wifi/model/wifi-tx-vector.h b/src/wifi/model/wifi-tx-vector.h index 4f2541cad..57455d5d9 100644 --- a/src/wifi/model/wifi-tx-vector.h +++ b/src/wifi/model/wifi-tx-vector.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/wifi/model/wifi-utils.cc b/src/wifi/model/wifi-utils.cc index 10d61dc5c..283f01244 100644 --- a/src/wifi/model/wifi-utils.cc +++ b/src/wifi/model/wifi-utils.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 * diff --git a/src/wifi/model/wifi-utils.h b/src/wifi/model/wifi-utils.h index 24c9cd7f5..cefea6d1f 100644 --- a/src/wifi/model/wifi-utils.h +++ b/src/wifi/model/wifi-utils.h @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 * diff --git a/src/wifi/model/yans-error-rate-model.cc b/src/wifi/model/yans-error-rate-model.cc index e29c85391..923de1417 100644 --- a/src/wifi/model/yans-error-rate-model.cc +++ b/src/wifi/model/yans-error-rate-model.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/yans-error-rate-model.h b/src/wifi/model/yans-error-rate-model.h index 81636abca..e80c0155b 100644 --- a/src/wifi/model/yans-error-rate-model.h +++ b/src/wifi/model/yans-error-rate-model.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/yans-wifi-channel.cc b/src/wifi/model/yans-wifi-channel.cc index b186e23dd..f9f402a97 100644 --- a/src/wifi/model/yans-wifi-channel.cc +++ b/src/wifi/model/yans-wifi-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/wifi/model/yans-wifi-channel.h b/src/wifi/model/yans-wifi-channel.h index 8a41e5930..3a3e4ba1b 100644 --- a/src/wifi/model/yans-wifi-channel.h +++ b/src/wifi/model/yans-wifi-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/wifi/model/yans-wifi-phy.cc b/src/wifi/model/yans-wifi-phy.cc index d759313e3..410d78ffc 100644 --- a/src/wifi/model/yans-wifi-phy.cc +++ b/src/wifi/model/yans-wifi-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/yans-wifi-phy.h b/src/wifi/model/yans-wifi-phy.h index c020f8bc9..5183ca48f 100644 --- a/src/wifi/model/yans-wifi-phy.h +++ b/src/wifi/model/yans-wifi-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/test/block-ack-test-suite.cc b/src/wifi/test/block-ack-test-suite.cc index 108d403af..96de051cd 100644 --- a/src/wifi/test/block-ack-test-suite.cc +++ b/src/wifi/test/block-ack-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * diff --git a/src/wifi/test/channel-access-manager-test.cc b/src/wifi/test/channel-access-manager-test.cc index d579a28d9..e88673ee2 100644 --- a/src/wifi/test/channel-access-manager-test.cc +++ b/src/wifi/test/channel-access-manager-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/test/inter-bss-test-suite.cc b/src/wifi/test/inter-bss-test-suite.cc index b02727aa4..3212c962d 100644 --- a/src/wifi/test/inter-bss-test-suite.cc +++ b/src/wifi/test/inter-bss-test-suite.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/test/power-rate-adaptation-test.cc b/src/wifi/test/power-rate-adaptation-test.cc index 2626f2731..60d384670 100644 --- a/src/wifi/test/power-rate-adaptation-test.cc +++ b/src/wifi/test/power-rate-adaptation-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universidad de la República - Uruguay * diff --git a/src/wifi/test/spectrum-wifi-phy-test.cc b/src/wifi/test/spectrum-wifi-phy-test.cc index 608866548..ede0824a5 100644 --- a/src/wifi/test/spectrum-wifi-phy-test.cc +++ b/src/wifi/test/spectrum-wifi-phy-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 University of Washington * diff --git a/src/wifi/test/tx-duration-test.cc b/src/wifi/test/tx-duration-test.cc index 95dee16a8..8596ec400 100644 --- a/src/wifi/test/tx-duration-test.cc +++ b/src/wifi/test/tx-duration-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/wifi/test/wifi-aggregation-test.cc b/src/wifi/test/wifi-aggregation-test.cc index 555c3568b..6e4003496 100644 --- a/src/wifi/test/wifi-aggregation-test.cc +++ b/src/wifi/test/wifi-aggregation-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 * diff --git a/src/wifi/test/wifi-channel-switching-test.cc b/src/wifi/test/wifi-channel-switching-test.cc index 60547c5b3..dedbf6b93 100644 --- a/src/wifi/test/wifi-channel-switching-test.cc +++ b/src/wifi/test/wifi-channel-switching-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/test/wifi-dynamic-bw-op-test.cc b/src/wifi/test/wifi-dynamic-bw-op-test.cc index 94369baab..47fd17fd4 100644 --- a/src/wifi/test/wifi-dynamic-bw-op-test.cc +++ b/src/wifi/test/wifi-dynamic-bw-op-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/test/wifi-eht-info-elems-test.cc b/src/wifi/test/wifi-eht-info-elems-test.cc index ee9305e94..feffcaebf 100644 --- a/src/wifi/test/wifi-eht-info-elems-test.cc +++ b/src/wifi/test/wifi-eht-info-elems-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/test/wifi-error-rate-models-test.cc b/src/wifi/test/wifi-error-rate-models-test.cc index 8a2ac7ab9..fbf422557 100644 --- a/src/wifi/test/wifi-error-rate-models-test.cc +++ b/src/wifi/test/wifi-error-rate-models-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 University of Washington * diff --git a/src/wifi/test/wifi-ie-fragment-test.cc b/src/wifi/test/wifi-ie-fragment-test.cc index 390b6fd92..fb5d295c8 100644 --- a/src/wifi/test/wifi-ie-fragment-test.cc +++ b/src/wifi/test/wifi-ie-fragment-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/test/wifi-mac-ofdma-test.cc b/src/wifi/test/wifi-mac-ofdma-test.cc index 047a487db..162f1d5d5 100644 --- a/src/wifi/test/wifi-mac-ofdma-test.cc +++ b/src/wifi/test/wifi-mac-ofdma-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/test/wifi-mac-queue-test.cc b/src/wifi/test/wifi-mac-queue-test.cc index 11253080b..f05d1ddcc 100644 --- a/src/wifi/test/wifi-mac-queue-test.cc +++ b/src/wifi/test/wifi-mac-queue-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2021 IITP RAS * diff --git a/src/wifi/test/wifi-mlo-test.cc b/src/wifi/test/wifi-mlo-test.cc index 6b457e62f..b2a87db90 100644 --- a/src/wifi/test/wifi-mlo-test.cc +++ b/src/wifi/test/wifi-mlo-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/test/wifi-phy-cca-test.cc b/src/wifi/test/wifi-phy-cca-test.cc index 471ef00ba..716107336 100644 --- a/src/wifi/test/wifi-phy-cca-test.cc +++ b/src/wifi/test/wifi-phy-cca-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2022 * diff --git a/src/wifi/test/wifi-phy-ofdma-test.cc b/src/wifi/test/wifi-phy-ofdma-test.cc index 0f06964f7..6a64fd90a 100644 --- a/src/wifi/test/wifi-phy-ofdma-test.cc +++ b/src/wifi/test/wifi-phy-ofdma-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2019 University of Washington * diff --git a/src/wifi/test/wifi-phy-reception-test.cc b/src/wifi/test/wifi-phy-reception-test.cc index b0dd4e6ee..1347e9fd0 100644 --- a/src/wifi/test/wifi-phy-reception-test.cc +++ b/src/wifi/test/wifi-phy-reception-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 University of Washington * diff --git a/src/wifi/test/wifi-phy-thresholds-test.cc b/src/wifi/test/wifi-phy-thresholds-test.cc index 2be1dbe61..07d2330ce 100644 --- a/src/wifi/test/wifi-phy-thresholds-test.cc +++ b/src/wifi/test/wifi-phy-thresholds-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 * diff --git a/src/wifi/test/wifi-primary-channels-test.cc b/src/wifi/test/wifi-primary-channels-test.cc index 307e69f5f..d86c9bab6 100644 --- a/src/wifi/test/wifi-primary-channels-test.cc +++ b/src/wifi/test/wifi-primary-channels-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wifi/test/wifi-test.cc b/src/wifi/test/wifi-test.cc index 0a144bafa..9a21acace 100644 --- a/src/wifi/test/wifi-test.cc +++ b/src/wifi/test/wifi-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * 2010 NICTA diff --git a/src/wifi/test/wifi-transmit-mask-test.cc b/src/wifi/test/wifi-transmit-mask-test.cc index 0f55fe781..756718318 100644 --- a/src/wifi/test/wifi-transmit-mask-test.cc +++ b/src/wifi/test/wifi-transmit-mask-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017 Orange Labs * diff --git a/src/wifi/test/wifi-txop-test.cc b/src/wifi/test/wifi-txop-test.cc index 18c6b38dd..bf4eb7247 100644 --- a/src/wifi/test/wifi-txop-test.cc +++ b/src/wifi/test/wifi-txop-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * diff --git a/src/wimax/examples/wimax-ipv4.cc b/src/wimax/examples/wimax-ipv4.cc index dc8ef851e..2c0d98f30 100644 --- a/src/wimax/examples/wimax-ipv4.cc +++ b/src/wimax/examples/wimax-ipv4.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/examples/wimax-multicast.cc b/src/wimax/examples/wimax-multicast.cc index 1b85925a5..3aa060745 100644 --- a/src/wimax/examples/wimax-multicast.cc +++ b/src/wimax/examples/wimax-multicast.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/examples/wimax-simple.cc b/src/wimax/examples/wimax-simple.cc index 3718d4dd9..3a575e374 100644 --- a/src/wimax/examples/wimax-simple.cc +++ b/src/wimax/examples/wimax-simple.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/helper/wimax-helper.cc b/src/wimax/helper/wimax-helper.cc index 45a2bcbdc..ff07abc3d 100644 --- a/src/wimax/helper/wimax-helper.cc +++ b/src/wimax/helper/wimax-helper.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/helper/wimax-helper.h b/src/wimax/helper/wimax-helper.h index 3f23803b4..1806fd5cf 100644 --- a/src/wimax/helper/wimax-helper.h +++ b/src/wimax/helper/wimax-helper.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDCAST * diff --git a/src/wimax/model/bandwidth-manager.cc b/src/wimax/model/bandwidth-manager.cc index 46090dbdb..1294ded83 100644 --- a/src/wimax/model/bandwidth-manager.cc +++ b/src/wimax/model/bandwidth-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/bandwidth-manager.h b/src/wimax/model/bandwidth-manager.h index bd46708a0..3c7907097 100644 --- a/src/wimax/model/bandwidth-manager.h +++ b/src/wimax/model/bandwidth-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/bs-link-manager.cc b/src/wimax/model/bs-link-manager.cc index f15920d83..ff865e4c2 100644 --- a/src/wimax/model/bs-link-manager.cc +++ b/src/wimax/model/bs-link-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/bs-link-manager.h b/src/wimax/model/bs-link-manager.h index 83eaa7b89..b4a308c92 100644 --- a/src/wimax/model/bs-link-manager.h +++ b/src/wimax/model/bs-link-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/bs-net-device.cc b/src/wimax/model/bs-net-device.cc index c03d963b8..9a4bf4f3f 100644 --- a/src/wimax/model/bs-net-device.cc +++ b/src/wimax/model/bs-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/bs-net-device.h b/src/wimax/model/bs-net-device.h index acbbc75d2..fb88c2f82 100644 --- a/src/wimax/model/bs-net-device.h +++ b/src/wimax/model/bs-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/bs-scheduler-rtps.cc b/src/wimax/model/bs-scheduler-rtps.cc index 8132a4ded..62e742d70 100644 --- a/src/wimax/model/bs-scheduler-rtps.cc +++ b/src/wimax/model/bs-scheduler-rtps.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * 2009 TELEMATICS LAB, Politecnico di Bari diff --git a/src/wimax/model/bs-scheduler-rtps.h b/src/wimax/model/bs-scheduler-rtps.h index 7d3aad19f..1789ef30d 100644 --- a/src/wimax/model/bs-scheduler-rtps.h +++ b/src/wimax/model/bs-scheduler-rtps.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * 2009 TELEMATICS LAB, Politecnico di Bari diff --git a/src/wimax/model/bs-scheduler-simple.cc b/src/wimax/model/bs-scheduler-simple.cc index e7dedd90a..12f51ecf8 100644 --- a/src/wimax/model/bs-scheduler-simple.cc +++ b/src/wimax/model/bs-scheduler-simple.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bs-scheduler-simple.h b/src/wimax/model/bs-scheduler-simple.h index 7fcdaa1af..9bbf12827 100644 --- a/src/wimax/model/bs-scheduler-simple.h +++ b/src/wimax/model/bs-scheduler-simple.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bs-scheduler.cc b/src/wimax/model/bs-scheduler.cc index 5d229f0ef..69c7574fc 100644 --- a/src/wimax/model/bs-scheduler.cc +++ b/src/wimax/model/bs-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bs-scheduler.h b/src/wimax/model/bs-scheduler.h index a2aa1ef5d..aa38122a6 100644 --- a/src/wimax/model/bs-scheduler.h +++ b/src/wimax/model/bs-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bs-service-flow-manager.cc b/src/wimax/model/bs-service-flow-manager.cc index 416944413..f064f1a5f 100644 --- a/src/wimax/model/bs-service-flow-manager.cc +++ b/src/wimax/model/bs-service-flow-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/bs-service-flow-manager.h b/src/wimax/model/bs-service-flow-manager.h index 66e5770dd..2c422a1c6 100644 --- a/src/wimax/model/bs-service-flow-manager.h +++ b/src/wimax/model/bs-service-flow-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/model/bs-uplink-scheduler-mbqos.cc b/src/wimax/model/bs-uplink-scheduler-mbqos.cc index 9b1fb6db3..122c966e4 100644 --- a/src/wimax/model/bs-uplink-scheduler-mbqos.cc +++ b/src/wimax/model/bs-uplink-scheduler-mbqos.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wimax/model/bs-uplink-scheduler-mbqos.h b/src/wimax/model/bs-uplink-scheduler-mbqos.h index 28a047807..6e29d7dc8 100644 --- a/src/wimax/model/bs-uplink-scheduler-mbqos.h +++ b/src/wimax/model/bs-uplink-scheduler-mbqos.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA/LRC - Computer Networks Laboratory * diff --git a/src/wimax/model/bs-uplink-scheduler-rtps.cc b/src/wimax/model/bs-uplink-scheduler-rtps.cc index c505986d7..8adc5c479 100644 --- a/src/wimax/model/bs-uplink-scheduler-rtps.cc +++ b/src/wimax/model/bs-uplink-scheduler-rtps.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * 2009 TELEMATICS LAB, Politecnico di Bari diff --git a/src/wimax/model/bs-uplink-scheduler-rtps.h b/src/wimax/model/bs-uplink-scheduler-rtps.h index b15a97db4..e47f45956 100644 --- a/src/wimax/model/bs-uplink-scheduler-rtps.h +++ b/src/wimax/model/bs-uplink-scheduler-rtps.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bs-uplink-scheduler-simple.cc b/src/wimax/model/bs-uplink-scheduler-simple.cc index e52a7e178..d03d10f20 100644 --- a/src/wimax/model/bs-uplink-scheduler-simple.cc +++ b/src/wimax/model/bs-uplink-scheduler-simple.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bs-uplink-scheduler-simple.h b/src/wimax/model/bs-uplink-scheduler-simple.h index 2249c4f2f..9e8403992 100644 --- a/src/wimax/model/bs-uplink-scheduler-simple.h +++ b/src/wimax/model/bs-uplink-scheduler-simple.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bs-uplink-scheduler.cc b/src/wimax/model/bs-uplink-scheduler.cc index 3edd692c9..25882ac45 100644 --- a/src/wimax/model/bs-uplink-scheduler.cc +++ b/src/wimax/model/bs-uplink-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bs-uplink-scheduler.h b/src/wimax/model/bs-uplink-scheduler.h index fcaee5e49..1f0f5a1d7 100644 --- a/src/wimax/model/bs-uplink-scheduler.h +++ b/src/wimax/model/bs-uplink-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/burst-profile-manager.cc b/src/wimax/model/burst-profile-manager.cc index 61f6ffa71..cf902db01 100644 --- a/src/wimax/model/burst-profile-manager.cc +++ b/src/wimax/model/burst-profile-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/burst-profile-manager.h b/src/wimax/model/burst-profile-manager.h index f1cfb0761..e4a78ffe0 100644 --- a/src/wimax/model/burst-profile-manager.h +++ b/src/wimax/model/burst-profile-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/bvec.h b/src/wimax/model/bvec.h index 54262bbcf..8caf6cf73 100644 --- a/src/wimax/model/bvec.h +++ b/src/wimax/model/bvec.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/cid-factory.cc b/src/wimax/model/cid-factory.cc index 1b816d290..f22ea5f6d 100644 --- a/src/wimax/model/cid-factory.cc +++ b/src/wimax/model/cid-factory.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/cid-factory.h b/src/wimax/model/cid-factory.h index 23c8b0639..25f1015e1 100644 --- a/src/wimax/model/cid-factory.h +++ b/src/wimax/model/cid-factory.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/cid.cc b/src/wimax/model/cid.cc index 073ee6fa3..91c4c2f4d 100644 --- a/src/wimax/model/cid.cc +++ b/src/wimax/model/cid.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/cid.h b/src/wimax/model/cid.h index a164f201e..83f168162 100644 --- a/src/wimax/model/cid.h +++ b/src/wimax/model/cid.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/connection-manager.cc b/src/wimax/model/connection-manager.cc index a8d3ec74a..b0933ade6 100644 --- a/src/wimax/model/connection-manager.cc +++ b/src/wimax/model/connection-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/connection-manager.h b/src/wimax/model/connection-manager.h index 3cb716b4d..f652ea03c 100644 --- a/src/wimax/model/connection-manager.h +++ b/src/wimax/model/connection-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/crc8.cc b/src/wimax/model/crc8.cc index 897f3c7ec..02295fbd5 100644 --- a/src/wimax/model/crc8.cc +++ b/src/wimax/model/crc8.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/crc8.h b/src/wimax/model/crc8.h index 8928b7ab6..eb8a26470 100644 --- a/src/wimax/model/crc8.h +++ b/src/wimax/model/crc8.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/cs-parameters.cc b/src/wimax/model/cs-parameters.cc index b30aa9c95..f1db2218a 100644 --- a/src/wimax/model/cs-parameters.cc +++ b/src/wimax/model/cs-parameters.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/model/cs-parameters.h b/src/wimax/model/cs-parameters.h index 337055087..056c0e4ed 100644 --- a/src/wimax/model/cs-parameters.h +++ b/src/wimax/model/cs-parameters.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/model/default-traces.h b/src/wimax/model/default-traces.h index 313ec8c2b..7c993cd3e 100644 --- a/src/wimax/model/default-traces.h +++ b/src/wimax/model/default-traces.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/dl-mac-messages.cc b/src/wimax/model/dl-mac-messages.cc index 2655256e7..c59087327 100644 --- a/src/wimax/model/dl-mac-messages.cc +++ b/src/wimax/model/dl-mac-messages.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/dl-mac-messages.h b/src/wimax/model/dl-mac-messages.h index cb3cd75b2..92b0440e2 100644 --- a/src/wimax/model/dl-mac-messages.h +++ b/src/wimax/model/dl-mac-messages.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ipcs-classifier-record.cc b/src/wimax/model/ipcs-classifier-record.cc index cbd7add50..bb8878276 100644 --- a/src/wimax/model/ipcs-classifier-record.cc +++ b/src/wimax/model/ipcs-classifier-record.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/ipcs-classifier-record.h b/src/wimax/model/ipcs-classifier-record.h index 879c7806c..6245fef23 100644 --- a/src/wimax/model/ipcs-classifier-record.h +++ b/src/wimax/model/ipcs-classifier-record.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/ipcs-classifier.cc b/src/wimax/model/ipcs-classifier.cc index 7b35d5fbd..5564bb5b6 100644 --- a/src/wimax/model/ipcs-classifier.cc +++ b/src/wimax/model/ipcs-classifier.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/model/ipcs-classifier.h b/src/wimax/model/ipcs-classifier.h index 4c7df3bef..4eff8fdf9 100644 --- a/src/wimax/model/ipcs-classifier.h +++ b/src/wimax/model/ipcs-classifier.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/model/mac-messages.cc b/src/wimax/model/mac-messages.cc index 3252a79e5..3c0b8c02c 100644 --- a/src/wimax/model/mac-messages.cc +++ b/src/wimax/model/mac-messages.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/mac-messages.h b/src/wimax/model/mac-messages.h index 0948e2462..35628e172 100644 --- a/src/wimax/model/mac-messages.h +++ b/src/wimax/model/mac-messages.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ofdm-downlink-frame-prefix.cc b/src/wimax/model/ofdm-downlink-frame-prefix.cc index b485242c7..0ed617c2f 100644 --- a/src/wimax/model/ofdm-downlink-frame-prefix.cc +++ b/src/wimax/model/ofdm-downlink-frame-prefix.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/ofdm-downlink-frame-prefix.h b/src/wimax/model/ofdm-downlink-frame-prefix.h index 145ac924c..2a44e17f3 100644 --- a/src/wimax/model/ofdm-downlink-frame-prefix.h +++ b/src/wimax/model/ofdm-downlink-frame-prefix.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/send-params.cc b/src/wimax/model/send-params.cc index cd4e4ecc8..1fb1931db 100644 --- a/src/wimax/model/send-params.cc +++ b/src/wimax/model/send-params.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/send-params.h b/src/wimax/model/send-params.h index affa352d3..dbfbdbe6c 100644 --- a/src/wimax/model/send-params.h +++ b/src/wimax/model/send-params.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/service-flow-manager.cc b/src/wimax/model/service-flow-manager.cc index f119fd92f..43f58c8ec 100644 --- a/src/wimax/model/service-flow-manager.cc +++ b/src/wimax/model/service-flow-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/service-flow-manager.h b/src/wimax/model/service-flow-manager.h index 7808055de..596a7e01b 100644 --- a/src/wimax/model/service-flow-manager.h +++ b/src/wimax/model/service-flow-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/service-flow-record.cc b/src/wimax/model/service-flow-record.cc index d9b916c1c..d1368367b 100644 --- a/src/wimax/model/service-flow-record.cc +++ b/src/wimax/model/service-flow-record.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA * diff --git a/src/wimax/model/service-flow-record.h b/src/wimax/model/service-flow-record.h index 95177125b..4976bbcaf 100644 --- a/src/wimax/model/service-flow-record.h +++ b/src/wimax/model/service-flow-record.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/service-flow.cc b/src/wimax/model/service-flow.cc index 5dfce289f..94af05645 100644 --- a/src/wimax/model/service-flow.cc +++ b/src/wimax/model/service-flow.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/service-flow.h b/src/wimax/model/service-flow.h index 39eb8c3e4..473e039a7 100644 --- a/src/wimax/model/service-flow.h +++ b/src/wimax/model/service-flow.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/simple-ofdm-send-param.cc b/src/wimax/model/simple-ofdm-send-param.cc index 51c8d1df1..da7e19d2a 100644 --- a/src/wimax/model/simple-ofdm-send-param.cc +++ b/src/wimax/model/simple-ofdm-send-param.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/simple-ofdm-send-param.h b/src/wimax/model/simple-ofdm-send-param.h index d149d57ea..93c8e1253 100644 --- a/src/wimax/model/simple-ofdm-send-param.h +++ b/src/wimax/model/simple-ofdm-send-param.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/simple-ofdm-wimax-channel.cc b/src/wimax/model/simple-ofdm-wimax-channel.cc index 5e8a0c0ea..bf00070ff 100644 --- a/src/wimax/model/simple-ofdm-wimax-channel.cc +++ b/src/wimax/model/simple-ofdm-wimax-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/simple-ofdm-wimax-channel.h b/src/wimax/model/simple-ofdm-wimax-channel.h index e79b165ab..56347cab5 100644 --- a/src/wimax/model/simple-ofdm-wimax-channel.h +++ b/src/wimax/model/simple-ofdm-wimax-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/simple-ofdm-wimax-phy.cc b/src/wimax/model/simple-ofdm-wimax-phy.cc index e075d4e44..7ba7aa0f2 100644 --- a/src/wimax/model/simple-ofdm-wimax-phy.cc +++ b/src/wimax/model/simple-ofdm-wimax-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/simple-ofdm-wimax-phy.h b/src/wimax/model/simple-ofdm-wimax-phy.h index fec712b22..26282223c 100644 --- a/src/wimax/model/simple-ofdm-wimax-phy.h +++ b/src/wimax/model/simple-ofdm-wimax-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/snr-to-block-error-rate-manager.cc b/src/wimax/model/snr-to-block-error-rate-manager.cc index d27fd9360..f02445fab 100644 --- a/src/wimax/model/snr-to-block-error-rate-manager.cc +++ b/src/wimax/model/snr-to-block-error-rate-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/snr-to-block-error-rate-manager.h b/src/wimax/model/snr-to-block-error-rate-manager.h index bab83203e..bb73dc854 100644 --- a/src/wimax/model/snr-to-block-error-rate-manager.h +++ b/src/wimax/model/snr-to-block-error-rate-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/snr-to-block-error-rate-record.cc b/src/wimax/model/snr-to-block-error-rate-record.cc index 8e9a83e14..2b20d1060 100644 --- a/src/wimax/model/snr-to-block-error-rate-record.cc +++ b/src/wimax/model/snr-to-block-error-rate-record.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/snr-to-block-error-rate-record.h b/src/wimax/model/snr-to-block-error-rate-record.h index 11bf529fb..125010d46 100644 --- a/src/wimax/model/snr-to-block-error-rate-record.h +++ b/src/wimax/model/snr-to-block-error-rate-record.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-link-manager.cc b/src/wimax/model/ss-link-manager.cc index a70e12aec..f7f91a486 100644 --- a/src/wimax/model/ss-link-manager.cc +++ b/src/wimax/model/ss-link-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-link-manager.h b/src/wimax/model/ss-link-manager.h index 793000a0a..c61777a82 100644 --- a/src/wimax/model/ss-link-manager.h +++ b/src/wimax/model/ss-link-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-manager.cc b/src/wimax/model/ss-manager.cc index 18a2cce18..d0df84c3b 100644 --- a/src/wimax/model/ss-manager.cc +++ b/src/wimax/model/ss-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-manager.h b/src/wimax/model/ss-manager.h index 4a43aa49a..4e296908f 100644 --- a/src/wimax/model/ss-manager.h +++ b/src/wimax/model/ss-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-net-device.cc b/src/wimax/model/ss-net-device.cc index 6a2c4277a..ada23372a 100644 --- a/src/wimax/model/ss-net-device.cc +++ b/src/wimax/model/ss-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-net-device.h b/src/wimax/model/ss-net-device.h index d4f5522a5..e7ea5879c 100644 --- a/src/wimax/model/ss-net-device.h +++ b/src/wimax/model/ss-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-record.cc b/src/wimax/model/ss-record.cc index 2407a635e..1e4c52388 100644 --- a/src/wimax/model/ss-record.cc +++ b/src/wimax/model/ss-record.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-record.h b/src/wimax/model/ss-record.h index 9603f4d0c..6234a0932 100644 --- a/src/wimax/model/ss-record.h +++ b/src/wimax/model/ss-record.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-scheduler.cc b/src/wimax/model/ss-scheduler.cc index 543b60fb4..5c007eb97 100644 --- a/src/wimax/model/ss-scheduler.cc +++ b/src/wimax/model/ss-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/ss-scheduler.h b/src/wimax/model/ss-scheduler.h index e99043efa..5f2aedbb4 100644 --- a/src/wimax/model/ss-scheduler.h +++ b/src/wimax/model/ss-scheduler.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/ss-service-flow-manager.cc b/src/wimax/model/ss-service-flow-manager.cc index 567e894e3..839ac6e39 100644 --- a/src/wimax/model/ss-service-flow-manager.cc +++ b/src/wimax/model/ss-service-flow-manager.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/model/ss-service-flow-manager.h b/src/wimax/model/ss-service-flow-manager.h index ff319352b..11c2e4b41 100644 --- a/src/wimax/model/ss-service-flow-manager.h +++ b/src/wimax/model/ss-service-flow-manager.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/model/ul-job.cc b/src/wimax/model/ul-job.cc index 176f662ef..d93c28048 100644 --- a/src/wimax/model/ul-job.cc +++ b/src/wimax/model/ul-job.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) * diff --git a/src/wimax/model/ul-job.h b/src/wimax/model/ul-job.h index 7dc2634a6..0a8ef7002 100644 --- a/src/wimax/model/ul-job.h +++ b/src/wimax/model/ul-job.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) * diff --git a/src/wimax/model/ul-mac-messages.cc b/src/wimax/model/ul-mac-messages.cc index 1a1646974..a2dd3bd67 100644 --- a/src/wimax/model/ul-mac-messages.cc +++ b/src/wimax/model/ul-mac-messages.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/ul-mac-messages.h b/src/wimax/model/ul-mac-messages.h index 20688fb6c..b1dcdd00f 100644 --- a/src/wimax/model/ul-mac-messages.h +++ b/src/wimax/model/ul-mac-messages.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/wimax-channel.cc b/src/wimax/model/wimax-channel.cc index 46aa24801..8de673986 100644 --- a/src/wimax/model/wimax-channel.cc +++ b/src/wimax/model/wimax-channel.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/wimax-channel.h b/src/wimax/model/wimax-channel.h index 85482660d..51b03ee4e 100644 --- a/src/wimax/model/wimax-channel.h +++ b/src/wimax/model/wimax-channel.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/wimax-connection.cc b/src/wimax/model/wimax-connection.cc index 094693335..d6e557d9d 100644 --- a/src/wimax/model/wimax-connection.cc +++ b/src/wimax/model/wimax-connection.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/wimax-connection.h b/src/wimax/model/wimax-connection.h index e72ec2172..1bc6f8ccf 100644 --- a/src/wimax/model/wimax-connection.h +++ b/src/wimax/model/wimax-connection.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/wimax-mac-header.cc b/src/wimax/model/wimax-mac-header.cc index d3c0544be..438c65086 100644 --- a/src/wimax/model/wimax-mac-header.cc +++ b/src/wimax/model/wimax-mac-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/wimax-mac-header.h b/src/wimax/model/wimax-mac-header.h index 5ccb495ec..19b0a8268 100644 --- a/src/wimax/model/wimax-mac-header.h +++ b/src/wimax/model/wimax-mac-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/wimax-mac-queue.cc b/src/wimax/model/wimax-mac-queue.cc index 67ddfacaa..2ca9a6a17 100644 --- a/src/wimax/model/wimax-mac-queue.cc +++ b/src/wimax/model/wimax-mac-queue.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA, UDcast * diff --git a/src/wimax/model/wimax-mac-queue.h b/src/wimax/model/wimax-mac-queue.h index 9fe456a2e..ae1281a35 100644 --- a/src/wimax/model/wimax-mac-queue.h +++ b/src/wimax/model/wimax-mac-queue.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/wimax-mac-to-mac-header.cc b/src/wimax/model/wimax-mac-to-mac-header.cc index 13970cf84..c460ed365 100644 --- a/src/wimax/model/wimax-mac-to-mac-header.cc +++ b/src/wimax/model/wimax-mac-to-mac-header.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA, UDcast * diff --git a/src/wimax/model/wimax-mac-to-mac-header.h b/src/wimax/model/wimax-mac-to-mac-header.h index b372c55cb..bdd26f2e6 100644 --- a/src/wimax/model/wimax-mac-to-mac-header.h +++ b/src/wimax/model/wimax-mac-to-mac-header.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA, UDcast * diff --git a/src/wimax/model/wimax-net-device.cc b/src/wimax/model/wimax-net-device.cc index 6ae7bc54c..d784e1003 100644 --- a/src/wimax/model/wimax-net-device.cc +++ b/src/wimax/model/wimax-net-device.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDcast * diff --git a/src/wimax/model/wimax-net-device.h b/src/wimax/model/wimax-net-device.h index 3b16c282b..c35d7f595 100644 --- a/src/wimax/model/wimax-net-device.h +++ b/src/wimax/model/wimax-net-device.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/model/wimax-phy.cc b/src/wimax/model/wimax-phy.cc index 9af54478e..1647d039c 100644 --- a/src/wimax/model/wimax-phy.cc +++ b/src/wimax/model/wimax-phy.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/wimax-phy.h b/src/wimax/model/wimax-phy.h index bb7f8054d..a212e89cf 100644 --- a/src/wimax/model/wimax-phy.h +++ b/src/wimax/model/wimax-phy.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008 INRIA * diff --git a/src/wimax/model/wimax-tlv.cc b/src/wimax/model/wimax-tlv.cc index 9e5dc0e03..7378ba264 100644 --- a/src/wimax/model/wimax-tlv.cc +++ b/src/wimax/model/wimax-tlv.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/model/wimax-tlv.h b/src/wimax/model/wimax-tlv.h index ec5b965d9..39492d7bc 100644 --- a/src/wimax/model/wimax-tlv.h +++ b/src/wimax/model/wimax-tlv.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/test/mac-messages-test.cc b/src/wimax/test/mac-messages-test.cc index 79f827404..cbac42629 100644 --- a/src/wimax/test/mac-messages-test.cc +++ b/src/wimax/test/mac-messages-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/test/phy-test.cc b/src/wimax/test/phy-test.cc index 9484df709..d55af2588 100644 --- a/src/wimax/test/phy-test.cc +++ b/src/wimax/test/phy-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/test/qos-test.cc b/src/wimax/test/qos-test.cc index 3f3855754..be92e5ced 100644 --- a/src/wimax/test/qos-test.cc +++ b/src/wimax/test/qos-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/test/ss-mac-test.cc b/src/wimax/test/ss-mac-test.cc index 672f3839b..18c0eb8d3 100644 --- a/src/wimax/test/ss-mac-test.cc +++ b/src/wimax/test/ss-mac-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * diff --git a/src/wimax/test/wimax-fragmentation-test.cc b/src/wimax/test/wimax-fragmentation-test.cc index 7ca332972..1da01298f 100644 --- a/src/wimax/test/wimax-fragmentation-test.cc +++ b/src/wimax/test/wimax-fragmentation-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009-2010 TELEMATICS LAB - Poliotecnico di Bari * diff --git a/src/wimax/test/wimax-service-flow-test.cc b/src/wimax/test/wimax-service-flow-test.cc index 944918c27..8d9382646 100644 --- a/src/wimax/test/wimax-service-flow-test.cc +++ b/src/wimax/test/wimax-service-flow-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/src/wimax/test/wimax-tlv-test.cc b/src/wimax/test/wimax-tlv-test.cc index 546cdfaa7..963c489ac 100644 --- a/src/wimax/test/wimax-tlv-test.cc +++ b/src/wimax/test/wimax-tlv-test.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDcast * diff --git a/utils/bench-packets.cc b/utils/bench-packets.cc index 5a3872978..89602342e 100644 --- a/utils/bench-packets.cc +++ b/utils/bench-packets.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/utils/bench-scheduler.cc b/utils/bench-scheduler.cc index 12ef733ef..d263bb422 100644 --- a/utils/bench-scheduler.cc +++ b/utils/bench-scheduler.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/utils/perf/perf-io.cc b/utils/perf/perf-io.cc index 5f19346ce..57bcf743e 100644 --- a/utils/perf/perf-io.cc +++ b/utils/perf/perf-io.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/utils/print-introspected-doxygen.cc b/utils/print-introspected-doxygen.cc index 23317f3bd..add6ea4c6 100644 --- a/utils/print-introspected-doxygen.cc +++ b/utils/print-introspected-doxygen.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/utils/test-runner.cc b/utils/test-runner.cc index 3b484d80b..e45ab305b 100644 --- a/utils/test-runner.cc +++ b/utils/test-runner.cc @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * From 95e95f8904e40081a9faf8225c23801d081a6bd7 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sun, 9 Oct 2022 22:36:23 +0000 Subject: [PATCH 045/142] Fix clang-tidy warnings in brite, click, mpi, openflow, p2p, visualizer --- src/brite/helper/brite-topology-helper.cc | 22 +-- src/brite/helper/brite-topology-helper.h | 10 +- src/brite/test/brite-test-topology.cc | 12 +- src/click/examples/nsclick-defines.cc | 2 + src/click/examples/nsclick-raw-wlan.cc | 3 +- src/click/examples/nsclick-routing.cc | 2 + src/click/examples/nsclick-simple-lan.cc | 3 +- .../nsclick-udp-client-server-csma.cc | 2 + .../nsclick-udp-client-server-wifi.cc | 2 + .../helper/click-internet-stack-helper.cc | 4 +- .../helper/click-internet-stack-helper.h | 30 +-- src/click/model/ipv4-click-routing.cc | 8 +- src/click/model/ipv4-click-routing.h | 48 ++--- src/click/model/ipv4-l3-click-protocol.cc | 24 ++- src/click/model/ipv4-l3-click-protocol.h | 88 ++++----- src/click/test/ipv4-click-routing-test.cc | 12 +- src/config-store/model/gtk-config-store.cc | 4 +- src/config-store/model/gtk-config-store.h | 4 +- src/config-store/model/model-node-creator.cc | 10 +- src/config-store/model/model-node-creator.h | 32 ++-- .../model/model-typeid-creator.cc | 4 +- src/config-store/model/model-typeid-creator.h | 4 +- src/core/model/attribute-accessor-helper.h | 4 +- src/core/model/attribute-helper.h | 22 +-- src/core/model/breakpoint.cc | 2 +- src/core/model/int64x64-cairo.h | 10 +- src/core/model/int64x64-double.h | 12 +- src/core/model/make-event.cc | 2 +- src/core/model/random-variable-stream.h | 8 +- src/core/model/simulator-impl.h | 2 +- src/core/model/type-name.h | 2 +- src/core/model/type-traits.h | 6 +- src/core/model/version.cc | 26 +-- src/core/model/version.h | 26 +-- .../test/random-variable-stream-test-suite.cc | 110 +++++------ src/core/test/rng-test-suite.cc | 24 +-- src/core/test/type-traits-test-suite.cc | 12 +- .../helper/netmap-net-device-helper.cc | 4 +- .../helper/netmap-net-device-helper.h | 4 +- src/fd-net-device/model/dpdk-net-device.cc | 8 +- src/fd-net-device/model/dpdk-net-device.h | 8 +- src/fd-net-device/model/netmap-net-device.cc | 20 +- src/fd-net-device/model/netmap-net-device.h | 20 +- src/internet/model/ipv4-route.h | 2 +- src/lte/model/lte-rlc-am.h | 4 +- src/mesh/model/dot11s/ie-dot11s-id.h | 2 +- src/mobility/model/mobility-model.h | 2 +- src/mpi/examples/mpi-test-fixtures.cc | 2 +- src/mpi/examples/mpi-test-fixtures.h | 8 +- src/mpi/examples/nms-p2p-nix-distributed.cc | 18 +- src/mpi/model/distributed-simulator-impl.cc | 36 ++-- src/mpi/model/distributed-simulator-impl.h | 54 +++--- .../granted-time-window-mpi-interface.cc | 8 +- .../model/granted-time-window-mpi-interface.h | 20 +- src/mpi/model/mpi-interface.cc | 18 +- src/mpi/model/mpi-interface.h | 2 +- src/mpi/model/mpi-receiver.cc | 4 +- src/mpi/model/mpi-receiver.h | 6 +- src/mpi/model/null-message-mpi-interface.cc | 10 +- src/mpi/model/null-message-mpi-interface.h | 24 +-- src/mpi/model/null-message-simulator-impl.cc | 44 ++--- src/mpi/model/null-message-simulator-impl.h | 60 +++--- .../model/remote-channel-bundle-manager.cc | 10 +- src/mpi/model/remote-channel-bundle-manager.h | 8 +- src/mpi/model/remote-channel-bundle.cc | 12 +- src/mpi/model/remote-channel-bundle.h | 12 +- src/mpi/test/mpi-test-suite.cc | 12 +- src/network/model/address.h | 12 +- src/network/model/buffer.h | 4 +- src/network/model/tag-buffer.cc | 6 +- src/network/test/pcap-file-test-suite.cc | 12 +- src/network/utils/queue.h | 24 +-- .../model/nix-vector-routing.cc | 4 +- src/openflow/examples/openflow-switch.cc | 4 + src/openflow/model/openflow-interface.cc | 6 +- src/openflow/model/openflow-interface.h | 6 +- .../model/openflow-switch-net-device.cc | 28 +-- .../model/openflow-switch-net-device.h | 30 +-- .../test/openflow-switch-test-suite.cc | 7 +- .../model/point-to-point-remote-channel.cc | 2 +- .../model/point-to-point-remote-channel.h | 6 +- src/stats/model/sqlite-data-output.cc | 2 +- src/stats/model/sqlite-data-output.h | 2 +- src/visualizer/model/pyviz.cc | 173 ++++++++++++++++-- src/visualizer/model/visual-simulator-impl.cc | 24 +-- src/visualizer/model/visual-simulator-impl.h | 45 ++--- src/wifi/model/eht/eht-phy.cc | 2 +- src/wifi/model/he/he-phy.cc | 2 +- src/wifi/model/ht/ht-phy.cc | 2 +- src/wifi/model/non-ht/dsss-phy.cc | 2 +- src/wifi/model/non-ht/erp-ofdm-phy.cc | 2 +- src/wifi/model/non-ht/ofdm-phy.cc | 2 +- src/wifi/model/txop.cc | 8 +- src/wifi/model/vht/vht-phy.cc | 2 +- src/wifi/model/wifi-net-device.cc | 4 +- src/wifi/model/wifi-phy.h | 6 +- utils/print-introspected-doxygen.cc | 10 +- 97 files changed, 830 insertions(+), 649 deletions(-) diff --git a/src/brite/helper/brite-topology-helper.cc b/src/brite/helper/brite-topology-helper.cc index ab9b99d26..3d38ffeeb 100644 --- a/src/brite/helper/brite-topology-helper.cc +++ b/src/brite/helper/brite-topology-helper.cc @@ -41,7 +41,7 @@ BriteTopologyHelper::BriteTopologyHelper(std::string confFile, m_seedFile(seedFile), m_newSeedFile(newseedFile), m_numAs(0), - m_topology(NULL), + m_topology(nullptr), m_numNodes(0), m_numEdges(0) { @@ -53,7 +53,7 @@ BriteTopologyHelper::BriteTopologyHelper(std::string confFile, BriteTopologyHelper::BriteTopologyHelper(std::string confFile) : m_confFile(confFile), m_numAs(0), - m_topology(NULL), + m_topology(nullptr), m_numNodes(0), m_numEdges(0) { @@ -93,7 +93,7 @@ BriteTopologyHelper::AssignStreams(int64_t streamNumber) } void -BriteTopologyHelper::BuildBriteNodeInfoList(void) +BriteTopologyHelper::BuildBriteNodeInfoList() { NS_LOG_FUNCTION(this); brite::Graph* g = m_topology->GetGraph(); @@ -139,7 +139,7 @@ BriteTopologyHelper::BuildBriteNodeInfoList(void) break; default: NS_FATAL_ERROR( - "Topology::Output(): Improperly classfied Router node encountered..."); + "Topology::Output(): Improperly classified Router node encountered..."); } break; @@ -165,7 +165,7 @@ BriteTopologyHelper::BuildBriteNodeInfoList(void) nodeInfo.type = "AS_BACKBONE "; break; default: - NS_FATAL_ERROR("Topology::Output(): Improperly classfied AS node encountered..."); + NS_FATAL_ERROR("Topology::Output(): Improperly classified AS node encountered..."); } break; } @@ -180,7 +180,7 @@ BriteTopologyHelper::BuildBriteNodeInfoList(void) } void -BriteTopologyHelper::BuildBriteEdgeInfoList(void) +BriteTopologyHelper::BuildBriteEdgeInfoList() { NS_LOG_FUNCTION(this); brite::Graph* g = m_topology->GetGraph(); @@ -309,7 +309,7 @@ BriteTopologyHelper::GetNEdgesTopology() const } uint32_t -BriteTopologyHelper::GetNAs(void) const +BriteTopologyHelper::GetNAs() const { return m_numAs; } @@ -321,9 +321,9 @@ BriteTopologyHelper::GetSystemNumberForAs(uint32_t asNum) const } void -BriteTopologyHelper::GenerateBriteTopology(void) +BriteTopologyHelper::GenerateBriteTopology() { - NS_ASSERT_MSG(m_topology == NULL, "Brite Topology Already Created"); + NS_ASSERT_MSG(!m_topology, "Brite Topology Already Created"); // check to see if need to generate seed file bool generateSeedFile = m_seedFile.empty(); @@ -436,7 +436,7 @@ BriteTopologyHelper::AssignIpv4Addresses(Ipv4AddressHelper& address) { NS_LOG_FUNCTION(this); // assign IPs - for (unsigned int i = 0; i < m_netDevices.size(); ++i) + for (std::size_t i = 0; i < m_netDevices.size(); ++i) { address.Assign(*m_netDevices[i]); address.NewNetwork(); @@ -448,7 +448,7 @@ BriteTopologyHelper::AssignIpv6Addresses(Ipv6AddressHelper& address) { NS_LOG_FUNCTION(this); - for (unsigned int i = 0; i < m_netDevices.size(); ++i) + for (std::size_t i = 0; i < m_netDevices.size(); ++i) { address.Assign(*m_netDevices[i]); address.NewNetwork(); diff --git a/src/brite/helper/brite-topology-helper.h b/src/brite/helper/brite-topology-helper.h index 1539aaf30..3b3506a2d 100644 --- a/src/brite/helper/brite-topology-helper.h +++ b/src/brite/helper/brite-topology-helper.h @@ -150,7 +150,7 @@ class BriteTopologyHelper * * \returns the number of AS created in the topology */ - uint32_t GetNAs(void) const; + uint32_t GetNAs() const; /** * Returns the system number for the MPI instance that this AS is assigned to. Will always @@ -241,13 +241,13 @@ class BriteTopologyHelper NodeContainer m_nodes; /// Build the Node Info list - void BuildBriteNodeInfoList(void); + void BuildBriteNodeInfoList(); /// Build the Edge Info list - void BuildBriteEdgeInfoList(void); + void BuildBriteEdgeInfoList(); /// Construct the topology. - void ConstructTopology(void); + void ConstructTopology(); /// Generate the BRITE topology. - void GenerateBriteTopology(void); + void GenerateBriteTopology(); /// brite configuration file to use std::string m_confFile; diff --git a/src/brite/test/brite-test-topology.cc b/src/brite/test/brite-test-topology.cc index 0f9f82e47..022d61912 100644 --- a/src/brite/test/brite-test-topology.cc +++ b/src/brite/test/brite-test-topology.cc @@ -43,10 +43,10 @@ class BriteTopologyStructureTestCase : public TestCase { public: BriteTopologyStructureTestCase(); - virtual ~BriteTopologyStructureTestCase(); + ~BriteTopologyStructureTestCase() override; private: - virtual void DoRun(void); + void DoRun() override; }; BriteTopologyStructureTestCase::BriteTopologyStructureTestCase() @@ -60,7 +60,7 @@ BriteTopologyStructureTestCase::~BriteTopologyStructureTestCase() } void -BriteTopologyStructureTestCase::DoRun(void) +BriteTopologyStructureTestCase::DoRun() { std::string confFile = "src/brite/test/test.conf"; @@ -111,10 +111,10 @@ class BriteTopologyFunctionTestCase : public TestCase { public: BriteTopologyFunctionTestCase(); - virtual ~BriteTopologyFunctionTestCase(); + ~BriteTopologyFunctionTestCase() override; private: - virtual void DoRun(void); + void DoRun() override; }; BriteTopologyFunctionTestCase::BriteTopologyFunctionTestCase() @@ -127,7 +127,7 @@ BriteTopologyFunctionTestCase::~BriteTopologyFunctionTestCase() } void -BriteTopologyFunctionTestCase::DoRun(void) +BriteTopologyFunctionTestCase::DoRun() { std::string confFile = "src/brite/test/test.conf"; BriteTopologyHelper bth(confFile); diff --git a/src/click/examples/nsclick-defines.cc b/src/click/examples/nsclick-defines.cc index 58f201d96..dd1a0e619 100644 --- a/src/click/examples/nsclick-defines.cc +++ b/src/click/examples/nsclick-defines.cc @@ -69,4 +69,6 @@ main(int argc, char* argv[]) #else NS_FATAL_ERROR("Can't use ns-3-click without NSCLICK compiled in"); #endif + + return 0; } diff --git a/src/click/examples/nsclick-raw-wlan.cc b/src/click/examples/nsclick-raw-wlan.cc index e5900ae5d..47c669fcb 100644 --- a/src/click/examples/nsclick-raw-wlan.cc +++ b/src/click/examples/nsclick-raw-wlan.cc @@ -150,8 +150,9 @@ main(int argc, char* argv[]) Simulator::Run(); Simulator::Destroy(); - return 0; #else NS_FATAL_ERROR("Can't use ns-3-click without NSCLICK compiled in"); #endif + + return 0; } diff --git a/src/click/examples/nsclick-routing.cc b/src/click/examples/nsclick-routing.cc index 1757da9ce..82fd143db 100644 --- a/src/click/examples/nsclick-routing.cc +++ b/src/click/examples/nsclick-routing.cc @@ -134,4 +134,6 @@ main(int argc, char* argv[]) #else NS_FATAL_ERROR("Can't use ns-3-click without NSCLICK compiled in"); #endif + + return 0; } diff --git a/src/click/examples/nsclick-simple-lan.cc b/src/click/examples/nsclick-simple-lan.cc index 764e593a2..fc6f38e42 100644 --- a/src/click/examples/nsclick-simple-lan.cc +++ b/src/click/examples/nsclick-simple-lan.cc @@ -104,8 +104,9 @@ main(int argc, char* argv[]) Simulator::Run(); Simulator::Destroy(); - return 0; #else NS_FATAL_ERROR("Can't use ns-3-click without NSCLICK compiled in"); #endif + + return 0; } diff --git a/src/click/examples/nsclick-udp-client-server-csma.cc b/src/click/examples/nsclick-udp-client-server-csma.cc index b96d6e29d..6a2264234 100644 --- a/src/click/examples/nsclick-udp-client-server-csma.cc +++ b/src/click/examples/nsclick-udp-client-server-csma.cc @@ -133,4 +133,6 @@ main(int argc, char* argv[]) #else NS_FATAL_ERROR("Can't use ns-3-click without NSCLICK compiled in"); #endif + + return 0; } diff --git a/src/click/examples/nsclick-udp-client-server-wifi.cc b/src/click/examples/nsclick-udp-client-server-wifi.cc index 7bac7d5e5..c601ac2ef 100644 --- a/src/click/examples/nsclick-udp-client-server-wifi.cc +++ b/src/click/examples/nsclick-udp-client-server-wifi.cc @@ -219,4 +219,6 @@ main(int argc, char* argv[]) #else NS_FATAL_ERROR("Can't use ns-3-click without NSCLICK compiled in"); #endif + + return 0; } diff --git a/src/click/helper/click-internet-stack-helper.cc b/src/click/helper/click-internet-stack-helper.cc index 353d77c14..ee800ddc3 100644 --- a/src/click/helper/click-internet-stack-helper.cc +++ b/src/click/helper/click-internet-stack-helper.cc @@ -94,7 +94,7 @@ ClickInternetStackHelper::operator=(const ClickInternetStackHelper& o) } void -ClickInternetStackHelper::Reset(void) +ClickInternetStackHelper::Reset() { m_ipv4Enabled = true; Initialize(); @@ -168,7 +168,7 @@ ClickInternetStackHelper::Install(NodeContainer c) const } void -ClickInternetStackHelper::InstallAll(void) const +ClickInternetStackHelper::InstallAll() const { Install(NodeContainer::GetGlobal()); } diff --git a/src/click/helper/click-internet-stack-helper.h b/src/click/helper/click-internet-stack-helper.h index 0fa496be5..f0f039782 100644 --- a/src/click/helper/click-internet-stack-helper.h +++ b/src/click/helper/click-internet-stack-helper.h @@ -53,19 +53,19 @@ class ClickInternetStackHelper : public PcapHelperForIpv4, public AsciiTraceHelp /** * Create a new ClickInternetStackHelper which uses Ipv4ClickRouting for routing */ - ClickInternetStackHelper(void); + ClickInternetStackHelper(); /** * Destroy the ClickInternetStackHelper */ - virtual ~ClickInternetStackHelper(void); + ~ClickInternetStackHelper() override; ClickInternetStackHelper(const ClickInternetStackHelper&); ClickInternetStackHelper& operator=(const ClickInternetStackHelper& o); /** * Return helper internal state to that of a newly constructed one */ - void Reset(void); + void Reset(); /** * Aggregate implementations of the ns3::Ipv4L3ClickProtocol, ns3::ArpL3Protocol, @@ -99,7 +99,7 @@ class ClickInternetStackHelper : public PcapHelperForIpv4, public AsciiTraceHelp /** * Aggregate IPv4, UDP, and TCP stacks to all nodes in the simulation */ - void InstallAll(void) const; + void InstallAll() const; /** * \brief set the Tcp stack which will not need any other parameter. @@ -179,10 +179,10 @@ class ClickInternetStackHelper : public PcapHelperForIpv4, public AsciiTraceHelp * @param ipv4 Ptr to the Ipv4 interface on which you want to enable tracing. * @param interface Interface ID on the Ipv4 on which you want to enable tracing. */ - virtual void EnablePcapIpv4Internal(std::string prefix, - Ptr ipv4, - uint32_t interface, - bool explicitFilename); + void EnablePcapIpv4Internal(std::string prefix, + Ptr ipv4, + uint32_t interface, + bool explicitFilename) override; /** * @brief Enable ascii trace output on the indicated Ipv4 and interface pair. @@ -193,18 +193,18 @@ class ClickInternetStackHelper : public PcapHelperForIpv4, public AsciiTraceHelp * @param ipv4 Ptr to the Ipv4 interface on which you want to enable tracing. * @param interface Interface ID on the Ipv4 on which you want to enable tracing. */ - virtual void EnableAsciiIpv4Internal(Ptr stream, - std::string prefix, - Ptr ipv4, - uint32_t interface, - bool explicitFilename); + void EnableAsciiIpv4Internal(Ptr stream, + std::string prefix, + Ptr ipv4, + uint32_t interface, + bool explicitFilename) override; - void Initialize(void); + void Initialize(); ObjectFactory m_tcpFactory; static void CreateAndAggregateObjectFromTypeId(Ptr node, const std::string typeId); - static void Cleanup(void); + static void Cleanup(); bool PcapHooked(Ptr ipv4); diff --git a/src/click/model/ipv4-click-routing.cc b/src/click/model/ipv4-click-routing.cc index 5c56334a5..9bf8301cd 100644 --- a/src/click/model/ipv4-click-routing.cc +++ b/src/click/model/ipv4-click-routing.cc @@ -49,7 +49,7 @@ NS_OBJECT_ENSURE_REGISTERED(Ipv4ClickRouting); std::map> Ipv4ClickRouting::m_clickInstanceFromSimNode; TypeId -Ipv4ClickRouting::GetTypeId(void) +Ipv4ClickRouting::GetTypeId() { static TypeId tid = TypeId("ns3::Ipv4ClickRouting") .SetParent() @@ -112,7 +112,7 @@ Ipv4ClickRouting::SetIpv4(Ptr ipv4) } Ptr -Ipv4ClickRouting::GetRandomVariable(void) +Ipv4ClickRouting::GetRandomVariable() { return m_random; } @@ -142,7 +142,7 @@ Ipv4ClickRouting::SetDefines(std::map defines) } std::map -Ipv4ClickRouting::GetDefines(void) +Ipv4ClickRouting::GetDefines() { return m_defines; } @@ -630,7 +630,7 @@ simclick_sim_send(simclick_node_t* simnode, << ifid << " " << type << " " << data << " " << len); - if (simnode == NULL) + if (!simnode) { return -1; } diff --git a/src/click/model/ipv4-click-routing.h b/src/click/model/ipv4-click-routing.h index a4104517c..e6897e893 100644 --- a/src/click/model/ipv4-click-routing.h +++ b/src/click/model/ipv4-click-routing.h @@ -65,18 +65,18 @@ class Ipv4ClickRouting : public Ipv4RoutingProtocol friend class ::ClickIfidFromNameTest; friend class ::ClickIpMacAddressFromNameTest; - static TypeId GetTypeId(void); + static TypeId GetTypeId(); Ipv4ClickRouting(); - virtual ~Ipv4ClickRouting(); + ~Ipv4ClickRouting() override; - Ptr GetRandomVariable(void); + Ptr GetRandomVariable(); protected: - virtual void DoInitialize(void); + void DoInitialize() override; public: - virtual void DoDispose(); + void DoDispose() override; /** * \brief Click configuration file to be used by the node's Click Instance. @@ -148,7 +148,7 @@ class Ipv4ClickRouting : public Ipv4RoutingProtocol * \brief Provides for SIMCLICK_GET_DEFINES * \return The defines mapping for .click configuration file parsing */ - std::map GetDefines(void); + std::map GetDefines(); /** * \brief Provides for SIMCLICK_IFID_FROM_NAME @@ -194,7 +194,7 @@ class Ipv4ClickRouting : public Ipv4RoutingProtocol * \brief Set the Ipv4 instance to be used * \param ipv4 The Ipv4 instance */ - virtual void SetIpv4(Ptr ipv4); + void SetIpv4(Ptr ipv4) override; private: /** @@ -255,23 +255,23 @@ class Ipv4ClickRouting : public Ipv4RoutingProtocol void Receive(Ptr p, Mac48Address receiverAddr, Mac48Address dest); // From Ipv4RoutingProtocol - virtual Ptr RouteOutput(Ptr p, - const Ipv4Header& header, - Ptr oif, - Socket::SocketErrno& sockerr); - virtual bool RouteInput(Ptr p, - const Ipv4Header& header, - Ptr idev, - UnicastForwardCallback ucb, - MulticastForwardCallback mcb, - LocalDeliverCallback lcb, - ErrorCallback ecb); - virtual void PrintRoutingTable(Ptr stream, - Time::Unit unit = Time::S) const; - virtual void NotifyInterfaceUp(uint32_t interface); - virtual void NotifyInterfaceDown(uint32_t interface); - virtual void NotifyAddAddress(uint32_t interface, Ipv4InterfaceAddress address); - virtual void NotifyRemoveAddress(uint32_t interface, Ipv4InterfaceAddress address); + Ptr RouteOutput(Ptr p, + const Ipv4Header& header, + Ptr oif, + Socket::SocketErrno& sockerr) override; + bool RouteInput(Ptr p, + const Ipv4Header& header, + Ptr idev, + UnicastForwardCallback ucb, + MulticastForwardCallback mcb, + LocalDeliverCallback lcb, + ErrorCallback ecb) override; + void PrintRoutingTable(Ptr stream, + Time::Unit unit = Time::S) const override; + void NotifyInterfaceUp(uint32_t interface) override; + void NotifyInterfaceDown(uint32_t interface) override; + void NotifyAddAddress(uint32_t interface, Ipv4InterfaceAddress address) override; + void NotifyRemoveAddress(uint32_t interface, Ipv4InterfaceAddress address) override; private: std::string m_clickFile; diff --git a/src/click/model/ipv4-l3-click-protocol.cc b/src/click/model/ipv4-l3-click-protocol.cc index 7549fbb1a..227a90861 100644 --- a/src/click/model/ipv4-l3-click-protocol.cc +++ b/src/click/model/ipv4-l3-click-protocol.cc @@ -46,7 +46,7 @@ const uint16_t Ipv4L3ClickProtocol::PROT_NUMBER = 0x0800; NS_OBJECT_ENSURE_REGISTERED(Ipv4L3ClickProtocol); TypeId -Ipv4L3ClickProtocol::GetTypeId(void) +Ipv4L3ClickProtocol::GetTypeId() { static TypeId tid = TypeId("ns3::Ipv4L3ClickProtocol") @@ -77,7 +77,7 @@ Ipv4L3ClickProtocol::~Ipv4L3ClickProtocol() } void -Ipv4L3ClickProtocol::DoDispose(void) +Ipv4L3ClickProtocol::DoDispose() { NS_LOG_FUNCTION(this); for (L4List_t::iterator i = m_protocols.begin(); i != m_protocols.end(); ++i) @@ -94,8 +94,8 @@ Ipv4L3ClickProtocol::DoDispose(void) m_reverseInterfacesContainer.clear(); m_sockets.clear(); - m_node = 0; - m_routingProtocol = 0; + m_node = nullptr; + m_routingProtocol = nullptr; Object::DoDispose(); } @@ -124,7 +124,7 @@ Ipv4L3ClickProtocol::SetRoutingProtocol(Ptr routingProtocol } Ptr -Ipv4L3ClickProtocol::GetRoutingProtocol(void) const +Ipv4L3ClickProtocol::GetRoutingProtocol() const { return m_routingProtocol; } @@ -141,7 +141,7 @@ Ipv4L3ClickProtocol::GetInterface(uint32_t index) const } uint32_t -Ipv4L3ClickProtocol::GetNInterfaces(void) const +Ipv4L3ClickProtocol::GetNInterfaces() const { NS_LOG_FUNCTION_NOARGS(); return m_interfaces.size(); @@ -283,7 +283,7 @@ Ipv4L3ClickProtocol::SetIpForward(bool forward) } bool -Ipv4L3ClickProtocol::GetIpForward(void) const +Ipv4L3ClickProtocol::GetIpForward() const { return m_ipForward; } @@ -295,7 +295,7 @@ Ipv4L3ClickProtocol::SetWeakEsModel(bool model) } bool -Ipv4L3ClickProtocol::GetWeakEsModel(void) const +Ipv4L3ClickProtocol::GetWeakEsModel() const { return m_weakEsModel; } @@ -315,7 +315,7 @@ Ipv4L3ClickProtocol::SetDefaultTtl(uint8_t ttl) } void -Ipv4L3ClickProtocol::SetupLoopback(void) +Ipv4L3ClickProtocol::SetupLoopback() { NS_LOG_FUNCTION_NOARGS(); @@ -352,7 +352,7 @@ Ipv4L3ClickProtocol::SetupLoopback(void) } Ptr -Ipv4L3ClickProtocol::CreateRawSocket(void) +Ipv4L3ClickProtocol::CreateRawSocket() { NS_LOG_FUNCTION(this); Ptr socket = CreateObject(); @@ -373,7 +373,6 @@ Ipv4L3ClickProtocol::DeleteRawSocket(Ptr socket) return; } } - return; } void @@ -725,7 +724,6 @@ Ipv4L3ClickProtocol::Send(Ptr packet, } packet->AddHeader(ipHeader); click->Send(packet->Copy(), source, destination); - return; } void @@ -882,7 +880,7 @@ Ipv4L3ClickProtocol::LocalDeliver(Ptr packet, const Ipv4Header& ip } Ptr -Ipv4L3ClickProtocol::GetIcmp(void) const +Ipv4L3ClickProtocol::GetIcmp() const { Ptr prot = GetProtocol(Icmpv4L4Protocol::GetStaticProtocolNumber()); if (prot) diff --git a/src/click/model/ipv4-l3-click-protocol.h b/src/click/model/ipv4-l3-click-protocol.h index 102cf31b4..6f36f9cee 100644 --- a/src/click/model/ipv4-l3-click-protocol.h +++ b/src/click/model/ipv4-l3-click-protocol.h @@ -62,7 +62,7 @@ class Ipv4L3ClickProtocol : public Ipv4 { #ifdef NS3_CLICK public: - static TypeId GetTypeId(void); + static TypeId GetTypeId(); /** * Protocol number for Ipv4 L3 (0x0800). @@ -70,18 +70,18 @@ class Ipv4L3ClickProtocol : public Ipv4 static const uint16_t PROT_NUMBER; Ipv4L3ClickProtocol(); - virtual ~Ipv4L3ClickProtocol(); + ~Ipv4L3ClickProtocol() override; - virtual void Insert(Ptr protocol); - virtual void Insert(Ptr protocol, uint32_t interfaceIndex); + void Insert(Ptr protocol) override; + void Insert(Ptr protocol, uint32_t interfaceIndex) override; - virtual void Remove(Ptr protocol); - virtual void Remove(Ptr protocol, uint32_t interfaceIndex); + void Remove(Ptr protocol) override; + void Remove(Ptr protocol, uint32_t interfaceIndex) override; - virtual Ptr GetProtocol(int protocolNumber) const; - virtual Ptr GetProtocol(int protocolNumber, int32_t interfaceIndex) const; + Ptr GetProtocol(int protocolNumber) const override; + Ptr GetProtocol(int protocolNumber, int32_t interfaceIndex) const override; - virtual Ipv4Address SourceAddressSelection(uint32_t interface, Ipv4Address dest); + Ipv4Address SourceAddressSelection(uint32_t interface, Ipv4Address dest) override; /** * \param ttl default ttl to use @@ -105,7 +105,7 @@ class Ipv4L3ClickProtocol : public Ipv4 Ipv4Address source, Ipv4Address destination, uint8_t protocol, - Ptr route); + Ptr route) override; /** * \param packet packet to send @@ -115,7 +115,7 @@ class Ipv4L3ClickProtocol : public Ipv4 * Higher-level layers call this method to send a packet with IPv4 Header * (Intend to be used with IpHeaderInclude attribute.) */ - void SendWithHeader(Ptr packet, Ipv4Header ipHeader, Ptr route); + void SendWithHeader(Ptr packet, Ipv4Header ipHeader, Ptr route) override; /** * \param packet packet to send down the stack @@ -174,66 +174,66 @@ class Ipv4L3ClickProtocol : public Ipv4 * Returns the Icmpv4L4Protocol for the node * \returns Icmpv4L4Protocol instance of the node */ - Ptr GetIcmp(void) const; + Ptr GetIcmp() const; /** * Sets up a Loopback device */ - void SetupLoopback(void); + void SetupLoopback(); /** * Creates a raw-socket * \returns Pointer to the created socket */ - Ptr CreateRawSocket(void); + Ptr CreateRawSocket() override; /** * Deletes a particular raw socket * \param socket Pointer of socket to be deleted */ - void DeleteRawSocket(Ptr socket); + void DeleteRawSocket(Ptr socket) override; // functions defined in base class Ipv4 - void SetRoutingProtocol(Ptr routingProtocol); - Ptr GetRoutingProtocol(void) const; + void SetRoutingProtocol(Ptr routingProtocol) override; + Ptr GetRoutingProtocol() const override; - Ptr GetNetDevice(uint32_t i); + Ptr GetNetDevice(uint32_t i) override; - uint32_t AddInterface(Ptr device); - uint32_t GetNInterfaces(void) const; + uint32_t AddInterface(Ptr device) override; + uint32_t GetNInterfaces() const override; - int32_t GetInterfaceForAddress(Ipv4Address addr) const; - int32_t GetInterfaceForPrefix(Ipv4Address addr, Ipv4Mask mask) const; - int32_t GetInterfaceForDevice(Ptr device) const; - bool IsDestinationAddress(Ipv4Address address, uint32_t iif) const; + int32_t GetInterfaceForAddress(Ipv4Address addr) const override; + int32_t GetInterfaceForPrefix(Ipv4Address addr, Ipv4Mask mask) const override; + int32_t GetInterfaceForDevice(Ptr device) const override; + bool IsDestinationAddress(Ipv4Address address, uint32_t iif) const override; - bool AddAddress(uint32_t i, Ipv4InterfaceAddress address); - Ipv4InterfaceAddress GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const; - uint32_t GetNAddresses(uint32_t interface) const; - bool RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex); - bool RemoveAddress(uint32_t interfaceIndex, Ipv4Address address); + bool AddAddress(uint32_t i, Ipv4InterfaceAddress address) override; + Ipv4InterfaceAddress GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const override; + uint32_t GetNAddresses(uint32_t interface) const override; + bool RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) override; + bool RemoveAddress(uint32_t interfaceIndex, Ipv4Address address) override; Ipv4Address SelectSourceAddress(Ptr device, Ipv4Address dst, - Ipv4InterfaceAddress::InterfaceAddressScope_e scope); + Ipv4InterfaceAddress::InterfaceAddressScope_e scope) override; - void SetMetric(uint32_t i, uint16_t metric); - uint16_t GetMetric(uint32_t i) const; - uint16_t GetMtu(uint32_t i) const; - bool IsUp(uint32_t i) const; - void SetUp(uint32_t i); - void SetDown(uint32_t i); - bool IsForwarding(uint32_t i) const; - void SetForwarding(uint32_t i, bool val); + void SetMetric(uint32_t i, uint16_t metric) override; + uint16_t GetMetric(uint32_t i) const override; + uint16_t GetMtu(uint32_t i) const override; + bool IsUp(uint32_t i) const override; + void SetUp(uint32_t i) override; + void SetDown(uint32_t i) override; + bool IsForwarding(uint32_t i) const override; + void SetForwarding(uint32_t i, bool val) override; void SetPromisc(uint32_t i); protected: - virtual void DoDispose(void); + void DoDispose() override; /** * This function will notify other components connected to the node that a new stack member is * now connected This will be used to notify Layer 3 protocol of layer 4 protocol stack to * connect them together. */ - virtual void NotifyNewAggregate(); + void NotifyNewAggregate() override; private: Ipv4Header BuildHeader(Ipv4Address source, @@ -243,10 +243,10 @@ class Ipv4L3ClickProtocol : public Ipv4 uint8_t ttl, bool mayFragment); - virtual void SetIpForward(bool forward); - virtual bool GetIpForward(void) const; - virtual void SetWeakEsModel(bool model); - virtual bool GetWeakEsModel(void) const; + void SetIpForward(bool forward) override; + bool GetIpForward() const override; + void SetWeakEsModel(bool model) override; + bool GetWeakEsModel() const override; typedef std::vector> Ipv4InterfaceList; /** diff --git a/src/click/test/ipv4-click-routing-test.cc b/src/click/test/ipv4-click-routing-test.cc index 32ec41026..89709668e 100644 --- a/src/click/test/ipv4-click-routing-test.cc +++ b/src/click/test/ipv4-click-routing-test.cc @@ -59,7 +59,7 @@ class ClickIfidFromNameTest : public TestCase { public: ClickIfidFromNameTest(); - virtual void DoRun(); + void DoRun() override; }; ClickIfidFromNameTest::ClickIfidFromNameTest() @@ -105,7 +105,7 @@ class ClickIpMacAddressFromNameTest : public TestCase { public: ClickIpMacAddressFromNameTest(); - virtual void DoRun(); + void DoRun() override; }; ClickIpMacAddressFromNameTest::ClickIpMacAddressFromNameTest() @@ -130,8 +130,7 @@ ClickIpMacAddressFromNameTest::DoRun() Ptr click = DynamicCast(ipv4->GetRoutingProtocol()); click->DoInitialize(); - char* buf = NULL; - buf = new char[255]; + char* buf = new char[255]; simclick_sim_command(click->m_simNode, SIMCLICK_IPADDR_FROM_NAME, "eth0", buf, 255); NS_TEST_EXPECT_MSG_EQ(strcmp(buf, "10.1.1.1"), 0, "eth0 has IP 10.1.1.1"); @@ -166,7 +165,7 @@ class ClickTrivialTest : public TestCase { public: ClickTrivialTest(); - virtual void DoRun(); + void DoRun() override; }; ClickTrivialTest::ClickTrivialTest() @@ -189,8 +188,7 @@ ClickTrivialTest::DoRun() click->DoInitialize(); int ret = 0; - char* buf = NULL; - buf = new char[255]; + char* buf = new char[255]; ret = simclick_sim_command(click->m_simNode, SIMCLICK_GET_NODE_NAME, buf, 255); NS_TEST_EXPECT_MSG_EQ(strcmp(buf, "myNode"), 0, "Node name is Node"); diff --git a/src/config-store/model/gtk-config-store.cc b/src/config-store/model/gtk-config-store.cc index 3ad4cab97..4e7d63f6b 100644 --- a/src/config-store/model/gtk-config-store.cc +++ b/src/config-store/model/gtk-config-store.cc @@ -35,7 +35,7 @@ GtkConfigStore::GtkConfigStore() } void -GtkConfigStore::ConfigureDefaults(void) +GtkConfigStore::ConfigureDefaults() { // this function should be called before running the script to enable the user // to configure the default values for the objects he wants to use @@ -84,7 +84,7 @@ GtkConfigStore::ConfigureDefaults(void) } void -GtkConfigStore::ConfigureAttributes(void) +GtkConfigStore::ConfigureAttributes() { GtkWidget* window; GtkWidget* view; diff --git a/src/config-store/model/gtk-config-store.h b/src/config-store/model/gtk-config-store.h index ae8d34a26..45d8bb049 100644 --- a/src/config-store/model/gtk-config-store.h +++ b/src/config-store/model/gtk-config-store.h @@ -35,11 +35,11 @@ class GtkConfigStore /** * Process default values */ - void ConfigureDefaults(void); + void ConfigureDefaults(); /** * Process attribute values */ - void ConfigureAttributes(void); + void ConfigureAttributes(); }; } // namespace ns3 diff --git a/src/config-store/model/model-node-creator.cc b/src/config-store/model/model-node-creator.cc index c98e3d93d..dcae70944 100644 --- a/src/config-store/model/model-node-creator.cc +++ b/src/config-store/model/model-node-creator.cc @@ -48,7 +48,7 @@ ModelCreator::Add(ModelNode* node) } void -ModelCreator::Remove(void) +ModelCreator::Remove() { GtkTreeIter* iter = m_iters.back(); g_free(iter); @@ -76,7 +76,7 @@ ModelCreator::DoStartVisitObject(Ptr object) } void -ModelCreator::DoEndVisitObject(void) +ModelCreator::DoEndVisitObject() { Remove(); } @@ -92,7 +92,7 @@ ModelCreator::DoStartVisitPointerAttribute(Ptr object, std::string name, } void -ModelCreator::DoEndVisitPointerAttribute(void) +ModelCreator::DoEndVisitPointerAttribute() { Remove(); } @@ -110,7 +110,7 @@ ModelCreator::DoStartVisitArrayAttribute(Ptr object, } void -ModelCreator::DoEndVisitArrayAttribute(void) +ModelCreator::DoEndVisitArrayAttribute() { Remove(); } @@ -132,7 +132,7 @@ ModelCreator::DoStartVisitArrayItem(const ObjectPtrContainerValue& vector, } void -ModelCreator::DoEndVisitArrayItem(void) +ModelCreator::DoEndVisitArrayItem() { GtkTreeIter* iter = m_iters.back(); g_free(iter); diff --git a/src/config-store/model/model-node-creator.h b/src/config-store/model/model-node-creator.h index b1dd93acf..c8e5b04d0 100644 --- a/src/config-store/model/model-node-creator.h +++ b/src/config-store/model/model-node-creator.h @@ -76,28 +76,28 @@ class ModelCreator : public AttributeIterator void Build(GtkTreeStore* treestore); private: - virtual void DoVisitAttribute(Ptr object, std::string name); - virtual void DoStartVisitObject(Ptr object); - virtual void DoEndVisitObject(void); - virtual void DoStartVisitPointerAttribute(Ptr object, - std::string name, - Ptr value); - virtual void DoEndVisitPointerAttribute(void); - virtual void DoStartVisitArrayAttribute(Ptr object, - std::string name, - const ObjectPtrContainerValue& vector); - virtual void DoEndVisitArrayAttribute(void); - virtual void DoStartVisitArrayItem(const ObjectPtrContainerValue& vector, - uint32_t index, - Ptr item); - virtual void DoEndVisitArrayItem(void); + void DoVisitAttribute(Ptr object, std::string name) override; + void DoStartVisitObject(Ptr object) override; + void DoEndVisitObject() override; + void DoStartVisitPointerAttribute(Ptr object, + std::string name, + Ptr value) override; + void DoEndVisitPointerAttribute() override; + void DoStartVisitArrayAttribute(Ptr object, + std::string name, + const ObjectPtrContainerValue& vector) override; + void DoEndVisitArrayAttribute() override; + void DoStartVisitArrayItem(const ObjectPtrContainerValue& vector, + uint32_t index, + Ptr item) override; + void DoEndVisitArrayItem() override; /** * Add item to attribute tree * \param node The model node */ void Add(ModelNode* node); /// Remove current tree item - void Remove(void); + void Remove(); GtkTreeStore* m_treestore; ///< attribute tree std::vector m_iters; ///< attribute tree item diff --git a/src/config-store/model/model-typeid-creator.cc b/src/config-store/model/model-typeid-creator.cc index 82f425052..cee40556e 100644 --- a/src/config-store/model/model-typeid-creator.cc +++ b/src/config-store/model/model-typeid-creator.cc @@ -45,7 +45,7 @@ ModelTypeidCreator::Add(ModelTypeid* node) } void -ModelTypeidCreator::Remove(void) +ModelTypeidCreator::Remove() { GtkTreeIter* iter = m_iters.back(); g_free(iter); @@ -78,7 +78,7 @@ ModelTypeidCreator::StartVisitTypeId(std::string name) } void -ModelTypeidCreator::EndVisitTypeId(void) +ModelTypeidCreator::EndVisitTypeId() { Remove(); } diff --git a/src/config-store/model/model-typeid-creator.h b/src/config-store/model/model-typeid-creator.h index f8ecbed1b..980a88b57 100644 --- a/src/config-store/model/model-typeid-creator.h +++ b/src/config-store/model/model-typeid-creator.h @@ -95,7 +95,7 @@ class ModelTypeidCreator : public AttributeDefaultIterator /** * \brief Remove the last gtk tree iterator */ - virtual void EndVisitTypeId(void); + virtual void EndVisitTypeId(); /** * \brief Adds a treestore iterator to m_treestore model * \param node the node to be added @@ -104,7 +104,7 @@ class ModelTypeidCreator : public AttributeDefaultIterator /** * Removes the last GtkTreeIterator from m_iters */ - void Remove(void); + void Remove(); /// this is the TreeStore model corresponding to the view GtkTreeStore* m_treestore; /// This contains a vector of iterators used to build the TreeStore diff --git a/src/core/model/attribute-accessor-helper.h b/src/core/model/attribute-accessor-helper.h index c28eb610a..55256761a 100644 --- a/src/core/model/attribute-accessor-helper.h +++ b/src/core/model/attribute-accessor-helper.h @@ -38,7 +38,7 @@ namespace ns3 * * The get functor method should have a signature like * \code - * typedef U (T::*getter)(void) const + * typedef U (T::*getter)() const * \endcode * where \pname{T} is the class and \pname{U} is the type of * the return value. @@ -76,7 +76,7 @@ inline Ptr MakeAccessorHelper(T1 a1); * * The get functor method should have a signature like * \code - * typedef U (T::*getter)(void) const + * typedef U (T::*getter)() const * \endcode * where \pname{T} is the class and \pname{U} is the type of * the return value. diff --git a/src/core/model/attribute-helper.h b/src/core/model/attribute-helper.h index 33d809a7b..a0f453bba 100644 --- a/src/core/model/attribute-helper.h +++ b/src/core/model/attribute-helper.h @@ -73,7 +73,7 @@ namespace ns3 * * There are three versions of DoMakeAccessorHelperOne: * - With a member variable: DoMakeAccessorHelperOne(U T::*) - * - With a class get functor: DoMakeAccessorHelperOne(U(T::*)(void) const) + * - With a class get functor: DoMakeAccessorHelperOne(U(T::*)() const) * - With a class set method: DoMakeAccessorHelperOne(void(T::*)(U)) * * There are two pairs of DoMakeAccessorHelperTwo (four total): @@ -202,17 +202,17 @@ MakeSimpleAttributeChecker(std::string name, std::string underlying) name##Value(); \ name##Value(const type& value); \ void Set(const type& value); \ - type Get(void) const; \ + type Get() const; \ template \ bool GetAccessor(T& value) const \ { \ value = T(m_value); \ return true; \ } \ - virtual Ptr Copy(void) const; \ - virtual std::string SerializeToString(Ptr checker) const; \ - virtual bool DeserializeFromString(std::string value, \ - Ptr checker); \ + Ptr Copy() const override; \ + std::string SerializeToString(Ptr checker) const override; \ + bool DeserializeFromString(std::string value, \ + Ptr checker) override; \ \ private: \ type m_value; \ @@ -268,7 +268,7 @@ MakeSimpleAttributeChecker(std::string name, std::string underlying) class type##Checker : public AttributeChecker \ { \ }; \ - Ptr Make##type##Checker(void) + Ptr Make##type##Checker() /** * \ingroup attributehelper @@ -299,11 +299,11 @@ MakeSimpleAttributeChecker(std::string name, std::string underlying) { \ m_value = v; \ } \ - type name##Value::Get(void) const \ + type name##Value::Get() const \ { \ return m_value; \ } \ - Ptr name##Value::Copy(void) const \ + Ptr name##Value::Copy() const \ { \ return ns3::Create(*this); \ } \ @@ -354,7 +354,7 @@ MakeSimpleAttributeChecker(std::string name, std::string underlying) * Typically invoked in the source file.. */ #define ATTRIBUTE_CHECKER_IMPLEMENT(type) \ - Ptr Make##type##Checker(void) \ + Ptr Make##type##Checker() \ { \ return MakeSimpleAttributeChecker(#type "Value", #type); \ } @@ -373,7 +373,7 @@ MakeSimpleAttributeChecker(std::string name, std::string underlying) * Typically invoked in the source file.. */ #define ATTRIBUTE_CHECKER_IMPLEMENT_WITH_NAME(type, name) \ - Ptr Make##type##Checker(void) \ + Ptr Make##type##Checker() \ { \ return MakeSimpleAttributeChecker(#type "Value", name); \ } diff --git a/src/core/model/breakpoint.cc b/src/core/model/breakpoint.cc index 4ae8637fb..a10bf1c23 100644 --- a/src/core/model/breakpoint.cc +++ b/src/core/model/breakpoint.cc @@ -63,7 +63,7 @@ BreakpointFallback() */ if (a == nullptr) { - *a = 0; + *a = nullptr; } } diff --git a/src/core/model/int64x64-cairo.h b/src/core/model/int64x64-cairo.h index c9071c338..bf2ed1a5a 100644 --- a/src/core/model/int64x64-cairo.h +++ b/src/core/model/int64x64-cairo.h @@ -220,7 +220,7 @@ class int64x64_t * * \return This value in floating form. */ - inline double GetDouble(void) const + inline double GetDouble() const { const bool negative = _cairo_int128_negative(_v); const cairo_int128_t value = negative ? _cairo_int128_negate(_v) : _v; @@ -237,7 +237,7 @@ class int64x64_t * * \return The integer portion of this value. */ - inline int64_t GetHigh(void) const + inline int64_t GetHigh() const { return (int64_t)_v.hi; } @@ -247,7 +247,7 @@ class int64x64_t * * \return The fractional portion, unscaled, as an integer. */ - inline uint64_t GetLow(void) const + inline uint64_t GetLow() const { return _v.lo; } @@ -257,7 +257,7 @@ class int64x64_t * Truncation is always toward zero, * \return The value truncated toward zero. */ - int64_t GetInt(void) const + int64_t GetInt() const { const bool negative = _cairo_int128_negative(_v); const cairo_int128_t value = negative ? _cairo_int128_negate(_v) : _v; @@ -272,7 +272,7 @@ class int64x64_t * regardless of the current (floating) rounding mode. * \return The value rounded to the nearest int. */ - int64_t Round(void) const + int64_t Round() const { const bool negative = _cairo_int128_negative(_v); cairo_uint128_t value = negative ? _cairo_int128_negate(_v) : _v; diff --git a/src/core/model/int64x64-double.h b/src/core/model/int64x64-double.h index 2341c0ac0..9b2a441ef 100644 --- a/src/core/model/int64x64-double.h +++ b/src/core/model/int64x64-double.h @@ -192,7 +192,7 @@ class int64x64_t * * \return This value in floating form. */ - inline double GetDouble(void) const + inline double GetDouble() const { return (double)_v; } @@ -203,7 +203,7 @@ class int64x64_t * * \return A pair of the high and low words */ - std::pair GetHighLow(void) const + std::pair GetHighLow() const { const bool negative = _v < 0; const long double v = negative ? -_v : _v; @@ -245,7 +245,7 @@ class int64x64_t * * \return The integer portion of this value. */ - inline int64_t GetHigh(void) const + inline int64_t GetHigh() const { return GetHighLow().first; } @@ -255,7 +255,7 @@ class int64x64_t * * \return The fractional portion, unscaled, as an integer. */ - inline uint64_t GetLow(void) const + inline uint64_t GetLow() const { return GetHighLow().second; } @@ -265,7 +265,7 @@ class int64x64_t * Truncation is always toward zero, * \return The value truncated toward zero. */ - int64_t GetInt(void) const + int64_t GetInt() const { int64_t retval = static_cast(_v); return retval; @@ -277,7 +277,7 @@ class int64x64_t * regardless of the current (floating) rounding mode. * \return The value rounded to the nearest int. */ - int64_t Round(void) const + int64_t Round() const { int64_t retval = std::round(_v); return retval; diff --git a/src/core/model/make-event.cc b/src/core/model/make-event.cc index fea550e79..8c32592a5 100644 --- a/src/core/model/make-event.cc +++ b/src/core/model/make-event.cc @@ -23,7 +23,7 @@ /** * \file * \ingroup events - * ns3::MakeEvent(void(*f)(void)) implementation. + * ns3::MakeEvent(void(*f)()) implementation. */ namespace ns3 diff --git a/src/core/model/random-variable-stream.h b/src/core/model/random-variable-stream.h index 79ecad27f..a7ea29eac 100644 --- a/src/core/model/random-variable-stream.h +++ b/src/core/model/random-variable-stream.h @@ -229,14 +229,14 @@ class UniformRandomVariable : public RandomVariableStream UniformRandomVariable(); /** - * \brief Get the lower bound on randoms returned by GetValue(void). - * \return The lower bound on values from GetValue(void). + * \brief Get the lower bound on randoms returned by GetValue(). + * \return The lower bound on values from GetValue(). */ double GetMin() const; /** - * \brief Get the upper bound on values returned by GetValue(void). - * \return The upper bound on values from GetValue(void). + * \brief Get the upper bound on values returned by GetValue(). + * \return The upper bound on values from GetValue(). */ double GetMax() const; diff --git a/src/core/model/simulator-impl.h b/src/core/model/simulator-impl.h index b711d91ff..e95395c31 100644 --- a/src/core/model/simulator-impl.h +++ b/src/core/model/simulator-impl.h @@ -58,7 +58,7 @@ class SimulatorImpl : public Object virtual void Destroy() = 0; /** \copydoc Simulator::IsFinished */ virtual bool IsFinished() const = 0; - /** \copydoc Simulator::Stop(void) */ + /** \copydoc Simulator::Stop() */ virtual void Stop() = 0; /** \copydoc Simulator::Stop(const Time&) */ virtual void Stop(const Time& delay) = 0; diff --git a/src/core/model/type-name.h b/src/core/model/type-name.h index 6be35ba33..41d73d0d4 100644 --- a/src/core/model/type-name.h +++ b/src/core/model/type-name.h @@ -59,7 +59,7 @@ TypeNameGet() */ #define TYPENAMEGET_DEFINE(T) \ template <> \ - inline std::string TypeNameGet(void) \ + inline std::string TypeNameGet() \ { \ return #T; \ } diff --git a/src/core/model/type-traits.h b/src/core/model/type-traits.h index fdc6ffd3d..7f5b4490d 100644 --- a/src/core/model/type-traits.h +++ b/src/core/model/type-traits.h @@ -228,7 +228,7 @@ struct TypeTraits * \tparam U \deduced Return type. */ template - struct FunctionPtrTraits + struct FunctionPtrTraits { /** Value. */ enum @@ -438,7 +438,7 @@ struct TypeTraits * \tparam V \deduced Class type. */ template - struct PtrToMemberTraits + struct PtrToMemberTraits { /** Value. */ enum @@ -460,7 +460,7 @@ struct TypeTraits * \tparam V \deduced Class type. */ template - struct PtrToMemberTraits + struct PtrToMemberTraits { /** Value. */ enum diff --git a/src/core/model/version.cc b/src/core/model/version.cc index 571165032..ceb2599e6 100644 --- a/src/core/model/version.cc +++ b/src/core/model/version.cc @@ -33,67 +33,67 @@ namespace ns3 { std::string -Version::VersionTag(void) +Version::VersionTag() { return NS3_VERSION_TAG; } std::string -Version::ClosestAncestorTag(void) +Version::ClosestAncestorTag() { return NS3_VERSION_CLOSEST_TAG; } uint32_t -Version::Major(void) +Version::Major() { return NS3_VERSION_MAJOR; } uint32_t -Version::Minor(void) +Version::Minor() { return NS3_VERSION_MINOR; } uint32_t -Version::Patch(void) +Version::Patch() { return NS3_VERSION_PATCH; } std::string -Version::ReleaseCandidate(void) +Version::ReleaseCandidate() { return std::string{NS3_VERSION_RELEASE_CANDIDATE}; } uint32_t -Version::TagDistance(void) +Version::TagDistance() { return NS3_VERSION_TAG_DISTANCE; } bool -Version::DirtyWorkingTree(void) +Version::DirtyWorkingTree() { return static_cast(NS3_VERSION_DIRTY_FLAG); } std::string -Version::CommitHash(void) +Version::CommitHash() { return std::string{NS3_VERSION_COMMIT_HASH}; } std::string -Version::BuildProfile(void) +Version::BuildProfile() { return std::string{NS3_VERSION_BUILD_PROFILE}; } std::string -Version::ShortVersion(void) +Version::ShortVersion() { std::ostringstream ostream; ostream << VersionTag(); @@ -112,7 +112,7 @@ Version::ShortVersion(void) } std::string -Version::BuildSummary(void) +Version::BuildSummary() { std::ostringstream ostream; ostream << ClosestAncestorTag(); @@ -130,7 +130,7 @@ Version::BuildSummary(void) } std::string -Version::LongVersion(void) +Version::LongVersion() { std::ostringstream ostream; ostream << VersionTag(); diff --git a/src/core/model/version.h b/src/core/model/version.h index f7fb2f1f8..a91c97226 100644 --- a/src/core/model/version.h +++ b/src/core/model/version.h @@ -112,7 +112,7 @@ class Version * * \return ns-3 version tag */ - static std::string VersionTag(void); + static std::string VersionTag(); /** * Returns the closest tag that is attached to a commit that is an ancestor @@ -123,7 +123,7 @@ class Version * * \return Closest tag attached to an ancestor of the current commit */ - static std::string ClosestAncestorTag(void); + static std::string ClosestAncestorTag(); /** * Major component of the build version @@ -135,7 +135,7 @@ class Version * * \return The major component of the build version */ - static uint32_t Major(void); + static uint32_t Major(); /** * Minor component of the build version @@ -147,7 +147,7 @@ class Version * * \return The minor component of the build version */ - static uint32_t Minor(void); + static uint32_t Minor(); /** * Patch component of the build version @@ -160,7 +160,7 @@ class Version * \return The patch component of the build version or 0 if the build version * does not have a patch component */ - static uint32_t Patch(void); + static uint32_t Patch(); /** * Release candidate component of the build version @@ -173,7 +173,7 @@ class Version * \return The release candidate component of the build version or an empty * string if the build version does not have a release candidate component */ - static std::string ReleaseCandidate(void); + static std::string ReleaseCandidate(); /** * The number of commits between the current @@ -181,14 +181,14 @@ class Version * * \return The number of commits made since the last tagged commit */ - static uint32_t TagDistance(void); + static uint32_t TagDistance(); /** * Indicates whether there were uncommitted changes during the build * * \return \c true if the working tree had uncommitted changes. */ - static bool DirtyWorkingTree(void); + static bool DirtyWorkingTree(); /** * Hash of the most recent commit @@ -204,7 +204,7 @@ class Version * * \return hexadecimal representation of the most recent commit id */ - static std::string CommitHash(void); + static std::string CommitHash(); /** * Indicates the type of build that was performed (debug/release/optimized). @@ -213,7 +213,7 @@ class Version * * \return String containing the type of build */ - static std::string BuildProfile(void); + static std::string BuildProfile(); /** * Constructs a string containing the ns-3 major and minor version components, @@ -232,7 +232,7 @@ class Version * * \return String containing the ns-3 major and minor components and flags. */ - static std::string ShortVersion(void); + static std::string ShortVersion(); /** * Constructs a string containing the most recent tag and status flags. @@ -250,7 +250,7 @@ class Version * * \return String containing the closest ancestor tag and flags. */ - static std::string BuildSummary(void); + static std::string BuildSummary(); /** * Constructs a string containing all of the build details @@ -268,7 +268,7 @@ class Version * * \return String containing full version */ - static std::string LongVersion(void); + static std::string LongVersion(); }; // class Version diff --git a/src/core/test/random-variable-stream-test-suite.cc b/src/core/test/random-variable-stream-test-suite.cc index 67f3f5b05..48c5950fe 100644 --- a/src/core/test/random-variable-stream-test-suite.cc +++ b/src/core/test/random-variable-stream-test-suite.cc @@ -146,7 +146,7 @@ class TestCaseBase : public TestCase * Create a new instance of a random variable stream * \returns The new random variable stream instance. */ - virtual Ptr Create(void) const = 0; + virtual Ptr Create() const = 0; }; /** @@ -168,7 +168,7 @@ class TestCaseBase : public TestCase } // Inherited - Ptr Create(void) const + Ptr Create() const { auto rng = CreateObject(); rng->SetAttribute("Antithetic", BooleanValue(m_anti)); @@ -314,7 +314,7 @@ class TestCaseBase : public TestCase * based on time-of-day, and run number=0: * NS_GLOBAL_VALUE="RngRun=0" ./test.py -s random-variable-stream-generators */ - void SetTestSuiteSeed(void) + void SetTestSuiteSeed() { if (m_seedSet == false) { @@ -358,7 +358,7 @@ class UniformTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); }; UniformTestCase::UniformTestCase() @@ -383,7 +383,7 @@ UniformTestCase::ChiSquaredTest(Ptr rng) const } void -UniformTestCase::DoRun(void) +UniformTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -480,7 +480,7 @@ class UniformAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); }; UniformAntitheticTestCase::UniformAntitheticTestCase() @@ -505,7 +505,7 @@ UniformAntitheticTestCase::ChiSquaredTest(Ptr rng) const } void -UniformAntitheticTestCase::DoRun(void) +UniformAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -552,7 +552,7 @@ class ConstantTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** Tolerance for testing rng values against expectation. */ static constexpr double TOLERANCE{1e-8}; @@ -564,7 +564,7 @@ ConstantTestCase::ConstantTestCase() } void -ConstantTestCase::DoRun(void) +ConstantTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -603,7 +603,7 @@ class SequentialTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** Tolerance for testing rng values against expectation. */ static constexpr double TOLERANCE{1e-8}; @@ -615,7 +615,7 @@ SequentialTestCase::SequentialTestCase() } void -SequentialTestCase::DoRun(void) +SequentialTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -663,7 +663,7 @@ class NormalTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** Tolerance for testing rng values against expectation, in rms. */ static constexpr double TOLERANCE{5}; @@ -699,7 +699,7 @@ NormalTestCase::ChiSquaredTest(Ptr rng) const } void -NormalTestCase::DoRun(void) +NormalTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -749,7 +749,7 @@ class NormalAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** Tolerance for testing rng values against expectation, in rms. */ static constexpr double TOLERANCE{5}; @@ -786,7 +786,7 @@ NormalAntitheticTestCase::ChiSquaredTest(Ptr rng) const } void -NormalAntitheticTestCase::DoRun(void) +NormalAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -837,7 +837,7 @@ class ExponentialTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** Tolerance for testing rng values against expectation, in rms. */ static constexpr double TOLERANCE{5}; @@ -873,7 +873,7 @@ ExponentialTestCase::ChiSquaredTest(Ptr rng) const } void -ExponentialTestCase::DoRun(void) +ExponentialTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -918,7 +918,7 @@ class ExponentialAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** Tolerance for testing rng values against expectation, in rms. */ static constexpr double TOLERANCE{5}; @@ -954,7 +954,7 @@ ExponentialAntitheticTestCase::ChiSquaredTest(Ptr rng) con } void -ExponentialAntitheticTestCase::DoRun(void) +ExponentialAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1002,7 +1002,7 @@ class ParetoTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1041,7 +1041,7 @@ ParetoTestCase::ChiSquaredTest(Ptr rng) const } void -ParetoTestCase::DoRun(void) +ParetoTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1095,7 +1095,7 @@ class ParetoAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1134,7 +1134,7 @@ ParetoAntitheticTestCase::ChiSquaredTest(Ptr rng) const } void -ParetoAntitheticTestCase::DoRun(void) +ParetoAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1192,7 +1192,7 @@ class WeibullTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1234,7 +1234,7 @@ WeibullTestCase::ChiSquaredTest(Ptr rng) const } void -WeibullTestCase::DoRun(void) +WeibullTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1301,7 +1301,7 @@ class WeibullAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1342,7 +1342,7 @@ WeibullAntitheticTestCase::ChiSquaredTest(Ptr rng) const } void -WeibullAntitheticTestCase::DoRun(void) +WeibullAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1412,7 +1412,7 @@ class LogNormalTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1454,7 +1454,7 @@ LogNormalTestCase::ChiSquaredTest(Ptr rng) const } void -LogNormalTestCase::DoRun(void) +LogNormalTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1514,7 +1514,7 @@ class LogNormalAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1556,7 +1556,7 @@ LogNormalAntitheticTestCase::ChiSquaredTest(Ptr rng) const } void -LogNormalAntitheticTestCase::DoRun(void) +LogNormalAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1618,7 +1618,7 @@ class GammaTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1660,7 +1660,7 @@ GammaTestCase::ChiSquaredTest(Ptr rng) const } void -GammaTestCase::DoRun(void) +GammaTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1710,7 +1710,7 @@ class GammaAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1752,7 +1752,7 @@ GammaAntitheticTestCase::ChiSquaredTest(Ptr rng) const } void -GammaAntitheticTestCase::DoRun(void) +GammaAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1806,7 +1806,7 @@ class ErlangTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1851,7 +1851,7 @@ ErlangTestCase::ChiSquaredTest(Ptr rng) const } void -ErlangTestCase::DoRun(void) +ErlangTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1901,7 +1901,7 @@ class ErlangAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -1946,7 +1946,7 @@ ErlangAntitheticTestCase::ChiSquaredTest(Ptr rng) const } void -ErlangAntitheticTestCase::DoRun(void) +ErlangAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -1997,7 +1997,7 @@ class ZipfTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -2012,7 +2012,7 @@ ZipfTestCase::ZipfTestCase() } void -ZipfTestCase::DoRun(void) +ZipfTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -2077,7 +2077,7 @@ class ZipfAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -2092,7 +2092,7 @@ ZipfAntitheticTestCase::ZipfAntitheticTestCase() } void -ZipfAntitheticTestCase::DoRun(void) +ZipfAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -2160,7 +2160,7 @@ class ZetaTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -2175,7 +2175,7 @@ ZetaTestCase::ZetaTestCase() } void -ZetaTestCase::DoRun(void) +ZetaTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -2223,7 +2223,7 @@ class ZetaAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -2238,7 +2238,7 @@ ZetaAntitheticTestCase::ZetaAntitheticTestCase() } void -ZetaAntitheticTestCase::DoRun(void) +ZetaAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -2289,7 +2289,7 @@ class DeterministicTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** Tolerance for testing rng values against expectation. */ static constexpr double TOLERANCE{1e-8}; @@ -2301,7 +2301,7 @@ DeterministicTestCase::DeterministicTestCase() } void -DeterministicTestCase::DoRun(void) +DeterministicTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -2364,7 +2364,7 @@ class EmpiricalTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -2379,7 +2379,7 @@ EmpiricalTestCase::EmpiricalTestCase() } void -EmpiricalTestCase::DoRun(void) +EmpiricalTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -2464,7 +2464,7 @@ class EmpiricalAntitheticTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); /** * Tolerance for testing rng values against expectation, @@ -2479,7 +2479,7 @@ EmpiricalAntitheticTestCase::EmpiricalAntitheticTestCase() } void -EmpiricalAntitheticTestCase::DoRun(void) +EmpiricalAntitheticTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); @@ -2543,7 +2543,7 @@ class NormalCachingTestCase : public TestCaseBase private: // Inherited - virtual void DoRun(void); + virtual void DoRun(); }; NormalCachingTestCase::NormalCachingTestCase() @@ -2552,7 +2552,7 @@ NormalCachingTestCase::NormalCachingTestCase() } void -NormalCachingTestCase::DoRun(void) +NormalCachingTestCase::DoRun() { NS_LOG_FUNCTION(this); SetTestSuiteSeed(); diff --git a/src/core/test/rng-test-suite.cc b/src/core/test/rng-test-suite.cc index d4ae7d404..d884f1ea4 100644 --- a/src/core/test/rng-test-suite.cc +++ b/src/core/test/rng-test-suite.cc @@ -79,13 +79,13 @@ class RngUniformTestCase : public TestCase /** * Run a chi-squared test on the results of the random number generator. - * \param u The random number generaor. + * \param u The random number generator. * \return the chi-squared test result. */ double ChiSquaredTest(Ptr u); private: - virtual void DoRun(void); + virtual void DoRun(); }; RngUniformTestCase::RngUniformTestCase() @@ -133,7 +133,7 @@ RngUniformTestCase::ChiSquaredTest(Ptr u) } void -RngUniformTestCase::DoRun(void) +RngUniformTestCase::DoRun() { RngSeedManager::SetSeed(static_cast(time(0))); @@ -172,13 +172,13 @@ class RngNormalTestCase : public TestCase /** * Run a chi-squared test on the results of the random number generator. - * \param n The random number generaor. + * \param n The random number generator. * \return the chi-squared test result. */ double ChiSquaredTest(Ptr n); private: - virtual void DoRun(void); + virtual void DoRun(); }; RngNormalTestCase::RngNormalTestCase() @@ -240,7 +240,7 @@ RngNormalTestCase::ChiSquaredTest(Ptr n) } void -RngNormalTestCase::DoRun(void) +RngNormalTestCase::DoRun() { RngSeedManager::SetSeed(static_cast(time(0))); @@ -279,13 +279,13 @@ class RngExponentialTestCase : public TestCase /** * Run a chi-squared test on the results of the random number generator. - * \param n The random number generaor. + * \param n The random number generator. * \return the chi-squared test result. */ double ChiSquaredTest(Ptr n); private: - virtual void DoRun(void); + virtual void DoRun(); }; RngExponentialTestCase::RngExponentialTestCase() @@ -346,7 +346,7 @@ RngExponentialTestCase::ChiSquaredTest(Ptr e) } void -RngExponentialTestCase::DoRun(void) +RngExponentialTestCase::DoRun() { RngSeedManager::SetSeed(static_cast(time(0))); @@ -385,13 +385,13 @@ class RngParetoTestCase : public TestCase /** * Run a chi-squared test on the results of the random number generator. - * \param p The random number generaor. + * \param p The random number generator. * \return the chi-squared test result. */ double ChiSquaredTest(Ptr p); private: - virtual void DoRun(void); + virtual void DoRun(); }; RngParetoTestCase::RngParetoTestCase() @@ -455,7 +455,7 @@ RngParetoTestCase::ChiSquaredTest(Ptr p) } void -RngParetoTestCase::DoRun(void) +RngParetoTestCase::DoRun() { RngSeedManager::SetSeed(static_cast(time(0))); diff --git a/src/core/test/type-traits-test-suite.cc b/src/core/test/type-traits-test-suite.cc index b003493e6..70f509f71 100644 --- a/src/core/test/type-traits-test-suite.cc +++ b/src/core/test/type-traits-test-suite.cc @@ -59,12 +59,12 @@ TypeTraitsTestCase::TypeTraitsTestCase() void TypeTraitsTestCase::DoRun() { - NS_TEST_ASSERT_MSG_EQ(TypeTraits::IsPointerToMember, + NS_TEST_ASSERT_MSG_EQ(TypeTraits::IsPointerToMember, 1, - "Check pointer to member function (void)"); - NS_TEST_ASSERT_MSG_EQ(TypeTraits::IsPointerToMember, + "Check pointer to member function ()"); + NS_TEST_ASSERT_MSG_EQ(TypeTraits::IsPointerToMember, 1, - "Check pointer to member function (void) const"); + "Check pointer to member function () const"); NS_TEST_ASSERT_MSG_EQ(TypeTraits::IsPointerToMember, 1, "Check pointer to member function (int)"); @@ -72,9 +72,9 @@ TypeTraitsTestCase::DoRun() 1, "Check pointer to member function (int) const"); NS_TEST_ASSERT_MSG_EQ( - TypeTraits::PointerToMemberTraits::nArgs, + TypeTraits::PointerToMemberTraits::nArgs, 0, - "Check number of arguments for pointer to member function (void) const"); + "Check number of arguments for pointer to member function () const"); NS_TEST_ASSERT_MSG_EQ( TypeTraits::PointerToMemberTraits::nArgs, 1, diff --git a/src/fd-net-device/helper/netmap-net-device-helper.cc b/src/fd-net-device/helper/netmap-net-device-helper.cc index 7e96daf8d..71e4ceabe 100644 --- a/src/fd-net-device/helper/netmap-net-device-helper.cc +++ b/src/fd-net-device/helper/netmap-net-device-helper.cc @@ -69,7 +69,7 @@ NetmapNetDeviceHelper::NetmapNetDeviceHelper() } std::string -NetmapNetDeviceHelper::GetDeviceName(void) +NetmapNetDeviceHelper::GetDeviceName() { return m_deviceName; } @@ -195,7 +195,7 @@ NetmapNetDeviceHelper::SetDeviceAttributes(Ptr device) const } int -NetmapNetDeviceHelper::CreateFileDescriptor(void) const +NetmapNetDeviceHelper::CreateFileDescriptor() const { NS_LOG_FUNCTION(this); diff --git a/src/fd-net-device/helper/netmap-net-device-helper.h b/src/fd-net-device/helper/netmap-net-device-helper.h index a26fa2705..8d312c060 100644 --- a/src/fd-net-device/helper/netmap-net-device-helper.h +++ b/src/fd-net-device/helper/netmap-net-device-helper.h @@ -54,7 +54,7 @@ class NetmapNetDeviceHelper : public FdNetDeviceHelper * \brief Get the device name of this device. * \returns The device name of this device. */ - std::string GetDeviceName(void); + std::string GetDeviceName(); /** * \brief Set the device name of this device. @@ -82,7 +82,7 @@ class NetmapNetDeviceHelper : public FdNetDeviceHelper * socket. We do this to avoid having the entire simulation running as root. * \return the rawSocket number */ - virtual int CreateFileDescriptor(void) const; + virtual int CreateFileDescriptor() const; /** * \brief Switch the fd in netmap mode. diff --git a/src/fd-net-device/model/dpdk-net-device.cc b/src/fd-net-device/model/dpdk-net-device.cc index b5f20defa..07b1449d2 100644 --- a/src/fd-net-device/model/dpdk-net-device.cc +++ b/src/fd-net-device/model/dpdk-net-device.cc @@ -51,7 +51,7 @@ NS_OBJECT_ENSURE_REGISTERED(DpdkNetDevice); volatile bool DpdkNetDevice::m_forceQuit = false; TypeId -DpdkNetDevice::GetTypeId(void) +DpdkNetDevice::GetTypeId() { static TypeId tid = TypeId("ns3::DpdkNetDevice") @@ -117,7 +117,7 @@ DpdkNetDevice::SetDeviceName(std::string deviceName) } void -DpdkNetDevice::CheckAllPortsLinkStatus(void) +DpdkNetDevice::CheckAllPortsLinkStatus() { NS_LOG_FUNCTION(this); @@ -241,7 +241,7 @@ DpdkNetDevice::LaunchCore(void* arg) } bool -DpdkNetDevice::IsLinkUp(void) const +DpdkNetDevice::IsLinkUp() const { // Refer https://mails.dpdk.org/archives/users/2018-December/003822.html return true; @@ -458,7 +458,7 @@ DpdkNetDevice::Write(uint8_t* buffer, size_t length) } void -DpdkNetDevice::DoFinishStoppingDevice(void) +DpdkNetDevice::DoFinishStoppingDevice() { std::unique_lock lock{m_pendingReadMutex}; diff --git a/src/fd-net-device/model/dpdk-net-device.h b/src/fd-net-device/model/dpdk-net-device.h index 7ca9ac381..0be486a0a 100644 --- a/src/fd-net-device/model/dpdk-net-device.h +++ b/src/fd-net-device/model/dpdk-net-device.h @@ -51,7 +51,7 @@ class DpdkNetDevice : public FdNetDevice * \brief Get the type ID. * \return the object TypeId */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); /** * Constructor for the DpdkNetDevice. @@ -67,7 +67,7 @@ class DpdkNetDevice : public FdNetDevice * Check the link status of all ports in up to 9s * and print them finally */ - void CheckAllPortsLinkStatus(void); + void CheckAllPortsLinkStatus(); /** * Initialize Dpdk. @@ -114,7 +114,7 @@ class DpdkNetDevice : public FdNetDevice * Check the status of the link. * \return Status of the link - up/down as true/false. */ - bool IsLinkUp(void) const; + bool IsLinkUp() const; /** * Free the given packet buffer. @@ -149,7 +149,7 @@ class DpdkNetDevice : public FdNetDevice std::string m_deviceName; private: - void DoFinishStoppingDevice(void); + void DoFinishStoppingDevice(); /** * Condition variable for Dpdk to stop */ diff --git a/src/fd-net-device/model/netmap-net-device.cc b/src/fd-net-device/model/netmap-net-device.cc index 686567808..78344216a 100644 --- a/src/fd-net-device/model/netmap-net-device.cc +++ b/src/fd-net-device/model/netmap-net-device.cc @@ -31,7 +31,7 @@ namespace ns3 NS_LOG_COMPONENT_DEFINE("NetmapNetDevice"); TypeId -NetDeviceQueueLock::GetTypeId(void) +NetDeviceQueueLock::GetTypeId() { static TypeId tid = TypeId("ns3::NetDeviceQueueLock") .SetParent() @@ -49,7 +49,7 @@ NetDeviceQueueLock::~NetDeviceQueueLock() } bool -NetDeviceQueueLock::IsStopped(void) const +NetDeviceQueueLock::IsStopped() const { m_mutex.lock(); bool stopped = NetDeviceQueue::IsStopped(); @@ -58,7 +58,7 @@ NetDeviceQueueLock::IsStopped(void) const } void -NetDeviceQueueLock::Start(void) +NetDeviceQueueLock::Start() { m_mutex.lock(); NetDeviceQueue::Start(); @@ -66,7 +66,7 @@ NetDeviceQueueLock::Start(void) } void -NetDeviceQueueLock::Stop(void) +NetDeviceQueueLock::Stop() { m_mutex.lock(); NetDeviceQueue::Stop(); @@ -74,7 +74,7 @@ NetDeviceQueueLock::Stop(void) } void -NetDeviceQueueLock::Wake(void) +NetDeviceQueueLock::Wake() { m_mutex.lock(); NetDeviceQueue::Wake(); @@ -119,7 +119,7 @@ NetmapNetDeviceFdReader::SetNetmapIfp(struct netmap_if* nifp) } FdReader::Data -NetmapNetDeviceFdReader::DoRead(void) +NetmapNetDeviceFdReader::DoRead() { NS_LOG_FUNCTION(this); @@ -172,7 +172,7 @@ NetmapNetDeviceFdReader::DoRead(void) NS_OBJECT_ENSURE_REGISTERED(NetmapNetDevice); TypeId -NetmapNetDevice::GetTypeId(void) +NetmapNetDevice::GetTypeId() { static TypeId tid = TypeId("ns3::NetmapNetDevice") @@ -209,7 +209,7 @@ NetmapNetDevice::~NetmapNetDevice() } Ptr -NetmapNetDevice::DoCreateFdReader(void) +NetmapNetDevice::DoCreateFdReader() { NS_LOG_FUNCTION(this); @@ -221,7 +221,7 @@ NetmapNetDevice::DoCreateFdReader(void) } void -NetmapNetDevice::DoFinishStartingDevice(void) +NetmapNetDevice::DoFinishStartingDevice() { NS_LOG_FUNCTION(this); @@ -230,7 +230,7 @@ NetmapNetDevice::DoFinishStartingDevice(void) } void -NetmapNetDevice::DoFinishStoppingDevice(void) +NetmapNetDevice::DoFinishStoppingDevice() { NS_LOG_FUNCTION(this); diff --git a/src/fd-net-device/model/netmap-net-device.h b/src/fd-net-device/model/netmap-net-device.h index 58dcd3d82..8065f74f8 100644 --- a/src/fd-net-device/model/netmap-net-device.h +++ b/src/fd-net-device/model/netmap-net-device.h @@ -49,7 +49,7 @@ class NetDeviceQueueLock : public NetDeviceQueue * \brief Get the type ID. * \return the object TypeId */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); NetDeviceQueueLock(); virtual ~NetDeviceQueueLock(); @@ -58,20 +58,20 @@ class NetDeviceQueueLock : public NetDeviceQueue * Called by the device to start this device transmission queue. * This is the analogous to the netif_tx_start_queue function of the Linux kernel. */ - virtual void Start(void); + virtual void Start(); /** * Called by the device to stop this device transmission queue. * This is the analogous to the netif_tx_stop_queue function of the Linux kernel. */ - virtual void Stop(void); + virtual void Stop(); /** * Called by the device to wake the queue disc associated with this * device transmission queue. This is done by invoking the wake callback. * This is the analogous to the netif_tx_wake_queue function of the Linux kernel. */ - virtual void Wake(void); + virtual void Wake(); /** * \brief Get the status of the device transmission queue. @@ -80,7 +80,7 @@ class NetDeviceQueueLock : public NetDeviceQueue * Called by queue discs to enquire about the status of a given transmission queue. * This is the analogous to the netif_xmit_stopped function of the Linux kernel. */ - virtual bool IsStopped(void) const; + virtual bool IsStopped() const; /** * \brief Called by the netdevice to report the number of bytes queued to the device queue @@ -121,7 +121,7 @@ class NetmapNetDeviceFdReader : public FdReader void SetNetmapIfp(struct netmap_if* nifp); private: - FdReader::Data DoRead(void); + FdReader::Data DoRead(); uint32_t m_bufferSize; //!< size of the read buffer struct netmap_if* m_nifp; //!< Netmap interface representation @@ -142,7 +142,7 @@ class NetmapNetDevice : public FdNetDevice * \brief Get the type ID. * \return the object TypeId */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); NetmapNetDevice(); virtual ~NetmapNetDevice(); @@ -194,9 +194,9 @@ class NetmapNetDevice : public FdNetDevice virtual ssize_t Write(uint8_t* buffer, size_t length); private: - Ptr DoCreateFdReader(void); - void DoFinishStartingDevice(void); - void DoFinishStoppingDevice(void); + Ptr DoCreateFdReader(); + void DoFinishStartingDevice(); + void DoFinishStoppingDevice(); /** * \brief This function syncs netmap ring and notifies netdevice queue. diff --git a/src/internet/model/ipv4-route.h b/src/internet/model/ipv4-route.h index d0c00ef4a..9d77f13b8 100644 --- a/src/internet/model/ipv4-route.h +++ b/src/internet/model/ipv4-route.h @@ -84,7 +84,7 @@ class Ipv4Route : public SimpleRefCount #ifdef NOTYET // rtable.idev void SetInputIfIndex(uint32_t iif); - uint32_t GetInputIfIndex(void) const; + uint32_t GetInputIfIndex() const; #endif private: diff --git a/src/lte/model/lte-rlc-am.h b/src/lte/model/lte-rlc-am.h index 5359fa2f1..58d4056a8 100644 --- a/src/lte/model/lte-rlc-am.h +++ b/src/lte/model/lte-rlc-am.h @@ -86,11 +86,11 @@ class LteRlcAm : public LteRlc * method called when the T_status_prohibit timer expires * * \param seqNumber SequenceNumber10 - * \returns true is inside receivign window + * \returns true is inside receiving window */ bool IsInsideReceivingWindow(SequenceNumber10 seqNumber); // - // void ReassembleOutsideWindow (void); + // void ReassembleOutsideWindow (); // void ReassembleSnLessThan (uint16_t seqNumber); // diff --git a/src/mesh/model/dot11s/ie-dot11s-id.h b/src/mesh/model/dot11s/ie-dot11s-id.h index 2916a9d6e..faa2fb547 100644 --- a/src/mesh/model/dot11s/ie-dot11s-id.h +++ b/src/mesh/model/dot11s/ie-dot11s-id.h @@ -57,7 +57,7 @@ class IeMeshId : public WifiInformationElement * \returns true if broadcast */ bool IsBroadcast() const; - // uint32_t GetLength (void) const; + // uint32_t GetLength () const; /** * Peek the IeMeshId as a string value * \returns the mesh ID as a string diff --git a/src/mobility/model/mobility-model.h b/src/mobility/model/mobility-model.h index 917f4590c..ea39cf16a 100644 --- a/src/mobility/model/mobility-model.h +++ b/src/mobility/model/mobility-model.h @@ -118,7 +118,7 @@ class MobilityModel : public Object * \return the current position. * * Unless subclasses override, this method will disregard the reference - * position and return "DoGetPosition (void)". + * position and return "DoGetPosition ()". */ virtual Vector DoGetPositionWithReference(const Vector& referencePosition) const; /** diff --git a/src/mpi/examples/mpi-test-fixtures.cc b/src/mpi/examples/mpi-test-fixtures.cc index 76a96c055..6cd9063d1 100644 --- a/src/mpi/examples/mpi-test-fixtures.cc +++ b/src/mpi/examples/mpi-test-fixtures.cc @@ -37,7 +37,7 @@ int SinkTracer::m_worldRank = -1; int SinkTracer::m_worldSize = -1; void -SinkTracer::Init(void) +SinkTracer::Init() { m_sinkCount = 0; m_line = 0; diff --git a/src/mpi/examples/mpi-test-fixtures.h b/src/mpi/examples/mpi-test-fixtures.h index 25a1ed7e8..ae9000b10 100644 --- a/src/mpi/examples/mpi-test-fixtures.h +++ b/src/mpi/examples/mpi-test-fixtures.h @@ -93,7 +93,7 @@ class SinkTracer /** * PacketSink Init. */ - static void Init(void); + static void Init(); /** * PacketSink receive trace callback. @@ -124,7 +124,7 @@ class SinkTracer * * \return MPI world rank. */ - static int GetWorldRank(void) + static int GetWorldRank() { return m_worldRank; } @@ -134,7 +134,7 @@ class SinkTracer * * \return MPI world size. */ - static int GetWorldSize(void) + static int GetWorldSize() { return m_worldSize; } @@ -143,7 +143,7 @@ class SinkTracer * Get current line count and increment it. * \return the line count. */ - static int GetLineCount(void) + static int GetLineCount() { return m_line++; } diff --git a/src/mpi/examples/nms-p2p-nix-distributed.cc b/src/mpi/examples/nms-p2p-nix-distributed.cc index f23615af2..24d42103e 100644 --- a/src/mpi/examples/nms-p2p-nix-distributed.cc +++ b/src/mpi/examples/nms-p2p-nix-distributed.cc @@ -136,7 +136,9 @@ main(int argc, char* argv[]) nCN, vectorOfVectorOfNodeContainer(5, vectorOfNodeContainer(nLANClients))); - PointToPointHelper p2p_2gb200ms, p2p_1gb5ms, p2p_100mb1ms; + PointToPointHelper p2p_2gb200ms; + PointToPointHelper p2p_1gb5ms; + PointToPointHelper p2p_100mb1ms; InternetStackHelper stack; Ipv4InterfaceContainer ifs; @@ -310,7 +312,12 @@ main(int argc, char* argv[]) NetDeviceContainer ndcLR; ndcLR = p2p_1gb5ms.Install(nodes_netLR[z]); // Connect Net2/Net3 through Lone Routers to Net0 - NodeContainer net0_4, net0_5, net2_4a, net2_4b, net3_5a, net3_5b; + NodeContainer net0_4; + NodeContainer net0_5; + NodeContainer net2_4a; + NodeContainer net2_4b; + NodeContainer net3_5a; + NodeContainer net3_5b; net0_4.Add(nodes_netLR[z].Get(0)); net0_4.Add(nodes_net0[z][0].Get(0)); net0_5.Add(nodes_netLR[z].Get(1)); @@ -323,7 +330,12 @@ main(int argc, char* argv[]) net3_5a.Add(nodes_net3[z][0].Get(0)); net3_5b.Add(nodes_netLR[z].Get(1)); net3_5b.Add(nodes_net3[z][1].Get(0)); - NetDeviceContainer ndc0_4, ndc0_5, ndc2_4a, ndc2_4b, ndc3_5a, ndc3_5b; + NetDeviceContainer ndc0_4; + NetDeviceContainer ndc0_5; + NetDeviceContainer ndc2_4a; + NetDeviceContainer ndc2_4b; + NetDeviceContainer ndc3_5a; + NetDeviceContainer ndc3_5b; ndc0_4 = p2p_1gb5ms.Install(net0_4); oss.str(""); oss << 10 + z << ".1.253.0"; diff --git a/src/mpi/model/distributed-simulator-impl.cc b/src/mpi/model/distributed-simulator-impl.cc index ca04b215c..cf4989b7f 100644 --- a/src/mpi/model/distributed-simulator-impl.cc +++ b/src/mpi/model/distributed-simulator-impl.cc @@ -89,7 +89,7 @@ LbtsMessage::IsFinished() Time DistributedSimulatorImpl::m_lookAhead = Time::Max(); TypeId -DistributedSimulatorImpl::GetTypeId(void) +DistributedSimulatorImpl::GetTypeId() { static TypeId tid = TypeId("ns3::DistributedSimulatorImpl") .SetParent() @@ -117,7 +117,7 @@ DistributedSimulatorImpl::DistributedSimulatorImpl() m_currentContext = Simulator::NO_CONTEXT; m_unscheduledEvents = 0; m_eventCount = 0; - m_events = 0; + m_events = nullptr; } DistributedSimulatorImpl::~DistributedSimulatorImpl() @@ -126,7 +126,7 @@ DistributedSimulatorImpl::~DistributedSimulatorImpl() } void -DistributedSimulatorImpl::DoDispose(void) +DistributedSimulatorImpl::DoDispose() { NS_LOG_FUNCTION(this); @@ -135,7 +135,7 @@ DistributedSimulatorImpl::DoDispose(void) Scheduler::Event next = m_events->RemoveNext(); next.impl->Unref(); } - m_events = 0; + m_events = nullptr; delete[] m_pLBTS; SimulatorImpl::DoDispose(); } @@ -160,7 +160,7 @@ DistributedSimulatorImpl::Destroy() } void -DistributedSimulatorImpl::CalculateLookAhead(void) +DistributedSimulatorImpl::CalculateLookAhead() { NS_LOG_FUNCTION(this); @@ -303,7 +303,7 @@ DistributedSimulatorImpl::SetScheduler(ObjectFactory schedulerFactory) } void -DistributedSimulatorImpl::ProcessOneEvent(void) +DistributedSimulatorImpl::ProcessOneEvent() { NS_LOG_FUNCTION(this); @@ -324,19 +324,19 @@ DistributedSimulatorImpl::ProcessOneEvent(void) } bool -DistributedSimulatorImpl::IsFinished(void) const +DistributedSimulatorImpl::IsFinished() const { return m_globalFinished; } bool -DistributedSimulatorImpl::IsLocalFinished(void) const +DistributedSimulatorImpl::IsLocalFinished() const { return m_events->IsEmpty() || m_stop; } uint64_t -DistributedSimulatorImpl::NextTs(void) const +DistributedSimulatorImpl::NextTs() const { // If local MPI task is has no more events or stop was called // next event time is infinity. @@ -352,13 +352,13 @@ DistributedSimulatorImpl::NextTs(void) const } Time -DistributedSimulatorImpl::Next(void) const +DistributedSimulatorImpl::Next() const { return TimeStep(NextTs()); } void -DistributedSimulatorImpl::Run(void) +DistributedSimulatorImpl::Run() { NS_LOG_FUNCTION(this); @@ -457,7 +457,7 @@ DistributedSimulatorImpl::GetSystemId() const } void -DistributedSimulatorImpl::Stop(void) +DistributedSimulatorImpl::Stop() { NS_LOG_FUNCTION(this); @@ -529,7 +529,7 @@ DistributedSimulatorImpl::ScheduleDestroy(EventImpl* event) } Time -DistributedSimulatorImpl::Now(void) const +DistributedSimulatorImpl::Now() const { return TimeStep(m_currentTs); } @@ -594,7 +594,7 @@ DistributedSimulatorImpl::IsExpired(const EventId& id) const { if (id.GetUid() == EventId::UID::DESTROY) { - if (id.PeekEventImpl() == 0 || id.PeekEventImpl()->IsCancelled()) + if (id.PeekEventImpl() == nullptr || id.PeekEventImpl()->IsCancelled()) { return true; } @@ -609,7 +609,7 @@ DistributedSimulatorImpl::IsExpired(const EventId& id) const } return true; } - if (id.PeekEventImpl() == 0 || id.GetTs() < m_currentTs || + if (id.PeekEventImpl() == nullptr || id.GetTs() < m_currentTs || (id.GetTs() == m_currentTs && id.GetUid() <= m_currentUid) || id.PeekEventImpl()->IsCancelled()) { @@ -622,7 +622,7 @@ DistributedSimulatorImpl::IsExpired(const EventId& id) const } Time -DistributedSimulatorImpl::GetMaximumSimulationTime(void) const +DistributedSimulatorImpl::GetMaximumSimulationTime() const { /// \todo I am fairly certain other compilers use other non-standard /// post-fixes to indicate 64 bit constants. @@ -630,13 +630,13 @@ DistributedSimulatorImpl::GetMaximumSimulationTime(void) const } uint32_t -DistributedSimulatorImpl::GetContext(void) const +DistributedSimulatorImpl::GetContext() const { return m_currentContext; } uint64_t -DistributedSimulatorImpl::GetEventCount(void) const +DistributedSimulatorImpl::GetEventCount() const { return m_eventCount; } diff --git a/src/mpi/model/distributed-simulator-impl.h b/src/mpi/model/distributed-simulator-impl.h index f1d32ebee..129627c97 100644 --- a/src/mpi/model/distributed-simulator-impl.h +++ b/src/mpi/model/distributed-simulator-impl.h @@ -111,33 +111,33 @@ class DistributedSimulatorImpl : public SimulatorImpl * Register this type. * \return The object TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); /** Default constructor. */ DistributedSimulatorImpl(); /** Destructor. */ - ~DistributedSimulatorImpl(); + ~DistributedSimulatorImpl() override; // virtual from SimulatorImpl - virtual void Destroy(); - virtual bool IsFinished(void) const; - virtual void Stop(void); - virtual void Stop(const Time& delay); - virtual EventId Schedule(const Time& delay, EventImpl* event); - virtual void ScheduleWithContext(uint32_t context, const Time& delay, EventImpl* event); - virtual EventId ScheduleNow(EventImpl* event); - virtual EventId ScheduleDestroy(EventImpl* event); - virtual void Remove(const EventId& id); - virtual void Cancel(const EventId& id); - virtual bool IsExpired(const EventId& id) const; - virtual void Run(void); - virtual Time Now(void) const; - virtual Time GetDelayLeft(const EventId& id) const; - virtual Time GetMaximumSimulationTime(void) const; - virtual void SetScheduler(ObjectFactory schedulerFactory); - virtual uint32_t GetSystemId(void) const; - virtual uint32_t GetContext(void) const; - virtual uint64_t GetEventCount(void) const; + void Destroy() override; + bool IsFinished() const override; + void Stop() override; + void Stop(const Time& delay) override; + EventId Schedule(const Time& delay, EventImpl* event) override; + void ScheduleWithContext(uint32_t context, const Time& delay, EventImpl* event) override; + EventId ScheduleNow(EventImpl* event) override; + EventId ScheduleDestroy(EventImpl* event) override; + void Remove(const EventId& id) override; + void Cancel(const EventId& id) override; + bool IsExpired(const EventId& id) const override; + void Run() override; + Time Now() const override; + Time GetDelayLeft(const EventId& id) const override; + Time GetMaximumSimulationTime() const override; + void SetScheduler(ObjectFactory schedulerFactory) override; + uint32_t GetSystemId() const override; + uint32_t GetContext() const override; + uint64_t GetEventCount() const override; /** * Add additional bound to lookahead constraints. @@ -156,7 +156,7 @@ class DistributedSimulatorImpl : public SimulatorImpl private: // Inherited from Object - virtual void DoDispose(void); + void DoDispose() override; /** * Calculate lookahead constraint based on network latency. @@ -166,17 +166,17 @@ class DistributedSimulatorImpl : public SimulatorImpl * user may impose additional constraints on lookahead * using the ConstrainLookAhead() method. */ - void CalculateLookAhead(void); + void CalculateLookAhead(); /** * Check if this rank is finished. It's finished when there are * no more events or stop has been requested. * * \returns \c true when this rank is finished. */ - bool IsLocalFinished(void) const; + bool IsLocalFinished() const; /** Process the next event. */ - void ProcessOneEvent(void); + void ProcessOneEvent(); /** * Get the timestep of the next event. * @@ -184,13 +184,13 @@ class DistributedSimulatorImpl : public SimulatorImpl * * \return The next event timestep. */ - uint64_t NextTs(void) const; + uint64_t NextTs() const; /** * Get the time of the next event, as returned by NextTs(). * * \return The next event time stamp. */ - Time Next(void) const; + Time Next() const; /** Container type for the events to run at Simulator::Destroy(). */ typedef std::list DestroyEvents; diff --git a/src/mpi/model/granted-time-window-mpi-interface.cc b/src/mpi/model/granted-time-window-mpi-interface.cc index 75b371e3b..488bcf34a 100644 --- a/src/mpi/model/granted-time-window-mpi-interface.cc +++ b/src/mpi/model/granted-time-window-mpi-interface.cc @@ -51,8 +51,8 @@ NS_OBJECT_ENSURE_REGISTERED(GrantedTimeWindowMpiInterface); SentBuffer::SentBuffer() { - m_buffer = 0; - m_request = 0; + m_buffer = nullptr; + m_request = nullptr; } SentBuffer::~SentBuffer() @@ -93,7 +93,7 @@ bool GrantedTimeWindowMpiInterface::g_freeCommunicator = false; ; TypeId -GrantedTimeWindowMpiInterface::GetTypeId(void) +GrantedTimeWindowMpiInterface::GetTypeId() { static TypeId tid = TypeId("ns3::GrantedTimeWindowMpiInterface").SetParent().SetGroupName("Mpi"); @@ -284,7 +284,7 @@ GrantedTimeWindowMpiInterface::ReceiveMessages() // Find the correct node/device to schedule receive event Ptr pNode = NodeList::GetNode(node); - Ptr pMpiRec = 0; + Ptr pMpiRec = nullptr; uint32_t nDevices = pNode->GetNDevices(); for (uint32_t i = 0; i < nDevices; ++i) { diff --git a/src/mpi/model/granted-time-window-mpi-interface.h b/src/mpi/model/granted-time-window-mpi-interface.h index 7e493c089..c5365544c 100644 --- a/src/mpi/model/granted-time-window-mpi-interface.h +++ b/src/mpi/model/granted-time-window-mpi-interface.h @@ -96,18 +96,18 @@ class GrantedTimeWindowMpiInterface : public ParallelCommunicationInterface, Obj * Register this type. * \return The object TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); // Inherited - virtual void Destroy(); - virtual uint32_t GetSystemId(); - virtual uint32_t GetSize(); - virtual bool IsEnabled(); - virtual void Enable(int* pargc, char*** pargv); - virtual void Enable(MPI_Comm communicator); - virtual void Disable(); - virtual void SendPacket(Ptr p, const Time& rxTime, uint32_t node, uint32_t dev); - virtual MPI_Comm GetCommunicator(); + void Destroy() override; + uint32_t GetSystemId() override; + uint32_t GetSize() override; + bool IsEnabled() override; + void Enable(int* pargc, char*** pargv) override; + void Enable(MPI_Comm communicator) override; + void Disable() override; + void SendPacket(Ptr p, const Time& rxTime, uint32_t node, uint32_t dev) override; + MPI_Comm GetCommunicator() override; private: /* diff --git a/src/mpi/model/mpi-interface.cc b/src/mpi/model/mpi-interface.cc index 1700a1599..c7c97cefd 100644 --- a/src/mpi/model/mpi-interface.cc +++ b/src/mpi/model/mpi-interface.cc @@ -37,7 +37,7 @@ namespace ns3 NS_LOG_COMPONENT_DEFINE("MpiInterface"); -ParallelCommunicationInterface* MpiInterface::g_parallelCommunicationInterface = 0; +ParallelCommunicationInterface* MpiInterface::g_parallelCommunicationInterface = nullptr; void MpiInterface::Destroy() @@ -50,18 +50,26 @@ uint32_t MpiInterface::GetSystemId() { if (g_parallelCommunicationInterface) + { return g_parallelCommunicationInterface->GetSystemId(); + } else + { return 0; + } } uint32_t MpiInterface::GetSize() { if (g_parallelCommunicationInterface) + { return g_parallelCommunicationInterface->GetSize(); + } else + { return 1; + } } bool @@ -78,7 +86,7 @@ MpiInterface::IsEnabled() } void -MpiInterface::SetParallelSimulatorImpl(void) +MpiInterface::SetParallelSimulatorImpl() { StringValue simulationTypeValue; bool useDefault = true; @@ -89,12 +97,12 @@ MpiInterface::SetParallelSimulatorImpl(void) // Set communication interface based on the simulation type being used. // Defaults to synchronous. - if (simulationType.compare("ns3::NullMessageSimulatorImpl") == 0) + if (simulationType == "ns3::NullMessageSimulatorImpl") { g_parallelCommunicationInterface = new NullMessageMpiInterface(); useDefault = false; } - else if (simulationType.compare("ns3::DistributedSimulatorImpl") == 0) + else if (simulationType == "ns3::DistributedSimulatorImpl") { g_parallelCommunicationInterface = new GrantedTimeWindowMpiInterface(); useDefault = false; @@ -147,7 +155,7 @@ MpiInterface::Disable() NS_ASSERT(g_parallelCommunicationInterface); g_parallelCommunicationInterface->Disable(); delete g_parallelCommunicationInterface; - g_parallelCommunicationInterface = 0; + g_parallelCommunicationInterface = nullptr; } } // namespace ns3 diff --git a/src/mpi/model/mpi-interface.h b/src/mpi/model/mpi-interface.h index 587423f1d..bc12d685e 100644 --- a/src/mpi/model/mpi-interface.h +++ b/src/mpi/model/mpi-interface.h @@ -159,7 +159,7 @@ class MpiInterface /** * Common enable logic. */ - static void SetParallelSimulatorImpl(void); + static void SetParallelSimulatorImpl(); /** * Static instance of the instantiated parallel controller. diff --git a/src/mpi/model/mpi-receiver.cc b/src/mpi/model/mpi-receiver.cc index 9d749caaa..d03f83304 100644 --- a/src/mpi/model/mpi-receiver.cc +++ b/src/mpi/model/mpi-receiver.cc @@ -28,7 +28,7 @@ namespace ns3 { TypeId -MpiReceiver::GetTypeId(void) +MpiReceiver::GetTypeId() { static TypeId tid = TypeId("ns3::MpiReceiver") .SetParent() @@ -55,7 +55,7 @@ MpiReceiver::Receive(Ptr p) } void -MpiReceiver::DoDispose(void) +MpiReceiver::DoDispose() { m_rxCallback = MakeNullCallback>(); } diff --git a/src/mpi/model/mpi-receiver.h b/src/mpi/model/mpi-receiver.h index 6a4bed8d6..8cdc220ad 100644 --- a/src/mpi/model/mpi-receiver.h +++ b/src/mpi/model/mpi-receiver.h @@ -51,8 +51,8 @@ class MpiReceiver : public Object * Register this type. * \return The object TypeId. */ - static TypeId GetTypeId(void); - virtual ~MpiReceiver(); + static TypeId GetTypeId(); + ~MpiReceiver() override; /** * \brief Direct an incoming packet to the device Receive() method @@ -66,7 +66,7 @@ class MpiReceiver : public Object void SetReceiveCallback(Callback> callback); private: - virtual void DoDispose(void); + void DoDispose() override; /** Callback to send received packets to. */ Callback> m_rxCallback; diff --git a/src/mpi/model/null-message-mpi-interface.cc b/src/mpi/model/null-message-mpi-interface.cc index 5964f324f..2c12e7473 100644 --- a/src/mpi/model/null-message-mpi-interface.cc +++ b/src/mpi/model/null-message-mpi-interface.cc @@ -96,8 +96,8 @@ const uint32_t NULL_MESSAGE_MAX_MPI_MSG_SIZE = 2000; NullMessageSentBuffer::NullMessageSentBuffer() { - m_buffer = 0; - m_request = 0; + m_buffer = nullptr; + m_request = nullptr; } NullMessageSentBuffer::~NullMessageSentBuffer() @@ -137,7 +137,7 @@ MPI_Request* NullMessageMpiInterface::g_requests; char** NullMessageMpiInterface::g_pRxBuffers; TypeId -NullMessageMpiInterface::GetTypeId(void) +NullMessageMpiInterface::GetTypeId() { static TypeId tid = TypeId("ns3::NullMessageMpiInterface").SetParent().SetGroupName("Mpi"); @@ -228,7 +228,7 @@ NullMessageMpiInterface::Enable(MPI_Comm communicator) } void -NullMessageMpiInterface::InitializeSendReceiveBuffers(void) +NullMessageMpiInterface::InitializeSendReceiveBuffers() { NS_LOG_FUNCTION_NOARGS(); NS_ASSERT(g_enabled); @@ -414,7 +414,7 @@ NullMessageMpiInterface::ReceiveMessages(bool blocking) // Find the correct node/device to schedule receive event Ptr pNode = NodeList::GetNode(node); - Ptr pMpiRec = 0; + Ptr pMpiRec = nullptr; uint32_t nDevices = pNode->GetNDevices(); for (uint32_t i = 0; i < nDevices; ++i) { diff --git a/src/mpi/model/null-message-mpi-interface.h b/src/mpi/model/null-message-mpi-interface.h index 4409b374d..dad2dade9 100644 --- a/src/mpi/model/null-message-mpi-interface.h +++ b/src/mpi/model/null-message-mpi-interface.h @@ -55,21 +55,21 @@ class NullMessageMpiInterface : public ParallelCommunicationInterface, Object * Register this type. * \return The object TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); NullMessageMpiInterface(); - ~NullMessageMpiInterface(); + ~NullMessageMpiInterface() override; // Inherited - virtual void Destroy(); - virtual uint32_t GetSystemId(); - virtual uint32_t GetSize(); - virtual bool IsEnabled(); - virtual void Enable(int* pargc, char*** pargv); - virtual void Enable(MPI_Comm communicator); - virtual void Disable(); - virtual void SendPacket(Ptr p, const Time& rxTime, uint32_t node, uint32_t dev); - virtual MPI_Comm GetCommunicator(); + void Destroy() override; + uint32_t GetSystemId() override; + uint32_t GetSize() override; + bool IsEnabled() override; + void Enable(int* pargc, char*** pargv) override; + void Enable(MPI_Comm communicator) override; + void Disable() override; + void SendPacket(Ptr p, const Time& rxTime, uint32_t node, uint32_t dev) override; + MPI_Comm GetCommunicator() override; private: /** @@ -121,7 +121,7 @@ class NullMessageMpiInterface : public ParallelCommunicationInterface, Object * This method should be called after all links have been added to the RemoteChannelBundle * manager to setup any required send and receive buffers. */ - static void InitializeSendReceiveBuffers(void); + static void InitializeSendReceiveBuffers(); /** * Check for received messages complete. Will block until message diff --git a/src/mpi/model/null-message-simulator-impl.cc b/src/mpi/model/null-message-simulator-impl.cc index 0a86f0dff..7cf4a5a12 100644 --- a/src/mpi/model/null-message-simulator-impl.cc +++ b/src/mpi/model/null-message-simulator-impl.cc @@ -53,10 +53,10 @@ NS_LOG_COMPONENT_DEFINE("NullMessageSimulatorImpl"); NS_OBJECT_ENSURE_REGISTERED(NullMessageSimulatorImpl); -NullMessageSimulatorImpl* NullMessageSimulatorImpl::g_instance = 0; +NullMessageSimulatorImpl* NullMessageSimulatorImpl::g_instance = nullptr; TypeId -NullMessageSimulatorImpl::GetTypeId(void) +NullMessageSimulatorImpl::GetTypeId() { static TypeId tid = TypeId("ns3::NullMessageSimulatorImpl") @@ -85,11 +85,11 @@ NullMessageSimulatorImpl::NullMessageSimulatorImpl() m_currentContext = Simulator::NO_CONTEXT; m_unscheduledEvents = 0; m_eventCount = 0; - m_events = 0; + m_events = nullptr; m_safeTime = Seconds(0); - NS_ASSERT(g_instance == 0); + NS_ASSERT(g_instance == nullptr); g_instance = this; } @@ -99,7 +99,7 @@ NullMessageSimulatorImpl::~NullMessageSimulatorImpl() } void -NullMessageSimulatorImpl::DoDispose(void) +NullMessageSimulatorImpl::DoDispose() { NS_LOG_FUNCTION(this); @@ -108,7 +108,7 @@ NullMessageSimulatorImpl::DoDispose(void) Scheduler::Event next = m_events->RemoveNext(); next.impl->Unref(); } - m_events = 0; + m_events = nullptr; SimulatorImpl::DoDispose(); } @@ -133,7 +133,7 @@ NullMessageSimulatorImpl::Destroy() } void -NullMessageSimulatorImpl::CalculateLookAhead(void) +NullMessageSimulatorImpl::CalculateLookAhead() { NS_LOG_FUNCTION(this); @@ -227,7 +227,7 @@ NullMessageSimulatorImpl::SetScheduler(ObjectFactory schedulerFactory) } void -NullMessageSimulatorImpl::ProcessOneEvent(void) +NullMessageSimulatorImpl::ProcessOneEvent() { NS_LOG_FUNCTION(this); @@ -248,13 +248,13 @@ NullMessageSimulatorImpl::ProcessOneEvent(void) } bool -NullMessageSimulatorImpl::IsFinished(void) const +NullMessageSimulatorImpl::IsFinished() const { return m_events->IsEmpty() || m_stop; } Time -NullMessageSimulatorImpl::Next(void) const +NullMessageSimulatorImpl::Next() const { NS_LOG_FUNCTION(this); @@ -304,7 +304,7 @@ NullMessageSimulatorImpl::RescheduleNullMessageEvent(uint32_t nodeSysId) } void -NullMessageSimulatorImpl::Run(void) +NullMessageSimulatorImpl::Run() { NS_LOG_FUNCTION(this); @@ -332,7 +332,7 @@ NullMessageSimulatorImpl::Run(void) } void -NullMessageSimulatorImpl::HandleArrivingMessagesNonBlocking(void) +NullMessageSimulatorImpl::HandleArrivingMessagesNonBlocking() { NS_LOG_FUNCTION(this); @@ -345,7 +345,7 @@ NullMessageSimulatorImpl::HandleArrivingMessagesNonBlocking(void) } void -NullMessageSimulatorImpl::HandleArrivingMessagesBlocking(void) +NullMessageSimulatorImpl::HandleArrivingMessagesBlocking() { NS_LOG_FUNCTION(this); @@ -379,7 +379,7 @@ NullMessageSimulatorImpl::GetSystemId() const } void -NullMessageSimulatorImpl::Stop(void) +NullMessageSimulatorImpl::Stop() { NS_LOG_FUNCTION(this); @@ -456,7 +456,7 @@ NullMessageSimulatorImpl::ScheduleDestroy(EventImpl* event) } Time -NullMessageSimulatorImpl::Now(void) const +NullMessageSimulatorImpl::Now() const { return TimeStep(m_currentTs); } @@ -521,7 +521,7 @@ NullMessageSimulatorImpl::IsExpired(const EventId& id) const { if (id.GetUid() == EventId::UID::DESTROY) { - if (id.PeekEventImpl() == 0 || id.PeekEventImpl()->IsCancelled()) + if (id.PeekEventImpl() == nullptr || id.PeekEventImpl()->IsCancelled()) { return true; } @@ -536,7 +536,7 @@ NullMessageSimulatorImpl::IsExpired(const EventId& id) const } return true; } - if (id.PeekEventImpl() == 0 || id.GetTs() < m_currentTs || + if (id.PeekEventImpl() == nullptr || id.GetTs() < m_currentTs || (id.GetTs() == m_currentTs && id.GetUid() <= m_currentUid) || id.PeekEventImpl()->IsCancelled()) { @@ -549,7 +549,7 @@ NullMessageSimulatorImpl::IsExpired(const EventId& id) const } Time -NullMessageSimulatorImpl::GetMaximumSimulationTime(void) const +NullMessageSimulatorImpl::GetMaximumSimulationTime() const { // XXX: I am fairly certain other compilers use other non-standard // post-fixes to indicate 64 bit constants. @@ -557,13 +557,13 @@ NullMessageSimulatorImpl::GetMaximumSimulationTime(void) const } uint32_t -NullMessageSimulatorImpl::GetContext(void) const +NullMessageSimulatorImpl::GetContext() const { return m_currentContext; } uint64_t -NullMessageSimulatorImpl::GetEventCount(void) const +NullMessageSimulatorImpl::GetEventCount() const { return m_eventCount; } @@ -589,9 +589,9 @@ NullMessageSimulatorImpl::NullMessageEventHandler(RemoteChannelBundle* bundle) } NullMessageSimulatorImpl* -NullMessageSimulatorImpl::GetInstance(void) +NullMessageSimulatorImpl::GetInstance() { - NS_ASSERT(g_instance != 0); + NS_ASSERT(g_instance != nullptr); return g_instance; } } // namespace ns3 diff --git a/src/mpi/model/null-message-simulator-impl.h b/src/mpi/model/null-message-simulator-impl.h index b17b12b87..e4c38c336 100644 --- a/src/mpi/model/null-message-simulator-impl.h +++ b/src/mpi/model/null-message-simulator-impl.h @@ -54,42 +54,42 @@ class NullMessageSimulatorImpl : public SimulatorImpl * Register this type. * \return The object TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); /** Default constructor. */ NullMessageSimulatorImpl(); /** Destructor. */ - ~NullMessageSimulatorImpl(); + ~NullMessageSimulatorImpl() override; // virtual from SimulatorImpl - virtual void Destroy(); - virtual bool IsFinished(void) const; - virtual void Stop(void); - virtual void Stop(const Time& delay); - virtual EventId Schedule(const Time& delay, EventImpl* event); - virtual void ScheduleWithContext(uint32_t context, const Time& delay, EventImpl* event); - virtual EventId ScheduleNow(EventImpl* event); - virtual EventId ScheduleDestroy(EventImpl* event); - virtual void Remove(const EventId& id); - virtual void Cancel(const EventId& id); - virtual bool IsExpired(const EventId& id) const; - virtual void Run(void); + void Destroy() override; + bool IsFinished() const override; + void Stop() override; + void Stop(const Time& delay) override; + EventId Schedule(const Time& delay, EventImpl* event) override; + void ScheduleWithContext(uint32_t context, const Time& delay, EventImpl* event) override; + EventId ScheduleNow(EventImpl* event) override; + EventId ScheduleDestroy(EventImpl* event) override; + void Remove(const EventId& id) override; + void Cancel(const EventId& id) override; + bool IsExpired(const EventId& id) const override; + void Run() override; - virtual Time Now(void) const; - virtual Time GetDelayLeft(const EventId& id) const; - virtual Time GetMaximumSimulationTime(void) const; - virtual void SetScheduler(ObjectFactory schedulerFactory); - virtual uint32_t GetSystemId(void) const; - virtual uint32_t GetContext(void) const; - virtual uint64_t GetEventCount(void) const; + Time Now() const override; + Time GetDelayLeft(const EventId& id) const override; + Time GetMaximumSimulationTime() const override; + void SetScheduler(ObjectFactory schedulerFactory) override; + uint32_t GetSystemId() const override; + uint32_t GetContext() const override; + uint64_t GetEventCount() const override; /** * \return singleton instance * * Singleton accessor. */ - static NullMessageSimulatorImpl* GetInstance(void); + static NullMessageSimulatorImpl* GetInstance(); private: friend class NullMessageEvent; @@ -99,35 +99,35 @@ class NullMessageSimulatorImpl : public SimulatorImpl /** * Non blocking receive of pending messages. */ - void HandleArrivingMessagesNonBlocking(void); + void HandleArrivingMessagesNonBlocking(); /** * Blocking receive of arriving messages. */ - void HandleArrivingMessagesBlocking(void); + void HandleArrivingMessagesBlocking(); - virtual void DoDispose(void); + void DoDispose() override; /** * Calculate the lookahead allowable for this MPI task. Basically * the minimum latency on links to neighbor MPI tasks. */ - void CalculateLookAhead(void); + void CalculateLookAhead(); /** * Process the next event on the queue. */ - void ProcessOneEvent(void); + void ProcessOneEvent(); /** * \return next local event time. */ - Time Next(void) const; + Time Next() const; /** * Calculate the SafeTime. Should be called after message receives. */ - void CalculateSafeTime(void); + void CalculateSafeTime(); /** * Get the current SafeTime; the maximum time that events can @@ -135,7 +135,7 @@ class NullMessageSimulatorImpl : public SimulatorImpl * MPI tasks. * \return the current SafeTime */ - Time GetSafeTime(void); + Time GetSafeTime(); /** * \param bundle Bundle to schedule Null Message event for diff --git a/src/mpi/model/remote-channel-bundle-manager.cc b/src/mpi/model/remote-channel-bundle-manager.cc index 3dfcc046d..c7d094716 100644 --- a/src/mpi/model/remote-channel-bundle-manager.cc +++ b/src/mpi/model/remote-channel-bundle-manager.cc @@ -46,7 +46,7 @@ RemoteChannelBundleManager::Find(uint32_t systemId) if (kv == g_remoteChannelBundles.end()) { - return 0; + return nullptr; } else { @@ -68,13 +68,13 @@ RemoteChannelBundleManager::Add(uint32_t systemId) } std::size_t -RemoteChannelBundleManager::Size(void) +RemoteChannelBundleManager::Size() { return g_remoteChannelBundles.size(); } void -RemoteChannelBundleManager::InitializeNullMessageEvents(void) +RemoteChannelBundleManager::InitializeNullMessageEvents() { NS_ASSERT(!g_initialized); @@ -92,7 +92,7 @@ RemoteChannelBundleManager::InitializeNullMessageEvents(void) } Time -RemoteChannelBundleManager::GetSafeTime(void) +RemoteChannelBundleManager::GetSafeTime() { NS_ASSERT(g_initialized); @@ -109,7 +109,7 @@ RemoteChannelBundleManager::GetSafeTime(void) } void -RemoteChannelBundleManager::Destroy(void) +RemoteChannelBundleManager::Destroy() { NS_ASSERT(g_initialized); diff --git a/src/mpi/model/remote-channel-bundle-manager.h b/src/mpi/model/remote-channel-bundle-manager.h index e0ed85666..0c86a9af2 100644 --- a/src/mpi/model/remote-channel-bundle-manager.h +++ b/src/mpi/model/remote-channel-bundle-manager.h @@ -69,22 +69,22 @@ class RemoteChannelBundleManager * Get the number of ns-3 channels in this bundle * \return The number of channels. */ - static std::size_t Size(void); + static std::size_t Size(); /** * Setup initial Null Message events for every RemoteChannelBundle. * All RemoteChannelBundles should be added before this method is invoked. */ - static void InitializeNullMessageEvents(void); + static void InitializeNullMessageEvents(); /** * Get the safe time across all channels in this bundle. * \return The safe time. */ - static Time GetSafeTime(void); + static Time GetSafeTime(); /** Destroy the singleton. */ - static void Destroy(void); + static void Destroy(); private: /** diff --git a/src/mpi/model/remote-channel-bundle.cc b/src/mpi/model/remote-channel-bundle.cc index 0a3698724..c6612640f 100644 --- a/src/mpi/model/remote-channel-bundle.cc +++ b/src/mpi/model/remote-channel-bundle.cc @@ -35,7 +35,7 @@ namespace ns3 { TypeId -RemoteChannelBundle::GetTypeId(void) +RemoteChannelBundle::GetTypeId() { static TypeId tid = TypeId("ns3::RemoteChannelBundle") .SetParent() @@ -72,7 +72,7 @@ RemoteChannelBundle::GetSystemId() const } Time -RemoteChannelBundle::GetGuaranteeTime(void) const +RemoteChannelBundle::GetGuaranteeTime() const { return m_guaranteeTime; } @@ -86,7 +86,7 @@ RemoteChannelBundle::SetGuaranteeTime(Time time) } Time -RemoteChannelBundle::GetDelay(void) const +RemoteChannelBundle::GetDelay() const { return m_delay; } @@ -98,13 +98,13 @@ RemoteChannelBundle::SetEventId(EventId id) } EventId -RemoteChannelBundle::GetEventId(void) const +RemoteChannelBundle::GetEventId() const { return m_nullEventId; } std::size_t -RemoteChannelBundle::GetSize(void) const +RemoteChannelBundle::GetSize() const { return m_channels.size(); } @@ -122,7 +122,7 @@ operator<<(std::ostream& out, ns3::RemoteChannelBundle& bundle) << ", GuaranteeTime = " << bundle.m_guaranteeTime << ", Delay = " << bundle.m_delay << std::endl; - for (auto element : bundle.m_channels) + for (const auto& element : bundle.m_channels) { out << "\t" << element.second << std::endl; } diff --git a/src/mpi/model/remote-channel-bundle.h b/src/mpi/model/remote-channel-bundle.h index e24d7f58d..27f18695e 100644 --- a/src/mpi/model/remote-channel-bundle.h +++ b/src/mpi/model/remote-channel-bundle.h @@ -55,7 +55,7 @@ class RemoteChannelBundle : public Object * Register this type. * \return The object TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); /** Default constructor. */ RemoteChannelBundle(); @@ -67,7 +67,7 @@ class RemoteChannelBundle : public Object RemoteChannelBundle(const uint32_t remoteSystemId); /** Destructor. */ - ~RemoteChannelBundle() + ~RemoteChannelBundle() override { } @@ -88,7 +88,7 @@ class RemoteChannelBundle : public Object * Get the current guarantee time for this bundle. * \return guarantee time */ - Time GetGuaranteeTime(void) const; + Time GetGuaranteeTime() const; /** * \param time The guarantee time. @@ -102,7 +102,7 @@ class RemoteChannelBundle : public Object * Get the minimum delay along any channel in this bundle * \return The minimum delay. */ - Time GetDelay(void) const; + Time GetDelay() const; /** * Set the event ID of the Null Message send event currently scheduled @@ -116,13 +116,13 @@ class RemoteChannelBundle : public Object * Get the event ID of the Null Message send event for this bundle * \return The null message event id. */ - EventId GetEventId(void) const; + EventId GetEventId() const; /** * Get the number of ns-3 channels in this bundle * \return The number of channels. */ - std::size_t GetSize(void) const; + std::size_t GetSize() const; /** * \param time The delay from now when the null message should be received. diff --git a/src/mpi/test/mpi-test-suite.cc b/src/mpi/test/mpi-test-suite.cc index 4efb29ad6..92ece7c0a 100644 --- a/src/mpi/test/mpi-test-suite.cc +++ b/src/mpi/test/mpi-test-suite.cc @@ -46,7 +46,9 @@ class MpiTestCase : public ExampleAsTestCase const std::string args = ""); /** Destructor */ - virtual ~MpiTestCase(void){}; + ~MpiTestCase() override + { + } /** * Produce the `--command-template` argument which will invoke @@ -54,7 +56,7 @@ class MpiTestCase : public ExampleAsTestCase * * \returns The `--command-template` string. */ - std::string GetCommandTemplate(void) const; + std::string GetCommandTemplate() const override; /** * Sort the output from parallel execution. @@ -62,7 +64,7 @@ class MpiTestCase : public ExampleAsTestCase * * \returns Sort command */ - std::string GetPostProcessingCommand(void) const; + std::string GetPostProcessingCommand() const override; private: /** The number of ranks. */ @@ -80,7 +82,7 @@ MpiTestCase::MpiTestCase(const std::string name, } std::string -MpiTestCase::GetCommandTemplate(void) const +MpiTestCase::GetCommandTemplate() const { std::stringstream ss; ss << "mpiexec -n " << m_ranks << " %s --test " << m_args; @@ -88,7 +90,7 @@ MpiTestCase::GetCommandTemplate(void) const } std::string -MpiTestCase::GetPostProcessingCommand(void) const +MpiTestCase::GetPostProcessingCommand() const { std::string command("| grep TEST | sort "); return command; diff --git a/src/network/model/address.h b/src/network/model/address.h index afe5b4dba..392c7de2d 100644 --- a/src/network/model/address.h +++ b/src/network/model/address.h @@ -48,7 +48,7 @@ namespace ns3 * - allocate a type id with Address::Register * - provide a method to convert his new address to an Address * instance. This method is typically a member method named ConvertTo: - * Address MyAddress::ConvertTo (void) const; + * Address MyAddress::ConvertTo () const; * - provide a method to convert an Address instance back to * an instance of his new address type. This method is typically * a static member method of his address class named ConvertFrom: @@ -62,13 +62,13 @@ namespace ns3 * class MyAddress * { * public: - * Address ConvertTo (void) const; - * static MyAddress ConvertFrom (void); + * Address ConvertTo () const; + * static MyAddress ConvertFrom (); * private: - * static uint8_t GetType (void); + * static uint8_t GetType (); * }; * - * Address MyAddress::ConvertTo (void) const + * Address MyAddress::ConvertTo () const * { * return Address (GetType (), m_buffer, 2); * } @@ -79,7 +79,7 @@ namespace ns3 * address.CopyTo (ad.m_buffer, 2); * return ad; * } - * uint8_t MyAddress::GetType (void) + * uint8_t MyAddress::GetType () * { * static uint8_t type = Address::Register (); * return type; diff --git a/src/network/model/buffer.h b/src/network/model/buffer.h index 1d666ce57..bf36bcbf1 100644 --- a/src/network/model/buffer.h +++ b/src/network/model/buffer.h @@ -426,7 +426,7 @@ class Buffer * read. * The data is read in network format and returned in host format. * - * \warning this is the slow version, please use ReadNtohU16 (void) + * \warning this is the slow version, please use ReadNtohU16 () */ uint16_t SlowReadNtohU16(); /** @@ -436,7 +436,7 @@ class Buffer * read. * The data is read in network format and returned in host format. * - * \warning this is the slow version, please use ReadNtohU32 (void) + * \warning this is the slow version, please use ReadNtohU32 () */ uint32_t SlowReadNtohU32(); /** diff --git a/src/network/model/tag-buffer.cc b/src/network/model/tag-buffer.cc index 22664ab90..03a7b39c8 100644 --- a/src/network/model/tag-buffer.cc +++ b/src/network/model/tag-buffer.cc @@ -58,7 +58,7 @@ TagBuffer::WriteU32(uint32_t data) } uint8_t -TagBuffer::ReadU8(void) +TagBuffer::ReadU8() { NS_LOG_FUNCTION(this); NS_ASSERT(m_current + 1 <= m_end); @@ -69,7 +69,7 @@ TagBuffer::ReadU8(void) } uint16_t -TagBuffer::ReadU16(void) +TagBuffer::ReadU16() { NS_LOG_FUNCTION(this); uint8_t byte0 = ReadU8(); @@ -81,7 +81,7 @@ TagBuffer::ReadU16(void) } uint32_t -TagBuffer::ReadU32(void) +TagBuffer::ReadU32() { NS_LOG_FUNCTION(this); uint8_t byte0 = ReadU8(); diff --git a/src/network/test/pcap-file-test-suite.cc b/src/network/test/pcap-file-test-suite.cc index ab5d7f8f1..c5a1684ba 100644 --- a/src/network/test/pcap-file-test-suite.cc +++ b/src/network/test/pcap-file-test-suite.cc @@ -336,9 +336,9 @@ public: virtual ~AppendModeCreateTestCase (); private: - virtual void DoSetup (void); - virtual void DoRun (void); - virtual void DoTeardown (void); + virtual void DoSetup (); + virtual void DoRun (); + virtual void DoTeardown (); std::string m_testFilename; }; @@ -353,7 +353,7 @@ AppendModeCreateTestCase::~AppendModeCreateTestCase () } void -AppendModeCreateTestCase::DoSetup (void) +AppendModeCreateTestCase::DoSetup () { std::stringstream filename; uint32_t n = rand (); @@ -362,7 +362,7 @@ AppendModeCreateTestCase::DoSetup (void) } void -AppendModeCreateTestCase::DoTeardown (void) +AppendModeCreateTestCase::DoTeardown () { if (remove (m_testFilename.c_str ())) { @@ -371,7 +371,7 @@ AppendModeCreateTestCase::DoTeardown (void) } void -AppendModeCreateTestCase::DoRun (void) +AppendModeCreateTestCase::DoRun () { PcapFile f; diff --git a/src/network/utils/queue.h b/src/network/utils/queue.h index 71606e983..a42a57ea9 100644 --- a/src/network/utils/queue.h +++ b/src/network/utils/queue.h @@ -197,20 +197,20 @@ class QueueBase : public Object // Hence, it is disabled by default and must be explicitly // enabled with this method which specifies the size // of the average window in time units. - void EnableRunningAverage (Time averageWindow); - void DisableRunningAverage (void); + void EnableRunningAverage(Time averageWindow); + void DisableRunningAverage(); // average - double GetQueueSizeAverage (void); - double GetReceivedBytesPerSecondAverage (void); - double GetReceivedPacketsPerSecondAverage (void); - double GetDroppedBytesPerSecondAverage (void); - double GetDroppedPacketsPerSecondAverage (void); + double GetQueueSizeAverage(); + double GetReceivedBytesPerSecondAverage(); + double GetReceivedPacketsPerSecondAverage(); + double GetDroppedBytesPerSecondAverage(); + double GetDroppedPacketsPerSecondAverage(); // variance - double GetQueueSizeVariance (void); - double GetReceivedBytesPerSecondVariance (void); - double GetReceivedPacketsPerSecondVariance (void); - double GetDroppedBytesPerSecondVariance (void); - double GetDroppedPacketsPerSecondVariance (void); + double GetQueueSizeVariance(); + double GetReceivedBytesPerSecondVariance(); + double GetReceivedPacketsPerSecondVariance(); + double GetDroppedBytesPerSecondVariance(); + double GetDroppedPacketsPerSecondVariance(); #endif protected: diff --git a/src/nix-vector-routing/model/nix-vector-routing.cc b/src/nix-vector-routing/model/nix-vector-routing.cc index ade0e3ea3..f2ac640ea 100644 --- a/src/nix-vector-routing/model/nix-vector-routing.cc +++ b/src/nix-vector-routing/model/nix-vector-routing.cc @@ -1441,8 +1441,8 @@ NixVectorRouting::CheckCacheStateAndFlush() const /* Public template function declarations */ template void NixVectorRouting::SetNode(Ptr node); template void NixVectorRouting::SetNode(Ptr node); -template void NixVectorRouting::FlushGlobalNixRoutingCache(void) const; -template void NixVectorRouting::FlushGlobalNixRoutingCache(void) const; +template void NixVectorRouting::FlushGlobalNixRoutingCache() const; +template void NixVectorRouting::FlushGlobalNixRoutingCache() const; template void NixVectorRouting::PrintRoutingPath( Ptr source, IpAddress dest, diff --git a/src/openflow/examples/openflow-switch.cc b/src/openflow/examples/openflow-switch.cc index a416f4d70..8a52359d7 100644 --- a/src/openflow/examples/openflow-switch.cc +++ b/src/openflow/examples/openflow-switch.cc @@ -148,7 +148,9 @@ main(int argc, char* argv[]) { Ptr controller = CreateObject(); if (!timeout.IsZero()) + { controller->SetAttribute("ExpirationTime", TimeValue(timeout)); + } swtch.Install(switchNode, switchDevices, controller); } @@ -220,4 +222,6 @@ main(int argc, char* argv[]) #else NS_LOG_INFO("NS-3 OpenFlow is not enabled. Cannot run simulation."); #endif // NS3_OPENFLOW + + return 0; } diff --git a/src/openflow/model/openflow-interface.cc b/src/openflow/model/openflow-interface.cc index 599a6faf7..340489386 100644 --- a/src/openflow/model/openflow-interface.cc +++ b/src/openflow/model/openflow-interface.cc @@ -673,7 +673,7 @@ EricssonAction::Execute(er_action_type type, /* static */ TypeId -Controller::GetTypeId(void) +Controller::GetTypeId() { static TypeId tid = TypeId("ns3::ofi::Controller") .SetParent() @@ -786,7 +786,7 @@ Controller::StartDump(StatsDumpCallback* cb) /* static */ TypeId -DropController::GetTypeId(void) +DropController::GetTypeId() { static TypeId tid = TypeId("ns3::ofi::DropController") .SetParent() @@ -826,7 +826,7 @@ DropController::ReceiveFromSwitch(Ptr swtch, ofpbuf* bu } TypeId -LearningController::GetTypeId(void) +LearningController::GetTypeId() { static TypeId tid = TypeId("ns3::ofi::LearningController") diff --git a/src/openflow/model/openflow-interface.h b/src/openflow/model/openflow-interface.h index 4f7e630fa..7e1df3634 100644 --- a/src/openflow/model/openflow-interface.h +++ b/src/openflow/model/openflow-interface.h @@ -397,7 +397,7 @@ class Controller : public Object * Register this type. * \return The TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); /** Destructor. */ virtual ~Controller(); @@ -497,7 +497,7 @@ class DropController : public Controller * Register this type. * \return The TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); void ReceiveFromSwitch(Ptr swtch, ofpbuf* buffer); }; @@ -517,7 +517,7 @@ class LearningController : public Controller * Register this type. * \return The TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); virtual ~LearningController() { diff --git a/src/openflow/model/openflow-switch-net-device.cc b/src/openflow/model/openflow-switch-net-device.cc index fecf86536..8283eccec 100644 --- a/src/openflow/model/openflow-switch-net-device.cc +++ b/src/openflow/model/openflow-switch-net-device.cc @@ -61,7 +61,7 @@ GenerateId() } TypeId -OpenFlowSwitchNetDevice::GetTypeId(void) +OpenFlowSwitchNetDevice::GetTypeId() { static TypeId tid = TypeId("ns3::OpenFlowSwitchNetDevice") @@ -214,14 +214,14 @@ OpenFlowSwitchNetDevice::SetIfIndex(const uint32_t index) } uint32_t -OpenFlowSwitchNetDevice::GetIfIndex(void) const +OpenFlowSwitchNetDevice::GetIfIndex() const { NS_LOG_FUNCTION_NOARGS(); return m_ifIndex; } Ptr -OpenFlowSwitchNetDevice::GetChannel(void) const +OpenFlowSwitchNetDevice::GetChannel() const { NS_LOG_FUNCTION_NOARGS(); return m_channel; @@ -235,7 +235,7 @@ OpenFlowSwitchNetDevice::SetAddress(Address address) } Address -OpenFlowSwitchNetDevice::GetAddress(void) const +OpenFlowSwitchNetDevice::GetAddress() const { NS_LOG_FUNCTION_NOARGS(); return m_address; @@ -250,14 +250,14 @@ OpenFlowSwitchNetDevice::SetMtu(const uint16_t mtu) } uint16_t -OpenFlowSwitchNetDevice::GetMtu(void) const +OpenFlowSwitchNetDevice::GetMtu() const { NS_LOG_FUNCTION_NOARGS(); return m_mtu; } bool -OpenFlowSwitchNetDevice::IsLinkUp(void) const +OpenFlowSwitchNetDevice::IsLinkUp() const { NS_LOG_FUNCTION_NOARGS(); return true; @@ -269,21 +269,21 @@ OpenFlowSwitchNetDevice::AddLinkChangeCallback(Callback callback) } bool -OpenFlowSwitchNetDevice::IsBroadcast(void) const +OpenFlowSwitchNetDevice::IsBroadcast() const { NS_LOG_FUNCTION_NOARGS(); return true; } Address -OpenFlowSwitchNetDevice::GetBroadcast(void) const +OpenFlowSwitchNetDevice::GetBroadcast() const { NS_LOG_FUNCTION_NOARGS(); return Mac48Address("ff:ff:ff:ff:ff:ff"); } bool -OpenFlowSwitchNetDevice::IsMulticast(void) const +OpenFlowSwitchNetDevice::IsMulticast() const { NS_LOG_FUNCTION_NOARGS(); return true; @@ -298,14 +298,14 @@ OpenFlowSwitchNetDevice::GetMulticast(Ipv4Address multicastGroup) const } bool -OpenFlowSwitchNetDevice::IsPointToPoint(void) const +OpenFlowSwitchNetDevice::IsPointToPoint() const { NS_LOG_FUNCTION_NOARGS(); return false; } bool -OpenFlowSwitchNetDevice::IsBridge(void) const +OpenFlowSwitchNetDevice::IsBridge() const { NS_LOG_FUNCTION_NOARGS(); return true; @@ -360,7 +360,7 @@ OpenFlowSwitchNetDevice::SendFrom(Ptr packet, } Ptr -OpenFlowSwitchNetDevice::GetNode(void) const +OpenFlowSwitchNetDevice::GetNode() const { NS_LOG_FUNCTION_NOARGS(); return m_node; @@ -374,7 +374,7 @@ OpenFlowSwitchNetDevice::SetNode(Ptr node) } bool -OpenFlowSwitchNetDevice::NeedsArp(void) const +OpenFlowSwitchNetDevice::NeedsArp() const { NS_LOG_FUNCTION_NOARGS(); return true; @@ -1660,7 +1660,7 @@ OpenFlowSwitchNetDevice::GetChain() } uint32_t -OpenFlowSwitchNetDevice::GetNSwitchPorts(void) const +OpenFlowSwitchNetDevice::GetNSwitchPorts() const { NS_LOG_FUNCTION_NOARGS(); return m_ports.size(); diff --git a/src/openflow/model/openflow-switch-net-device.h b/src/openflow/model/openflow-switch-net-device.h index 911fd291a..f021748c7 100644 --- a/src/openflow/model/openflow-switch-net-device.h +++ b/src/openflow/model/openflow-switch-net-device.h @@ -94,7 +94,7 @@ class OpenFlowSwitchNetDevice : public NetDevice * Register this type. * \return The TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); /** * \name Descriptive Data @@ -212,7 +212,7 @@ class OpenFlowSwitchNetDevice : public NetDevice /** * \return Number of switch ports attached to this switch. */ - uint32_t GetNSwitchPorts(void) const; + uint32_t GetNSwitchPorts() const; /** * \param p The Port to get the index of. @@ -233,35 +233,35 @@ class OpenFlowSwitchNetDevice : public NetDevice // From NetDevice virtual void SetIfIndex(const uint32_t index); - virtual uint32_t GetIfIndex(void) const; - virtual Ptr GetChannel(void) const; + virtual uint32_t GetIfIndex() const; + virtual Ptr GetChannel() const; virtual void SetAddress(Address address); - virtual Address GetAddress(void) const; + virtual Address GetAddress() const; virtual bool SetMtu(const uint16_t mtu); - virtual uint16_t GetMtu(void) const; - virtual bool IsLinkUp(void) const; + virtual uint16_t GetMtu() const; + virtual bool IsLinkUp() const; virtual void AddLinkChangeCallback(Callback callback); - virtual bool IsBroadcast(void) const; - virtual Address GetBroadcast(void) const; - virtual bool IsMulticast(void) const; + virtual bool IsBroadcast() const; + virtual Address GetBroadcast() const; + virtual bool IsMulticast() const; virtual Address GetMulticast(Ipv4Address multicastGroup) const; - virtual bool IsPointToPoint(void) const; - virtual bool IsBridge(void) const; + virtual bool IsPointToPoint() const; + virtual bool IsBridge() const; virtual bool Send(Ptr packet, const Address& dest, uint16_t protocolNumber); virtual bool SendFrom(Ptr packet, const Address& source, const Address& dest, uint16_t protocolNumber); - virtual Ptr GetNode(void) const; + virtual Ptr GetNode() const; virtual void SetNode(Ptr node); - virtual bool NeedsArp(void) const; + virtual bool NeedsArp() const; virtual void SetReceiveCallback(NetDevice::ReceiveCallback cb); virtual void SetPromiscReceiveCallback(NetDevice::PromiscReceiveCallback cb); virtual bool SupportsSendFrom() const; virtual Address GetMulticast(Ipv6Address addr) const; protected: - virtual void DoDispose(void); + virtual void DoDispose(); /** * Called when a packet is received on one of the switch's ports. diff --git a/src/openflow/test/openflow-switch-test-suite.cc b/src/openflow/test/openflow-switch-test-suite.cc index b546df79c..88d6700b7 100644 --- a/src/openflow/test/openflow-switch-test-suite.cc +++ b/src/openflow/test/openflow-switch-test-suite.cc @@ -47,13 +47,13 @@ class SwitchFlowTableTestCase : public TestCase } private: - virtual void DoRun(void); + void DoRun() override; sw_chain* m_chain; //!< OpenFlow service function chain }; void -SwitchFlowTableTestCase::DoRun(void) +SwitchFlowTableTestCase::DoRun() { // Flow Table implementation is used by the OpenFlowSwitchNetDevice under the chain_ methods // we should test its implementation to verify the flow table works. @@ -66,7 +66,8 @@ SwitchFlowTableTestCase::DoRun(void) Mac48Address dl_src("00:00:00:00:00:00"), dl_dst("00:00:00:00:00:01"); Ipv4Address nw_src("192.168.1.1"), nw_dst("192.168.1.2"); - int tp_src = 5000, tp_dst = 80; + int tp_src = 5000; + int tp_dst = 80; // Create an sw_flow_key; in actual usage this is generated from the received packet's headers. sw_flow_key key; diff --git a/src/point-to-point/model/point-to-point-remote-channel.cc b/src/point-to-point/model/point-to-point-remote-channel.cc index a14efd296..5b2a741e6 100644 --- a/src/point-to-point/model/point-to-point-remote-channel.cc +++ b/src/point-to-point/model/point-to-point-remote-channel.cc @@ -36,7 +36,7 @@ NS_LOG_COMPONENT_DEFINE("PointToPointRemoteChannel"); NS_OBJECT_ENSURE_REGISTERED(PointToPointRemoteChannel); TypeId -PointToPointRemoteChannel::GetTypeId(void) +PointToPointRemoteChannel::GetTypeId() { static TypeId tid = TypeId("ns3::PointToPointRemoteChannel") .SetParent() diff --git a/src/point-to-point/model/point-to-point-remote-channel.h b/src/point-to-point/model/point-to-point-remote-channel.h index 3c1394e11..a6147e94b 100644 --- a/src/point-to-point/model/point-to-point-remote-channel.h +++ b/src/point-to-point/model/point-to-point-remote-channel.h @@ -46,7 +46,7 @@ class PointToPointRemoteChannel : public PointToPointChannel * * \return The TypeId for this class */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); /** * \brief Constructor @@ -56,7 +56,7 @@ class PointToPointRemoteChannel : public PointToPointChannel /** * \brief Deconstructor */ - ~PointToPointRemoteChannel(); + ~PointToPointRemoteChannel() override; /** * \brief Transmit the packet @@ -66,7 +66,7 @@ class PointToPointRemoteChannel : public PointToPointChannel * \param txTime Transmit time to apply * \returns true if successful (currently always true) */ - virtual bool TransmitStart(Ptr p, Ptr src, Time txTime); + bool TransmitStart(Ptr p, Ptr src, Time txTime) override; }; } // namespace ns3 diff --git a/src/stats/model/sqlite-data-output.cc b/src/stats/model/sqlite-data-output.cc index 773800776..2d36baee8 100644 --- a/src/stats/model/sqlite-data-output.cc +++ b/src/stats/model/sqlite-data-output.cc @@ -48,7 +48,7 @@ SqliteDataOutput::~SqliteDataOutput() /* static */ TypeId -SqliteDataOutput::GetTypeId(void) +SqliteDataOutput::GetTypeId() { static TypeId tid = TypeId("ns3::SqliteDataOutput") .SetParent() diff --git a/src/stats/model/sqlite-data-output.h b/src/stats/model/sqlite-data-output.h index 58b33a947..e0b32b3c7 100644 --- a/src/stats/model/sqlite-data-output.h +++ b/src/stats/model/sqlite-data-output.h @@ -48,7 +48,7 @@ class SqliteDataOutput : public DataOutputInterface * Register this type. * \return The TypeId. */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); virtual void Output(DataCollector& dc) override; diff --git a/src/visualizer/model/pyviz.cc b/src/visualizer/model/pyviz.cc index 64337af38..a586e5e66 100644 --- a/src/visualizer/model/pyviz.cc +++ b/src/visualizer/model/pyviz.cc @@ -61,19 +61,19 @@ PathSplit(std::string str) namespace ns3 { -static PyViz* g_visualizer = NULL; ///< the visualizer +static PyViz* g_visualizer = nullptr; ///< the visualizer /** * PyVizPacketTag structure */ struct PyVizPacketTag : public Tag { - static TypeId GetTypeId(void); - virtual TypeId GetInstanceTypeId(void) const; - virtual uint32_t GetSerializedSize(void) const; - virtual void Serialize(TagBuffer buf) const; - virtual void Deserialize(TagBuffer buf); - virtual void Print(std::ostream& os) const; + static TypeId GetTypeId(); + TypeId GetInstanceTypeId() const override; + uint32_t GetSerializedSize() const override; + void Serialize(TagBuffer buf) const override; + void Deserialize(TagBuffer buf) override; + void Print(std::ostream& os) const override; PyVizPacketTag(); uint32_t m_packetId; ///< packet id @@ -84,7 +84,7 @@ struct PyVizPacketTag : public Tag * \return the object TypeId */ TypeId -PyVizPacketTag::GetTypeId(void) +PyVizPacketTag::GetTypeId() { static TypeId tid = TypeId("ns3::PyVizPacketTag") .SetParent() @@ -94,13 +94,13 @@ PyVizPacketTag::GetTypeId(void) } TypeId -PyVizPacketTag::GetInstanceTypeId(void) const +PyVizPacketTag::GetInstanceTypeId() const { return GetTypeId(); } uint32_t -PyVizPacketTag::GetSerializedSize(void) const +PyVizPacketTag::GetSerializedSize() const { return 4; } @@ -131,7 +131,7 @@ PyVizPacketTag::PyVizPacketTag() PyViz::PyViz() { NS_LOG_FUNCTION_NOARGS(); - NS_ASSERT(g_visualizer == NULL); + NS_ASSERT(g_visualizer == nullptr); g_visualizer = this; // WiFi @@ -247,7 +247,7 @@ PyViz::~PyViz() NS_LOG_FUNCTION_NOARGS(); NS_ASSERT(g_visualizer == this); - g_visualizer = NULL; + g_visualizer = nullptr } void @@ -1085,24 +1085,40 @@ class FastClipping uint8_t lineCode = 0; if (line.end.y < m_clipMin.y) + { lineCode |= 8; + } else if (line.end.y > m_clipMax.y) + { lineCode |= 4; + } if (line.end.x > m_clipMax.x) + { lineCode |= 2; + } else if (line.end.x < m_clipMin.x) + { lineCode |= 1; + } if (line.start.y < m_clipMin.y) + { lineCode |= 128; + } else if (line.start.y > m_clipMax.y) + { lineCode |= 64; + } if (line.start.x > m_clipMax.x) + { lineCode |= 32; + } else if (line.start.x < m_clipMin.x) + { lineCode |= 16; + } // 9 - 8 - A // | | | @@ -1130,13 +1146,17 @@ class FastClipping case 0x05: ClipEndLeft(line); if (line.end.y > m_clipMax.y) + { ClipEndBottom(line); + } return true; case 0x06: ClipEndRight(line); if (line.end.y > m_clipMax.y) + { ClipEndBottom(line); + } return true; case 0x08: @@ -1146,13 +1166,17 @@ class FastClipping case 0x09: ClipEndLeft(line); if (line.end.y < m_clipMin.y) + { ClipEndTop(line); + } return true; case 0x0A: ClipEndRight(line); if (line.end.y < m_clipMin.y) + { ClipEndTop(line); + } return true; // left @@ -1168,33 +1192,45 @@ class FastClipping case 0x14: ClipStartLeft(line); if (line.start.y > m_clipMax.y) + { return false; + } ClipEndBottom(line); return true; case 0x16: ClipStartLeft(line); if (line.start.y > m_clipMax.y) + { return false; + } ClipEndBottom(line); if (line.end.x > m_clipMax.x) + { ClipEndRight(line); + } return true; case 0x18: ClipStartLeft(line); if (line.start.y < m_clipMin.y) + { return false; + } ClipEndTop(line); return true; case 0x1A: ClipStartLeft(line); if (line.start.y < m_clipMin.y) + { return false; + } ClipEndTop(line); if (line.end.x > m_clipMax.x) + { ClipEndRight(line); + } return true; // right @@ -1210,33 +1246,45 @@ class FastClipping case 0x24: ClipStartRight(line); if (line.start.y > m_clipMax.y) + { return false; + } ClipEndBottom(line); return true; case 0x25: ClipStartRight(line); if (line.start.y > m_clipMax.y) + { return false; + } ClipEndBottom(line); if (line.end.x < m_clipMin.x) + { ClipEndLeft(line); + } return true; case 0x28: ClipStartRight(line); if (line.start.y < m_clipMin.y) + { return false; + } ClipEndTop(line); return true; case 0x29: ClipStartRight(line); if (line.start.y < m_clipMin.y) + { return false; + } ClipEndTop(line); if (line.end.x < m_clipMin.x) + { ClipEndLeft(line); + } return true; // bottom @@ -1247,16 +1295,22 @@ class FastClipping case 0x41: ClipStartBottom(line); if (line.start.x < m_clipMin.x) + { return false; + } ClipEndLeft(line); if (line.end.y > m_clipMax.y) + { ClipEndBottom(line); + } return true; case 0x42: ClipStartBottom(line); if (line.start.x > m_clipMax.x) + { return false; + } ClipEndRight(line); return true; @@ -1268,95 +1322,139 @@ class FastClipping case 0x49: ClipStartBottom(line); if (line.start.x < m_clipMin.x) + { return false; + } ClipEndLeft(line); if (line.end.y < m_clipMin.y) + { ClipEndTop(line); + } return true; case 0x4A: ClipStartBottom(line); if (line.start.x > m_clipMax.x) + { return false; + } ClipEndRight(line); if (line.end.y < m_clipMin.y) + { ClipEndTop(line); + } return true; // bottom-left case 0x50: ClipStartLeft(line); if (line.start.y > m_clipMax.y) + { ClipStartBottom(line); + } return true; case 0x52: ClipEndRight(line); if (line.end.y > m_clipMax.y) + { return false; + } ClipStartBottom(line); if (line.start.x < m_clipMin.x) + { ClipStartLeft(line); + } return true; case 0x58: ClipEndTop(line); if (line.end.x < m_clipMin.x) + { return false; + } ClipStartBottom(line); if (line.start.x < m_clipMin.x) + { ClipStartLeft(line); + } return true; case 0x5A: ClipStartLeft(line); if (line.start.y < m_clipMin.y) + { return false; + } ClipEndRight(line); if (line.end.y > m_clipMax.y) + { return false; + } if (line.start.y > m_clipMax.y) + { ClipStartBottom(line); + } if (line.end.y < m_clipMin.y) + { ClipEndTop(line); + } return true; // bottom-right case 0x60: ClipStartRight(line); if (line.start.y > m_clipMax.y) + { ClipStartBottom(line); + } return true; case 0x61: ClipEndLeft(line); if (line.end.y > m_clipMax.y) + { return false; + } ClipStartBottom(line); if (line.start.x > m_clipMax.x) + { ClipStartRight(line); + } return true; case 0x68: ClipEndTop(line); if (line.end.x > m_clipMax.x) + { return false; + } ClipStartRight(line); if (line.start.y > m_clipMax.y) + { ClipStartBottom(line); + } return true; case 0x69: ClipEndLeft(line); if (line.end.y > m_clipMax.y) + { return false; + } ClipStartRight(line); if (line.start.y < m_clipMin.y) + { return false; + } if (line.end.y < m_clipMin.y) + { ClipEndTop(line); + } if (line.start.y > m_clipMax.y) + { ClipStartBottom(line); + } return true; // top @@ -1367,14 +1465,18 @@ class FastClipping case 0x81: ClipStartTop(line); if (line.start.x < m_clipMin.x) + { return false; + } ClipEndLeft(line); return true; case 0x82: ClipStartTop(line); if (line.start.x > m_clipMax.x) + { return false; + } ClipEndRight(line); return true; @@ -1386,95 +1488,139 @@ class FastClipping case 0x85: ClipStartTop(line); if (line.start.x < m_clipMin.x) + { return false; + } ClipEndLeft(line); if (line.end.y > m_clipMax.y) + { ClipEndBottom(line); + } return true; case 0x86: ClipStartTop(line); if (line.start.x > m_clipMax.x) + { return false; + } ClipEndRight(line); if (line.end.y > m_clipMax.y) + { ClipEndBottom(line); + } return true; // top-left case 0x90: ClipStartLeft(line); if (line.start.y < m_clipMin.y) + { ClipStartTop(line); + } return true; case 0x92: ClipEndRight(line); if (line.end.y < m_clipMin.y) + { return false; + } ClipStartTop(line); if (line.start.x < m_clipMin.x) + { ClipStartLeft(line); + } return true; case 0x94: ClipEndBottom(line); if (line.end.x < m_clipMin.x) + { return false; + } ClipStartLeft(line); if (line.start.y < m_clipMin.y) + { ClipStartTop(line); + } return true; case 0x96: ClipStartLeft(line); if (line.start.y > m_clipMax.y) + { return false; + } ClipEndRight(line); if (line.end.y < m_clipMin.y) + { return false; + } if (line.start.y < m_clipMin.y) + { ClipStartTop(line); + } if (line.end.y > m_clipMax.y) + { ClipEndBottom(line); + } return true; // top-right case 0xA0: ClipStartRight(line); if (line.start.y < m_clipMin.y) + { ClipStartTop(line); + } return true; case 0xA1: ClipEndLeft(line); if (line.end.y < m_clipMin.y) + { return false; + } ClipStartTop(line); if (line.start.x > m_clipMax.x) + { ClipStartRight(line); + } return true; case 0xA4: ClipEndBottom(line); if (line.end.x > m_clipMax.x) + { return false; + } ClipStartRight(line); if (line.start.y < m_clipMin.y) + { ClipStartTop(line); + } return true; case 0xA5: ClipEndLeft(line); if (line.end.y < m_clipMin.y) + { return false; + } ClipStartRight(line); if (line.start.y > m_clipMax.y) + { return false; + } if (line.end.y > m_clipMax.y) + { ClipEndBottom(line); + } if (line.start.y < m_clipMin.y) + { ClipStartTop(line); + } return true; } @@ -1493,7 +1639,8 @@ PyViz::LineClipping(double boundsX1, double& lineX2, double& lineY2) { - FastClipping::Vector2 clipMin = {boundsX1, boundsY1}, clipMax = {boundsX2, boundsY2}; + FastClipping::Vector2 clipMin = {boundsX1, boundsY1}; + FastClipping::Vector2 clipMax = {boundsX2, boundsY2}; FastClipping::Line line = {{lineX1, lineY1}, {lineX2, lineY2}, (lineX2 - lineX1), diff --git a/src/visualizer/model/visual-simulator-impl.cc b/src/visualizer/model/visual-simulator-impl.cc index b35816c84..6445c23f1 100644 --- a/src/visualizer/model/visual-simulator-impl.cc +++ b/src/visualizer/model/visual-simulator-impl.cc @@ -48,7 +48,7 @@ GetDefaultSimulatorImplFactory() } // namespace TypeId -VisualSimulatorImpl::GetTypeId(void) +VisualSimulatorImpl::GetTypeId() { static TypeId tid = TypeId("ns3::VisualSimulatorImpl") @@ -74,12 +74,12 @@ VisualSimulatorImpl::~VisualSimulatorImpl() } void -VisualSimulatorImpl::DoDispose(void) +VisualSimulatorImpl::DoDispose() { if (m_simulator) { m_simulator->Dispose(); - m_simulator = NULL; + m_simulator = nullptr; } SimulatorImpl::DoDispose(); } @@ -104,19 +104,19 @@ VisualSimulatorImpl::SetScheduler(ObjectFactory schedulerFactory) // System ID for non-distributed simulation is always zero uint32_t -VisualSimulatorImpl::GetSystemId(void) const +VisualSimulatorImpl::GetSystemId() const { return m_simulator->GetSystemId(); } bool -VisualSimulatorImpl::IsFinished(void) const +VisualSimulatorImpl::IsFinished() const { return m_simulator->IsFinished(); } void -VisualSimulatorImpl::Run(void) +VisualSimulatorImpl::Run() { if (!Py_IsInitialized()) { @@ -138,7 +138,7 @@ VisualSimulatorImpl::Run(void) } void -VisualSimulatorImpl::Stop(void) +VisualSimulatorImpl::Stop() { m_simulator->Stop(); } @@ -177,7 +177,7 @@ VisualSimulatorImpl::ScheduleDestroy(EventImpl* event) } Time -VisualSimulatorImpl::Now(void) const +VisualSimulatorImpl::Now() const { return m_simulator->Now(); } @@ -207,25 +207,25 @@ VisualSimulatorImpl::IsExpired(const EventId& id) const } Time -VisualSimulatorImpl::GetMaximumSimulationTime(void) const +VisualSimulatorImpl::GetMaximumSimulationTime() const { return m_simulator->GetMaximumSimulationTime(); } uint32_t -VisualSimulatorImpl::GetContext(void) const +VisualSimulatorImpl::GetContext() const { return m_simulator->GetContext(); } uint64_t -VisualSimulatorImpl::GetEventCount(void) const +VisualSimulatorImpl::GetEventCount() const { return m_simulator->GetEventCount(); } void -VisualSimulatorImpl::RunRealSimulator(void) +VisualSimulatorImpl::RunRealSimulator() { m_simulator->Run(); } diff --git a/src/visualizer/model/visual-simulator-impl.h b/src/visualizer/model/visual-simulator-impl.h index ab1bba197..43d592143 100644 --- a/src/visualizer/model/visual-simulator-impl.h +++ b/src/visualizer/model/visual-simulator-impl.h @@ -47,37 +47,38 @@ class VisualSimulatorImpl : public SimulatorImpl * \brief Get the type ID. * \return the object TypeId */ - static TypeId GetTypeId(void); + static TypeId GetTypeId(); VisualSimulatorImpl(); ~VisualSimulatorImpl(); - virtual void Destroy(); - virtual bool IsFinished(void) const; - virtual void Stop(void); - virtual void Stop(const Time& delay); - virtual EventId Schedule(const Time& delay, EventImpl* event); - virtual void ScheduleWithContext(uint32_t context, const Time& delay, EventImpl* event); - virtual EventId ScheduleNow(EventImpl* event); - virtual EventId ScheduleDestroy(EventImpl* event); - virtual void Remove(const EventId& id); - virtual void Cancel(const EventId& id); - virtual bool IsExpired(const EventId& id) const; - virtual void Run(void); - virtual Time Now(void) const; - virtual Time GetDelayLeft(const EventId& id) const; - virtual Time GetMaximumSimulationTime(void) const; - virtual void SetScheduler(ObjectFactory schedulerFactory); - virtual uint32_t GetSystemId(void) const; - virtual uint32_t GetContext(void) const; - virtual uint64_t GetEventCount(void) const; + // Inherited + void Destroy() override; + bool IsFinished() const override; + void Stop() override; + void Stop(const Time& delay) override; + EventId Schedule(const Time& delay, EventImpl* event) override; + void ScheduleWithContext(uint32_t context, const Time& delay, EventImpl* event) override; + EventId ScheduleNow(EventImpl* event) override; + EventId ScheduleDestroy(EventImpl* event) override; + void Remove(const EventId& id) override; + void Cancel(const EventId& id) override; + bool IsExpired(const EventId& id) const override; + void Run() override; + Time Now() const override; + Time GetDelayLeft(const EventId& id) const override; + Time GetMaximumSimulationTime() const override; + void SetScheduler(ObjectFactory schedulerFactory) override; + uint32_t GetSystemId() const override; + uint32_t GetContext() const override; + uint64_t GetEventCount() const override; /// calls Run() in the wrapped simulator - void RunRealSimulator(void); + void RunRealSimulator(); protected: void DoDispose(); - void NotifyConstructionCompleted(void); + void NotifyConstructionCompleted(); private: /** diff --git a/src/wifi/model/eht/eht-phy.cc b/src/wifi/model/eht/eht-phy.cc index 57eab3c09..77be185bb 100644 --- a/src/wifi/model/eht/eht-phy.cc +++ b/src/wifi/model/eht/eht-phy.cc @@ -222,7 +222,7 @@ EhtPhy::GetEhtMcs(uint8_t index) } #define GET_EHT_MCS(x) \ - WifiMode EhtPhy::GetEhtMcs##x(void) \ + WifiMode EhtPhy::GetEhtMcs##x() \ { \ static WifiMode mcs = CreateEhtMcs(x); \ return mcs; \ diff --git a/src/wifi/model/he/he-phy.cc b/src/wifi/model/he/he-phy.cc index 4500afe98..515f207b3 100644 --- a/src/wifi/model/he/he-phy.cc +++ b/src/wifi/model/he/he-phy.cc @@ -1469,7 +1469,7 @@ HePhy::GetHeMcs(uint8_t index) } #define GET_HE_MCS(x) \ - WifiMode HePhy::GetHeMcs##x(void) \ + WifiMode HePhy::GetHeMcs##x() \ { \ static WifiMode mcs = CreateHeMcs(x); \ return mcs; \ diff --git a/src/wifi/model/ht/ht-phy.cc b/src/wifi/model/ht/ht-phy.cc index dbbfdd8c4..50531b98f 100644 --- a/src/wifi/model/ht/ht-phy.cc +++ b/src/wifi/model/ht/ht-phy.cc @@ -536,7 +536,7 @@ HtPhy::GetHtMcs(uint8_t index) } #define GET_HT_MCS(x) \ - WifiMode HtPhy::GetHtMcs##x(void) \ + WifiMode HtPhy::GetHtMcs##x() \ { \ static WifiMode mcs = CreateHtMcs(x); \ return mcs; \ diff --git a/src/wifi/model/non-ht/dsss-phy.cc b/src/wifi/model/non-ht/dsss-phy.cc index 0093738b9..a58363dd5 100644 --- a/src/wifi/model/non-ht/dsss-phy.cc +++ b/src/wifi/model/non-ht/dsss-phy.cc @@ -309,7 +309,7 @@ DsssPhy::GetDsssRate(uint64_t rate) } #define GET_DSSS_MODE(x, m) \ - WifiMode DsssPhy::Get##x(void) \ + WifiMode DsssPhy::Get##x() \ { \ static WifiMode mode = CreateDsssMode(#x, WIFI_MOD_CLASS_##m); \ return mode; \ diff --git a/src/wifi/model/non-ht/erp-ofdm-phy.cc b/src/wifi/model/non-ht/erp-ofdm-phy.cc index 4badcc889..800a4d4a9 100644 --- a/src/wifi/model/non-ht/erp-ofdm-phy.cc +++ b/src/wifi/model/non-ht/erp-ofdm-phy.cc @@ -158,7 +158,7 @@ ErpOfdmPhy::GetErpOfdmRate(uint64_t rate) } #define GET_ERP_OFDM_MODE(x, f) \ - WifiMode ErpOfdmPhy::Get##x(void) \ + WifiMode ErpOfdmPhy::Get##x() \ { \ static WifiMode mode = CreateErpOfdmMode(#x, f); \ return mode; \ diff --git a/src/wifi/model/non-ht/ofdm-phy.cc b/src/wifi/model/non-ht/ofdm-phy.cc index ec6560d08..a041ab757 100644 --- a/src/wifi/model/non-ht/ofdm-phy.cc +++ b/src/wifi/model/non-ht/ofdm-phy.cc @@ -476,7 +476,7 @@ OfdmPhy::GetOfdmRate(uint64_t rate, uint16_t bw) } #define GET_OFDM_MODE(x, f) \ - WifiMode OfdmPhy::Get##x(void) \ + WifiMode OfdmPhy::Get##x() \ { \ static WifiMode mode = CreateOfdmMode(#x, f); \ return mode; \ diff --git a/src/wifi/model/txop.cc b/src/wifi/model/txop.cc index c3f1d67b9..f5546c3bd 100644 --- a/src/wifi/model/txop.cc +++ b/src/wifi/model/txop.cc @@ -61,7 +61,7 @@ Txop::GetTypeId() TypeId::ATTR_GET | TypeId::ATTR_SET, // do not set at construction time UintegerValue(15), MakeUintegerAccessor((void(Txop::*)(uint32_t)) & Txop::SetMinCw, - (uint32_t(Txop::*)(void) const) & Txop::GetMinCw), + (uint32_t(Txop::*)() const) & Txop::GetMinCw), MakeUintegerChecker()) .AddAttribute( "MinCws", @@ -77,7 +77,7 @@ Txop::GetTypeId() TypeId::ATTR_GET | TypeId::ATTR_SET, // do not set at construction time UintegerValue(1023), MakeUintegerAccessor((void(Txop::*)(uint32_t)) & Txop::SetMaxCw, - (uint32_t(Txop::*)(void) const) & Txop::GetMaxCw), + (uint32_t(Txop::*)() const) & Txop::GetMaxCw), MakeUintegerChecker()) .AddAttribute( "MaxCws", @@ -94,7 +94,7 @@ Txop::GetTypeId() TypeId::ATTR_GET | TypeId::ATTR_SET, // do not set at construction time UintegerValue(2), MakeUintegerAccessor((void(Txop::*)(uint8_t)) & Txop::SetAifsn, - (uint8_t(Txop::*)(void) const) & Txop::GetAifsn), + (uint8_t(Txop::*)() const) & Txop::GetAifsn), MakeUintegerChecker()) .AddAttribute( "Aifsns", @@ -110,7 +110,7 @@ Txop::GetTypeId() TypeId::ATTR_GET | TypeId::ATTR_SET, // do not set at construction time TimeValue(MilliSeconds(0)), MakeTimeAccessor((void(Txop::*)(Time)) & Txop::SetTxopLimit, - (Time(Txop::*)(void) const) & Txop::GetTxopLimit), + (Time(Txop::*)() const) & Txop::GetTxopLimit), MakeTimeChecker()) .AddAttribute( "TxopLimits", diff --git a/src/wifi/model/vht/vht-phy.cc b/src/wifi/model/vht/vht-phy.cc index 7d92be745..c00df82d8 100644 --- a/src/wifi/model/vht/vht-phy.cc +++ b/src/wifi/model/vht/vht-phy.cc @@ -367,7 +367,7 @@ VhtPhy::GetVhtMcs(uint8_t index) } #define GET_VHT_MCS(x) \ - WifiMode VhtPhy::GetVhtMcs##x(void) \ + WifiMode VhtPhy::GetVhtMcs##x() \ { \ static WifiMode mcs = CreateVhtMcs(x); \ return mcs; \ diff --git a/src/wifi/model/wifi-net-device.cc b/src/wifi/model/wifi-net-device.cc index a43a640c6..ba6a7b46a 100644 --- a/src/wifi/model/wifi-net-device.cc +++ b/src/wifi/model/wifi-net-device.cc @@ -64,7 +64,7 @@ WifiNetDevice::GetTypeId() .AddAttribute("Phy", "The PHY layer attached to this device.", PointerValue(), - MakePointerAccessor((Ptr(WifiNetDevice::*)(void) const) & + MakePointerAccessor((Ptr(WifiNetDevice::*)() const) & WifiNetDevice::GetPhy, &WifiNetDevice::SetPhy), MakePointerChecker()) @@ -84,7 +84,7 @@ WifiNetDevice::GetTypeId() "The station manager attached to this device.", PointerValue(), MakePointerAccessor(&WifiNetDevice::SetRemoteStationManager, - (Ptr(WifiNetDevice::*)(void) const) & + (Ptr(WifiNetDevice::*)() const) & WifiNetDevice::GetRemoteStationManager), MakePointerChecker()) .AddAttribute("RemoteStationManagers", diff --git a/src/wifi/model/wifi-phy.h b/src/wifi/model/wifi-phy.h index 923361134..dc8066a8b 100644 --- a/src/wifi/model/wifi-phy.h +++ b/src/wifi/model/wifi-phy.h @@ -341,7 +341,7 @@ class WifiPhy : public Object * \param modulation the modulation class * \return the list of supported (non-MCS) modes for the given modulation class. * - * \see GetModeList (void) + * \see GetModeList () */ std::list GetModeList(WifiModulationClass modulation) const; /** @@ -452,7 +452,7 @@ class WifiPhy : public Object /** * \return the number of supported MCSs. * - * \see GetMcsList (void) + * \see GetMcsList () */ uint16_t GetNMcs() const; /** @@ -471,7 +471,7 @@ class WifiPhy : public Object * \param modulation the modulation class * \return the list of supported MCSs for the given modulation class. * - * \see GetMcsList (void) + * \see GetMcsList () */ std::list GetMcsList(WifiModulationClass modulation) const; /** diff --git a/utils/print-introspected-doxygen.cc b/utils/print-introspected-doxygen.cc index add6ea4c6..45da82495 100644 --- a/utils/print-introspected-doxygen.cc +++ b/utils/print-introspected-doxygen.cc @@ -1250,7 +1250,7 @@ PrintAttributeValueWithName(std::ostream& os, if ((name == "EmptyAttribute") || (name == "ObjectPtrContainer")) { // Just default constructors. - os << "(void)\n"; + os << "()\n"; } else { @@ -1261,8 +1261,8 @@ PrintAttributeValueWithName(std::ostream& os, } os << commentStop; - // Value::Get (void) const - os << commentStart << functionStart << type << qualClass << "::Get (void) const\n" + // Value::Get () const + os << commentStart << functionStart << type << qualClass << "::Get () const\n" << returns << "The " << name << " value.\n" << commentStop; @@ -1350,9 +1350,9 @@ PrintMakeChecker(std::ostream& os, const std::string& name, const std::string& h os << commentStop; // \ingroup attribute_Value - // MakeChecker (void) + // MakeChecker () os << commentStart << sectAttr << functionStart << "ns3::Ptr " - << make << "(void)\n" + << make << "()\n" << returns << "The AttributeChecker.\n" << seeAlso << "AttributeChecker\n" << commentStop; From e1d1d1bc0034ffc3de48e897ee690f289706d06b Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sat, 15 Oct 2022 01:43:40 +0200 Subject: [PATCH 046/142] visualizer: fix missing semicolon --- src/visualizer/model/pyviz.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visualizer/model/pyviz.cc b/src/visualizer/model/pyviz.cc index a586e5e66..177faa62d 100644 --- a/src/visualizer/model/pyviz.cc +++ b/src/visualizer/model/pyviz.cc @@ -247,7 +247,7 @@ PyViz::~PyViz() NS_LOG_FUNCTION_NOARGS(); NS_ASSERT(g_visualizer == this); - g_visualizer = nullptr + g_visualizer = nullptr; } void From f0709d9799f77ff3c7eeb4a05e931f010cda29b8 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 15 Oct 2022 20:50:57 +0100 Subject: [PATCH 047/142] core: Fix breakpoint.cc --- src/core/model/breakpoint.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/model/breakpoint.cc b/src/core/model/breakpoint.cc index a10bf1c23..4ae8637fb 100644 --- a/src/core/model/breakpoint.cc +++ b/src/core/model/breakpoint.cc @@ -63,7 +63,7 @@ BreakpointFallback() */ if (a == nullptr) { - *a = nullptr; + *a = 0; } } From 050bf556e65878f86594793e1c26a90a7be06476 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 15 Oct 2022 21:00:36 +0100 Subject: [PATCH 048/142] utils: Fix check-style-clang-format.py formatting --- utils/check-style-clang-format.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index bdd57798f..1adeff0ad 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -245,7 +245,8 @@ def find_clang_format_path() -> str: clang_format_path = shutil.which('clang-format') if clang_format_path: - process = subprocess.run([clang_format_path, '--version'], + process = subprocess.run( + [clang_format_path, '--version'], capture_output=True, text=True, check=True, From ab47be98a2d4de255079e6c3f64a695ac2238c7d Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 15 Oct 2022 21:09:35 +0100 Subject: [PATCH 049/142] utils: Fix tabs checking --- utils/check-style-clang-format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index 1adeff0ad..c943b20e8 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -309,7 +309,7 @@ def check_style(path: str, print('') if enable_check_tabs: - check_whitespace_successful = check_tabs( + check_tabs_successful = check_tabs( files_to_check_tabs, fix, n_jobs) if check_formatting_successful and \ From c115a77dd7fabc44ade50733a2c0a8fd9e79620f Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 15 Oct 2022 20:59:34 +0100 Subject: [PATCH 050/142] utils: Add ".cmake" to the list of files to be checked by "check-style-clang-format.py" --- utils/check-style-clang-format.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index c943b20e8..9ad2e5ee5 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -71,6 +71,7 @@ FILE_EXTENSIONS_TO_CHECK_WHITESPACE = [ '.c', '.cc', '.click', + '.cmake', '.conf', '.css', '.dot', From 8ceacee338b8469ccd7bdcdc780b627f646d64ac Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 15 Oct 2022 21:10:52 +0100 Subject: [PATCH 051/142] Trim trailing whitespace in CHANGES.md, macros-and-definitions.cmake and lr-wpan.rst --- CHANGES.md | 4 ++-- build-support/macros-and-definitions.cmake | 4 ++-- src/lr-wpan/doc/lr-wpan.rst | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index e07d3d182..c141a8f5a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -49,8 +49,8 @@ Changes from ns-3.36 to ns-3.37 * Adds support for **LrWpanMac** devices association. * Pan Id compression is now possible in **LrWpanMac** when transmitting data frames. i.e. When src and dst pan ID are the same, only one PanId is used, making the MAC header 2 bytes smaller. See IEEE 802.15.4-2006 (7.5.6.1). * Add O2I Low/High Building Penetration Losses in 3GPP propagation loss model (`ThreeGppPropagationLossModel`) according to **3GPP TR 38.901 7.4.3.1**. Currently, UMa, UMi and RMa scenarios are supported. -* Replace **LrWpanMac** Tx Queue and Ind Tx Queue pointers for smart pointers. -* Add **LrWpanMac** packet traces and queue limits to Tx queue and Ind Tx queue. +* Replace **LrWpanMac** Tx Queue and Ind Tx Queue pointers for smart pointers. +* Add **LrWpanMac** packet traces and queue limits to Tx queue and Ind Tx queue. ### Changes to build system diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index feb87e2df..a32e3af9e 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -2020,12 +2020,12 @@ function(find_external_library) set(not_found_libraries) set(library_dirs) set(libraries) - + # Include parent directories in the search paths to handle Bake cases get_filename_component(parent_project_dir ${PROJECT_SOURCE_DIR} DIRECTORY) get_filename_component(grandparent_project_dir ${parent_project_dir} DIRECTORY) set(project_parent_dirs ${parent_project_dir} ${grandparent_project_dir}) - + # Paths and suffixes where libraries will be searched on set(library_search_paths diff --git a/src/lr-wpan/doc/lr-wpan.rst b/src/lr-wpan/doc/lr-wpan.rst index 5c312f0fc..8c92a2f5a 100644 --- a/src/lr-wpan/doc/lr-wpan.rst +++ b/src/lr-wpan/doc/lr-wpan.rst @@ -178,7 +178,7 @@ Bootstrap as whole depends on procedures that also take place on higher layers o MAC queues ++++++++++ -By default, ``Tx queue`` and ``Ind Tx queue`` (the pending transaction list) are not limited but they can configure to drop packets after they +By default, ``Tx queue`` and ``Ind Tx queue`` (the pending transaction list) are not limited but they can configure to drop packets after they reach a limit of elements (transaction overflow). Additionally, the ``Ind Tx queue`` drop packets when the packet has been longer than ``macTransactionPersistenceTime`` (transaction expiration). Expiration of packets in the Tx queue is not supported. Finally, packets in the ``Tx queue`` may be dropped due to excessive transmission retries or channel access failure. From 33ff238ccbae26886a75ae92f0856a9e753c3214 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Mon, 10 Oct 2022 12:23:45 +0000 Subject: [PATCH 052/142] doc, visualizer: Remove obsolete defines --- doc/manual/source/working-with-cmake.rst | 2 -- src/visualizer/model/visual-simulator-impl.cc | 1 - 2 files changed, 3 deletions(-) diff --git a/doc/manual/source/working-with-cmake.rst b/doc/manual/source/working-with-cmake.rst index 57fb63cd6..196336e45 100644 --- a/doc/manual/source/working-with-cmake.rst +++ b/doc/manual/source/working-with-cmake.rst @@ -2317,8 +2317,6 @@ values are being used. So we need to check the template. #cmakedefine01 HAVE_STDLIB_H #cmakedefine01 HAVE_GETENV #cmakedefine01 HAVE_SIGNAL_H - #cmakedefine HAVE_PTHREAD_H - #cmakedefine HAVE_RT /* * #cmakedefine turns into: diff --git a/src/visualizer/model/visual-simulator-impl.cc b/src/visualizer/model/visual-simulator-impl.cc index 6445c23f1..ab7e7f2cf 100644 --- a/src/visualizer/model/visual-simulator-impl.cc +++ b/src/visualizer/model/visual-simulator-impl.cc @@ -17,7 +17,6 @@ * Author: Gustavo Carneiro */ #include -#undef HAVE_PTHREAD_H #undef HAVE_SYS_STAT_H #include "visual-simulator-impl.h" From 85ade4e18d12dcffe4aef01d20bca97418be4d7c Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sun, 16 Oct 2022 14:49:21 +0100 Subject: [PATCH 053/142] Fix Doxygen comment formatting and typos --- src/aodv/model/aodv-packet.h | 5 +- src/aodv/model/aodv-routing-protocol.h | 26 ++-- src/aodv/model/aodv-rqueue.h | 4 +- src/aodv/model/aodv-rtable.h | 19 +-- src/brite/helper/brite-topology-helper.h | 12 +- src/buildings/model/mobility-building-info.h | 20 ++- .../random-walk-2d-outdoor-mobility-model.h | 13 +- src/click/model/ipv4-click-routing.h | 7 +- src/config-store/model/display-functions.h | 26 ++-- src/core/model/int64x64-128.h | 28 ++-- src/core/model/int64x64-cairo.h | 28 ++-- src/core/model/int64x64-double.h | 28 ++-- src/core/model/nstime.h | 42 +++--- src/core/model/random-variable-stream.h | 139 +++++++++++------ src/core/model/scheduler.h | 4 +- src/core/model/type-id.cc | 16 +- src/dsdv/model/dsdv-packet-queue.h | 4 +- src/dsr/model/dsr-maintain-buff.h | 4 +- src/dsr/model/dsr-passive-buff.h | 4 +- src/dsr/model/dsr-rcache.h | 29 ++-- src/dsr/model/dsr-routing.h | 43 ++++-- src/dsr/model/dsr-rreq-table.h | 12 +- src/energy/model/li-ion-energy-source.h | 10 +- .../helper/ipv6-interface-container.h | 7 +- src/internet/helper/neighbor-cache-helper.h | 18 ++- src/internet/model/arp-header.h | 10 +- src/internet/model/ipv6-extension.h | 3 +- src/internet/model/ipv6-routing-protocol.h | 6 +- src/lr-wpan/model/lr-wpan-csmaca.h | 10 +- src/lr-wpan/model/lr-wpan-fields.h | 35 +++-- src/lr-wpan/model/lr-wpan-mac-pl-headers.h | 8 +- src/lr-wpan/model/lr-wpan-mac.h | 141 +++++++++--------- src/lr-wpan/model/lr-wpan-phy.h | 96 ++++++------ src/lte/examples/lena-dual-stripe.cc | 4 +- src/lte/helper/cc-helper.h | 9 +- src/lte/helper/emu-epc-helper.h | 4 +- src/lte/helper/epc-helper.h | 4 +- src/lte/helper/lte-helper.h | 27 ++-- .../helper/lte-hex-grid-enb-topology-helper.h | 4 +- src/lte/helper/lte-stats-calculator.h | 4 +- src/lte/helper/mac-stats-calculator.h | 4 +- src/lte/helper/no-backhaul-epc-helper.h | 4 +- src/lte/helper/phy-rx-stats-calculator.h | 4 +- src/lte/helper/phy-stats-calculator.h | 4 +- src/lte/helper/phy-tx-stats-calculator.h | 4 +- src/lte/helper/point-to-point-epc-helper.h | 4 +- .../helper/radio-bearer-stats-calculator.h | 4 +- src/lte/helper/radio-environment-map-helper.h | 4 +- src/lte/model/epc-enb-application.h | 19 ++- src/lte/model/epc-enb-s1-sap.h | 32 ++-- src/lte/model/epc-s11-sap.h | 20 ++- src/lte/model/epc-s1ap-sap.h | 38 ++--- src/lte/model/epc-x2-sap.h | 7 +- src/lte/model/ff-mac-csched-sap.h | 8 +- src/lte/model/lte-amc.h | 12 +- src/lte/model/lte-as-sap.h | 8 - src/lte/model/lte-enb-cphy-sap.h | 19 ++- src/lte/model/lte-enb-phy-sap.h | 3 +- src/lte/model/lte-enb-rrc.h | 11 +- src/lte/model/lte-mi-error-model.h | 7 +- src/lte/model/lte-pdcp-sap.h | 4 +- src/lte/model/lte-rrc-sap.h | 5 +- src/lte/model/lte-ue-ccm-rrc-sap.h | 3 +- src/lte/model/lte-ue-cphy-sap.h | 10 +- src/lte/model/lte-ue-rrc.h | 19 ++- .../model/no-op-component-carrier-manager.h | 3 +- src/lte/test/lte-test-cell-selection.h | 8 +- src/lte/test/lte-test-radio-link-failure.h | 10 +- src/lte/test/test-epc-tft-classifier.cc | 5 +- src/lte/test/test-lte-rrc.cc | 18 ++- src/lte/test/test-lte-x2-handover-measures.cc | 11 +- src/mesh/model/dot11s/hwmp-rtable.h | 7 +- .../model/dot11s/peer-management-protocol.h | 16 +- src/mesh/model/mesh-point-device.h | 3 +- src/mesh/model/mesh-wifi-interface-mac.h | 52 ++++--- .../test/ns2-mobility-helper-test-suite.cc | 2 +- .../model/granted-time-window-mpi-interface.h | 4 +- src/mpi/model/mpi-receiver.h | 4 +- src/mpi/model/null-message-mpi-interface.h | 4 +- src/mpi/model/remote-channel-bundle.h | 12 +- src/network/model/packet-metadata.h | 81 +++++----- src/network/utils/flow-id-tag.h | 16 +- src/network/utils/ipv6-address.h | 5 +- src/network/utils/lollipop-counter.h | 6 +- src/network/utils/pcap-file.h | 17 ++- src/olsr/model/olsr-routing-protocol.cc | 3 +- src/olsr/model/olsr-routing-protocol.h | 19 +-- src/openflow/model/openflow-interface.h | 15 +- .../model/openflow-switch-net-device.h | 14 +- src/sixlowpan/model/sixlowpan-net-device.h | 34 +++-- src/spectrum/model/three-gpp-channel-model.h | 19 ++- .../model/wifi-spectrum-value-helper.h | 54 ++++--- src/traffic-control/model/queue-disc.h | 50 +++---- .../test/tbf-queue-disc-test-suite.cc | 8 +- src/visualizer/model/pyviz.h | 50 ++++--- src/wave/model/wave-net-device.h | 4 +- src/wifi/model/error-rate-model.h | 3 +- src/wifi/model/he/he-phy.h | 6 +- src/wifi/model/ht/ht-capabilities.h | 5 +- src/wifi/model/ht/ht-operation.h | 5 +- src/wifi/model/non-ht/dsss-phy.h | 3 +- src/wifi/model/phy-entity.h | 12 +- src/wifi/model/vht/vht-phy.h | 5 +- src/wifi/model/wifi-mac-queue.h | 5 +- src/wifi/model/wifi-mac.h | 5 +- src/wifi/model/wifi-phy.h | 31 ++-- src/wifi/model/wifi-psdu.h | 3 +- src/wifi/model/wifi-tx-vector.h | 4 +- src/wifi/test/wifi-phy-cca-test.cc | 10 +- src/wifi/test/wifi-phy-ofdma-test.cc | 28 ++-- src/wifi/test/wifi-phy-reception-test.cc | 6 +- src/wifi/test/wifi-test.cc | 8 +- src/wimax/helper/wimax-helper.h | 16 +- src/wimax/model/bs-link-manager.h | 5 +- src/wimax/model/cs-parameters.h | 3 +- src/wimax/model/mac-messages.h | 30 ++-- src/wimax/model/service-flow-record.h | 5 +- src/wimax/model/service-flow.h | 42 ++++-- .../model/snr-to-block-error-rate-manager.h | 6 +- src/wimax/model/ss-net-device.h | 2 +- src/wimax/model/wimax-connection.h | 5 +- src/wimax/model/wimax-phy.h | 13 +- 122 files changed, 1112 insertions(+), 878 deletions(-) diff --git a/src/aodv/model/aodv-packet.h b/src/aodv/model/aodv-packet.h index d7dcb0937..7c9ff69f1 100644 --- a/src/aodv/model/aodv-packet.h +++ b/src/aodv/model/aodv-packet.h @@ -625,8 +625,9 @@ class RerrHeader : public Header bool AddUnDestination(Ipv4Address dst, uint32_t seqNo); /** * \brief Delete pair (address + sequence number) from REER header, if the number of unreachable - * destinations > 0 \param un unreachable pair (address + sequence number) \return true on - * success + * destinations > 0 + * \param un unreachable pair (address + sequence number) + * \return true on success */ bool RemoveUnDestination(std::pair& un); /// Clear header diff --git a/src/aodv/model/aodv-routing-protocol.h b/src/aodv/model/aodv-routing-protocol.h index c13c7bf4a..0dc2efc1d 100644 --- a/src/aodv/model/aodv-routing-protocol.h +++ b/src/aodv/model/aodv-routing-protocol.h @@ -230,7 +230,7 @@ class RoutingProtocol : public Ipv4RoutingProtocol uint32_t m_netDiameter; ///< Net diameter measures the maximum possible number of hops between ///< two nodes in the network /** - * NodeTraversalTime is a conservative estimate of the average one hop traversal time for + * NodeTraversalTime is a conservative estimate of the average one hop traversal time for * packets and should include queuing delays, interrupt processing times and transfer times. */ Time m_nodeTraversalTime; @@ -328,9 +328,11 @@ class RoutingProtocol : public Ipv4RoutingProtocol void ScheduleRreqRetry(Ipv4Address dst); /** * Set lifetime field in routing table entry to the maximum of existing lifetime and lt, if the - * entry exists \param addr - destination address \param lt - proposed time for lifetime field - * in routing table entry for destination with address addr. \return true if route to - * destination address addr exist + * entry exists + * \param addr destination address + * \param lt proposed time for lifetime field in routing table entry for destination with + * address addr. + * \return true if route to destination address addr exist */ bool UpdateRouteLifeTime(Ipv4Address addr, Time lt); /** @@ -451,17 +453,19 @@ class RoutingProtocol : public Ipv4RoutingProtocol void SendRerrMessage(Ptr packet, std::vector precursors); /** * Send RERR message when no route to forward input packet. Unicast if there is reverse route to - * originating node, broadcast otherwise. \param dst - destination node IP address \param - * dstSeqNo - destination node sequence number \param origin - originating node IP address + * originating node, broadcast otherwise. + * \param dst destination node IP address + * \param dstSeqNo destination node sequence number + * \param origin originating node IP address */ void SendRerrWhenNoRouteToForward(Ipv4Address dst, uint32_t dstSeqNo, Ipv4Address origin); /// @} /** - * Send packet to destination scoket - * \param socket - destination node socket - * \param packet - packet to send - * \param destination - destination node IP address + * Send packet to destination socket + * \param socket destination node socket + * \param packet packet to send + * \param destination destination node IP address */ void SendTo(Ptr socket, Ptr packet, Ipv4Address destination); @@ -487,7 +491,7 @@ class RoutingProtocol : public Ipv4RoutingProtocol /** * Mark link to neighbor node as unidirectional for blacklistTimeout * - * \param neighbor the IP address of the neightbor node + * \param neighbor the IP address of the neighbor node * \param blacklistTimeout the black list timeout time */ void AckTimerExpire(Ipv4Address neighbor, Time blacklistTimeout); diff --git a/src/aodv/model/aodv-rqueue.h b/src/aodv/model/aodv-rqueue.h index 2df7774fb..41fb66793 100644 --- a/src/aodv/model/aodv-rqueue.h +++ b/src/aodv/model/aodv-rqueue.h @@ -210,7 +210,9 @@ class RequestQueue /** * Push entry in queue, if there is no entry with the same packet and destination address in - * queue. \param entry the queue entry \returns true if the entry is queued + * queue. + * \param entry the queue entry + * \returns true if the entry is queued */ bool Enqueue(QueueEntry& entry); /** diff --git a/src/aodv/model/aodv-rtable.h b/src/aodv/model/aodv-rtable.h index 8fea71521..ac65e21c8 100644 --- a/src/aodv/model/aodv-rtable.h +++ b/src/aodv/model/aodv-rtable.h @@ -500,12 +500,12 @@ class RoutingTable void GetListOfDestinationWithNextHop(Ipv4Address nextHop, std::map& unreachable); /** - * Update routing entries with this destination as follows: - * 1. The destination sequence number of this routing entry, if it - * exists and is valid, is incremented. - * 2. The entry is invalidated by marking the route entry as invalid - * 3. The Lifetime field is updated to current time plus DELETE_PERIOD. - * \param unreachable routes to invalidate + * Update routing entries with this destination as follows: + * 1. The destination sequence number of this routing entry, if it + * exists and is valid, is incremented. + * 2. The entry is invalidated by marking the route entry as invalid + * 3. The Lifetime field is updated to current time plus DELETE_PERIOD. + * \param unreachable routes to invalidate */ void InvalidateRoutesWithDst(const std::map& unreachable); /** @@ -523,9 +523,10 @@ class RoutingTable /// Delete all outdated entries and invalidate valid entry if Lifetime is expired void Purge(); /** Mark entry as unidirectional (e.g. add this neighbor to "blacklist" for blacklistTimeout - * period) \param neighbor - neighbor address link to which assumed to be unidirectional \param - * blacklistTimeout - time for which the neighboring node is put into the blacklist \return true - * on success + * period) + * \param neighbor neighbor address link to which assumed to be unidirectional + * \param blacklistTimeout time for which the neighboring node is put into the blacklist + * \return true on success */ bool MarkLinkAsUnidirectional(Ipv4Address neighbor, Time blacklistTimeout); /** diff --git a/src/brite/helper/brite-topology-helper.h b/src/brite/helper/brite-topology-helper.h index 3b3506a2d..05abc9d3d 100644 --- a/src/brite/helper/brite-topology-helper.h +++ b/src/brite/helper/brite-topology-helper.h @@ -88,14 +88,13 @@ class BriteTopologyHelper * generate brite seed file * * \param streamNumber the stream number to assign - * */ void AssignStreams(int64_t streamNumber); /** - * Create NS3 topology using information generated from BRITE. + * Create NS3 topology using information generated from BRITE. * - * \param stack Internet stack to assign to nodes in topology + * \param stack Internet stack to assign to nodes in topology */ void BuildBriteTopology(InternetStackHelper& stack); @@ -105,7 +104,6 @@ class BriteTopologyHelper * * \param stack Internet stack to assign to nodes in topology. * \param systemCount The number of MPI instances to be used in the simulation. - * */ void BuildBriteTopology(InternetStackHelper& stack, const uint32_t systemCount); @@ -114,7 +112,6 @@ class BriteTopologyHelper * * \param asNum the AS number * \returns the number of leaf nodes in the specified AS - * */ uint32_t GetNLeafNodesForAs(uint32_t asNum); @@ -141,7 +138,6 @@ class BriteTopologyHelper * \param asNum the AS number * \param nodeNum the Node number * \return the specified node - * */ Ptr GetNodeForAs(uint32_t asNum, uint32_t nodeNum); @@ -163,6 +159,8 @@ class BriteTopologyHelper uint32_t GetSystemNumberForAs(uint32_t asNum) const; /** + * Assign IPv4 addresses. + * * \param address an Ipv4AddressHelper which is used to install * IPv4 addresses on all the node interfaces in * the topology @@ -170,6 +168,8 @@ class BriteTopologyHelper void AssignIpv4Addresses(Ipv4AddressHelper& address); /** + * Assign IPv6 addresses. + * * \param address an Ipv6AddressHelper which is used to install * IPv6 addresses on all the node interfaces in * the topology diff --git a/src/buildings/model/mobility-building-info.h b/src/buildings/model/mobility-building-info.h index 651ce3271..ba71f33e9 100644 --- a/src/buildings/model/mobility-building-info.h +++ b/src/buildings/model/mobility-building-info.h @@ -70,20 +70,24 @@ class MobilityBuildingInfo : public Object * \brief Mark this MobilityBuildingInfo instance as indoor * * \param building the building into which the MobilityBuildingInfo instance is located - * \param nfloor the floor number 1...nFloors at which the MobilityBuildingInfo instance is - * located \param nroomx the X room number 1...nRoomsX at which the MobilityBuildingInfo - * instance is located \param nroomy the Y room number 1...nRoomsY at which the - * MobilityBuildingInfo instance is located + * \param nfloor the floor number 1...nFloors at which the MobilityBuildingInfo instance + * is located + * \param nroomx the X room number 1...nRoomsX at which the MobilityBuildingInfo instance + * is located + * \param nroomy the Y room number 1...nRoomsY at which the MobilityBuildingInfo instance + * is located */ void SetIndoor(Ptr building, uint8_t nfloor, uint8_t nroomx, uint8_t nroomy); /** * \brief Mark this MobilityBuildingInfo instance as indoor * - * \param nfloor the floor number 1...nFloors at which the MobilityBuildingInfo instance is - * located \param nroomx the X room number 1...nRoomsX at which the MobilityBuildingInfo - * instance is located \param nroomy the Y room number 1...nRoomsY at which the - * MobilityBuildingInfo instance is located + * \param nfloor the floor number 1...nFloors at which the MobilityBuildingInfo instance + * is located + * \param nroomx the X room number 1...nRoomsX at which the MobilityBuildingInfo instance + * is located + * \param nroomy the Y room number 1...nRoomsY at which the MobilityBuildingInfo instance + * is located */ void SetIndoor(uint8_t nfloor, uint8_t nroomx, uint8_t nroomy); diff --git a/src/buildings/model/random-walk-2d-outdoor-mobility-model.h b/src/buildings/model/random-walk-2d-outdoor-mobility-model.h index c2a41464b..327de64e3 100644 --- a/src/buildings/model/random-walk-2d-outdoor-mobility-model.h +++ b/src/buildings/model/random-walk-2d-outdoor-mobility-model.h @@ -94,16 +94,19 @@ class RandomWalk2dOutdoorMobilityModel : public MobilityModel /** * Check if there is a building between two positions (or if the nextPosition is inside a * building). The code is taken from MmWave3gppBuildingsPropagationLossModel from the NYU/UNIPD - * ns-3 mmWave module \param currentPosition The current position of the node \param - * nextPosition The position to check \return a pair with a boolean (true if the line between - * the two position does not intersect building), and a pointer which is 0 if the boolean is - * true, or it points to the building which is intersected + * ns-3 mmWave module + * \param currentPosition The current position of the node + * \param nextPosition The position to check + * \return a pair with a boolean (true if the line between the two position does not intersect + * building), and a pointer which is 0 if the boolean is true, or it points to the building + * which is intersected */ std::pair> IsLineClearOfBuildings(Vector currentPosition, Vector nextPosition) const; /** * Compute the intersecting point of the box represented by boundaries and the line between - * current and next Notice that we only consider a 2d plane \param current The current position + * current and next. Notice that we only consider a 2d plane. + * \param current The current position * \param next The next position * \param boundaries The boundaries of the building we will intersect * \return a vector with the position of the intersection diff --git a/src/click/model/ipv4-click-routing.h b/src/click/model/ipv4-click-routing.h index e6897e893..72217f4c7 100644 --- a/src/click/model/ipv4-click-routing.h +++ b/src/click/model/ipv4-click-routing.h @@ -137,9 +137,10 @@ class Ipv4ClickRouting : public Ipv4RoutingProtocol public: /** * \brief Allows the Click service methods, which reside outside Ipv4ClickRouting, to get the - * required Ipv4ClickRouting instances. \param simnode The Click simclick_node_t instance for - * which the Ipv4ClickRouting instance is required \return A Ptr to the required - * Ipv4ClickRouting instance + * required Ipv4ClickRouting instances. + * \param simnode The Click simclick_node_t instance for which the Ipv4ClickRouting instance is + * required + * \return A Ptr to the required Ipv4ClickRouting instance */ static Ptr GetClickInstanceFromSimNode(simclick_node_t* simnode); diff --git a/src/config-store/model/display-functions.h b/src/config-store/model/display-functions.h index 4d5becbde..1164cd8c9 100644 --- a/src/config-store/model/display-functions.h +++ b/src/config-store/model/display-functions.h @@ -57,10 +57,10 @@ void cell_data_function_col_0(GtkTreeViewColumn* col, /** * This is the callback called when the value of an attribute is changed * - * \param cell the changed cell - * \param path_string the path - * \param new_text the updated text in the cell - * \param user_data user data + * \param cell the changed cell + * \param path_string the path + * \param new_text the updated text in the cell + * \param user_data user data */ void cell_edited_callback(GtkCellRendererText* cell, gchar* path_string, @@ -107,7 +107,7 @@ void exit_clicked_callback(GtkButton* button, gpointer user_data); /** * Exit the application * \param widget a pointer to the widget - * \param event the event responsible for the aplication exit + * \param event the event responsible for the application exit * \param user_data user data * \returns true on clean exit */ @@ -125,7 +125,7 @@ gboolean clean_model_callback(GtkTreeModel* model, GtkTreeIter* iter, gpointer data); -// display functions used by default configurator +// display functions used by default configurator /** * This function writes data in the second column, this data is going to be editable @@ -187,14 +187,14 @@ void save_clicked_attribute(GtkButton* button, gpointer user_data); */ void load_clicked_attribute(GtkButton* button, gpointer user_data); /** - * This functions is called whenever there is a change in the value of an attribute - * If the input value is ok, it will be updated in the default value and in the - * GUI, otherwise, it won't be updated in both. + * This functions is called whenever there is a change in the value of an attribute + * If the input value is ok, it will be updated in the default value and in the + * GUI, otherwise, it won't be updated in both. * - * \param cell the changed cell - * \param path_string the path - * \param new_text the updated text in the cell - * \param user_data user data + * \param cell the changed cell + * \param path_string the path + * \param new_text the updated text in the cell + * \param user_data user data */ void cell_edited_callback_config_default(GtkCellRendererText* cell, gchar* path_string, diff --git a/src/core/model/int64x64-128.h b/src/core/model/int64x64-128.h index 53f790a67..3f50efc7d 100644 --- a/src/core/model/int64x64-128.h +++ b/src/core/model/int64x64-128.h @@ -339,10 +339,10 @@ class int64x64_t */ /** * @{ - * Arithmetic operator. - * \param [in] lhs Left hand argument - * \param [in] rhs Right hand argument - * \return The result of the operator. + * Arithmetic operator. + * \param [in] lhs Left hand argument + * \param [in] rhs Right hand argument + * \return The result of the operator. */ friend inline bool operator==(const int64x64_t& lhs, const int64x64_t& rhs) @@ -364,25 +364,25 @@ class int64x64_t { lhs._v += rhs._v; return lhs; - }; + } friend inline int64x64_t& operator-=(int64x64_t& lhs, const int64x64_t& rhs) { lhs._v -= rhs._v; return lhs; - }; + } friend inline int64x64_t& operator*=(int64x64_t& lhs, const int64x64_t& rhs) { lhs.Mul(rhs); return lhs; - }; + } friend inline int64x64_t& operator/=(int64x64_t& lhs, const int64x64_t& rhs) { lhs.Div(rhs); return lhs; - }; + } /**@}*/ @@ -392,24 +392,24 @@ class int64x64_t */ /** * @{ - * Unary operator. - * \param [in] lhs Left hand argument - * \return The result of the operator. + * Unary operator. + * \param [in] lhs Left hand argument + * \return The result of the operator. */ friend inline int64x64_t operator+(const int64x64_t& lhs) { return lhs; - }; + } friend inline int64x64_t operator-(const int64x64_t& lhs) { return int64x64_t(-lhs._v); - }; + } friend inline int64x64_t operator!(const int64x64_t& lhs) { return int64x64_t(!lhs._v); - }; + } /**@}*/ diff --git a/src/core/model/int64x64-cairo.h b/src/core/model/int64x64-cairo.h index bf2ed1a5a..3e1eee324 100644 --- a/src/core/model/int64x64-cairo.h +++ b/src/core/model/int64x64-cairo.h @@ -315,10 +315,10 @@ class int64x64_t */ /** * @{ - * Arithmetic operator. - * \param [in] lhs Left hand argument - * \param [in] rhs Right hand argument - * \return The result of the operator. + * Arithmetic operator. + * \param [in] lhs Left hand argument + * \param [in] rhs Right hand argument + * \return The result of the operator. */ friend inline bool operator==(const int64x64_t& lhs, const int64x64_t& rhs) @@ -340,25 +340,25 @@ class int64x64_t { lhs._v = _cairo_int128_add(lhs._v, rhs._v); return lhs; - }; + } friend inline int64x64_t& operator-=(int64x64_t& lhs, const int64x64_t& rhs) { lhs._v = _cairo_int128_sub(lhs._v, rhs._v); return lhs; - }; + } friend inline int64x64_t& operator*=(int64x64_t& lhs, const int64x64_t& rhs) { lhs.Mul(rhs); return lhs; - }; + } friend inline int64x64_t& operator/=(int64x64_t& lhs, const int64x64_t& rhs) { lhs.Div(rhs); return lhs; - }; + } /** @} */ @@ -368,26 +368,26 @@ class int64x64_t */ /** * @{ - * Unary operator. - * \param [in] lhs Left hand argument - * \return The result of the operator. + * Unary operator. + * \param [in] lhs Left hand argument + * \return The result of the operator. */ friend inline int64x64_t operator+(const int64x64_t& lhs) { return lhs; - }; + } friend inline int64x64_t operator-(const int64x64_t& lhs) { int64x64_t tmp = lhs; tmp._v = _cairo_int128_negate(tmp._v); return tmp; - }; + } friend inline int64x64_t operator!(const int64x64_t& lhs) { return (lhs == int64x64_t()) ? int64x64_t(1, 0) : int64x64_t(); - }; + } /** @} */ diff --git a/src/core/model/int64x64-double.h b/src/core/model/int64x64-double.h index 9b2a441ef..8eec8e1e2 100644 --- a/src/core/model/int64x64-double.h +++ b/src/core/model/int64x64-double.h @@ -316,10 +316,10 @@ class int64x64_t */ /* * @{ - * Arithmetic operator. - * \param [in] lhs Left hand argument - * \param [in] rhs Right hand argument - * \return The result of the operator. + * Arithmetic operator. + * \param [in] lhs Left hand argument + * \param [in] rhs Right hand argument + * \return The result of the operator. */ friend inline bool operator==(const int64x64_t& lhs, const int64x64_t& rhs) @@ -341,25 +341,25 @@ class int64x64_t { lhs._v += rhs._v; return lhs; - }; + } friend inline int64x64_t& operator-=(int64x64_t& lhs, const int64x64_t& rhs) { lhs._v -= rhs._v; return lhs; - }; + } friend inline int64x64_t& operator*=(int64x64_t& lhs, const int64x64_t& rhs) { lhs._v *= rhs._v; return lhs; - }; + } friend inline int64x64_t& operator/=(int64x64_t& lhs, const int64x64_t& rhs) { lhs._v /= rhs._v; return lhs; - }; + } /**@}*/ @@ -369,24 +369,24 @@ class int64x64_t */ /* * @{ - * Unary operator. - * \param [in] lhs Left hand argument - * \return The result of the operator. + * Unary operator. + * \param [in] lhs Left hand argument + * \return The result of the operator. */ friend inline int64x64_t operator+(const int64x64_t& lhs) { return lhs; - }; + } friend inline int64x64_t operator-(const int64x64_t& lhs) { return int64x64_t(-lhs._v); - }; + } friend inline int64x64_t operator!(const int64x64_t& lhs) { return int64x64_t(!lhs._v); - }; + } /**@}*/ diff --git a/src/core/model/nstime.h b/src/core/model/nstime.h index f2bf408a2..5708078b7 100644 --- a/src/core/model/nstime.h +++ b/src/core/model/nstime.h @@ -174,13 +174,13 @@ class Time /** * \name Numeric constructors - * Construct from a numeric value. + * Construct from a numeric value. * @{ */ /** - * Construct from a numeric value. - * The current time resolution will be assumed as the unit. - * \param [in] v The value. + * Construct from a numeric value. + * The current time resolution will be assumed as the unit. + * \param [in] v The value. */ explicit inline Time(double v) : m_data(llround(v)) @@ -472,10 +472,10 @@ class Time static enum Unit GetResolution(); /** - * Create a Time in the current unit. + * Create a Time in the current unit. * - * \param [in] value The value of the new Time. - * \return A Time with \pname{value} in the current time unit. + * \param [in] value The value of the new Time. + * \return A Time with \pname{value} in the current time unit. */ inline static Time From(const int64x64_t& value) { @@ -489,11 +489,11 @@ class Time * @{ */ /** - * Create a Time equal to \pname{value} in unit \c unit + * Create a Time equal to \pname{value} in unit \c unit * - * \param [in] value The new Time value, expressed in \c unit - * \param [in] unit The unit of \pname{value} - * \return The Time representing \pname{value} in \c unit + * \param [in] value The new Time value, expressed in \c unit + * \param [in] unit The unit of \pname{value} + * \return The Time representing \pname{value} in \c unit */ inline static Time FromInteger(uint64_t value, enum Unit unit) { @@ -540,10 +540,10 @@ class Time * @{ */ /** - * Get the Time value expressed in a particular unit. + * Get the Time value expressed in a particular unit. * - * \param [in] unit The desired unit - * \return The Time expressed in \pname{unit} + * \param [in] unit The desired unit + * \return The Time expressed in \pname{unit} */ inline int64_t ToInteger(enum Unit unit) const { @@ -636,7 +636,7 @@ class Time /** * Get the current Resolution * - * \return A pointer to the current Resolution + * \return A pointer to the current Resolution */ static inline struct Resolution* PeekResolution() { @@ -658,7 +658,7 @@ class Time /** * Set the default resolution * - * \return The Resolution object for the default resolution. + * \return The Resolution object for the default resolution. */ static struct Resolution& SetDefaultNsResolution(); /** @@ -1439,7 +1439,7 @@ MakeTimeChecker() * \ingroup attribute_time * Helper to make a Time checker with a lower bound. * - * \param [in] min Minimum allowed value. + * \param [in] min Minimum allowed value. * \return The AttributeChecker */ inline Ptr @@ -1472,10 +1472,10 @@ class TimeWithUnit Time::Unit m_unit; //!< The unit to use in output /** - * Output streamer - * \param [in,out] os The stream. - * \param [in] timeU The Time with desired unit - * \returns The stream. + * Output streamer + * \param [in,out] os The stream. + * \param [in] timeU The Time with desired unit + * \returns The stream. */ friend std::ostream& operator<<(std::ostream& os, const TimeWithUnit& timeU); diff --git a/src/core/model/random-variable-stream.h b/src/core/model/random-variable-stream.h index a7ea29eac..67967880a 100644 --- a/src/core/model/random-variable-stream.h +++ b/src/core/model/random-variable-stream.h @@ -651,9 +651,11 @@ class ParetoRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a Pareto distribution with the specified scale, shape, - * and upper bound. \param [in] scale Mean parameter for the Pareto distribution. \param [in] - * shape Shape parameter for the Pareto distribution. \param [in] bound Upper bound on values - * returned. \return A floating point random value. + * and upper bound. + * \param [in] scale Mean parameter for the Pareto distribution. + * \param [in] shape Shape parameter for the Pareto distribution. + * \param [in] bound Upper bound on values returned. + * \return A floating point random value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -678,9 +680,11 @@ class ParetoRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a Pareto distribution with the specified mean, - * shape, and upper bound. \param [in] scale Scale parameter for the Pareto distribution. \param - * [in] shape Shape parameter for the Pareto distribution. \param [in] bound Upper bound on - * values returned. \return A random unsigned integer value. + * shape, and upper bound. + * \param [in] scale Scale parameter for the Pareto distribution. + * \param [in] shape Shape parameter for the Pareto distribution. + * \param [in] bound Upper bound on values returned. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -705,7 +709,8 @@ class ParetoRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a Pareto distribution with the current mean, shape, and - * upper bound. \return A floating point random value. + * upper bound. + * \return A floating point random value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -739,7 +744,8 @@ class ParetoRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a Pareto distribution with the current mean, - * shape, and upper bound. \return A random unsigned integer value. + * shape, and upper bound. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -865,9 +871,11 @@ class WeibullRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a Weibull distribution with the specified scale, shape, - * and upper bound. \param [in] scale Scale parameter for the Weibull distribution. \param [in] - * shape Shape parameter for the Weibull distribution. \param [in] bound Upper bound on values - * returned. \return A floating point random value. + * and upper bound. + * \param [in] scale Scale parameter for the Weibull distribution. + * \param [in] shape Shape parameter for the Weibull distribution. + * \param [in] bound Upper bound on values returned. + * \return A floating point random value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -891,9 +899,11 @@ class WeibullRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a Weibull distribution with the specified - * scale, shape, and upper bound. \param [in] scale Scale parameter for the Weibull - * distribution. \param [in] shape Shape parameter for the Weibull distribution. \param [in] - * bound Upper bound on values returned. \return A random unsigned integer value. + * scale, shape, and upper bound. + * \param [in] scale Scale parameter for the Weibull distribution. + * \param [in] shape Shape parameter for the Weibull distribution. + * \param [in] bound Upper bound on values returned. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -917,7 +927,8 @@ class WeibullRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a Weibull distribution with the current scale, shape, and - * upper bound. \return A floating point random value. + * upper bound. + * \return A floating point random value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -946,7 +957,8 @@ class WeibullRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a Weibull distribution with the current scale, - * shape, and upper bound. \return A random unsigned integer value. + * shape, and upper bound. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -1051,8 +1063,10 @@ class NormalRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a normal distribution with the specified mean, variance, - * and bound. \param [in] mean Mean value for the normal distribution. \param [in] variance - * Variance value for the normal distribution. \param [in] bound Bound on values returned. + * and bound. + * \param [in] mean Mean value for the normal distribution. + * \param [in] variance Variance value for the normal distribution. + * \param [in] bound Bound on values returned. * \return A floating point random value. * * Note that antithetic values are being generated if m_isAntithetic @@ -1091,9 +1105,11 @@ class NormalRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a normal distribution with the specified mean, - * variance, and bound. \param [in] mean Mean value for the normal distribution. \param [in] - * variance Variance value for the normal distribution. \param [in] bound Bound on values - * returned. \return A random unsigned integer value. + * variance, and bound. + * \param [in] mean Mean value for the normal distribution. + * \param [in] variance Variance value for the normal distribution. + * \param [in] bound Bound on values returned. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u1\f$ and \f$u2\f$ are uniform variables @@ -1129,7 +1145,8 @@ class NormalRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a normal distribution with the current mean, variance, - * and bound. \return A floating point random value. + * and bound. + * \return A floating point random value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u1\f$ and \f$u2\f$ are uniform variables @@ -1170,7 +1187,8 @@ class NormalRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a normal distribution with the current mean, - * variance, and bound. \return A random unsigned integer value. + * variance, and bound. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u1\f$ and \f$u2\f$ are uniform variables @@ -1296,8 +1314,10 @@ class LogNormalRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a log-normal distribution with the specified mu and - * sigma. \param [in] mu Mu value for the log-normal distribution. \param [in] sigma Sigma value - * for the log-normal distribution. \return A floating point random value. + * sigma. + * \param [in] mu Mu value for the log-normal distribution. + * \param [in] sigma Sigma value for the log-normal distribution. + * \return A floating point random value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u1\f$ and \f$u2\f$ are uniform variables @@ -1331,8 +1351,10 @@ class LogNormalRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a log-normal distribution with the specified mu - * and sigma. \param [in] mu Mu value for the log-normal distribution. \param [in] sigma Sigma - * value for the log-normal distribution. \return A random unsigned integer value. + * and sigma. + * \param [in] mu Mu value for the log-normal distribution. + * \param [in] sigma Sigma value for the log-normal distribution. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u1\f$ and \f$u2\f$ are uniform variables @@ -1405,7 +1427,8 @@ class LogNormalRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a log-normal distribution with the current mu - * and sigma. \return A random unsigned integer value. + * and sigma. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u1\f$ and \f$u2\f$ are uniform variables @@ -1521,8 +1544,10 @@ class GammaRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a gamma distribution with the specified alpha - * and beta. \param [in] alpha Alpha value for the gamma distribution. \param [in] beta Beta - * value for the gamma distribution. \return A random unsigned integer value. + * and beta. + * \param [in] alpha Alpha value for the gamma distribution. + * \param [in] beta Beta value for the gamma distribution. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u\f$ is a uniform variable over [0,1] @@ -1553,7 +1578,8 @@ class GammaRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a gamma distribution with the current alpha and - * beta. \return A random unsigned integer value. + * beta. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u\f$ is a uniform variable over [0,1] @@ -1567,8 +1593,10 @@ class GammaRandomVariable : public RandomVariableStream private: /** * \brief Returns a random double from a normal distribution with the specified mean, variance, - * and bound. \param [in] mean Mean value for the normal distribution. \param [in] variance - * Variance value for the normal distribution. \param [in] bound Bound on values returned. + * and bound. + * \param [in] mean Mean value for the normal distribution. + * \param [in] variance Variance value for the normal distribution. + * \param [in] bound Bound on values returned. * \return A floating point random value. * * Note that antithetic values are being generated if m_isAntithetic @@ -1698,8 +1726,10 @@ class ErlangRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from an Erlang distribution with the specified k and - * lambda. \param [in] k K value for the Erlang distribution. \param [in] lambda Lambda value - * for the Erlang distribution. \return A random unsigned integer value. + * lambda. + * \param [in] k K value for the Erlang distribution. + * \param [in] lambda Lambda value for the Erlang distribution. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u\f$ is a uniform variable over [0,1] @@ -1730,7 +1760,8 @@ class ErlangRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from an Erlang distribution with the current k and - * lambda. \return A random unsigned integer value. + * lambda. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u\f$ is a uniform variable over [0,1] @@ -1744,8 +1775,10 @@ class ErlangRandomVariable : public RandomVariableStream private: /** * \brief Returns a random double from an exponential distribution with the specified mean and - * upper bound. \param [in] mean Mean value of the random variables. \param [in] bound Upper - * bound on values returned. \return A floating point random value. + * upper bound. + * \param [in] mean Mean value of the random variables. + * \param [in] bound Upper bound on values returned. + * \return A floating point random value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -1838,8 +1871,11 @@ class TriangularRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a triangular distribution with the specified mean, min, - * and max. \param [in] mean Mean value for the triangular distribution. \param [in] min Low end - * of the range. \param [in] max High end of the range. \return A floating point random value. + * and max. + * \param [in] mean Mean value for the triangular distribution. + * \param [in] min Low end of the range. + * \param [in] max High end of the range. + * \return A floating point random value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -1875,9 +1911,11 @@ class TriangularRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a triangular distribution with the specified - * mean, min, and max. \param [in] mean Mean value for the triangular distribution. \param [in] - * min Low end of the range. \param [in] max High end of the range. \return A random unsigned - * integer value. + * mean, min, and max. + * \param [in] mean Mean value for the triangular distribution. + * \param [in] min Low end of the range. + * \param [in] max High end of the range. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -1913,7 +1951,8 @@ class TriangularRandomVariable : public RandomVariableStream /** * \brief Returns a random double from a triangular distribution with the current mean, min, and - * max. \return A floating point random value. + * max. + * \return A floating point random value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -1954,7 +1993,8 @@ class TriangularRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a triangular distribution with the current - * mean, min, and max. \return A random unsigned integer value. + * mean, min, and max. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if * m_isAntithetic is equal to true. If \f$u\f$ is a uniform variable @@ -2102,8 +2142,10 @@ class ZipfRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a Zipf distribution with the specified n and - * alpha. \param [in] n N value for the Zipf distribution. \param [in] alpha Alpha value for the - * Zipf distribution. \return A random unsigned integer value. + * alpha. + * \param [in] n N value for the Zipf distribution. + * \param [in] alpha Alpha value for the Zipf distribution. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u\f$ is a uniform variable over [0,1] @@ -2134,7 +2176,8 @@ class ZipfRandomVariable : public RandomVariableStream /** * \brief Returns a random unsigned integer from a Zipf distribution with the current n and - * alpha. \return A random unsigned integer value. + * alpha. + * \return A random unsigned integer value. * * Note that antithetic values are being generated if m_isAntithetic * is equal to true. If \f$u\f$ is a uniform variable over [0,1] diff --git a/src/core/model/scheduler.h b/src/core/model/scheduler.h index 7dd554e44..f69ba333b 100644 --- a/src/core/model/scheduler.h +++ b/src/core/model/scheduler.h @@ -157,8 +157,8 @@ class Scheduler : public Object { public: /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/core/model/type-id.cc b/src/core/model/type-id.cc index cf650d749..a4890f41c 100644 --- a/src/core/model/type-id.cc +++ b/src/core/model/type-id.cc @@ -1220,10 +1220,10 @@ TypeId::SetUid(uint16_t uid) } /** - * \brief Insertion operator for TypeId - * \param [in] os the output stream - * \param [in] tid the TypeId - * \returns the updated output stream. + * \brief Insertion operator for TypeId + * \param [in] os the output stream + * \param [in] tid the TypeId + * \returns the updated output stream. */ std::ostream& operator<<(std::ostream& os, TypeId tid) @@ -1233,10 +1233,10 @@ operator<<(std::ostream& os, TypeId tid) } /** - * \brief Extraction operator for TypeId - * \param [in] is the input stream - * \param [out] tid the TypeId value - * \returns the updated input stream. + * \brief Extraction operator for TypeId + * \param [in] is the input stream + * \param [out] tid the TypeId value + * \returns the updated input stream. */ std::istream& operator>>(std::istream& is, TypeId& tid) diff --git a/src/dsdv/model/dsdv-packet-queue.h b/src/dsdv/model/dsdv-packet-queue.h index a49461821..927b798a1 100644 --- a/src/dsdv/model/dsdv-packet-queue.h +++ b/src/dsdv/model/dsdv-packet-queue.h @@ -206,7 +206,9 @@ class PacketQueue /** * Push entry in queue, if there is no entry with the same packet and destination address in - * queue. \param entry QueueEntry to compare \return true if successful + * queue. + * \param entry QueueEntry to compare + * \return true if successful */ bool Enqueue(QueueEntry& entry); /** diff --git a/src/dsr/model/dsr-maintain-buff.h b/src/dsr/model/dsr-maintain-buff.h index 67a8256cf..af60b049e 100644 --- a/src/dsr/model/dsr-maintain-buff.h +++ b/src/dsr/model/dsr-maintain-buff.h @@ -427,7 +427,9 @@ class DsrMaintainBuffer } /// Push entry in queue, if there is no entry with the same packet and destination address in - /// queue. \param entry Maintain Buffer Entry \return true on success adding the Entry. + /// queue. + /// \param entry Maintain Buffer Entry + /// \return true on success adding the Entry. bool Enqueue(DsrMaintainBuffEntry& entry); /// Return first found (the earliest) entry for given destination /// \param [in] dst Entry destination diff --git a/src/dsr/model/dsr-passive-buff.h b/src/dsr/model/dsr-passive-buff.h index 27a4158bb..55c1a95fc 100644 --- a/src/dsr/model/dsr-passive-buff.h +++ b/src/dsr/model/dsr-passive-buff.h @@ -295,7 +295,9 @@ class DsrPassiveBuffer : public Object ~DsrPassiveBuffer() override; /// Push entry in queue, if there is no entry with the same packet and destination address in - /// queue. \param entry Buffer Entry \return true on success adding the Entry. + /// queue. + /// \param entry Buffer Entry + /// \return true on success adding the Entry. bool Enqueue(DsrPassiveBuffEntry& entry); /// Return first found (the earliest) entry for given destination /// \param [in] dst Entry destination diff --git a/src/dsr/model/dsr-rcache.h b/src/dsr/model/dsr-rcache.h index 2ab6fcb58..74a71321a 100644 --- a/src/dsr/model/dsr-rcache.h +++ b/src/dsr/model/dsr-rcache.h @@ -606,7 +606,9 @@ class DsrRouteCache : public Object /** * \brief Update route cache entry if it has been recently used and successfully delivered the - * data packet \param dst destination address of the route \return true in success + * data packet + * \param dst destination address of the route + * \return true in success */ bool UpdateRouteEntry(Ipv4Address dst); /** @@ -686,7 +688,7 @@ class DsrRouteCache : public Object /// Structure to manage neighbor state struct Neighbor { - Ipv4Address m_neighborAddress; ///< neightbor address + Ipv4Address m_neighborAddress; ///< neighbor address Mac48Address m_hardwareAddress; ///< neighbor MAC address Time m_expireTime; ///< route expire time bool close; ///< is route active @@ -766,8 +768,8 @@ class DsrRouteCache : public Object /** * \brief Get callback to ProcessTxError, this callback is trying to use the wifi mac tx error - * header to notify a link layer drop event, however, it is not fully supported yet \return The - * callback to ProcessTxError + * header to notify a link layer drop event, however, it is not fully supported yet + * \return The callback to ProcessTxError */ Callback GetTxErrorCallback() const { @@ -864,8 +866,8 @@ class DsrRouteCache : public Object public: /** * \brief Dijsktra algorithm to get the best route from m_netGraph and update the - * m_bestRoutesTable_link when current graph information has changed \param type The type of the - * cache + * m_bestRoutesTable_link when current graph information has changed + * \param type The type of the cache */ void SetCacheType(std::string type); /** @@ -881,14 +883,14 @@ class DsrRouteCache : public Object */ bool AddRoute_Link(DsrRouteCacheEntry::IP_VECTOR nodelist, Ipv4Address node); /** - * \brief Rebuild the best route table - * \note Use MAXWEIGHT to represeant maximum weight, use the IPv4 broadcast - * address of 255.255.255.255 to represent a null preceding address - * \param source The source address used for computing the routes + * \brief Rebuild the best route table + * \note Use MAXWEIGHT to represent maximum weight, use the IPv4 broadcast + * address of 255.255.255.255 to represent a null preceding address + * \param source The source address used for computing the routes */ void RebuildBestRouteTable(Ipv4Address source); /** - * \brief Purge from the cache if the stability time expired + * \brief Purge from the cache if the stability time expired */ void PurgeLinkNode(); /** @@ -896,11 +898,12 @@ class DsrRouteCache : public Object * by that node, the stability metric for each of the two endpoint nodes of that link is * incremented by the amount of time since that link was last used. When a link is used in a * route chosen for a packet originated or salvaged by this node, the link's lifetime is set to - * be at least UseExtends into the future \param rt cache entry + * be at least UseExtends into the future + * \param rt cache entry */ void UseExtends(DsrRouteCacheEntry::IP_VECTOR rt); /** - * \brief Update the Net Graph for the link and node cache has changed + * \brief Update the Net Graph for the link and node cache has changed */ void UpdateNetGraph(); //--------------------------------------------------------------------------------------- diff --git a/src/dsr/model/dsr-routing.h b/src/dsr/model/dsr-routing.h index f44135f2d..af337022c 100644 --- a/src/dsr/model/dsr-routing.h +++ b/src/dsr/model/dsr-routing.h @@ -320,7 +320,10 @@ class DsrRouting : public IpL4Protocol uint32_t GetPriority(DsrMessageType messageType); /** * \brief This function is responsible for sending error packets in case of break link to next - * hop \param unreachNode unreachable node \param destination address \param originalDst address + * hop + * \param unreachNode unreachable node + * \param destination address + * \param originalDst address * \param salvage packet flag * \param protocol number */ @@ -328,13 +331,16 @@ class DsrRouting : public IpL4Protocol Ipv4Address destination, Ipv4Address originalDst, uint8_t salvage, - uint8_t protocol); /** - * \brief This function is responsible for forwarding - * error packets along the route \param rerr - * unreachable header \param sourceRoute source routing - * header \param nextHop IP address of next hop \param - * protocol number \param route IP route - */ + uint8_t protocol); + + /** + * \brief This function is responsible for forwarding error packets along the route + * \param rerr unreachable header + * \param sourceRoute source routing header + * \param nextHop IP address of next hop + * \param protocol number + * \param route IP route + */ void ForwardErrPacket(DsrOptionRerrUnreachHeader& rerr, DsrOptionSRHeader& sourceRoute, Ipv4Address nextHop, @@ -392,7 +398,8 @@ class DsrRouting : public IpL4Protocol bool SendRealDown(DsrNetworkQueueEntry& newEntry); /** * \brief This function is responsible for sending out data packets when have route, if no route - * found, it will cache the packet and send out route requests \param sourceRoute source route + * found, it will cache the packet and send out route requests + * \param sourceRoute source route * \param nextHop next hop IP address * \param protocol number */ @@ -448,22 +455,24 @@ class DsrRouting : public IpL4Protocol Ipv4Address realDst); /** * \brief Cancel the network packet retransmission timer for a specific maintenance entry - * \param mb maintian byffer entry + * \param mb maintain buffer entry */ void CancelNetworkPacketTimer(DsrMaintainBuffEntry& mb); /** * \brief Cancel the passive packet retransmission timer for a specific maintenance entry - * \param mb maintian byffer entry + * \param mb maintain buffer entry */ void CancelPassivePacketTimer(DsrMaintainBuffEntry& mb); /** * \brief Cancel the link packet retransmission timer for a specific maintenance entry - * \param mb maintian byffer entry + * \param mb maintain buffer entry */ void CancelLinkPacketTimer(DsrMaintainBuffEntry& mb); /** * \brief Cancel the packet retransmission timer for a all maintenance entries with nextHop - * address \param nextHop next hop IP address \param protocol number + * address + * \param nextHop next hop IP address + * \param protocol number */ void CancelPacketTimerNextHop(Ipv4Address nextHop, uint8_t protocol); /** @@ -504,12 +513,16 @@ class DsrRouting : public IpL4Protocol void LinkScheduleTimerExpire(DsrMaintainBuffEntry& mb, uint8_t protocol); /** * \brief This function deals with packet retransmission timer expire using network - * acknowledgment \param mb maintenance buffer entry \param protocol the protocol number + * acknowledgment + * \param mb maintenance buffer entry + * \param protocol the protocol number */ void NetworkScheduleTimerExpire(DsrMaintainBuffEntry& mb, uint8_t protocol); /** * \brief This function deals with packet retransmission timer expire using passive - * acknowledgment \param mb maintenance buffer entry \param protocol the protocol number + * acknowledgment + * \param mb maintenance buffer entry + * \param protocol the protocol number */ void PassiveScheduleTimerExpire(DsrMaintainBuffEntry& mb, uint8_t protocol); /** diff --git a/src/dsr/model/dsr-rreq-table.h b/src/dsr/model/dsr-rreq-table.h index ac3ddd338..7ac70d8ff 100644 --- a/src/dsr/model/dsr-rreq-table.h +++ b/src/dsr/model/dsr-rreq-table.h @@ -341,15 +341,17 @@ class DsrRreqTable : public Object void Invalidate(); /** * \brief Verify if entry is unidirectional or not(e.g. add this neighbor to "blacklist" for - * blacklistTimeout period) \param neighbor neighbor address link to which assumed to be - * unidirectional \return true on success + * blacklistTimeout period) + * \param neighbor neighbor address link to which assumed to be unidirectional + * \return true on success */ BlackList* FindUnidirectional(Ipv4Address neighbor); /** * \brief Mark entry as unidirectional (e.g. add this neighbor to "blacklist" for - * blacklistTimeout period) \param neighbor - neighbor address link to which assumed to be - * unidirectional \param blacklistTimeout - time for which the neighboring node is put into the - * blacklist \return true on success + * blacklistTimeout period) + * \param neighbor neighbor address link to which assumed to be unidirectional + * \param blacklistTimeout time for which the neighboring node is put into the blacklist + * \return true on success */ bool MarkLinkAsUnidirectional(Ipv4Address neighbor, Time blacklistTimeout); /** diff --git a/src/energy/model/li-ion-energy-source.h b/src/energy/model/li-ion-energy-source.h index fff7cc5d7..78e24cb9e 100644 --- a/src/energy/model/li-ion-energy-source.h +++ b/src/energy/model/li-ion-energy-source.h @@ -179,12 +179,12 @@ class LiIonEnergySource : public EnergySource void CalculateRemainingEnergy(); /** - * \param current the actual discharge current value. - * \return the cell voltage + * Get the cell voltage in function of the discharge current. + * It consider different discharge curves for different discharge currents + * and the remaining energy of the cell. * - * Get the cell voltage in function of the discharge current. - * It consider different discharge curves for different discharge currents - * and the remaining energy of the cell. + * \param current the actual discharge current value. + * \return the cell voltage */ double GetVoltage(double current) const; diff --git a/src/internet/helper/ipv6-interface-container.h b/src/internet/helper/ipv6-interface-container.h index 57ce3845a..77f5bf2bb 100644 --- a/src/internet/helper/ipv6-interface-container.h +++ b/src/internet/helper/ipv6-interface-container.h @@ -203,7 +203,8 @@ class Ipv6InterfaceContainer /** * \brief Set the default route for all the devices (except the router itself). * Note that the route will be set to the link-local address of the node with the specified - * address. \param routerAddr the default router address + * address. + * \param routerAddr the default router address */ void SetDefaultRouteInAllNodes(Ipv6Address routerAddr); @@ -217,7 +218,9 @@ class Ipv6InterfaceContainer /** * \brief Set the default route for the specified index. * Note that the route will be set to the link-local address of the node with the specified - * address. \param i index \param routerAddr the default router address + * address. + * \param i index + * \param routerAddr the default router address */ void SetDefaultRoute(uint32_t i, Ipv6Address routerAddr); diff --git a/src/internet/helper/neighbor-cache-helper.h b/src/internet/helper/neighbor-cache-helper.h index 65b820379..9ad82b96a 100644 --- a/src/internet/helper/neighbor-cache-helper.h +++ b/src/internet/helper/neighbor-cache-helper.h @@ -142,23 +142,26 @@ class NeighborCacheHelper /** * \brief Update neighbor caches when an address is removed from a Ipv4Interface with auto - * generated neighbor cache. \param interface the Ipv4Interface that address removed from. - * \param ifAddr the removed IPv4 interface address . + * generated neighbor cache. + * \param interface the Ipv4Interface that address removed from. + * \param ifAddr the removed IPv4 interface address. */ void UpdateCacheByIpv4AddressRemoved(const Ptr interface, const Ipv4InterfaceAddress ifAddr) const; /** * \brief Update neighbor caches when an address is added to a Ipv4Interface with auto generated - * neighbor cache. \param interface the Ipv4Interface that address added to. \param ifAddr the - * added IPv4 interface address. + * neighbor cache. + * \param interface the Ipv4Interface that address added to. + * \param ifAddr the added IPv4 interface address. */ void UpdateCacheByIpv4AddressAdded(const Ptr interface, const Ipv4InterfaceAddress ifAddr) const; /** * \brief Update neighbor caches when an address is removed from a Ipv6Interface with auto - * generated neighbor cache. \param interface the Ipv6Interface that address removed from. + * generated neighbor cache. + * \param interface the Ipv6Interface that address removed from. * \param ifAddr the removed IPv6 interface address. */ void UpdateCacheByIpv6AddressRemoved(const Ptr interface, @@ -166,8 +169,9 @@ class NeighborCacheHelper /** * \brief Update neighbor cache when an address is added to a Ipv6Interface with auto generated - * neighbor cache. \param interface the Ipv6Interface that address added to. \param ifAddr the - * added IPv6 interface address. + * neighbor cache. + * \param interface the Ipv6Interface that address added to. + * \param ifAddr the added IPv6 interface address. */ void UpdateCacheByIpv6AddressAdded(const Ptr interface, const Ipv6InterfaceAddress ifAddr) const; diff --git a/src/internet/model/arp-header.h b/src/internet/model/arp-header.h index ce8a152c8..beb74520b 100644 --- a/src/internet/model/arp-header.h +++ b/src/internet/model/arp-header.h @@ -39,8 +39,9 @@ class ArpHeader : public Header * \brief Set the ARP request parameters * \param sourceHardwareAddress the source hardware address * \param sourceProtocolAddress the source IP address - * \param destinationHardwareAddress the destination hardware address (usually the broadcast - * address) \param destinationProtocolAddress the destination IP address + * \param destinationHardwareAddress the destination hardware address (usually the + * broadcast address) + * \param destinationProtocolAddress the destination IP address */ void SetRequest(Address sourceHardwareAddress, Ipv4Address sourceProtocolAddress, @@ -50,8 +51,9 @@ class ArpHeader : public Header * \brief Set the ARP reply parameters * \param sourceHardwareAddress the source hardware address * \param sourceProtocolAddress the source IP address - * \param destinationHardwareAddress the destination hardware address (usually the broadcast - * address) \param destinationProtocolAddress the destination IP address + * \param destinationHardwareAddress the destination hardware address (usually the + * broadcast address) + * \param destinationProtocolAddress the destination IP address */ void SetReply(Address sourceHardwareAddress, Ipv4Address sourceProtocolAddress, diff --git a/src/internet/model/ipv6-extension.h b/src/internet/model/ipv6-extension.h index 1003f6e42..e06e83b2a 100644 --- a/src/internet/model/ipv6-extension.h +++ b/src/internet/model/ipv6-extension.h @@ -305,7 +305,8 @@ class Ipv6ExtensionFragment : public Ipv6Extension * \param packet the packet. * \param ipv6Header the IPv6 header. * \param fragmentSize the maximal size of the fragment (unfragmentable part + fragmentation - * header + fragmentable part). \param listFragments the list of fragments. + * header + fragmentable part). + * \param listFragments the list of fragments. */ void GetFragments(Ptr packet, Ipv6Header ipv6Header, diff --git a/src/internet/model/ipv6-routing-protocol.h b/src/internet/model/ipv6-routing-protocol.h index 36b5c90b2..dfd67f249 100644 --- a/src/internet/model/ipv6-routing-protocol.h +++ b/src/internet/model/ipv6-routing-protocol.h @@ -171,9 +171,9 @@ class Ipv6RoutingProtocol : public Object * * Protocols are expected to implement this method to be notified whenever * a new address is removed from an interface. Typically used to remove the 'network route' of - * an interface. Can be invoked on an up or down interface. \param interface the index of the - * interface we are being notified about \param address a new address being added to an - * interface + * an interface. Can be invoked on an up or down interface. + * \param interface the index of the interface we are being notified about + * \param address a new address being added to an interface */ virtual void NotifyRemoveAddress(uint32_t interface, Ipv6InterfaceAddress address) = 0; diff --git a/src/lr-wpan/model/lr-wpan-csmaca.h b/src/lr-wpan/model/lr-wpan-csmaca.h index b26d66f16..ac9532dea 100644 --- a/src/lr-wpan/model/lr-wpan-csmaca.h +++ b/src/lr-wpan/model/lr-wpan-csmaca.h @@ -203,9 +203,9 @@ class LrWpanCsmaCa : public Object */ void DeferCsmaTimeout(); /** - * IEEE 802.15.4-2006 section 6.2.2.2 - * PLME-CCA.confirm status - * @param status TRX_OFF, BUSY or IDLE + * IEEE 802.15.4-2006 section 6.2.2.2 + * PLME-CCA.confirm status + * \param status TRX_OFF, BUSY or IDLE * * When Phy has completed CCA, it calls back here which in turn execute the final steps * of the CSMA-CA algorithm. @@ -260,8 +260,8 @@ class LrWpanCsmaCa : public Object private: void DoDispose() override; /** - * \brief Get the time left in the CAP portion of the Outgoing or Incoming superframe. - * \return the time left in the CAP + * \brief Get the time left in the CAP portion of the Outgoing or Incoming superframe. + * \return the time left in the CAP */ Time GetTimeLeftInCap(); /** diff --git a/src/lr-wpan/model/lr-wpan-fields.h b/src/lr-wpan/model/lr-wpan-fields.h index 6b4b5d2c1..bafaf54aa 100644 --- a/src/lr-wpan/model/lr-wpan-fields.h +++ b/src/lr-wpan/model/lr-wpan-fields.h @@ -135,7 +135,8 @@ class SuperframeField /** * Serialize the entire superframe specification field. * \param i an iterator which points to where the superframe specification field should be - * written. \return an iterator. + * written. + * \return an iterator. */ Buffer::Iterator Serialize(Buffer::Iterator i) const; /** @@ -177,7 +178,7 @@ class GtsFields GtsFields(); /** * Get the GTS Specification Field from the GTS Fields - * \return The GTS Spcecification Field + * \return The GTS Specification Field */ uint8_t GetGtsSpecField() const; /** @@ -196,8 +197,8 @@ class GtsFields */ void SetGtsDirectionField(uint8_t gtsDir); /** - * Get the GTS Specification Permit. TRUE if coordinator is accepting GTS requests. - * \return True if the coordinator is accepting GTS request. + * Get the GTS Specification Permit. TRUE if coordinator is accepting GTS requests. + * \return True if the coordinator is accepting GTS request. */ bool GetGtsPermit() const; /** @@ -208,7 +209,8 @@ class GtsFields /** * Serialize the entire GTS fields. * \param i an iterator which points to where the superframe specification field should be - * written. \return an iterator. + * written. + * \return an iterator. */ Buffer::Iterator Serialize(Buffer::Iterator i) const; /** @@ -292,7 +294,8 @@ class PendingAddrFields uint8_t GetNumShortAddr() const; /** * Get the number of Extended Pending Address indicated in the Pending Address Specification - * Field. \return The number Short Pending Address. + * Field. + * \return The number Short Pending Address. */ uint8_t GetNumExtAddr() const; @@ -359,8 +362,9 @@ class CapabilityField uint32_t GetSerializedSize() const; /** * Serialize the entire Capability Information Field. - * \param i an iterator which points to where the Capability information field should be - * written. \return an iterator. + * \param i an iterator which points to where the Capability information field + * should be written. + * \return an iterator. */ Buffer::Iterator Serialize(Buffer::Iterator i) const; /** @@ -371,8 +375,9 @@ class CapabilityField Buffer::Iterator Deserialize(Buffer::Iterator i); /** * True if the device type is a Full Functional Device (FFD) false if is a Reduced Functional - * Device (RFD). \return True if the device type is a Full Functional Device (FFD) false if is a - * Reduced Functional Device (RFD). + * Device (RFD). + * \return True if the device type is a Full Functional Device (FFD) false if is a Reduced + * Functional Device (RFD). */ bool IsDeviceTypeFfd() const; /** @@ -388,14 +393,16 @@ class CapabilityField bool IsReceiverOnWhenIdle() const; /** * True if the device is capable of sending and receiving cryptographically protected MAC - * frames. \return True if the device is capable of sending and receiving cryptographically - * protected MAC frames. + * frames. + * \return True if the device is capable of sending and receiving cryptographically protected + * MAC frames. */ bool IsSecurityCapability() const; /** * True if the device wishes the coordinator to allocate a short address as result of the - * association procedure. \return True if the device wishes the coordinator to allocate a short - * address as result of the association procedure. + * association procedure. + * \return True if the device wishes the coordinator to allocate a short address as result of + * the association procedure. */ bool IsShortAddrAllocOn() const; /** diff --git a/src/lr-wpan/model/lr-wpan-mac-pl-headers.h b/src/lr-wpan/model/lr-wpan-mac-pl-headers.h index dfd8bb2f9..28da9a076 100644 --- a/src/lr-wpan/model/lr-wpan-mac-pl-headers.h +++ b/src/lr-wpan/model/lr-wpan-mac-pl-headers.h @@ -155,7 +155,8 @@ class CommandPayloadHeader : public Header void SetCommandFrameType(MacCommand macCmd); /** * Set the Capability Information Field to the command payload header (Association Request - * Command). \param cap The capability Information field + * Command). + * \param cap The capability Information field */ void SetCapabilityField(CapabilityField cap); /** @@ -185,14 +186,15 @@ class CommandPayloadHeader : public Header MacCommand GetCommandFrameType() const; /** * Get the Capability Information Field from the command payload header. (Association Request - * Command) \return The Capability Information Field + * Command) + * \return The Capability Information Field */ CapabilityField GetCapabilityField() const; private: MacCommand m_cmdFrameId; //!< The command Frame Identifier CapabilityField - m_capabilityInfo; //!< Capability Information Field (Association Request Command) + m_capabilityInfo; //!< Capability Information Field (Association Request Command) Mac16Address m_shortAddr; //!< Contains the short address assigned by the coordinator //!< (Association Response Command) See IEEE 802.15.4-2011 5.3.2.2. AssocStatus m_assocStatus; //!< Association Status (Association Response Command) diff --git a/src/lr-wpan/model/lr-wpan-mac.h b/src/lr-wpan/model/lr-wpan-mac.h index 09052122d..36382fc62 100644 --- a/src/lr-wpan/model/lr-wpan-mac.h +++ b/src/lr-wpan/model/lr-wpan-mac.h @@ -819,84 +819,84 @@ class LrWpanMac : public Object uint16_t GetPanId() const; /** - * Get the coordinator short address currently associated to this device. + * Get the coordinator short address currently associated to this device. * - * \return The coordinator short address + * \return The coordinator short address */ Mac16Address GetCoordShortAddress() const; /** - * Get the coordinator extended address currently associated to this device. + * Get the coordinator extended address currently associated to this device. * - * \return The coordinator extended address + * \return The coordinator extended address */ Mac64Address GetCoordExtAddress() const; /** - * IEEE 802.15.4-2006, section 7.1.1.1 - * MCPS-DATA.request - * Request to transfer a MSDU. + * IEEE 802.15.4-2006, section 7.1.1.1 + * MCPS-DATA.request + * Request to transfer a MSDU. * - * \param params the request parameters - * \param p the packet to be transmitted + * \param params the request parameters + * \param p the packet to be transmitted */ void McpsDataRequest(McpsDataRequestParams params, Ptr p); /** - * IEEE 802.15.4-2006, section 7.1.14.1 - * MLME-START.request - * Request to allow a PAN coordinator to initiate - * a new PAN or beginning a new superframe configuration. + * IEEE 802.15.4-2006, section 7.1.14.1 + * MLME-START.request + * Request to allow a PAN coordinator to initiate + * a new PAN or beginning a new superframe configuration. * - * \param params the request parameters + * \param params the request parameters */ void MlmeStartRequest(MlmeStartRequestParams params); /** - * IEEE 802.15.4-2011, section 6.2.10.1 - * MLME-SCAN.request - * Request primitive used to initiate a channel scan over a given list of channels. + * IEEE 802.15.4-2011, section 6.2.10.1 + * MLME-SCAN.request + * Request primitive used to initiate a channel scan over a given list of channels. * - * \param params the scan request parameters + * \param params the scan request parameters */ void MlmeScanRequest(MlmeScanRequestParams params); /** - * IEEE 802.15.4-2011, section 6.2.2.1 - * MLME-ASSOCIATE.request - * Request primitive used by a device to request an association with - * a coordinator. + * IEEE 802.15.4-2011, section 6.2.2.1 + * MLME-ASSOCIATE.request + * Request primitive used by a device to request an association with + * a coordinator. * - * \param params the request parameters + * \param params the request parameters */ void MlmeAssociateRequest(MlmeAssociateRequestParams params); /** - * IEEE 802.15.4-2011, section 6.2.2.3 - * MLME-ASSOCIATE.response - * Primitive used to initiate a response to an MLME-ASSOCIATE.indication - * primitive. + * IEEE 802.15.4-2011, section 6.2.2.3 + * MLME-ASSOCIATE.response + * Primitive used to initiate a response to an MLME-ASSOCIATE.indication + * primitive. * - * \param params the associate response parameters + * \param params the associate response parameters */ void MlmeAssociateResponse(MlmeAssociateResponseParams params); /** - * IEEE 802.15.4-2011, section 6.2.13.1 - * MLME-SYNC.request - * Request to synchronize with the coordinator by acquiring and, - * if specified, tracking beacons. + * IEEE 802.15.4-2011, section 6.2.13.1 + * MLME-SYNC.request + * Request to synchronize with the coordinator by acquiring and, + * if specified, tracking beacons. * - * \param params the request parameters + * \param params the request parameters */ void MlmeSyncRequest(MlmeSyncRequestParams params); /** - * IEEE 802.15.4-2011, section 6.2.14.2 - * MLME-POLL.request - * Prompts the device to request data from the coordinator. + * IEEE 802.15.4-2011, section 6.2.14.2 + * MLME-POLL.request + * Prompts the device to request data from the coordinator. * - * \param params the request parameters + * \param params the request parameters */ void MlmePollRequest(MlmePollRequestParams params); @@ -1014,64 +1014,64 @@ class LrWpanMac : public Object // interfaces between MAC and PHY /** - * IEEE 802.15.4-2006 section 6.2.1.3 - * PD-DATA.indication - * Indicates the transfer of an MPDU from PHY to MAC (receiving) - * @param psduLength number of bytes in the PSDU - * @param p the packet to be transmitted - * @param lqi Link quality (LQI) value measured during reception of the PPDU + * IEEE 802.15.4-2006 section 6.2.1.3 + * PD-DATA.indication + * Indicates the transfer of an MPDU from PHY to MAC (receiving) + * \param psduLength number of bytes in the PSDU + * \param p the packet to be transmitted + * \param lqi Link quality (LQI) value measured during reception of the PPDU */ void PdDataIndication(uint32_t psduLength, Ptr p, uint8_t lqi); /** - * IEEE 802.15.4-2006 section 6.2.1.2 - * Confirm the end of transmission of an MPDU to MAC - * @param status to report to MAC - * PHY PD-DATA.confirm status + * IEEE 802.15.4-2006 section 6.2.1.2 + * Confirm the end of transmission of an MPDU to MAC + * \param status to report to MAC + * PHY PD-DATA.confirm status */ void PdDataConfirm(LrWpanPhyEnumeration status); /** - * IEEE 802.15.4-2006 section 6.2.2.2 - * PLME-CCA.confirm status - * @param status TRX_OFF, BUSY or IDLE + * IEEE 802.15.4-2006 section 6.2.2.2 + * PLME-CCA.confirm status + * \param status TRX_OFF, BUSY or IDLE */ void PlmeCcaConfirm(LrWpanPhyEnumeration status); /** - * IEEE 802.15.4-2006 section 6.2.2.4 - * PLME-ED.confirm status and energy level - * @param status SUCCESS, TRX_OFF or TX_ON - * @param energyLevel 0x00-0xff ED level for the channel + * IEEE 802.15.4-2006 section 6.2.2.4 + * PLME-ED.confirm status and energy level + * \param status SUCCESS, TRX_OFF or TX_ON + * \param energyLevel 0x00-0xff ED level for the channel */ void PlmeEdConfirm(LrWpanPhyEnumeration status, uint8_t energyLevel); /** - * IEEE 802.15.4-2006 section 6.2.2.6 - * PLME-GET.confirm - * Get attributes per definition from Table 23 in section 6.4.2 - * @param status SUCCESS or UNSUPPORTED_ATTRIBUTE - * @param id the attributed identifier - * @param attribute the attribute value + * IEEE 802.15.4-2006 section 6.2.2.6 + * PLME-GET.confirm + * Get attributes per definition from Table 23 in section 6.4.2 + * \param status SUCCESS or UNSUPPORTED_ATTRIBUTE + * \param id the attributed identifier + * \param attribute the attribute value */ void PlmeGetAttributeConfirm(LrWpanPhyEnumeration status, LrWpanPibAttributeIdentifier id, LrWpanPhyPibAttributes* attribute); /** - * IEEE 802.15.4-2006 section 6.2.2.8 - * PLME-SET-TRX-STATE.confirm - * Set PHY state - * @param status in RX_ON,TRX_OFF,FORCE_TRX_OFF,TX_ON + * IEEE 802.15.4-2006 section 6.2.2.8 + * PLME-SET-TRX-STATE.confirm + * Set PHY state + * \param status in RX_ON,TRX_OFF,FORCE_TRX_OFF,TX_ON */ void PlmeSetTRXStateConfirm(LrWpanPhyEnumeration status); /** - * IEEE 802.15.4-2006 section 6.2.2.10 - * PLME-SET.confirm - * Set attributes per definition from Table 23 in section 6.4.2 - * @param status SUCCESS, UNSUPPORTED_ATTRIBUTE, INVALID_PARAMETER, or READ_ONLY - * @param id the attributed identifier + * IEEE 802.15.4-2006 section 6.2.2.10 + * PLME-SET.confirm + * Set attributes per definition from Table 23 in section 6.4.2 + * \param status SUCCESS, UNSUPPORTED_ATTRIBUTE, INVALID_PARAMETER, or READ_ONLY + * \param id the attributed identifier */ void PlmeSetAttributeConfirm(LrWpanPhyEnumeration status, LrWpanPibAttributeIdentifier id); @@ -1626,7 +1626,8 @@ class LrWpanMac : public Object /** * Extracts a packet from pending transactions list (Indirect transmissions). * \param dst The extended address used an index to obtain an element from the pending - * transaction list. \param entry The dequeued element from the pending transaction list. + * transaction list. + * \param entry The dequeued element from the pending transaction list. * \return The status of the dequeue */ bool DequeueInd(Mac64Address dst, Ptr entry); diff --git a/src/lr-wpan/model/lr-wpan-phy.h b/src/lr-wpan/model/lr-wpan-phy.h index b7377ca6b..d82aa6734 100644 --- a/src/lr-wpan/model/lr-wpan-phy.h +++ b/src/lr-wpan/model/lr-wpan-phy.h @@ -174,9 +174,9 @@ typedef struct * * This method implements the PD SAP: PdDataIndication * - * @param psduLength number of bytes in the PSDU - * @param p the packet to be transmitted - * @param lqi Link quality (LQI) value measured during reception of the PPDU + * \param psduLength number of bytes in the PSDU + * \param p the packet to be transmitted + * \param lqi Link quality (LQI) value measured during reception of the PPDU */ typedef Callback, uint8_t> PdDataIndicationCallback; @@ -336,148 +336,148 @@ class LrWpanPhy : public SpectrumPhy void StartRx(Ptr params) override; /** - * IEEE 802.15.4-2006 section 6.2.1.1 - * PD-DATA.request - * Request to transfer MPDU from MAC (transmitting) - * @param psduLength number of bytes in the PSDU - * @param p the packet to be transmitted + * IEEE 802.15.4-2006 section 6.2.1.1 + * PD-DATA.request + * Request to transfer MPDU from MAC (transmitting) + * \param psduLength number of bytes in the PSDU + * \param p the packet to be transmitted */ void PdDataRequest(const uint32_t psduLength, Ptr p); /** - * IEEE 802.15.4-2006 section 6.2.2.1 - * PLME-CCA.request - * Perform a CCA per section 6.9.9 + * IEEE 802.15.4-2006 section 6.2.2.1 + * PLME-CCA.request + * Perform a CCA per section 6.9.9 */ void PlmeCcaRequest(); /** - * Cancel an ongoing CCA request. + * Cancel an ongoing CCA request. */ void CcaCancel(); /** - * IEEE 802.15.4-2006 section 6.2.2.3 - * PLME-ED.request - * Perform an ED per section 6.9.7 + * IEEE 802.15.4-2006 section 6.2.2.3 + * PLME-ED.request + * Perform an ED per section 6.9.7 */ void PlmeEdRequest(); /** - * IEEE 802.15.4-2006 section 6.2.2.5 - * PLME-GET.request - * Get attributes per definition from Table 23 in section 6.4.2 - * @param id the attributed identifier + * IEEE 802.15.4-2006 section 6.2.2.5 + * PLME-GET.request + * Get attributes per definition from Table 23 in section 6.4.2 + * \param id the attributed identifier */ void PlmeGetAttributeRequest(LrWpanPibAttributeIdentifier id); /** - * IEEE 802.15.4-2006 section 6.2.2.7 - * PLME-SET-TRX-STATE.request - * Set PHY state - * @param state in RX_ON,TRX_OFF,FORCE_TRX_OFF,TX_ON + * IEEE 802.15.4-2006 section 6.2.2.7 + * PLME-SET-TRX-STATE.request + * Set PHY state + * \param state in RX_ON,TRX_OFF,FORCE_TRX_OFF,TX_ON */ void PlmeSetTRXStateRequest(LrWpanPhyEnumeration state); /** - * IEEE 802.15.4-2006 section 6.2.2.9 - * PLME-SET.request - * Set attributes per definition from Table 23 in section 6.4.2 - * @param id the attributed identifier - * @param attribute the attribute value + * IEEE 802.15.4-2006 section 6.2.2.9 + * PLME-SET.request + * Set attributes per definition from Table 23 in section 6.4.2 + * \param id the attributed identifier + * \param attribute the attribute value */ void PlmeSetAttributeRequest(LrWpanPibAttributeIdentifier id, LrWpanPhyPibAttributes* attribute); /** * set the callback for the end of a RX, as part of the - * interconnections betweenthe PHY and the MAC. The callback + * interconnections between the PHY and the MAC. The callback * implements PD Indication SAP. - * @param c the callback + * \param c the callback */ void SetPdDataIndicationCallback(PdDataIndicationCallback c); /** * set the callback for the end of a TX, as part of the - * interconnections betweenthe PHY and the MAC. The callback + * interconnections between the PHY and the MAC. The callback * implements PD SAP. - * @param c the callback + * \param c the callback */ void SetPdDataConfirmCallback(PdDataConfirmCallback c); /** * set the callback for the end of a CCA, as part of the - * interconnections betweenthe PHY and the MAC. The callback + * interconnections between the PHY and the MAC. The callback * implement PLME CCA confirm SAP - * @param c the callback + * \param c the callback */ void SetPlmeCcaConfirmCallback(PlmeCcaConfirmCallback c); /** * set the callback for the end of an ED, as part of the - * interconnections betweenthe PHY and the MAC. The callback + * interconnections between the PHY and the MAC. The callback * implement PLME ED confirm SAP - * @param c the callback + * \param c the callback */ void SetPlmeEdConfirmCallback(PlmeEdConfirmCallback c); /** * set the callback for the end of an GetAttribute, as part of the - * interconnections betweenthe PHY and the MAC. The callback + * interconnections between the PHY and the MAC. The callback * implement PLME GetAttribute confirm SAP - * @param c the callback + * \param c the callback */ void SetPlmeGetAttributeConfirmCallback(PlmeGetAttributeConfirmCallback c); /** * set the callback for the end of an SetTRXState, as part of the - * interconnections betweenthe PHY and the MAC. The callback + * interconnections between the PHY and the MAC. The callback * implement PLME SetTRXState confirm SAP - * @param c the callback + * \param c the callback */ void SetPlmeSetTRXStateConfirmCallback(PlmeSetTRXStateConfirmCallback c); /** * set the callback for the end of an SetAttribute, as part of the - * interconnections betweenthe PHY and the MAC. The callback + * interconnections between the PHY and the MAC. The callback * implement PLME SetAttribute confirm SAP - * @param c the callback + * \param c the callback */ void SetPlmeSetAttributeConfirmCallback(PlmeSetAttributeConfirmCallback c); /** * Get The current channel page number in use in this PHY from the PIB attributes. * - * @return The current page number + * \return The current page number */ uint8_t GetCurrentPage() const; /** * Get The current channel number in use in this PHY from the PIB attributes. * - * @return The current channel number + * \return The current channel number */ uint8_t GetCurrentChannelNum() const; /** * implement PLME SetAttribute confirm SAP * bit rate is in bit/s. Symbol rate is in symbol/s. - * @param isData is true for data rate or false for symbol rate - * @return the rate value of this PHY + * \param isData is true for data rate or false for symbol rate + * \return the rate value of this PHY */ double GetDataOrSymbolRate(bool isData); /** * set the error model to use * - * @param e pointer to LrWpanErrorModel to use + * \param e pointer to LrWpanErrorModel to use */ void SetErrorModel(Ptr e); /** * get the error model in use * - * @return pointer to LrWpanErrorModel in use + * \return pointer to LrWpanErrorModel in use */ Ptr GetErrorModel() const; diff --git a/src/lte/examples/lena-dual-stripe.cc b/src/lte/examples/lena-dual-stripe.cc index 2befa585c..57515d141 100644 --- a/src/lte/examples/lena-dual-stripe.cc +++ b/src/lte/examples/lena-dual-stripe.cc @@ -81,7 +81,9 @@ class FemtocellBlockAllocator private: /** * Function that checks if the box area is overlapping with some of previously created building - * blocks. \param box the area to check \returns true if there is an overlap + * blocks. + * \param box the area to check + * \returns true if there is an overlap */ bool OverlapsWithAnyPrevious(Box box); Box m_area; ///< Area diff --git a/src/lte/helper/cc-helper.h b/src/lte/helper/cc-helper.h index d6a00418a..c90723676 100644 --- a/src/lte/helper/cc-helper.h +++ b/src/lte/helper/cc-helper.h @@ -61,8 +61,8 @@ class CcHelper : public Object ~CcHelper() override; /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); void DoDispose() override; @@ -180,8 +180,9 @@ class CcHelper : public Object * \param dlBandwidth downlink bandwidth for the current CC * \param ulEarfcn uplink EARFCN - not control on the validity at this point * \param dlEarfcn downlink EARFCN - not control on the validity at this point - * \param isPrimary identify if this is the Primary Component Carrier (PCC) - only one PCC is - * allowed \return the component carrier + * \param isPrimary identify if this is the Primary Component Carrier (PCC) - only one + * PCC is allowed + * \return the component carrier */ ComponentCarrier CreateSingleCc(uint16_t ulBandwidth, uint16_t dlBandwidth, diff --git a/src/lte/helper/emu-epc-helper.h b/src/lte/helper/emu-epc-helper.h index 5a3703888..e288a1de7 100644 --- a/src/lte/helper/emu-epc-helper.h +++ b/src/lte/helper/emu-epc-helper.h @@ -53,8 +53,8 @@ class EmuEpcHelper : public NoBackhaulEpcHelper // inherited from Object /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); TypeId GetInstanceTypeId() const override; diff --git a/src/lte/helper/epc-helper.h b/src/lte/helper/epc-helper.h index 4707e7cb0..451c81686 100644 --- a/src/lte/helper/epc-helper.h +++ b/src/lte/helper/epc-helper.h @@ -61,8 +61,8 @@ class EpcHelper : public Object // inherited from Object /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); void DoDispose() override; diff --git a/src/lte/helper/lte-helper.h b/src/lte/helper/lte-helper.h index 7f93a8a0b..0bb8b1a6e 100644 --- a/src/lte/helper/lte-helper.h +++ b/src/lte/helper/lte-helper.h @@ -106,8 +106,8 @@ class LteHelper : public Object ~LteHelper() override; /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); void DoDispose() override; @@ -469,12 +469,13 @@ class LteHelper : public Object uint8_t ActivateDedicatedEpsBearer(Ptr ueDevice, EpsBearer bearer, Ptr tft); /** - * \brief Manually trigger dedicated bearer de-activation at specific simulation time - * \param ueDevice the UE on which dedicated bearer to be de-activated must be of the type - * LteUeNetDevice \param enbDevice eNB, must be of the type LteEnbNetDevice \param bearerId - * Bearer Identity which is to be de-activated + * \brief Manually trigger dedicated bearer de-activation at specific simulation time + * \param ueDevice the UE on which dedicated bearer to be de-activated must be of the type + * LteUeNetDevice + * \param enbDevice eNB, must be of the type LteEnbNetDevice + * \param bearerId Bearer Identity which is to be de-activated * - * \warning Requires the use of EPC mode. See SetEpcHelper() method. + * \warning Requires the use of EPC mode. See SetEpcHelper() method. */ void DeActivateDedicatedEpsBearer(Ptr ueDevice, @@ -725,13 +726,13 @@ class LteHelper : public Object uint16_t targetCellId); /** - * \brief The actual function to trigger a manual bearer de-activation - * \param ueDevice the UE on which bearer to be de-activated must be of the type LteUeNetDevice - * \param enbDevice eNB, must be of the type LteEnbNetDevice - * \param bearerId Bearer Identity which is to be de-activated + * \brief The actual function to trigger a manual bearer de-activation + * \param ueDevice the UE on which bearer to be de-activated must be of the type LteUeNetDevice + * \param enbDevice eNB, must be of the type LteEnbNetDevice + * \param bearerId Bearer Identity which is to be de-activated * - * This method is normally scheduled by DeActivateDedicatedEpsBearer() to run at a specific - * time when a manual bearer de-activation is desired by the simulation user. + * This method is normally scheduled by DeActivateDedicatedEpsBearer() to run at a specific + * time when a manual bearer de-activation is desired by the simulation user. */ void DoDeActivateDedicatedEpsBearer(Ptr ueDevice, Ptr enbDevice, diff --git a/src/lte/helper/lte-hex-grid-enb-topology-helper.h b/src/lte/helper/lte-hex-grid-enb-topology-helper.h index 312f1606d..906f3de7f 100644 --- a/src/lte/helper/lte-hex-grid-enb-topology-helper.h +++ b/src/lte/helper/lte-hex-grid-enb-topology-helper.h @@ -40,8 +40,8 @@ class LteHexGridEnbTopologyHelper : public Object ~LteHexGridEnbTopologyHelper() override; /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); void DoDispose() override; diff --git a/src/lte/helper/lte-stats-calculator.h b/src/lte/helper/lte-stats-calculator.h index d3e5df8f9..5bcfd19dd 100644 --- a/src/lte/helper/lte-stats-calculator.h +++ b/src/lte/helper/lte-stats-calculator.h @@ -50,8 +50,8 @@ class LteStatsCalculator : public Object ~LteStatsCalculator() override; /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/lte/helper/mac-stats-calculator.h b/src/lte/helper/mac-stats-calculator.h index e8faa9126..29ad0fe22 100644 --- a/src/lte/helper/mac-stats-calculator.h +++ b/src/lte/helper/mac-stats-calculator.h @@ -61,8 +61,8 @@ class MacStatsCalculator : public LteStatsCalculator // Inherited from ns3::Object /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/lte/helper/no-backhaul-epc-helper.h b/src/lte/helper/no-backhaul-epc-helper.h index a36f44ec3..ae8b08e0b 100644 --- a/src/lte/helper/no-backhaul-epc-helper.h +++ b/src/lte/helper/no-backhaul-epc-helper.h @@ -58,8 +58,8 @@ class NoBackhaulEpcHelper : public EpcHelper // inherited from Object /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); TypeId GetInstanceTypeId() const override; diff --git a/src/lte/helper/phy-rx-stats-calculator.h b/src/lte/helper/phy-rx-stats-calculator.h index 9ff8ac52a..95129089d 100644 --- a/src/lte/helper/phy-rx-stats-calculator.h +++ b/src/lte/helper/phy-rx-stats-calculator.h @@ -63,8 +63,8 @@ class PhyRxStatsCalculator : public LteStatsCalculator // Inherited from ns3::Object /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/lte/helper/phy-stats-calculator.h b/src/lte/helper/phy-stats-calculator.h index 528b11436..86ae42fea 100644 --- a/src/lte/helper/phy-stats-calculator.h +++ b/src/lte/helper/phy-stats-calculator.h @@ -70,8 +70,8 @@ class PhyStatsCalculator : public LteStatsCalculator // Inherited from ns3::Object /** - * Register this type. - * @return The object TypeId. + * Register this type. + * @return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/lte/helper/phy-tx-stats-calculator.h b/src/lte/helper/phy-tx-stats-calculator.h index 04b06cfb5..35237f6e6 100644 --- a/src/lte/helper/phy-tx-stats-calculator.h +++ b/src/lte/helper/phy-tx-stats-calculator.h @@ -63,8 +63,8 @@ class PhyTxStatsCalculator : public LteStatsCalculator // Inherited from ns3::Object /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/lte/helper/point-to-point-epc-helper.h b/src/lte/helper/point-to-point-epc-helper.h index e98d89ce0..5f1d0f0d9 100644 --- a/src/lte/helper/point-to-point-epc-helper.h +++ b/src/lte/helper/point-to-point-epc-helper.h @@ -50,8 +50,8 @@ class PointToPointEpcHelper : public NoBackhaulEpcHelper // inherited from Object /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); TypeId GetInstanceTypeId() const override; diff --git a/src/lte/helper/radio-bearer-stats-calculator.h b/src/lte/helper/radio-bearer-stats-calculator.h index 02cabb0d5..7ea405786 100644 --- a/src/lte/helper/radio-bearer-stats-calculator.h +++ b/src/lte/helper/radio-bearer-stats-calculator.h @@ -88,8 +88,8 @@ class RadioBearerStatsCalculator : public LteStatsCalculator // Inherited from ns3::Object /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); void DoDispose() override; diff --git a/src/lte/helper/radio-environment-map-helper.h b/src/lte/helper/radio-environment-map-helper.h index 860359c18..3b8a4cedf 100644 --- a/src/lte/helper/radio-environment-map-helper.h +++ b/src/lte/helper/radio-environment-map-helper.h @@ -50,8 +50,8 @@ class RadioEnvironmentMapHelper : public Object // inherited from Object void DoDispose() override; /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/lte/model/epc-enb-application.h b/src/lte/model/epc-enb-application.h index b789dac9c..e114e8db2 100644 --- a/src/lte/model/epc-enb-application.h +++ b/src/lte/model/epc-enb-application.h @@ -68,9 +68,11 @@ class EpcEnbApplication : public Application /** * Constructor * - * \param lteSocket the socket to be used to send/receive IPv4 packets to/from the LTE radio - * interface \param lteSocket6 the socket to be used to send/receive IPv6 packets to/from the - * LTE radio interface \param cellId the identifier of the eNB + * \param lteSocket the socket to be used to send/receive IPv4 packets to/from the + * LTE radio interface + * \param lteSocket6 the socket to be used to send/receive IPv6 packets to/from the + * LTE radio interface + * \param cellId the identifier of the eNB */ EpcEnbApplication(Ptr lteSocket, Ptr lteSocket6, uint16_t cellId); @@ -78,8 +80,9 @@ class EpcEnbApplication : public Application * Add a S1-U interface to the eNB * * \param s1uSocket the socket to be used to send/receive packets to/from the S1-U interface - * connected with the SGW \param enbS1uAddress the IPv4 address of the S1-U interface of this - * eNB \param sgwS1uAddress the IPv4 address at which this eNB will be able to reach its SGW for + * connected with the SGW + * \param enbS1uAddress the IPv4 address of the S1-U interface of this eNB + * \param sgwS1uAddress the IPv4 address at which this eNB will be able to reach its SGW for * S1-U communications */ void AddS1Interface(Ptr s1uSocket, @@ -222,8 +225,10 @@ class EpcEnbApplication : public Application /** * \brief This function accepts bearer id corresponding to a particular UE and schedules - * indication of bearer release towards MME \param imsi maps to mmeUeS1Id \param rnti maps to - * enbUeS1Id \param bearerId Bearer Identity which is to be de-activated + * indication of bearer release towards MME + * \param imsi maps to mmeUeS1Id + * \param rnti maps to enbUeS1Id + * \param bearerId Bearer Identity which is to be de-activated */ void DoReleaseIndication(uint64_t imsi, uint16_t rnti, uint8_t bearerId); diff --git a/src/lte/model/epc-enb-s1-sap.h b/src/lte/model/epc-enb-s1-sap.h index 6a6c4f7aa..66a97ab07 100644 --- a/src/lte/model/epc-enb-s1-sap.h +++ b/src/lte/model/epc-enb-s1-sap.h @@ -33,7 +33,6 @@ namespace ns3 * LteEnbRrc and the EpcEnbApplication. In particular, this class implements the * Provider part of the SAP, i.e., the methods exported by the * EpcEnbApplication and called by the LteEnbRrc. - * */ class EpcEnbS1SapProvider { @@ -41,18 +40,18 @@ class EpcEnbS1SapProvider virtual ~EpcEnbS1SapProvider(); /** + * Initial UE message. * - * - * \param imsi - * \param rnti + * \param imsi IMSI + * \param rnti RNTI */ virtual void InitialUeMessage(uint64_t imsi, uint16_t rnti) = 0; /** - * \brief Triggers epc-enb-application to send ERAB Release Indication message towards MME - * \param imsi the UE IMSI - * \param rnti the UE RNTI - * \param bearerId Bearer Identity which is to be de-activated + * \brief Triggers epc-enb-application to send ERAB Release Indication message towards MME + * \param imsi the UE IMSI + * \param rnti the UE RNTI + * \param bearerId Bearer Identity which is to be de-activated */ virtual void DoSendReleaseIndication(uint64_t imsi, uint16_t rnti, uint8_t bearerId) = 0; @@ -80,11 +79,11 @@ class EpcEnbS1SapProvider virtual void PathSwitchRequest(PathSwitchRequestParameters params) = 0; /** - * release UE context at the S1 Application of the source eNB after + * Release UE context at the S1 Application of the source eNB after * reception of the UE CONTEXT RELEASE X2 message from the target eNB * during X2-based handover * - * \param rnti + * \param rnti RNTI */ virtual void UeContextRelease(uint16_t rnti) = 0; }; @@ -94,7 +93,6 @@ class EpcEnbS1SapProvider * LteEnbRrc and the EpcEnbApplication. In particular, this class implements the * User part of the SAP, i.e., the methods exported by the LteEnbRrc * and called by the EpcEnbApplication. - * */ class EpcEnbS1SapUser { @@ -112,7 +110,7 @@ class EpcEnbS1SapUser /** * Initial context setup request * - * \param params + * \param params Parameters */ virtual void InitialContextSetupRequest(InitialContextSetupRequestParameters params) = 0; @@ -130,9 +128,9 @@ class EpcEnbS1SapUser }; /** - * request the setup of a DataRadioBearer + * Request the setup of a DataRadioBearer * - * \param params + * \param params Parameters */ virtual void DataRadioBearerSetupRequest(DataRadioBearerSetupRequestParameters params) = 0; @@ -143,9 +141,9 @@ class EpcEnbS1SapUser }; /** - * request a path switch acknowledge + * Request a path switch acknowledge * - * \param params + * \param params Parameters */ virtual void PathSwitchRequestAcknowledge(PathSwitchRequestAcknowledgeParameters params) = 0; }; @@ -153,7 +151,6 @@ class EpcEnbS1SapUser /** * Template for the implementation of the EpcEnbS1SapProvider as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberEpcEnbS1SapProvider : public EpcEnbS1SapProvider @@ -222,7 +219,6 @@ MemberEpcEnbS1SapProvider::UeContextRelease(uint16_t rnti) /** * Template for the implementation of the EpcEnbS1SapUser as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberEpcEnbS1SapUser : public EpcEnbS1SapUser diff --git a/src/lte/model/epc-s11-sap.h b/src/lte/model/epc-s11-sap.h index 659eadb98..a85cb8e20 100644 --- a/src/lte/model/epc-s11-sap.h +++ b/src/lte/model/epc-s11-sap.h @@ -49,7 +49,6 @@ class EpcS11Sap /** * Fully-qualified TEID, see 3GPP TS 29.274 section 8.22 - * */ struct Fteid { @@ -59,7 +58,6 @@ class EpcS11Sap /** * TS 29.274 8.21 User Location Information (ULI) - * */ struct Uli { @@ -78,7 +76,6 @@ class EpcS11SapMme : public EpcS11Sap public: /** * 3GPP TS 29.274 version 8.3.1 Release 8 section 8.28 - * */ struct BearerContextCreated { @@ -121,7 +118,8 @@ class EpcS11SapMme : public EpcS11Sap /** * \brief As per 3GPP TS 29.274 Release 9 V9.3.0, a Delete Bearer Request message shall be sent - * on the S11 interface by PGW to SGW and from SGW to MME \param msg the message + * on the S11 interface by PGW to SGW and from SGW to MME + * \param msg the message */ virtual void DeleteBearerRequest(DeleteBearerRequestMessage msg) = 0; @@ -141,7 +139,7 @@ class EpcS11SapMme : public EpcS11Sap }; /** - * send a Modify Bearer Response message + * Send a Modify Bearer Response message * * \param msg the message */ @@ -178,7 +176,7 @@ class EpcS11SapSgw : public EpcS11Sap }; /** - * send a Create Session Request message + * Send a Create Session Request message * * \param msg the message */ @@ -201,7 +199,8 @@ class EpcS11SapSgw : public EpcS11Sap /** * \brief As per 3GPP TS 29.274 Release 9 V9.3.0, a Delete Bearer Command message shall be sent - * on the S11 interface by the MME to the SGW \param msg the DeleteBearerCommandMessage + * on the S11 interface by the MME to the SGW + * \param msg the DeleteBearerCommandMessage */ virtual void DeleteBearerCommand(DeleteBearerCommandMessage msg) = 0; @@ -222,7 +221,8 @@ class EpcS11SapSgw : public EpcS11Sap /** * \brief As per 3GPP TS 29.274 Release 9 V9.3.0, a Delete Bearer Command message shall be sent - * on the S11 interface by the MME to the SGW \param msg the message + * on the S11 interface by the MME to the SGW + * \param msg the message */ virtual void DeleteBearerResponse(DeleteBearerResponseMessage msg) = 0; @@ -235,7 +235,7 @@ class EpcS11SapSgw : public EpcS11Sap }; /** - * send a Modify Bearer Request message + * Send a Modify Bearer Request message * * \param msg the message */ @@ -245,7 +245,6 @@ class EpcS11SapSgw : public EpcS11Sap /** * Template for the implementation of the EpcS11SapMme as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberEpcS11SapMme : public EpcS11SapMme @@ -308,7 +307,6 @@ MemberEpcS11SapMme::ModifyBearerResponse(ModifyBearerResponseMessage msg) /** * Template for the implementation of the EpcS11SapSgw as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberEpcS11SapSgw : public EpcS11SapSgw diff --git a/src/lte/model/epc-s1ap-sap.h b/src/lte/model/epc-s1ap-sap.h index 85cec9261..3fbce8f80 100644 --- a/src/lte/model/epc-s1ap-sap.h +++ b/src/lte/model/epc-s1ap-sap.h @@ -52,12 +52,12 @@ class EpcS1apSapMme : public EpcS1apSap { public: /** + * Initial UE message. * * \param mmeUeS1Id in practice, we use the IMSI * \param enbUeS1Id in practice, we use the RNTI * \param stmsi in practice, the imsi * \param ecgi in practice, the cell Id - * */ virtual void InitialUeMessage(uint64_t mmeUeS1Id, uint16_t enbUeS1Id, @@ -66,7 +66,6 @@ class EpcS1apSapMme : public EpcS1apSap /** * E-RAB Release Indication Item IEs, 3GPP TS 36.413 version 9.8.0 section 9.1.3.7 - * */ struct ErabToBeReleasedIndication { @@ -81,7 +80,6 @@ class EpcS1apSapMme : public EpcS1apSap * \param mmeUeS1Id in practice, we use the IMSI * \param enbUeS1Id in practice, we use the RNTI * \param erabToBeReleaseIndication List of bearers to be deactivated - * */ virtual void ErabReleaseIndication( uint64_t mmeUeS1Id, @@ -90,7 +88,6 @@ class EpcS1apSapMme : public EpcS1apSap /** * E-RAB Setup Item IEs, see 3GPP TS 36.413 9.1.4.2 - * */ struct ErabSetupItem { @@ -104,7 +101,7 @@ class EpcS1apSapMme : public EpcS1apSap * * \param mmeUeS1Id in practice, we use the IMSI * \param enbUeS1Id in practice, we use the RNTI - * \param erabSetupList + * \param erabSetupList List of ERAB setup * */ virtual void InitialContextSetupResponse(uint64_t mmeUeS1Id, @@ -113,7 +110,6 @@ class EpcS1apSapMme : public EpcS1apSap /** * E-RABs Switched in Downlink Item IE, see 3GPP TS 36.413 9.1.5.8 - * */ struct ErabSwitchedInDownlinkItem { @@ -127,8 +123,8 @@ class EpcS1apSapMme : public EpcS1apSap * * \param enbUeS1Id in practice, we use the RNTI * \param mmeUeS1Id in practice, we use the IMSI - * \param gci - * \param erabToBeSwitchedInDownlinkList + * \param gci GCI + * \param erabToBeSwitchedInDownlinkList List of ERAB to be switched in downlink */ virtual void PathSwitchRequest( uint64_t enbUeS1Id, @@ -160,8 +156,7 @@ class EpcS1apSapEnb : public EpcS1apSap * * \param mmeUeS1Id in practice, we use the IMSI * \param enbUeS1Id in practice, we use the RNTI - * \param erabToBeSetupList - * + * \param erabToBeSetupList List of ERAB to be setup */ virtual void InitialContextSetupRequest(uint64_t mmeUeS1Id, uint16_t enbUeS1Id, @@ -169,7 +164,6 @@ class EpcS1apSapEnb : public EpcS1apSap /** * E-RABs Switched in Uplink Item IE, see 3GPP TS 36.413 9.1.5.9 - * */ struct ErabSwitchedInUplinkItem { @@ -183,8 +177,8 @@ class EpcS1apSapEnb : public EpcS1apSap * * \param enbUeS1Id in practice, we use the RNTI * \param mmeUeS1Id in practice, we use the IMSI - * \param cgi - * \param erabToBeSwitchedInUplinkList + * \param cgi CGI + * \param erabToBeSwitchedInUplinkList List of ERAB to be switched in uplink */ virtual void PathSwitchRequestAcknowledge( uint64_t enbUeS1Id, @@ -196,7 +190,6 @@ class EpcS1apSapEnb : public EpcS1apSap /** * Template for the implementation of the EpcS1apSapMme as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberEpcS1apSapMme : public EpcS1apSapMme @@ -215,7 +208,7 @@ class MemberEpcS1apSapMme : public EpcS1apSapMme * \param mmeUeS1Id in practice, we use the IMSI * \param enbUeS1Id in practice, we use the RNTI * \param imsi the IMSI - * \param ecgi + * \param ecgi ECGI */ void InitialUeMessage(uint64_t mmeUeS1Id, uint16_t enbUeS1Id, @@ -225,7 +218,7 @@ class MemberEpcS1apSapMme : public EpcS1apSapMme * ERAB Release Indiation function * \param mmeUeS1Id in practice, we use the IMSI * \param enbUeS1Id in practice, we use the RNTI - * \param erabToBeReleaseIndication + * \param erabToBeReleaseIndication List of ERAB to be release indication */ void ErabReleaseIndication( uint64_t mmeUeS1Id, @@ -236,7 +229,7 @@ class MemberEpcS1apSapMme : public EpcS1apSapMme * Initial context setup response * \param mmeUeS1Id in practice, we use the IMSI * \param enbUeS1Id in practice, we use the RNTI - * \param erabSetupList + * \param erabSetupList List of ERAB setup */ void InitialContextSetupResponse(uint64_t mmeUeS1Id, uint16_t enbUeS1Id, @@ -245,8 +238,8 @@ class MemberEpcS1apSapMme : public EpcS1apSapMme * Path switch request * \param enbUeS1Id in practice, we use the RNTI * \param mmeUeS1Id in practice, we use the IMSI - * \param cgi - * \param erabToBeSwitchedInDownlinkList + * \param cgi CGI + * \param erabToBeSwitchedInDownlinkList List of ERAB to be switched in downlink */ void PathSwitchRequest( uint64_t enbUeS1Id, @@ -313,7 +306,6 @@ MemberEpcS1apSapMme::PathSwitchRequest( /** * Template for the implementation of the EpcS1apSapEnb as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberEpcS1apSapEnb : public EpcS1apSapEnb @@ -331,7 +323,7 @@ class MemberEpcS1apSapEnb : public EpcS1apSapEnb * Initial context setup request function * \param mmeUeS1Id in practice, we use the IMSI * \param enbUeS1Id in practice, we use the RNTI - * \param erabToBeSetupList + * \param erabToBeSetupList List of ERAB to be setup */ void InitialContextSetupRequest(uint64_t mmeUeS1Id, uint16_t enbUeS1Id, @@ -340,8 +332,8 @@ class MemberEpcS1apSapEnb : public EpcS1apSapEnb * Path switch request acknowledge function * \param enbUeS1Id in practice, we use the RNTI * \param mmeUeS1Id in practice, we use the IMSI - * \param cgi - * \param erabToBeSwitchedInUplinkList + * \param cgi CGI + * \param erabToBeSwitchedInUplinkList List of ERAB to be switched in uplink */ void PathSwitchRequestAcknowledge( uint64_t enbUeS1Id, diff --git a/src/lte/model/epc-x2-sap.h b/src/lte/model/epc-x2-sap.h index cd9400068..a99c71796 100644 --- a/src/lte/model/epc-x2-sap.h +++ b/src/lte/model/epc-x2-sap.h @@ -339,7 +339,6 @@ class EpcX2Sap * \brief Parameters of the HANDOVER CANCEL message. * * See section 9.1.1.6 for further info about the parameters - * */ struct HandoverCancelParams { @@ -402,7 +401,7 @@ class EpcX2SapProvider : public EpcX2Sap /** * Send resource status update function - * \param params the resource statue update paramweters + * \param params the resource statue update parameters */ virtual void SendResourceStatusUpdate(ResourceStatusUpdateParams params) = 0; @@ -510,13 +509,13 @@ class EpcX2SpecificEpcX2SapProvider : public EpcX2SapProvider /** * Send handover request function - * \param params the hadnover request parameters + * \param params the handover request parameters */ void SendHandoverRequest(HandoverRequestParams params) override; /** * Send handover request ack function - * \param params the handover request ack pararameters + * \param params the handover request ack parameters */ void SendHandoverRequestAck(HandoverRequestAckParams params) override; diff --git a/src/lte/model/ff-mac-csched-sap.h b/src/lte/model/ff-mac-csched-sap.h index 0be0a2787..6d32a6360 100644 --- a/src/lte/model/ff-mac-csched-sap.h +++ b/src/lte/model/ff-mac-csched-sap.h @@ -84,7 +84,7 @@ class FfMacCschedSapProvider struct SiConfiguration_s m_siConfiguration; ///< SI configuration uint16_t m_ulBandwidth; ///< UL bandwidth - uint16_t m_dlBandwidth; ///< DL badnwidth + uint16_t m_dlBandwidth; ///< DL bandwidth enum NormalExtended_e m_ulCyclicPrefixLength; ///< UL cyclic prefix length enum NormalExtended_e m_dlCyclicPrefixLength; ///< DL cyclic prefix length @@ -113,7 +113,7 @@ class FfMacCschedSapProvider uint8_t m_deltaPucchShift; ///< delta pu cch shift uint8_t m_nrbCqi; ///< nrb CQI uint8_t m_ncsAn; ///< ncs an - uint8_t m_srsSubframeConfiguration; ///< SRS subframe confguration + uint8_t m_srsSubframeConfiguration; ///< SRS subframe configuration uint8_t m_srsSubframeOffset; ///< SRS subframe offset uint8_t m_srsBandwidthConfiguration; ///< SRS bandwidth configuration bool m_srsMaxUpPts; ///< SRS maximum up pts @@ -142,7 +142,7 @@ class FfMacCschedSapProvider struct DrxConfig_s m_drxConfig; ///< drx config uint16_t m_timeAlignmentTimer; ///< time alignment timer - /// MeasGapConfigPattern_e enumaration + /// MeasGapConfigPattern_e enumeration enum MeasGapConfigPattern_e { MGP_GP1, @@ -151,7 +151,7 @@ class FfMacCschedSapProvider } m_measGapConfigPattern; ///< measGapConfigPattern uint8_t m_measGapConfigSubframeOffset; ///< measure gap config subframe offset - bool m_spsConfigPresent; ///< SPS configu present + bool m_spsConfigPresent; ///< SPS config present struct SpsConfig_s m_spsConfig; ///< SPS config bool m_srConfigPresent; ///< SR config present struct SrConfig_s m_srConfig; ///< SR config diff --git a/src/lte/model/lte-amc.h b/src/lte/model/lte-amc.h index f41ccaf08..08c1faec1 100644 --- a/src/lte/model/lte-amc.h +++ b/src/lte/model/lte-amc.h @@ -77,15 +77,19 @@ class LteAmc : public Object /** * \brief Get the Transport Block Size for a selected MCS and number of PRB (table 7.1.7.2.1-1 - * of 36.213) \param mcs the MCS index \param nprb the no. of PRB \return the Transport Block - * Size in bits + * of 36.213) + * \param mcs the MCS index + * \param nprb the no. of PRB + * \return the Transport Block Size in bits */ int GetDlTbSizeFromMcs(int mcs, int nprb); /** * \brief Get the Transport Block Size for a selected MCS and number of PRB (table 8.6.1-1 - * of 36.213) \param mcs the MCS index \param nprb the no. of PRB \return the Transport Block - * Size in bits + * of 36.213) + * \param mcs the MCS index + * \param nprb the no. of PRB + * \return the Transport Block Size in bits */ int GetUlTbSizeFromMcs(int mcs, int nprb); diff --git a/src/lte/model/lte-as-sap.h b/src/lte/model/lte-as-sap.h index b3ab1fac8..05e9fea56 100644 --- a/src/lte/model/lte-as-sap.h +++ b/src/lte/model/lte-as-sap.h @@ -34,7 +34,6 @@ namespace ns3 * In particular, this class implements the * Provider part of the SAP, i.e., the methods exported by the * LteUeRrc and called by the EpcUeNas. - * */ class LteAsSapProvider { @@ -84,7 +83,6 @@ class LteAsSapProvider /** * \brief Tell the RRC entity to release the connection. - * */ virtual void Disconnect() = 0; }; @@ -95,7 +93,6 @@ class LteAsSapProvider * In particular, this class implements the * User part of the SAP, i.e., the methods exported by the * EpcUeNas and called by the LteUeRrc. - * */ class LteAsSapUser { @@ -104,19 +101,16 @@ class LteAsSapUser /** * \brief Notify the NAS that RRC Connection Establishment was successful. - * */ virtual void NotifyConnectionSuccessful() = 0; /** * \brief Notify the NAS that RRC Connection Establishment failed. - * */ virtual void NotifyConnectionFailed() = 0; /** * Notify the NAS that RRC Connection was released - * */ virtual void NotifyConnectionReleased() = 0; @@ -131,7 +125,6 @@ class LteAsSapUser /** * Template for the implementation of the LteAsSapProvider as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberLteAsSapProvider : public LteAsSapProvider @@ -213,7 +206,6 @@ MemberLteAsSapProvider::Disconnect() /** * Template for the implementation of the LteAsSapUser as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberLteAsSapUser : public LteAsSapUser diff --git a/src/lte/model/lte-enb-cphy-sap.h b/src/lte/model/lte-enb-cphy-sap.h index 52d53fb22..d1bb52090 100644 --- a/src/lte/model/lte-enb-cphy-sap.h +++ b/src/lte/model/lte-enb-cphy-sap.h @@ -41,24 +41,28 @@ class LteEnbCphySapProvider { public: /** - * destructor + * Destructor */ virtual ~LteEnbCphySapProvider(); /** - * + * Set cell ID * * \param cellId the Cell Identifier */ virtual void SetCellId(uint16_t cellId) = 0; /** + * Set bandwidth + * * \param ulBandwidth the UL bandwidth in PRBs * \param dlBandwidth the DL bandwidth in PRBs */ virtual void SetBandwidth(uint16_t ulBandwidth, uint16_t dlBandwidth) = 0; /** + * Set EARFCN + * * \param ulEarfcn the UL EARFCN * \param dlEarfcn the DL EARFCN */ @@ -87,30 +91,37 @@ class LteEnbCphySapProvider virtual void SetPa(uint16_t rnti, double pa) = 0; /** + * Set transmission mode + * * \param rnti the RNTI of the user * \param txMode the transmissionMode of the user */ virtual void SetTransmissionMode(uint16_t rnti, uint8_t txMode) = 0; /** + * Set SRS configuration index + * * \param rnti the RNTI of the user * \param srsCi the SRS Configuration Index of the user */ virtual void SetSrsConfigurationIndex(uint16_t rnti, uint16_t srsCi) = 0; /** + * Set master information block * * \param mib the Master Information Block to be sent on the BCH */ virtual void SetMasterInformationBlock(LteRrcSap::MasterInformationBlock mib) = 0; /** + * Set system information block type 1 * * \param sib1 the System Information Block Type 1 to be sent on the BCH */ virtual void SetSystemInformationBlockType1(LteRrcSap::SystemInformationBlockType1 sib1) = 0; /** + * Get reference signal power * * \return Reference Signal Power for SIB2 */ @@ -127,7 +138,7 @@ class LteEnbCphySapUser { public: /** - * destructor + * Destructor */ virtual ~LteEnbCphySapUser(); }; @@ -135,7 +146,6 @@ class LteEnbCphySapUser /** * Template for the implementation of the LteEnbCphySapProvider as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberLteEnbCphySapProvider : public LteEnbCphySapProvider @@ -258,7 +268,6 @@ MemberLteEnbCphySapProvider::GetReferenceSignalPower() /** * Template for the implementation of the LteEnbCphySapUser as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberLteEnbCphySapUser : public LteEnbCphySapUser diff --git a/src/lte/model/lte-enb-phy-sap.h b/src/lte/model/lte-enb-phy-sap.h index 89b5d2706..096442766 100644 --- a/src/lte/model/lte-enb-phy-sap.h +++ b/src/lte/model/lte-enb-phy-sap.h @@ -86,7 +86,8 @@ class LteEnbPhySapUser /** * \brief Receive SendLteControlMessage (PDCCH map, CQI feedbacks) using the ideal control - * channel \param msg the Ideal Control Message to receive + * channel + * \param msg the Ideal Control Message to receive */ virtual void ReceiveLteControlMessage(Ptr msg) = 0; diff --git a/src/lte/model/lte-enb-rrc.h b/src/lte/model/lte-enb-rrc.h index ff36d3699..964751af9 100644 --- a/src/lte/model/lte-enb-rrc.h +++ b/src/lte/model/lte-enb-rrc.h @@ -1050,8 +1050,10 @@ class LteEnbRrc : public Object /** * \brief This function acts as an interface to trigger Release indication messages towards eNB - * and EPC \param imsi the IMSI \param rnti the RNTI \param bearerId Bearer Identity which is to - * be de-activated + * and EPC + * \param imsi the IMSI + * \param rnti the RNTI + * \param bearerId Bearer Identity which is to be de-activated */ void DoSendReleaseDataRadioBearer(uint64_t imsi, uint16_t rnti, uint8_t bearerId); @@ -1151,8 +1153,9 @@ class LteEnbRrc : public Object /** * Part of the RRC protocol. Forwarding LteEnbRrcSapProvider::CompleteSetupUe interface to - * UeManager::CompleteSetupUe \param rnti the RNTI \param params the - * LteEnbRrcSapProvider::CompleteSetupUeParameters + * UeManager::CompleteSetupUe + * \param rnti the RNTI + * \param params the LteEnbRrcSapProvider::CompleteSetupUeParameters */ void DoCompleteSetupUe(uint16_t rnti, LteEnbRrcSapProvider::CompleteSetupUeParameters params); /** diff --git a/src/lte/model/lte-mi-error-model.h b/src/lte/model/lte-mi-error-model.h index 8ab0e0297..18dabe690 100644 --- a/src/lte/model/lte-mi-error-model.h +++ b/src/lte/model/lte-mi-error-model.h @@ -78,8 +78,11 @@ class LteMiErrorModel public: /** * \brief find the mmib (mean mutual information per bit) for different modulations of the - * specified TB \param sinr the perceived sinr values in the whole bandwidth in Watt \param map - * the active RBs for the TB \param mcs the MCS of the TB \return the mmib + * specified TB + * \param sinr the perceived sinr values in the whole bandwidth in Watt + * \param map the active RBs for the TB + * \param mcs the MCS of the TB + * \return the mmib */ static double Mib(const SpectrumValue& sinr, const std::vector& map, uint8_t mcs); /** diff --git a/src/lte/model/lte-pdcp-sap.h b/src/lte/model/lte-pdcp-sap.h index 39cfd8346..56d57e777 100644 --- a/src/lte/model/lte-pdcp-sap.h +++ b/src/lte/model/lte-pdcp-sap.h @@ -53,7 +53,7 @@ class LtePdcpSapProvider * This method is to be called when upper RRC entity has a * RRC PDU ready to send * - * \param params + * \param params Parameters */ virtual void TransmitPdcpSdu(TransmitPdcpSduParameters params) = 0; }; @@ -83,7 +83,7 @@ class LtePdcpSapUser /** * Called by the PDCP entity to notify the RRC entity of the reception of a new RRC PDU * - * \param params + * \param params Parameters */ virtual void ReceivePdcpSdu(ReceivePdcpSduParameters params) = 0; }; diff --git a/src/lte/model/lte-rrc-sap.h b/src/lte/model/lte-rrc-sap.h index 5bfdc43f4..3289f1f01 100644 --- a/src/lte/model/lte-rrc-sap.h +++ b/src/lte/model/lte-rrc-sap.h @@ -50,7 +50,6 @@ class Packet; * the ns-3 coding style. Due to the 1-to-1 mapping with TS 36.331, * detailed doxygen documentation is omitted, so please refer to * 36.331 for the meaning of these data structures / fields. - * */ class LteRrcSap { @@ -736,7 +735,7 @@ class LteRrcSap struct CellIdentification { uint32_t physCellId; ///< physical cell ID - uint32_t dlCarrierFreq; ///< ARFCN - valueEUTRA + uint32_t dlCarrierFreq; ///< ARFCN - valueEUTRA }; /// AntennaInfoCommon structure @@ -1427,7 +1426,6 @@ MemberLteUeRrcSapUser::SendIdealUeContextRemoveRequest(uint16_t rnti) /** * Template for the implementation of the LteUeRrcSapProvider as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberLteUeRrcSapProvider : public LteUeRrcSapProvider @@ -1670,7 +1668,6 @@ MemberLteEnbRrcSapUser::DecodeHandoverCommand(Ptr p) /** * Template for the implementation of the LteEnbRrcSapProvider as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberLteEnbRrcSapProvider : public LteEnbRrcSapProvider diff --git a/src/lte/model/lte-ue-ccm-rrc-sap.h b/src/lte/model/lte-ue-ccm-rrc-sap.h index 5ac801558..ce426165d 100644 --- a/src/lte/model/lte-ue-ccm-rrc-sap.h +++ b/src/lte/model/lte-ue-ccm-rrc-sap.h @@ -62,7 +62,8 @@ class LteUeCcmRrcSapProvider * * \param lcId is the Logical Channel Id * \param lcConfig is a single structure contains logical Channel Id, Logical Channel config and - * Component Carrier Id \param msu is the pointer to LteMacSapUser related to the Rlc instance + * Component Carrier Id + * \param msu is the pointer to LteMacSapUser related to the Rlc instance * \return vector of LcsConfig contains the lc configuration for each Mac * the size of the vector is equal to the number of component * carrier enabled. diff --git a/src/lte/model/lte-ue-cphy-sap.h b/src/lte/model/lte-ue-cphy-sap.h index f67f83871..78d28fd53 100644 --- a/src/lte/model/lte-ue-cphy-sap.h +++ b/src/lte/model/lte-ue-cphy-sap.h @@ -41,13 +41,12 @@ class LteUeCphySapProvider { public: /** - * destructor + * Destructor */ virtual ~LteUeCphySapProvider(); /** - * reset the PHY - * + * Reset the PHY */ virtual void Reset() = 0; @@ -176,7 +175,6 @@ class LteUeCphySapProvider * \brief Reset the PHY after radio link failure function * It resets the physical layer parameters of the * UE after RLF. - * */ virtual void ResetPhyAfterRlf() = 0; @@ -186,7 +184,6 @@ class LteUeCphySapProvider * Upon receiving N311 in-sync indications from the UE * PHY the UE RRC instructs the UE PHY to reset the * RLF parameters so, it can start RLF detection again. - * */ virtual void ResetRlfParams() = 0; @@ -196,7 +193,6 @@ class LteUeCphySapProvider * problems are detected at the UE and the recovery process is * started by checking if the radio frames are in-sync for N311 * consecutive times. - * */ virtual void StartInSnycDetection() = 0; @@ -299,7 +295,6 @@ class LteUeCphySapUser /** * Template for the implementation of the LteUeCphySapProvider as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberLteUeCphySapProvider : public LteUeCphySapProvider @@ -477,7 +472,6 @@ MemberLteUeCphySapProvider::SetImsi(uint64_t imsi) /** * Template for the implementation of the LteUeCphySapUser as a member * of an owner class of type C to which all methods are forwarded - * */ template class MemberLteUeCphySapUser : public LteUeCphySapUser diff --git a/src/lte/model/lte-ue-rrc.h b/src/lte/model/lte-ue-rrc.h index ad8ffb704..dcd7b140c 100644 --- a/src/lte/model/lte-ue-rrc.h +++ b/src/lte/model/lte-ue-rrc.h @@ -504,34 +504,39 @@ class LteUeRrc : public Object void DoRecvSystemInformation(LteRrcSap::SystemInformation msg); /** * Part of the RRC protocol. Implement the LteUeRrcSapProvider::RecvRrcConnectionSetup - * interface. \param msg the LteRrcSap::RrcConnectionSetup + * interface. + * \param msg the LteRrcSap::RrcConnectionSetup */ void DoRecvRrcConnectionSetup(LteRrcSap::RrcConnectionSetup msg); /** * Part of the RRC protocol. Implement the LteUeRrcSapProvider::RecvRrcConnectionReconfiguration - * interface. \param msg the LteRrcSap::RrcConnectionReconfiguration + * interface. + * \param msg the LteRrcSap::RrcConnectionReconfiguration */ void DoRecvRrcConnectionReconfiguration(LteRrcSap::RrcConnectionReconfiguration msg); /** * Part of the RRC protocol. Implement the LteUeRrcSapProvider::RecvRrcConnectionReestablishment - * interface. \param msg LteRrcSap::RrcConnectionReestablishment + * interface. + * \param msg LteRrcSap::RrcConnectionReestablishment */ void DoRecvRrcConnectionReestablishment(LteRrcSap::RrcConnectionReestablishment msg); /** * Part of the RRC protocol. Implement the - * LteUeRrcSapProvider::RecvRrcConnectionReestablishmentReject interface. \param msg - * LteRrcSap::RrcConnectionReestablishmentReject + * LteUeRrcSapProvider::RecvRrcConnectionReestablishmentReject interface. + * \param msg LteRrcSap::RrcConnectionReestablishmentReject */ void DoRecvRrcConnectionReestablishmentReject( LteRrcSap::RrcConnectionReestablishmentReject msg); /** * Part of the RRC protocol. Implement the LteUeRrcSapProvider::RecvRrcConnectionRelease - * interface. \param msg LteRrcSap::RrcConnectionRelease + * interface. + * \param msg LteRrcSap::RrcConnectionRelease */ void DoRecvRrcConnectionRelease(LteRrcSap::RrcConnectionRelease msg); /** * Part of the RRC protocol. Implement the LteUeRrcSapProvider::RecvRrcConnectionReject - * interface. \param msg the LteRrcSap::RrcConnectionReject + * interface. + * \param msg the LteRrcSap::RrcConnectionReject */ void DoRecvRrcConnectionReject(LteRrcSap::RrcConnectionReject msg); diff --git a/src/lte/model/no-op-component-carrier-manager.h b/src/lte/model/no-op-component-carrier-manager.h index 5c9ed42a5..4847009ea 100644 --- a/src/lte/model/no-op-component-carrier-manager.h +++ b/src/lte/model/no-op-component-carrier-manager.h @@ -152,7 +152,8 @@ class NoOpComponentCarrierManager : public LteEnbComponentCarrierManager virtual void DoUlReceiveSr(uint16_t rnti, uint8_t componentCarrierId); /** * \brief Function implements the function of the SAP interface of CCM instance which is used by - * MAC to notify the PRB occupancy reported by scheduler. \param prbOccupancy the PRB occupancy + * MAC to notify the PRB occupancy reported by scheduler. + * \param prbOccupancy the PRB occupancy * \param componentCarrierId the component carrier ID */ virtual void DoNotifyPrbOccupancy(double prbOccupancy, uint8_t componentCarrierId); diff --git a/src/lte/test/lte-test-cell-selection.h b/src/lte/test/lte-test-cell-selection.h index a561d97cb..7e871dfd0 100644 --- a/src/lte/test/lte-test-cell-selection.h +++ b/src/lte/test/lte-test-cell-selection.h @@ -78,10 +78,10 @@ class LteCellSelectionTestCase : public TestCase * \param relPosY relative position to the inter site distance in Y * \param isCsgMember if true, simulation is allowed access to CSG cell * \param checkPoint the time in the simulation when the UE is verified - * \param expectedCellId1 ///< The cell ID that the UE is expected to attach to (0 means - * that the UE should not attach to any cell). \param expectedCellId2 ///< An alternative - * cell ID that the UE is expected to attach to (0 means that this no alternative cell is - * expected). + * \param expectedCellId1 the cell ID that the UE is expected to attach to + * (0 means that the UE should not attach to any cell). + * \param expectedCellId2 an alternative cell ID that the UE is expected to attach to + * (0 means that this no alternative cell is expected). */ UeSetup_t(double relPosX, double relPosY, diff --git a/src/lte/test/lte-test-radio-link-failure.h b/src/lte/test/lte-test-radio-link-failure.h index abda23397..36419fc5b 100644 --- a/src/lte/test/lte-test-radio-link-failure.h +++ b/src/lte/test/lte-test-radio-link-failure.h @@ -172,9 +172,13 @@ class LteRadioLinkFailureTestCase : public TestCase /** * \brief This callback function is executed when UE RRC receives an in-sync or out-of-sync - * indication \param context the context string \param imsi the IMSI \param rnti the RNTI \param - * cellId the cell ID \param type in-sync or out-of-sync indication \param count the number of - * in-sync or out-of-sync indications + * indication + * \param context the context string + * \param imsi the IMSI + * \param rnti the RNTI + * \param cellId the cell ID + * \param type in-sync or out-of-sync indication + * \param count the number of in-sync or out-of-sync indications */ void PhySyncDetectionCallback(std::string context, uint64_t imsi, diff --git a/src/lte/test/test-epc-tft-classifier.cc b/src/lte/test/test-epc-tft-classifier.cc index e71db3721..6beda0322 100644 --- a/src/lte/test/test-epc-tft-classifier.cc +++ b/src/lte/test/test-epc-tft-classifier.cc @@ -95,8 +95,9 @@ class EpcTftClassifierTestCase : public TestCase * \param dp the destination port * \param tos the TOS * \param tftId the TFT ID - * \param useIpv6 use IPv6 or IPv4 addresses. If set, addresses will be used as IPv4 mapped - * addresses \returns the name string + * \param useIpv6 use IPv6 or IPv4 addresses. If set, addresses will be used as IPv4 + * mapped addresses + * \returns the name string */ static std::string BuildNameString(Ptr c, EpcTft::Direction d, diff --git a/src/lte/test/test-lte-rrc.cc b/src/lte/test/test-lte-rrc.cc index 609857719..d87095664 100644 --- a/src/lte/test/test-lte-rrc.cc +++ b/src/lte/test/test-lte-rrc.cc @@ -45,8 +45,10 @@ class LteRrcConnectionEstablishmentTestCase : public TestCase * \param nBearers number of bearers to be setup in each connection * \param tConnBase connection time base value for all UEs in ms * \param tConnIncrPerUe additional connection time increment for each UE index (0...nUes-1) in - * ms \param delayDiscStart expected duration to perform connection establishment in ms \param - * errorExpected if true, test case will wait a bit longer to accommodate for transmission error + * ms + * \param delayDiscStart expected duration to perform connection establishment in ms + * \param errorExpected if true, test case will wait a bit longer to accommodate for + * transmission error * \param useIdealRrc If set to false, real RRC protocol model will be used * \param admitRrcConnectionRequest If set to false, eNb will not allow UE connections * \param description additional description of the test case @@ -71,11 +73,13 @@ class LteRrcConnectionEstablishmentTestCase : public TestCase * \param nUes number of UEs in the test * \param nBearers number of bearers to be setup in each connection * \param tConnBase connection time base value for all UEs in ms - * \param tConnIncrPerUe additional connection time increment for each UE index (0...nUes-1) in - * ms \param delayDiscStart expected duration to perform connection establishment in ms \param - * useIdealRrc If set to false, real RRC protocol model will be used \param - * admitRrcConnectionRequest If set to false, eNb will not allow UE connections \param - * description additional description of the test case \returns the name string + * \param tConnIncrPerUe additional connection time increment for each UE index (0...nUes-1) + * in ms + * \param delayDiscStart expected duration to perform connection establishment in ms + * \param useIdealRrc If set to false, real RRC protocol model will be used + * \param admitRrcConnectionRequest If set to false, eNb will not allow UE connections + * \param description additional description of the test case + * \returns the name string */ static std::string BuildNameString(uint32_t nUes, uint32_t nBearers, diff --git a/src/lte/test/test-lte-x2-handover-measures.cc b/src/lte/test/test-lte-x2-handover-measures.cc index 1b269c942..d95c4d920 100644 --- a/src/lte/test/test-lte-x2-handover-measures.cc +++ b/src/lte/test/test-lte-x2-handover-measures.cc @@ -84,8 +84,9 @@ class LteX2HandoverMeasuresTestCase : public TestCase * \param useUdp true if UDP is to be used, false if TCP is to be used * \param schedulerType type of scheduler to be used (e.g. "ns3::PfFfMacScheduler") * \param handoverAlgorithmType type of handover algorithm to be used (e.g. - * "ns3::A3RsrpHandoverAlgorithm") \param admitHo true if Ho is admitted, false if it is not - * admitted \param useIdealRrc true if ideal RRC is to be used, false if real RRC is to be used + * "ns3::A3RsrpHandoverAlgorithm") + * \param admitHo true if Ho is admitted, false if it is not admitted + * \param useIdealRrc true if ideal RRC is to be used, false if real RRC is to be used */ LteX2HandoverMeasuresTestCase(uint32_t nEnbs, uint32_t nUes, @@ -108,8 +109,10 @@ class LteX2HandoverMeasuresTestCase : public TestCase * \param useUdp true if UDP is to be used, false if TCP is to be used * \param schedulerType the scheduler type * \param handoverAlgorithmType type of handover algorithm to be used (e.g. - * "ns3::A3RsrpHandoverAlgorithm") \param admitHo true if Ho is admitted, false if it is not - * admitted \param useIdealRrc true if the ideal RRC should be used \returns the name string + * "ns3::A3RsrpHandoverAlgorithm") + * \param admitHo true if Ho is admitted, false if it is not admitted + * \param useIdealRrc true if the ideal RRC should be used + * \returns the name string */ static std::string BuildNameString(uint32_t nEnbs, uint32_t nUes, diff --git a/src/mesh/model/dot11s/hwmp-rtable.h b/src/mesh/model/dot11s/hwmp-rtable.h index f1df49ba8..97c1296f8 100644 --- a/src/mesh/model/dot11s/hwmp-rtable.h +++ b/src/mesh/model/dot11s/hwmp-rtable.h @@ -174,7 +174,8 @@ class HwmpRtable : public Object LookupResult LookupReactiveExpired(Mac48Address destination); /** * Find proactive path to tree root. Note that calling this method has side effect of deleting - * expired proactive path \return The lookup result + * expired proactive path + * \return The lookup result */ LookupResult LookupProactive(); /** @@ -186,7 +187,9 @@ class HwmpRtable : public Object /** * When peer link with a given MAC-address fails - it returns list of unreachable destination - * addresses \param peerAddress the peer address \returns the list of unreachable destinations + * addresses + * \param peerAddress the peer address + * \returns the list of unreachable destinations */ std::vector GetUnreachableDestinations( Mac48Address peerAddress); diff --git a/src/mesh/model/dot11s/peer-management-protocol.h b/src/mesh/model/dot11s/peer-management-protocol.h index 244e41a9d..8c77afba0 100644 --- a/src/mesh/model/dot11s/peer-management-protocol.h +++ b/src/mesh/model/dot11s/peer-management-protocol.h @@ -111,11 +111,13 @@ class PeerManagementProtocol : public Object /** * Deliver Peer link management information to the protocol-part * \param interface is a interface ID of a given MAC (interfaceID rather than MAC address, - * because many interfaces may have the same MAC) \param peerAddress is address of peer \param - * peerMeshPointAddress is address of peer mesh point device (equal to peer address when only - * one interface) \param aid is association ID, which peer has assigned to us \param - * peerManagementElement is peer link management element \param meshConfig is mesh configuration - * element taken from the peer management frame + * because many interfaces may have the same MAC) + * \param peerAddress is address of peer + * \param peerMeshPointAddress is address of peer mesh point device (equal to peer address when + * only one interface) + * \param aid is association ID, which peer has assigned to us + * \param peerManagementElement is peer link management element + * \param meshConfig is mesh configuration element taken from the peer management frame */ void ReceivePeerLinkFrame(uint32_t interface, Mac48Address peerAddress, @@ -154,8 +156,8 @@ class PeerManagementProtocol : public Object /// \name Interface to other protocols (MLME) ///@{ /** - * Set peer link status change callback - * \param cb the callback + * Set peer link status change callback + * \param cb the callback */ void SetPeerLinkStatusCallback(Callback cb); /** diff --git a/src/mesh/model/mesh-point-device.h b/src/mesh/model/mesh-point-device.h index e186c6b2a..cd72444f1 100644 --- a/src/mesh/model/mesh-point-device.h +++ b/src/mesh/model/mesh-point-device.h @@ -66,7 +66,8 @@ class MeshPointDevice : public NetDevice ///@{ /** * \brief Attach new interface to the station. Interface must support 48-bit MAC address and - * SendFrom method. \param port the port used + * SendFrom method. + * \param port the port used * * \attention Only MeshPointDevice can have IP address, but not individual interfaces. */ diff --git a/src/mesh/model/mesh-wifi-interface-mac.h b/src/mesh/model/mesh-wifi-interface-mac.h index 8b10f2755..b93915776 100644 --- a/src/mesh/model/mesh-wifi-interface-mac.h +++ b/src/mesh/model/mesh-wifi-interface-mac.h @@ -87,16 +87,19 @@ class MeshWifiInterfaceMac : public WifiMac /// \name Beacons ///@{ /** - * Set maximum initial random delay before first beacon - * \param interval maximum random interval + * Set maximum initial random delay before first beacon + * \param interval maximum random interval */ void SetRandomStartDelay(Time interval); /** - * Set interval between two successive beacons - * \param interval beacon interval + * Set interval between two successive beacons + * \param interval beacon interval */ void SetBeaconInterval(Time interval); - /// \return interval between two beacons + /** + * Get beacon interval. + * \return interval between two beacons + */ Time GetBeaconInterval() const; /** * \brief Next beacon frame time @@ -108,7 +111,7 @@ class MeshWifiInterfaceMac : public WifiMac Time GetTbtt() const; /** * \brief Shift TBTT. - * \param shift + * \param shift Shift * * This is supposed to be used by any entity managing beacon collision avoidance (e.g. Peer * management protocol in 802.11s) @@ -121,7 +124,7 @@ class MeshWifiInterfaceMac : public WifiMac /** * Install plugin. * - * \param plugin + * \param plugin Plugin * * \todo return unique ID to allow user to unregister plugins */ @@ -143,7 +146,7 @@ class MeshWifiInterfaceMac : public WifiMac /** * Switch frequency channel. * - * \param new_id + * \param new_id New ID. */ void SwitchFrequencyChannel(uint16_t new_id); @@ -157,11 +160,15 @@ class MeshWifiInterfaceMac : public WifiMac /** * Check supported rates. * - * \param rates + * \param rates Rates. * \return true if rates are supported */ bool CheckSupportedRates(SupportedRates rates) const; - /// \return list of supported bitrates + + /** + * Get supported rates. + * \return list of supported bitrates + */ SupportedRates GetSupportedRates() const; /// \name Metric Calculation routines: @@ -184,7 +191,10 @@ class MeshWifiInterfaceMac : public WifiMac * \param os the output stream */ void Report(std::ostream& os) const; - /// Reset statistics function + + /** + * Reset statistics function + */ void ResetStats(); /** @@ -234,9 +244,13 @@ class MeshWifiInterfaceMac : public WifiMac * \param to the to address */ void ForwardDown(Ptr packet, Mac48Address from, Mac48Address to); - /// Send beacon + /** + * Send beacon. + */ void SendBeacon(); - /// Schedule next beacon + /** + * Schedule next beacon. + */ void ScheduleNextBeacon(); /** * Get current beaconing status @@ -244,7 +258,9 @@ class MeshWifiInterfaceMac : public WifiMac * \returns true if beacon active */ bool GetBeaconGeneration() const; - /// Real d-tor + /** + * Real d-tor. + */ void DoDispose() override; private: @@ -254,7 +270,7 @@ class MeshWifiInterfaceMac : public WifiMac /// \name Mesh timing intervals ///@{ - /// whether beaconing is enabled + /// Whether beaconing is enabled bool m_beaconEnable; /// Beaconing interval. Time m_beaconInterval; @@ -285,10 +301,12 @@ class MeshWifiInterfaceMac : public WifiMac /** * Print statistics. * - * \param os + * \param os Output stream */ void Print(std::ostream& os) const; - /// constructor + /** + * Constructor. + */ Statistics(); }; diff --git a/src/mobility/test/ns2-mobility-helper-test-suite.cc b/src/mobility/test/ns2-mobility-helper-test-suite.cc index e9d376f01..896ee8d07 100644 --- a/src/mobility/test/ns2-mobility-helper-test-suite.cc +++ b/src/mobility/test/ns2-mobility-helper-test-suite.cc @@ -145,7 +145,7 @@ class Ns2MobilityHelperTest : public TestCase /** * Set NS-2 trace to read as single large string (don't forget to add \\n and quote \"'s) - * \param trace the mobility trace + * \param trace the mobility trace */ void SetTrace(const std::string& trace) { diff --git a/src/mpi/model/granted-time-window-mpi-interface.h b/src/mpi/model/granted-time-window-mpi-interface.h index c5365544c..aeff73761 100644 --- a/src/mpi/model/granted-time-window-mpi-interface.h +++ b/src/mpi/model/granted-time-window-mpi-interface.h @@ -93,8 +93,8 @@ class GrantedTimeWindowMpiInterface : public ParallelCommunicationInterface, Obj { public: /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/mpi/model/mpi-receiver.h b/src/mpi/model/mpi-receiver.h index 8cdc220ad..2ca2babd9 100644 --- a/src/mpi/model/mpi-receiver.h +++ b/src/mpi/model/mpi-receiver.h @@ -48,8 +48,8 @@ class MpiReceiver : public Object { public: /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); ~MpiReceiver() override; diff --git a/src/mpi/model/null-message-mpi-interface.h b/src/mpi/model/null-message-mpi-interface.h index dad2dade9..112e8559c 100644 --- a/src/mpi/model/null-message-mpi-interface.h +++ b/src/mpi/model/null-message-mpi-interface.h @@ -52,8 +52,8 @@ class NullMessageMpiInterface : public ParallelCommunicationInterface, Object { public: /** - * Register this type. - * \return The object TypeId. + * Register this type. + * \return The object TypeId. */ static TypeId GetTypeId(); diff --git a/src/mpi/model/remote-channel-bundle.h b/src/mpi/model/remote-channel-bundle.h index 27f18695e..378e933bf 100644 --- a/src/mpi/model/remote-channel-bundle.h +++ b/src/mpi/model/remote-channel-bundle.h @@ -61,8 +61,8 @@ class RemoteChannelBundle : public Object RemoteChannelBundle(); /** - * Construct and assing system Id. - * \param [in] remoteSystemId The system id. + * Construct and assign system Id. + * \param [in] remoteSystemId The system id. */ RemoteChannelBundle(const uint32_t remoteSystemId); @@ -91,10 +91,10 @@ class RemoteChannelBundle : public Object Time GetGuaranteeTime() const; /** - * \param time The guarantee time. - * * Set the guarantee time for the bundle. This should be called * after a packet or Null Message received. + * + * \param time The guarantee time. */ void SetGuaranteeTime(Time time); @@ -125,11 +125,11 @@ class RemoteChannelBundle : public Object std::size_t GetSize() const; /** - * \param time The delay from now when the null message should be received. - * * Send Null Message to the remote task associated with this bundle. * Message will be delivered at current simulation time + the time * passed in. + * + * \param time The delay from now when the null message should be received. */ void Send(Time time); diff --git a/src/network/model/packet-metadata.h b/src/network/model/packet-metadata.h index 9be2c1894..6a2cf8120 100644 --- a/src/network/model/packet-metadata.h +++ b/src/network/model/packet-metadata.h @@ -254,7 +254,7 @@ class PacketMetadata /** * \brief Get the metadata serialized size - * \return the seralized size + * \return the serialized size */ uint32_t GetSerializedSize() const; @@ -266,17 +266,17 @@ class PacketMetadata ItemIterator BeginItem(Buffer buffer) const; /** - * \brief Serialization to raw uint8_t* - * \param buffer the buffer to serialize to - * \param maxSize the maximum serialization size - * \return 1 on success, 0 on failure + * \brief Serialization to raw uint8_t* + * \param buffer the buffer to serialize to + * \param maxSize the maximum serialization size + * \return 1 on success, 0 on failure */ uint32_t Serialize(uint8_t* buffer, uint32_t maxSize) const; /** - * \brief Deserialization from raw uint8_t* - * \param buffer the buffer to deserialize from - * \param size the size - * \return 1 on success, 0 on failure + * \brief Deserialization from raw uint8_t* + * \param buffer the buffer to deserialize from + * \param size the size + * \return 1 on success, 0 on failure */ uint32_t Deserialize(const uint8_t* buffer, uint32_t size); @@ -424,8 +424,7 @@ class PacketMetadata uint32_t m_count; /** size (in bytes) of m_data buffer below */ uint16_t m_size; - /** max of the m_used field over all objects which - * reference this struct Data instance */ + /** max of the m_used field over all objects which reference this struct Data instance */ uint16_t m_dirtyEnd; /** variable-sized buffer of bytes */ uint8_t m_data[PACKET_METADATA_DATA_M_DATA_SIZE]; @@ -443,41 +442,41 @@ class PacketMetadata struct SmallItem { /** offset (in bytes) from start of m_data buffer - to next element in linked list. value is 0xffff - if next element does not exist. - stored as a fixed-size 16 bit integer. + to next element in linked list. value is 0xffff + if next element does not exist. + stored as a fixed-size 16 bit integer. */ uint16_t next; /** offset (in bytes) from start of m_data buffer - to previous element in linked list. value is 0xffff - if previous element does not exist. - stored as a fixed-size 16 bit integer. + to previous element in linked list. value is 0xffff + if previous element does not exist. + stored as a fixed-size 16 bit integer. */ uint16_t prev; /** the high 31 bits of this field identify the - type of the header or trailer represented by - this item: the value zero represents payload. - If the low bit of this uid is one, an ExtraItem - structure follows this SmallItem structure. - stored as a variable-size 32 bit integer. + type of the header or trailer represented by + this item: the value zero represents payload. + If the low bit of this uid is one, an ExtraItem + structure follows this SmallItem structure. + stored as a variable-size 32 bit integer. */ uint32_t typeUid; /** the size (in bytes) of the header or trailer represented - by this element. - stored as a variable-size 32 bit integer. + by this element. + stored as a variable-size 32 bit integer. */ uint32_t size; /** this field tries to uniquely identify each header or - trailer _instance_ while the typeUid field uniquely - identifies each header or trailer _type_. This field - is used to test whether two items are equal in the sense - that they represent the same header or trailer instance. - That equality test is based on the typeUid and chunkUid - fields so, the likelihood that two header instances - share the same chunkUid _and_ typeUid is very small - unless they are really representations of the same header - instance. - stored as a fixed-size 16 bit integer. + trailer _instance_ while the typeUid field uniquely + identifies each header or trailer _type_. This field + is used to test whether two items are equal in the sense + that they represent the same header or trailer instance. + That equality test is based on the typeUid and chunkUid + fields so, the likelihood that two header instances + share the same chunkUid _and_ typeUid is very small + unless they are really representations of the same header + instance. + stored as a fixed-size 16 bit integer. */ uint16_t chunkUid; }; @@ -488,19 +487,19 @@ class PacketMetadata struct ExtraItem { /** offset (in bytes) from start of original header to - the start of the fragment still present. - stored as a variable-size 32 bit integer. + the start of the fragment still present. + stored as a variable-size 32 bit integer. */ uint32_t fragmentStart; /** offset (in bytes) from start of original header to - the end of the fragment still present. - stored as a variable-size 32 bit integer. + the end of the fragment still present. + stored as a variable-size 32 bit integer. */ uint32_t fragmentEnd; /** the packetUid of the packet in which this header or trailer - was first added. It could be different from the m_packetUid - field if the user has aggregated multiple packets into one. - stored as a fixed-size 64 bit integer. + was first added. It could be different from the m_packetUid + field if the user has aggregated multiple packets into one. + stored as a fixed-size 64 bit integer. */ uint64_t packetUid; }; diff --git a/src/network/utils/flow-id-tag.h b/src/network/utils/flow-id-tag.h index dc19fbd6e..5a890f836 100644 --- a/src/network/utils/flow-id-tag.h +++ b/src/network/utils/flow-id-tag.h @@ -40,24 +40,24 @@ class FlowIdTag : public Tag FlowIdTag(); /** - * Constructs a FlowIdTag with the given flow id + * Constructs a FlowIdTag with the given flow id * - * \param flowId Id to use for the tag + * \param flowId Id to use for the tag */ FlowIdTag(uint32_t flowId); /** - * Sets the flow id for the tag - * \param flowId Id to assign to the tag + * Sets the flow id for the tag + * \param flowId Id to assign to the tag */ void SetFlowId(uint32_t flowId); /** - * Gets the flow id for the tag - * \returns current flow id for this tag + * Gets the flow id for the tag + * \returns current flow id for this tag */ uint32_t GetFlowId() const; /** - * Uses a static variable to generate sequential flow id - * \returns flow id allocated + * Uses a static variable to generate sequential flow id + * \returns flow id allocated */ static uint32_t AllocateFlowId(); diff --git a/src/network/utils/ipv6-address.h b/src/network/utils/ipv6-address.h index acda1f3b7..151564adc 100644 --- a/src/network/utils/ipv6-address.h +++ b/src/network/utils/ipv6-address.h @@ -551,8 +551,9 @@ class Ipv6Prefix void SetPrefixLength(uint8_t prefixLength); /** - * \brief Get the minimum prefix length, i.e., 128 - the length of the largest sequence trailing - * zeroes. \return minimum prefix length + * \brief Get the minimum prefix length, i.e., 128 - the length of the largest sequence + * trailing zeroes. + * \return minimum prefix length */ uint8_t GetMinimumPrefixLength() const; diff --git a/src/network/utils/lollipop-counter.h b/src/network/utils/lollipop-counter.h index 760ef4a59..c8336128c 100644 --- a/src/network/utils/lollipop-counter.h +++ b/src/network/utils/lollipop-counter.h @@ -374,9 +374,9 @@ class LollipopCounter * be on a circular region, and it is represented by * the smallest circular distance between two numbers. * - * Arithmetic operator. - * \param [in] val Counter to compute the difference against - * \return The result of the difference. + * Arithmetic operator. + * \param [in] val Counter to compute the difference against + * \return The result of the difference. */ T AbsoluteMagnitudeOfDifference(const LollipopCounter& val) const { diff --git a/src/network/utils/pcap-file.h b/src/network/utils/pcap-file.h index 26d673bcd..4542f8ab9 100644 --- a/src/network/utils/pcap-file.h +++ b/src/network/utils/pcap-file.h @@ -274,15 +274,16 @@ class PcapFile /** * \brief Compare two PCAP files packet-by-packet * + * \param f1 First PCAP file name + * \param f2 Second PCAP file name + * \param sec [out] Time stamp of first different packet, seconds. Undefined if files don't + * differ. + * \param usec [out] Time stamp of first different packet, microseconds. Undefined if files + * don't differ. + * \param packets [out] Number of first different packet. Total number of parsed packets if + * files don't differ. + * \param snapLen Snap length (if used) * \return true if files are different, false otherwise - * - * \param f1 First PCAP file name - * \param f2 Second PCAP file name - * \param sec [out] Time stamp of first different packet, seconds. Undefined if files - * doesn't differ. \param usec [out] Time stamp of first different packet, microseconds. - * Undefined if files doesn't differ. \param packets [out] Number of first different packet. - * Total number of parsed packets if files doesn't differ. \param snapLen Snap length (if - * used) */ static bool Diff(const std::string& f1, const std::string& f2, diff --git a/src/olsr/model/olsr-routing-protocol.cc b/src/olsr/model/olsr-routing-protocol.cc index 025ccffb8..e030e0cc6 100644 --- a/src/olsr/model/olsr-routing-protocol.cc +++ b/src/olsr/model/olsr-routing-protocol.cc @@ -616,7 +616,8 @@ RoutingProtocol::RecvOlsr(Ptr socket) /// \brief This auxiliary function (defined in \RFC{3626}) is used for calculating the MPR Set. /// /// \param tuple the neighbor tuple which has the main address of the node we are going to calculate -/// its degree to. \return the degree of the node. +/// its degree to. +/// \return the degree of the node. /// int RoutingProtocol::Degree(const NeighborTuple& tuple) diff --git a/src/olsr/model/olsr-routing-protocol.h b/src/olsr/model/olsr-routing-protocol.h index c7b730967..d99a342dc 100644 --- a/src/olsr/model/olsr-routing-protocol.h +++ b/src/olsr/model/olsr-routing-protocol.h @@ -231,7 +231,7 @@ class RoutingProtocol : public Ipv4RoutingProtocol * in HNA messages sent by the node. * If this method is called more than once, entries from the old * association are deleted before entries from the new one are added. - * \param routingTable the Ipv4StaticRouting routing table to be associated. + * \param routingTable the Ipv4StaticRouting routing table to be associated. */ void SetRoutingTableAssociation(Ptr routingTable); @@ -415,9 +415,9 @@ class RoutingProtocol : public Ipv4RoutingProtocol private: /** - * \brief Tests whether or not the specified route uses a non-OLSR outgoing interface. - * \param route The route to be tested. - * \returns True if the outgoing interface of the specified route is a non-OLSR interface, + * \brief Tests whether or not the specified route uses a non-OLSR outgoing interface. + * \param route The route to be tested. + * \returns True if the outgoing interface of the specified route is a non-OLSR interface, * false otherwise. */ bool UsesNonOlsrOutgoingInterface(const Ipv4RoutingTableEntry& route); @@ -542,8 +542,9 @@ class RoutingProtocol : public Ipv4RoutingProtocol * * \param olsrMessage The %OLSR message which must be forwarded. * \param duplicated NULL if the message has never been considered for forwarding, or a - * duplicate tuple in other case. \param localIface The address of the interface where the - * message was received from. \param senderAddress The sender IPv4 address. + * duplicate tuple in other case. + * \param localIface The address of the interface where the message was received from. + * \param senderAddress The sender IPv4 address. */ void ForwardDefault(olsr::MessageHeader olsrMessage, DuplicateTuple* duplicated, @@ -815,9 +816,9 @@ class RoutingProtocol : public Ipv4RoutingProtocol int Degree(const NeighborTuple& tuple); /** - * Check that address is one of my interfaces. - * \param a the address to check. - * \return true if the address is own by the node. + * Check that address is one of my interfaces. + * \param a the address to check. + * \return true if the address is own by the node. */ bool IsMyOwnAddress(const Ipv4Address& a) const; diff --git a/src/openflow/model/openflow-interface.h b/src/openflow/model/openflow-interface.h index 7e1df3634..d1e42109d 100644 --- a/src/openflow/model/openflow-interface.h +++ b/src/openflow/model/openflow-interface.h @@ -455,12 +455,15 @@ class Controller : public Object * * \param key The matching key data; used to create a flow that matches the packet. * \param buffer_id The OpenFlow Buffer ID; used to run the actions on the packet if we add or - * modify the flow. \param command Whether to add, modify, or delete this flow. \param acts List - * of actions to execute. \param actions_len Length of the actions buffer. \param idle_timeout - * Flow expires if left inactive for this amount of time (specify OFP_FLOW_PERMANENT to disable - * feature). \param hard_timeout Flow expires after this amount of time (specify - * OFP_FLOW_PERMANENT to disable feature). \return Flow data that when passed to SetFlow will - * add, modify, or delete a flow it defines. + * modify the flow. + * \param command Whether to add, modify, or delete this flow. + * \param acts List of actions to execute. + * \param actions_len Length of the actions buffer. + * \param idle_timeout Flow expires if left inactive for this amount of time (specify + * OFP_FLOW_PERMANENT to disable feature). + * \param hard_timeout Flow expires after this amount of time (specify OFP_FLOW_PERMANENT to + * disable feature). + * \return Flow data that when passed to SetFlow will add, modify, or delete a flow it defines. */ ofp_flow_mod* BuildFlow(sw_flow_key key, uint32_t buffer_id, diff --git a/src/openflow/model/openflow-switch-net-device.h b/src/openflow/model/openflow-switch-net-device.h index f021748c7..fff09dc15 100644 --- a/src/openflow/model/openflow-switch-net-device.h +++ b/src/openflow/model/openflow-switch-net-device.h @@ -185,9 +185,9 @@ class OpenFlowSwitchNetDevice : public NetDevice * \param packet_uid Packet UID; used to fetch the packet and its metadata. * \param in_port The index of the port the Packet was initially received on. * \param max_len The maximum number of bytes the caller wants to be sent; a value of 0 - * indicates the entire packet should be sent. Used when outputting to controller. \param - * out_port The port we want to output on. \param ignore_no_fwd If true, Ports that are set to - * not forward are forced to forward. + * indicates the entire packet should be sent. Used when outputting to controller. + * \param out_port The port we want to output on. + * \param ignore_no_fwd If true, Ports that are set to not forward are forced to forward. */ void DoOutput(uint32_t packet_uid, int in_port, @@ -321,8 +321,9 @@ class OpenFlowSwitchNetDevice : public NetDevice * * \param packet_uid Packet UID; used to fetch the packet and its metadata. * \param in_port The index of the port the Packet was initially received on. This port doesn't - * forward when flooding. \param flood If true, don't send out on the ports with flooding - * disabled. \return 0 if everything's ok, otherwise an error number. + * forward when flooding. + * \param flood If true, don't send out on the ports with flooding disabled. + * \return 0 if everything's ok, otherwise an error number. */ int OutputAll(uint32_t packet_uid, int in_port, bool flood); @@ -355,7 +356,8 @@ class OpenFlowSwitchNetDevice : public NetDevice * \param packet_uid Packet UID; used to fetch the packet and its metadata. * \param in_port The index of the port the Packet was initially received on. * \param max_len The maximum number of bytes that the caller wants to be sent; a value of 0 - * indicates the entire packet should be sent. \param reason Why the packet is being sent. + * indicates the entire packet should be sent. + * \param reason Why the packet is being sent. */ void OutputControl(uint32_t packet_uid, int in_port, size_t max_len, int reason); diff --git a/src/sixlowpan/model/sixlowpan-net-device.h b/src/sixlowpan/model/sixlowpan-net-device.h index b38a52fdf..7e78be402 100644 --- a/src/sixlowpan/model/sixlowpan-net-device.h +++ b/src/sixlowpan/model/sixlowpan-net-device.h @@ -201,7 +201,8 @@ class SixLowPanNetDevice : public NetDevice * \param [in] contextId context id (most be between 0 and 15 included). * \param [in] contextPrefix context prefix to be used in compression/decompression. * \param [in] compressionAllowed compression and decompression allowed (true), decompression - * only (false). \param [in] validLifetime validity time (relative to the actual time). + * only (false). + * \param [in] validLifetime validity time (relative to the actual time). * */ void AddContext(uint8_t contextId, @@ -215,7 +216,8 @@ class SixLowPanNetDevice : public NetDevice * \param [in] contextId context id (most be between 0 and 15 included). * \param [out] contextPrefix context prefix to be used in compression/decompression. * \param [out] compressionAllowed compression and decompression allowed (true), decompression - * only (false). \param [out] validLifetime validity time (relative to the actual time). + * only (false). + * \param [out] validLifetime validity time (relative to the actual time). * * \return false if the context has not been found. * @@ -274,10 +276,11 @@ class SixLowPanNetDevice : public NetDevice /** * \param [in] packet Packet sent from above down to Network Device. * \param [in] source Source mac address (only used if doSendFrom is true, i.e., "MAC - * spoofing"). \param [in] dest Mac address of the destination (already resolved). \param [in] - * protocolNumber Identifies the type of payload contained in this packet. Used to call the - * right L3Protocol when the packet is received. \param [in] doSendFrom Perform a SendFrom - * instead of a Send. + * spoofing"). + * \param [in] dest Mac address of the destination (already resolved). + * \param [in] protocolNumber Identifies the type of payload contained in this packet. Used to + * call the right L3Protocol when the packet is received. + * \param [in] doSendFrom Perform a SendFrom instead of a Send. * * Called from higher layer to send packet into Network Device * with the specified source and destination Addresses. @@ -546,11 +549,14 @@ class SixLowPanNetDevice : public NetDevice /** * \brief Performs a packet fragmentation. * \param [in] packet the packet to be fragmented (with headers already compressed with - * 6LoWPAN). \param [in] origPacketSize the size of the IP packet before the 6LoWPAN header - * compression, including the IP/L4 headers. \param [in] origHdrSize the size of the IP header - * before the 6LoWPAN header compression. \param [in] extraHdrSize the sum of the sizes of BC0 - * header and MESH header if mesh routing is used or 0. \param [out] listFragments A reference - * to the list of the resulting packets, all with the proper headers in place. + * 6LoWPAN). + * \param [in] origPacketSize the size of the IP packet before the 6LoWPAN header compression, + * including the IP/L4 headers. + * \param [in] origHdrSize the size of the IP header before the 6LoWPAN header compression. + * \param [in] extraHdrSize the sum of the sizes of BC0 header and MESH header if mesh routing + * is used or 0. + * \param [out] listFragments A reference to the list of the resulting packets, all with the + * proper headers in place. */ void DoFragmentation(Ptr packet, uint32_t origPacketSize, @@ -613,8 +619,8 @@ class SixLowPanNetDevice : public NetDevice uint16_t m_meshCacheLength; //!< length of the cache for each source. Ptr m_meshUnderJitter; //!< Random variable for the mesh-under packet retransmission. - std::map
> - m_seenPkts; //!< Seen packets, memorized by OriginatorAdddress, SequenceNumber. + std::map
> + m_seenPkts; //!< Seen packets, memorized by OriginatorAddress, SequenceNumber. Ptr m_node; //!< Smart pointer to the Node. Ptr m_netDevice; //!< Smart pointer to the underlying NetDevice. @@ -670,7 +676,7 @@ class SixLowPanNetDevice : public NetDevice * \brief Clean an address from its prefix. * * This function is used to find the relevant bits to be sent in stateful IPHC compression. - * Only the pefix length is used - the address prefix is assumed to be matching the prefix. + * Only the prefix length is used - the address prefix is assumed to be matching the prefix. * * \param address the address to be cleaned * \param prefix the prefix to remove diff --git a/src/spectrum/model/three-gpp-channel-model.h b/src/spectrum/model/three-gpp-channel-model.h index 757c091e1..2426062e2 100644 --- a/src/spectrum/model/three-gpp-channel-model.h +++ b/src/spectrum/model/three-gpp-channel-model.h @@ -290,10 +290,14 @@ class ThreeGppChannelModel : public MatrixBasedChannelModel * Compute the channel matrix between two nodes a and b, and their * antenna arrays aAntenna and bAntenna using the procedure * described in 3GPP TR 38.901 - * \param channelParams the channel parameters previously generated for the pair of nodes a and - * b \param table3gpp the 3gpp parameters table \param sMob the mobility model of node s \param - * uMob the mobility model of node u \param sAntenna the antenna array of node s \param uAntenna - * the antenna array of node u \return the channel realization + * \param channelParams the channel parameters previously generated for the pair of + * nodes a and b + * \param table3gpp the 3gpp parameters table + * \param sMob the mobility model of node s + * \param uMob the mobility model of node u + * \param sAntenna the antenna array of node s + * \param uAntenna the antenna array of node u + * \return the channel realization */ virtual Ptr GetNewChannel(Ptr channelParams, @@ -325,9 +329,10 @@ class ThreeGppChannelModel : public MatrixBasedChannelModel /** * Check if the channel matrix has to be updated (it needs update when the channel params - * generation time is more recent than channel matrix generation time \param channelParams - * channel params structure \param channelMatrix channel matrix structure \return true if the - * channel matrix has to be updated, false otherwise + * generation time is more recent than channel matrix generation time + * \param channelParams channel params structure + * \param channelMatrix channel matrix structure + * \return true if the channel matrix has to be updated, false otherwise */ bool ChannelMatrixNeedsUpdate(Ptr channelParams, Ptr channelMatrix); diff --git a/src/spectrum/model/wifi-spectrum-value-helper.h b/src/spectrum/model/wifi-spectrum-value-helper.h index c0cea026e..68a2be61e 100644 --- a/src/spectrum/model/wifi-spectrum-value-helper.h +++ b/src/spectrum/model/wifi-spectrum-value-helper.h @@ -96,8 +96,9 @@ class WifiSpectrumValueHelper * \param minInnerBandDbr the minimum relative power in the inner band (in dBr) * \param minOuterbandDbr the minimum relative power in the outer band (in dBr) * \param lowestPointDbr maximum relative power of the outermost subcarriers of the guard band - * (in dBr) \return a pointer to a newly allocated SpectrumValue representing the OFDM Transmit - * Power Spectral Density in W/Hz for each Band + * (in dBr) + * \return a pointer to a newly allocated SpectrumValue representing the OFDM Transmit Power + * Spectral Density in W/Hz for each Band */ static Ptr CreateOfdmTxPowerSpectralDensity(uint32_t centerFrequency, uint16_t channelWidth, @@ -118,9 +119,10 @@ class WifiSpectrumValueHelper * \param minInnerBandDbr the minimum relative power in the inner band (in dBr) * \param minOuterbandDbr the minimum relative power in the outer band (in dBr) * \param lowestPointDbr maximum relative power of the outermost subcarriers of the guard band - * (in dBr) \param puncturedSubchannels bitmap indicating whether a 20 MHz subchannel is - * punctured or not \return a pointer to a newly allocated SpectrumValue representing the - * duplicated 20 MHz OFDM Transmit Power Spectral Density in W/Hz for each Band + * (in dBr) + * \param puncturedSubchannels bitmap indicating whether a 20 MHz subchannel is punctured or not + * \return a pointer to a newly allocated SpectrumValue representing the duplicated 20 MHz OFDM + * Transmit Power Spectral Density in W/Hz for each Band */ static Ptr CreateDuplicated20MhzTxPowerSpectralDensity( uint32_t centerFrequency, @@ -144,8 +146,9 @@ class WifiSpectrumValueHelper * \param minInnerBandDbr the minimum relative power in the inner band (in dBr) * \param minOuterbandDbr the minimum relative power in the outer band (in dBr) * \param lowestPointDbr maximum relative power of the outermost subcarriers of the guard band - * (in dBr) \return a pointer to a newly allocated SpectrumValue representing the HT OFDM - * Transmit Power Spectral Density in W/Hz for each Band + * (in dBr) + * \return a pointer to a newly allocated SpectrumValue representing the HT OFDM Transmit Power + * Spectral Density in W/Hz for each Band */ static Ptr CreateHtOfdmTxPowerSpectralDensity(uint32_t centerFrequency, uint16_t channelWidth, @@ -167,9 +170,10 @@ class WifiSpectrumValueHelper * \param minInnerBandDbr the minimum relative power in the inner band (in dBr) * \param minOuterbandDbr the minimum relative power in the outer band (in dBr) * \param lowestPointDbr maximum relative power of the outermost subcarriers of the guard band - * (in dBr) \param puncturedSubchannels bitmap indicating whether a 20 MHz subchannel is - * punctured or not \return a pointer to a newly allocated SpectrumValue representing the HE - * OFDM Transmit Power Spectral Density in W/Hz for each Band + * (in dBr) + * \param puncturedSubchannels bitmap indicating whether a 20 MHz subchannel is punctured or not + * \return a pointer to a newly allocated SpectrumValue representing the HE OFDM Transmit Power + * Spectral Density in W/Hz for each Band */ static Ptr CreateHeOfdmTxPowerSpectralDensity( uint32_t centerFrequency, @@ -274,18 +278,24 @@ class WifiSpectrumValueHelper * between the inner and the middle bands. * * \param c spectrumValue to allocate according to transmit power spectral density mask (in W/Hz - * for each band) \param allocatedSubBands vector of start and stop subcarrier indexes of the - * allocated sub bands \param maskBand start and stop subcarrier indexes of transmit mask (in - * case signal doesn't cover whole SpectrumModel) \param txPowerPerBandW power allocated to each - * subcarrier in the allocated sub bands \param nGuardBands size (in number of subcarriers) of - * the guard band (left and right) \param innerSlopeWidth size (in number of subcarriers) of the - * inner band (i.e. slope going from 0 dBr to -20 dBr in the figure above) \param - * minInnerBandDbr the minimum relative power in the inner band (i.e. -20 dBr in the figure - * above) \param minOuterbandDbr the minimum relative power in the outer band (i.e. -28 dBr in - * the figure above) \param lowestPointDbr maximum relative power of the outermost subcarriers - * of the guard band (in dBr) \param puncturedSubBands vector of start and stop subcarrier - * indexes of the punctured sub bands \param puncturedSlopeWidth size (in number of subcarriers) - * of the punctured band slope + * for each band) + * \param allocatedSubBands vector of start and stop subcarrier indexes of the allocated sub + * bands + * \param maskBand start and stop subcarrier indexes of transmit mask (in case signal doesn't + * cover whole SpectrumModel) + * \param txPowerPerBandW power allocated to each subcarrier in the allocated sub bands + * \param nGuardBands size (in number of subcarriers) of the guard band (left and right) + * \param innerSlopeWidth size (in number of subcarriers) of the inner band (i.e. slope going + * from 0 dBr to -20 dBr in the figure above) + * \param minInnerBandDbr the minimum relative power in the inner band (i.e., -20 dBr in the + * figure above) + * \param minOuterbandDbr the minimum relative power in the outer band (i.e., -28 dBr in the + * figure above) + * \param lowestPointDbr maximum relative power of the outermost subcarriers of the guard band + * (in dBr) + * \param puncturedSubBands vector of start and stop subcarrier indexes of the punctured sub + * bands + * \param puncturedSlopeWidth size (in number of subcarriers) of the punctured band slope */ static void CreateSpectrumMaskForOfdm( Ptr c, diff --git a/src/traffic-control/model/queue-disc.h b/src/traffic-control/model/queue-disc.h index 89e0b3dac..b9e036ba7 100644 --- a/src/traffic-control/model/queue-disc.h +++ b/src/traffic-control/model/queue-disc.h @@ -544,31 +544,31 @@ class QueueDisc : public Object void DoInitialize() override; /** - * \brief Perform the actions required when the queue disc is notified of - * a packet dropped before enqueue - * \param item item that was dropped - * \param reason the reason why the item was dropped - * This method must be called by subclasses to record that a packet was - * dropped before enqueue for the specified reason + * \brief Perform the actions required when the queue disc is notified of + * a packet dropped before enqueue + * \param item item that was dropped + * \param reason the reason why the item was dropped + * This method must be called by subclasses to record that a packet was + * dropped before enqueue for the specified reason */ void DropBeforeEnqueue(Ptr item, const char* reason); /** - * \brief Perform the actions required when the queue disc is notified of - * a packet dropped after dequeue - * \param item item that was dropped - * \param reason the reason why the item was dropped - * This method must be called by subclasses to record that a packet was - * dropped after dequeue for the specified reason + * \brief Perform the actions required when the queue disc is notified of + * a packet dropped after dequeue + * \param item item that was dropped + * \param reason the reason why the item was dropped + * This method must be called by subclasses to record that a packet was + * dropped after dequeue for the specified reason */ void DropAfterDequeue(Ptr item, const char* reason); /** - * \brief Marks the given packet and, if successful, updates the counters - * associated with the given reason - * \param item item that has to be marked - * \param reason the reason why the item has to be marked - * \return true if the item was successfully marked, false otherwise + * \brief Marks the given packet and, if successful, updates the counters + * associated with the given reason + * \param item item that has to be marked + * \param reason the reason why the item has to be marked + * \return true if the item was successfully marked, false otherwise */ bool Mark(Ptr item, const char* reason); @@ -671,21 +671,21 @@ class QueueDisc : public Object bool Transmit(Ptr item); /** - * \brief Perform the actions required when the queue disc is notified of - * a packet enqueue - * \param item item that was enqueued + * \brief Perform the actions required when the queue disc is notified of + * a packet enqueue + * \param item item that was enqueued */ void PacketEnqueued(Ptr item); /** - * \brief Perform the actions required when the queue disc is notified of - * a packet dequeue - * \param item item that was dequeued + * \brief Perform the actions required when the queue disc is notified of + * a packet dequeue + * \param item item that was dequeued */ void PacketDequeued(Ptr item); - static const uint32_t DEFAULT_QUOTA = - 64; //!< Default quota (as in /proc/sys/net/core/dev_weight) + /// Default quota (as in /proc/sys/net/core/dev_weight) + static const uint32_t DEFAULT_QUOTA = 64; std::vector> m_queues; //!< Internal queues std::vector> m_filters; //!< Packet filters diff --git a/src/traffic-control/test/tbf-queue-disc-test-suite.cc b/src/traffic-control/test/tbf-queue-disc-test-suite.cc index e54553f52..7817ff3df 100644 --- a/src/traffic-control/test/tbf-queue-disc-test-suite.cc +++ b/src/traffic-control/test/tbf-queue-disc-test-suite.cc @@ -104,9 +104,11 @@ class TbfQueueDiscTestCase : public TestCase void Enqueue(Ptr queue, Address dest, uint32_t size); /** * DequeueAndCheck function to check if a packet is blocked or not after dequeuing and verify - * against expected result \param queue the queue disc on which DequeueAndCheck needs to be done - * \param flag the boolean value against which the return value of dequeue () has to be compared - * with \param printStatement the string to be printed in the NS_TEST_EXPECT_MSG_EQ + * against expected result + * \param queue the queue disc on which DequeueAndCheck needs to be done + * \param flag the boolean value against which the return value of dequeue () + * has to be compared with + * \param printStatement the string to be printed in the NS_TEST_EXPECT_MSG_EQ */ void DequeueAndCheck(Ptr queue, bool flag, std::string printStatement); /** diff --git a/src/visualizer/model/pyviz.h b/src/visualizer/model/pyviz.h index 0df012545..8a8ef8c78 100644 --- a/src/visualizer/model/pyviz.h +++ b/src/visualizer/model/pyviz.h @@ -228,11 +228,14 @@ class PyViz * \param [in] boundsY1 Bounding box, minimum Y coord * \param [in] boundsX2 Bounding box, maximum X coord * \param [in] boundsY2 Bounding box, maximum Y coord - * \param [in,out] lineX1 Line, minimum X coord (any on input, clipped to the bounding box on - * output) \param [in,out] lineY1 Line, minimum Y coord (any on input, clipped to the bounding - * box on output) \param [in,out] lineX2 Line, maximum X coord (any on input, clipped to the - * bounding box on output) \param [in,out] lineY2 Line, maximum Y coord (any on input, clipped - * to the bounding box on output) + * \param [in,out] lineX1 Line, minimum X coord (any on input, clipped to the bounding box + * on output) + * \param [in,out] lineY1 Line, minimum Y coord (any on input, clipped to the bounding box + * on output) + * \param [in,out] lineX2 Line, maximum X coord (any on input, clipped to the bounding box + * on output) + * \param [in,out] lineY2 Line, maximum Y coord (any on input, clipped to the bounding box + * on output) */ // -#- @lineX1(direction=inout); @lineY1(direction=inout); @lineX2(direction=inout); // @lineY2(direction=inout) -#- @@ -276,14 +279,14 @@ class PyViz struct TransmissionSampleKey { /** - * less than operator + * Less than operator * * \param other object to compare * \return true if less than */ bool operator<(const TransmissionSampleKey& other) const; /** - * equality operator + * Equality operator * * \param other object to compare * \return true if equal @@ -300,22 +303,22 @@ class PyViz uint32_t bytes; ///< bytes }; - // data + // Data std::map m_packetCaptureOptions; ///< packet capture options std::vector m_pauseMessages; ///< pause message std::map m_txRecords; ///< transmit records std::map m_transmissionSamples; ///< transmission samples - std::map, uint32_t> m_packetDrops; ///< packt drops + std::map, uint32_t> m_packetDrops; ///< packet drops std::set m_nodesOfInterest; ///< list of node IDs whose transmissions will be monitored std::map m_packetsOfInterest; ///< list of packet UIDs that will be monitored std::map m_lastPackets; ///< last packets - std::map> m_nodesStatistics; ///< node statsitics + std::map> m_nodesStatistics; ///< node statistics // Trace callbacks /** - * network transmit common trace callback function + * Network transmit common trace callback function * \param context the context * \param packet the packet * \param destination the destination MAC address @@ -324,7 +327,7 @@ class PyViz Ptr packet, const Mac48Address& destination); /** - * network receive common trace callback function + * Network receive common trace callback function * \param context the context * \param packet the packet * \param source the source MAC address @@ -334,31 +337,31 @@ class PyViz const Mac48Address& source); /** - * WIFI transmit trace callback function + * Wi-Fi transmit trace callback function * \param context the context * \param packet the packet */ void TraceNetDevTxWifi(std::string context, Ptr packet); /** - * WIFI receive trace callback function + * Wi-Fi receive trace callback function * \param context the context * \param packet the packet */ void TraceNetDevRxWifi(std::string context, Ptr packet); /** - * queue drop trace callback function + * Queue drop trace callback function * \param context the context * \param packet the packet */ void TraceDevQueueDrop(std::string context, Ptr packet); /** - * ipv4 drop trace callback function + * Ipv4 drop trace callback function * \param context the context * \param hdr the header * \param packet the packet * \param reason the drop reason - * \param dummy_ipv4 + * \param dummy_ipv4 the dummy Ipv4 * \param interface the interface */ void TraceIpv4Drop(std::string context, @@ -381,14 +384,14 @@ class PyViz */ void TraceNetDevRxCsma(std::string context, Ptr packet); /** - * CSMA promiscious receive function + * CSMA promiscuous receive function * \param context the context * \param packet the packet */ void TraceNetDevPromiscRxCsma(std::string context, Ptr packet); /** - * Point to point transmit trace calllback function + * Point to point transmit trace callback function * \param context the context * \param packet the packet */ @@ -401,7 +404,7 @@ class PyViz void TraceNetDevRxPointToPoint(std::string context, Ptr packet); /** - * WIMax transmit trace callback function + * WiMax transmit trace callback function * \param context the context * \param packet the packet * \param destination the destination MAC address @@ -410,7 +413,7 @@ class PyViz Ptr packet, const Mac48Address& destination); /** - * WIMax transmit trace callback function + * WiMax transmit trace callback function * \param context the context * \param packet the packet * \param source the source MAC address @@ -439,7 +442,7 @@ class PyViz const Mac48Address& source); /** - * Findnet device statistics function + * Find net device statistics function * \param node the node * \param interface the interface number * \returns the device statistics @@ -454,7 +457,8 @@ class PyViz bool m_stop; ///< stop? Time m_runUntil; ///< run until time - /// stop simulation callback function + + /// Stop simulation callback function void CallbackStopSimulation(); }; diff --git a/src/wave/model/wave-net-device.h b/src/wave/model/wave-net-device.h index f0bc900fb..4dae8ed5c 100644 --- a/src/wave/model/wave-net-device.h +++ b/src/wave/model/wave-net-device.h @@ -243,8 +243,8 @@ class WaveNetDevice : public WifiNetDevice */ bool StartSch(const SchInfo& schInfo); /** - * \param channelNumber the channel which access resource will be released. - * \return whether channel access is released successfully + * \param channelNumber the channel which access resource will be released. + * \return whether channel access is released successfully */ bool StopSch(uint32_t channelNumber); diff --git a/src/wifi/model/error-rate-model.h b/src/wifi/model/error-rate-model.h index 9a231647a..2ac76a1c4 100644 --- a/src/wifi/model/error-rate-model.h +++ b/src/wifi/model/error-rate-model.h @@ -79,7 +79,8 @@ class ErrorRateModel : public Object * \param nbits the number of bits in this chunk * \param numRxAntennas the number of active RX antennas (1 if not provided) * \param field the PPDU field to which the chunk belongs to (assumes this is for the payload - * part if not provided) \param staId the station ID for MU + * part if not provided) + * \param staId the station ID for MU * * \return probability of successfully receiving the chunk */ diff --git a/src/wifi/model/he/he-phy.h b/src/wifi/model/he/he-phy.h index 79293ca31..68dbd11c4 100644 --- a/src/wifi/model/he/he-phy.h +++ b/src/wifi/model/he/he-phy.h @@ -458,7 +458,8 @@ class HePhy : public VhtPhy * * \param event the event holding incoming PPDU's information * \param status the status of the reception of the correctly received SIG-A after the - * configuration support check \return the updated status of the reception of the SIG-A + * configuration support check + * \return the updated status of the reception of the SIG-A */ virtual PhyFieldRxStatus ProcessSigA(Ptr event, PhyFieldRxStatus status); @@ -468,7 +469,8 @@ class HePhy : public VhtPhy * * \param event the event holding incoming PPDU's information * \param status the status of the reception of the correctly received SIG-A after the - * configuration support check \return the updated status of the reception of the SIG-B + * configuration support check + * \return the updated status of the reception of the SIG-B */ virtual PhyFieldRxStatus ProcessSigB(Ptr event, PhyFieldRxStatus status); diff --git a/src/wifi/model/ht/ht-capabilities.h b/src/wifi/model/ht/ht-capabilities.h index f2ff46893..0ca570856 100644 --- a/src/wifi/model/ht/ht-capabilities.h +++ b/src/wifi/model/ht/ht-capabilities.h @@ -62,8 +62,9 @@ class HtCapabilities : public WifiInformationElement * Set the Supported MCS Set field in the HT Capabilities information element. * * \param ctrl1 the first 64 bytes of the Supported MCS Set field in the HT Capabilities - * information element \param ctrl2 the last 64 bytes of the Supported MCS Set field in the HT - * Capabilities information element + * information element + * \param ctrl2 the last 64 bytes of the Supported MCS Set field in the HT Capabilities + * information element */ void SetSupportedMcsSet(uint64_t ctrl1, uint64_t ctrl2); /** diff --git a/src/wifi/model/ht/ht-operation.h b/src/wifi/model/ht/ht-operation.h index 8ce88fdb3..53e1e5c7b 100644 --- a/src/wifi/model/ht/ht-operation.h +++ b/src/wifi/model/ht/ht-operation.h @@ -82,8 +82,9 @@ class HtOperation : public WifiInformationElement /** * Set the Basic MCS Set field in the HT Operation information element. * - * \param ctrl1 the first 64 bytes of the Basic MCS Set field in the HT Operation information - * element \param ctrl2 the last 64 bytes of the Basic MCS Set field in the HT Operation + * \param ctrl1 the first 64 bytes of the Basic MCS Set field in the HT Operation + * information element + * \param ctrl2 the last 64 bytes of the Basic MCS Set field in the HT Operation * information element */ void SetBasicMcsSet(uint64_t ctrl1, uint64_t ctrl2); diff --git a/src/wifi/model/non-ht/dsss-phy.h b/src/wifi/model/non-ht/dsss-phy.h index a692bfb74..a2cceed12 100644 --- a/src/wifi/model/non-ht/dsss-phy.h +++ b/src/wifi/model/non-ht/dsss-phy.h @@ -201,7 +201,8 @@ class DsssPhy : public PhyEntity * * \param uniqueName the unique name of the WifiMode * \param modClass the modulation class of the WifiMode, must be either WIFI_MOD_CLASS_DSSS or - * WIFI_MOD_CLASS_HR_DSSS \return the DSSS or HR/DSSS WifiMode + * WIFI_MOD_CLASS_HR_DSSS + * \return the DSSS or HR/DSSS WifiMode */ static WifiMode CreateDsssMode(std::string uniqueName, WifiModulationClass modClass); diff --git a/src/wifi/model/phy-entity.h b/src/wifi/model/phy-entity.h index dcc5bce08..4ee8979f5 100644 --- a/src/wifi/model/phy-entity.h +++ b/src/wifi/model/phy-entity.h @@ -277,9 +277,10 @@ class PhyEntity : public SimpleRefCount * \param mpdutype the type of the MPDU as defined in WifiPhy::MpduType. * \param incFlag this flag is used to indicate that the variables need to be update or not * This function is called a couple of times for the same packet so variables should not be - * increased each time. \param totalAmpduSize the total size of the previously transmitted MPDUs - * for the concerned A-MPDU. If incFlag is set, this parameter will be updated. \param - * totalAmpduNumSymbols the number of symbols previously transmitted for the MPDUs in the + * increased each time. + * \param totalAmpduSize the total size of the previously transmitted MPDUs for the concerned + * A-MPDU. If incFlag is set, this parameter will be updated. + * \param totalAmpduNumSymbols the number of symbols previously transmitted for the MPDUs in the * concerned A-MPDU, used for the computation of the number of symbols needed for the last MPDU. * If incFlag is set, this parameter will be updated. * \param staId the STA-ID of the PSDU (only used for MU PPDUs) @@ -660,8 +661,9 @@ class PhyEntity : public SimpleRefCount * \param psdu the arriving MPDU formatted as a PSDU * \param event the event holding incoming PPDU's information * \param staId the station ID of the PSDU (only used for MU) - * \param relativeMpduStart the relative start time of the MPDU within the A-MPDU. 0 for normal - * MPDUs \param mpduDuration the duration of the MPDU + * \param relativeMpduStart the relative start time of the MPDU within the A-MPDU. + * 0 for normal MPDUs + * \param mpduDuration the duration of the MPDU * * \return information on MPDU reception: status, signal power (dBm), and noise power (in dBm) */ diff --git a/src/wifi/model/vht/vht-phy.h b/src/wifi/model/vht/vht-phy.h index f7c0a7e5f..3835c9641 100644 --- a/src/wifi/model/vht/vht-phy.h +++ b/src/wifi/model/vht/vht-phy.h @@ -307,8 +307,9 @@ class VhtPhy : public HtPhy * * \param event the event holding incoming PPDU's information * \param status the status of the reception of the correctly received SIG-A or SIG-B after the - * configuration support check \param field the current PPDU field to identify whether it is - * SIG-A or SIG-B \return the updated status of the reception of the SIG-A or SIG-B + * configuration support check + * \param field the current PPDU field to identify whether it is SIG-A or SIG-B + * \return the updated status of the reception of the SIG-A or SIG-B */ virtual PhyFieldRxStatus ProcessSig(Ptr event, PhyFieldRxStatus status, diff --git a/src/wifi/model/wifi-mac-queue.h b/src/wifi/model/wifi-mac-queue.h index 810f1ba70..058518fc2 100644 --- a/src/wifi/model/wifi-mac-queue.h +++ b/src/wifi/model/wifi-mac-queue.h @@ -190,8 +190,9 @@ class WifiMacQueue : public Queue * The packet is not removed from queue. * * \param linkId the ID of the given link - * \param blockedPackets the destination address & TID pairs that are waiting for a BlockAck - * response \param item the item after which the search starts from + * \param blockedPackets the destination address & TID pairs that are waiting for a + * BlockAck response + * \param item the item after which the search starts from * * \return the peeked packet or nullptr if no packet was found */ diff --git a/src/wifi/model/wifi-mac.h b/src/wifi/model/wifi-mac.h index 6b54cd78e..d8fd16b2b 100644 --- a/src/wifi/model/wifi-mac.h +++ b/src/wifi/model/wifi-mac.h @@ -310,8 +310,9 @@ class WifiMac : public Object void SetWifiRemoteStationManagers( const std::vector>& stationManagers); /** - * \param linkId the ID (starting at 0) of the link of the RemoteStationManager object to - * retrieve \return the remote station manager operating on the given link + * \param linkId the ID (starting at 0) of the link of the RemoteStationManager object + * to retrieve + * \return the remote station manager operating on the given link */ Ptr GetWifiRemoteStationManager(uint8_t linkId = 0) const; diff --git a/src/wifi/model/wifi-phy.h b/src/wifi/model/wifi-phy.h index dc8066a8b..7881994b4 100644 --- a/src/wifi/model/wifi-phy.h +++ b/src/wifi/model/wifi-phy.h @@ -295,9 +295,10 @@ class WifiPhy : public Object * \param mpdutype the type of the MPDU as defined in WifiPhy::MpduType. * \param incFlag this flag is used to indicate that the variables need to be update or not * This function is called a couple of times for the same packet so variables should not be - * increased each time. \param totalAmpduSize the total size of the previously transmitted MPDUs - * for the concerned A-MPDU. If incFlag is set, this parameter will be updated. \param - * totalAmpduNumSymbols the number of symbols previously transmitted for the MPDUs in the + * increased each time. + * \param totalAmpduSize the total size of the previously transmitted MPDUs for the concerned + * A-MPDU. If incFlag is set, this parameter will be updated. + * \param totalAmpduNumSymbols the number of symbols previously transmitted for the MPDUs in the * concerned A-MPDU, used for the computation of the number of symbols needed for the last MPDU. * If incFlag is set, this parameter will be updated. * \param staId the STA-ID of the PSDU (only used for MU PPDUs) @@ -595,7 +596,9 @@ class WifiPhy : public Object * on a nearby channel. * \param txVector the TXVECTOR that holds RX parameters * \param signalNoise signal power and noise power in dBm (noise power includes the noise - * figure) \param statusPerMpdu reception status per MPDU \param staId the STA-ID + * figure) + * \param statusPerMpdu reception status per MPDU + * \param staId the STA-ID */ void NotifyMonitorSniffRx(Ptr psdu, uint16_t channelFreqMhz, @@ -619,9 +622,11 @@ class WifiPhy : public Object * \param txVector the TXVECTOR that holds RX parameters * \param aMpdu the type of the packet (0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU * and 2 is the last MPDU in an A-MPDU) and the A-MPDU reference number (must be a different - * value for each A-MPDU but the same for each subframe within one A-MPDU) \param signalNoise - * signal power and noise power in dBm \param staId the STA-ID \todo WifiTxVector should be - * passed by const reference because of its size. + * value for each A-MPDU but the same for each subframe within one A-MPDU) + * \param signalNoise signal power and noise power in dBm + * \param staId the STA-ID + * + * \todo WifiTxVector should be passed by const reference because of its size. */ typedef void (*MonitorSnifferRxCallback)(Ptr packet, uint16_t channelFreqMhz, @@ -657,8 +662,10 @@ class WifiPhy : public Object * \param txVector the TXVECTOR that holds TX parameters * \param aMpdu the type of the packet (0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU * and 2 is the last MPDU in an A-MPDU) and the A-MPDU reference number (must be a different - * value for each A-MPDU but the same for each subframe within one A-MPDU) \param staId the - * STA-ID \todo WifiTxVector should be passed by const reference because of its size. + * value for each A-MPDU but the same for each subframe within one A-MPDU) + * \param staId the STA-ID + * + * \todo WifiTxVector should be passed by const reference because of its size. */ typedef void (*MonitorSnifferTxCallback)(const Ptr packet, uint16_t channelFreqMhz, @@ -990,9 +997,9 @@ class WifiPhy : public Object * Reset PHY to IDLE, with some potential TX power restrictions for the next transmission. * * \param powerRestricted flag whether the transmit power is restricted for the next - * transmission \param txPowerMaxSiso the SISO transmit power restriction for the next - * transmission in dBm \param txPowerMaxMimo the MIMO transmit power restriction for the next - * transmission in dBm + * transmission + * \param txPowerMaxSiso the SISO transmit power restriction for the next transmission in dBm + * \param txPowerMaxMimo the MIMO transmit power restriction for the next transmission in dBm */ void ResetCca(bool powerRestricted, double txPowerMaxSiso = 0, double txPowerMaxMimo = 0); /** diff --git a/src/wifi/model/wifi-psdu.h b/src/wifi/model/wifi-psdu.h index e9daae9ba..da169919e 100644 --- a/src/wifi/model/wifi-psdu.h +++ b/src/wifi/model/wifi-psdu.h @@ -120,7 +120,8 @@ class WifiPsdu : public SimpleRefCount /** * \brief Get a copy of the i-th A-MPDU subframe (includes subframe header, MPDU, and possibly - * padding) \param i the index in the list of A-MPDU subframes \return the i-th A-MPDU subframe. + * padding) + * \param i the index in the list of A-MPDU subframes \return the i-th A-MPDU subframe. */ Ptr GetAmpduSubframe(std::size_t i) const; diff --git a/src/wifi/model/wifi-tx-vector.h b/src/wifi/model/wifi-tx-vector.h index 57455d5d9..6d35bda5e 100644 --- a/src/wifi/model/wifi-tx-vector.h +++ b/src/wifi/model/wifi-tx-vector.h @@ -266,8 +266,8 @@ class WifiTxVector void SetNess(uint8_t ness); /** * Checks whether the PSDU contains A-MPDU. - * \returns true if this PSDU has A-MPDU aggregation, - * false otherwise. + * \returns true if this PSDU has A-MPDU aggregation, + * false otherwise. */ bool IsAggregation() const; /** diff --git a/src/wifi/test/wifi-phy-cca-test.cc b/src/wifi/test/wifi-phy-cca-test.cc index 716107336..b2a774cd8 100644 --- a/src/wifi/test/wifi-phy-cca-test.cc +++ b/src/wifi/test/wifi-phy-cca-test.cc @@ -116,10 +116,12 @@ class WifiPhyCcaThresholdsTest : public TestCase /** * Function to verify the CCA threshold that is being reported by a given PHY entity upon - * reception of a signal or a PPDU \param phy the PHY entity to verify \param ppdu the incoming - * PPDU or signal (if nullptr) \param channelType the channel list type that indicates which - * channel the PPDU or the signal occupies \param expectedCcaThresholdDbm the CCA threshold in - * dBm that is expected to be reported + * reception of a signal or a PPDU + * \param phy the PHY entity to verify + * \param ppdu the incoming PPDU or signal (if nullptr) + * \param channelType the channel list type that indicates which channel the PPDU or the + * signal occupies + * \param expectedCcaThresholdDbm the CCA threshold in dBm that is expected to be reported */ void VerifyCcaThreshold(const Ptr phy, const Ptr ppdu, diff --git a/src/wifi/test/wifi-phy-ofdma-test.cc b/src/wifi/test/wifi-phy-ofdma-test.cc index 6a64fd90a..e0a95a21f 100644 --- a/src/wifi/test/wifi-phy-ofdma-test.cc +++ b/src/wifi/test/wifi-phy-ofdma-test.cc @@ -2275,8 +2275,10 @@ class TestMultipleHeTbPreambles : public TestCase * Receive HE TB PPDU function. * * \param uid the UID used to identify a set of HE TB PPDUs belonging to the same UL-MU - * transmission \param staId the STA ID \param txPowerWatts the TX power in watts \param - * payloadSize the size of the payload in bytes + * transmission + * \param staId the STA ID + * \param txPowerWatts the TX power in watts + * \param payloadSize the size of the payload in bytes */ void RxHeTbPpdu(uint64_t uid, uint16_t staId, double txPowerWatts, size_t payloadSize); @@ -3082,17 +3084,17 @@ class TestUlOfdmaPhyTransmission : public TestCase /** * Check the the number of RX start notifications at the AP as well as the last time a RX start - * has been notified \param expectedNotifications the expected number of RX start notifications - * at the AP \param expectedLastNotification the expected time of the last RX start notification - * at the AP + * has been notified + * \param expectedNotifications the expected number of RX start notifications at the AP + * \param expectedLastNotification the expected time of the last RX start notification at the AP */ void CheckApRxStart(uint32_t expectedNotifications, Time expectedLastNotification); /** * Check the the number of RX end notifications at the AP as well as the last time a RX end has - * been notified \param expectedNotifications the expected number of RX end notifications at the - * AP \param expectedLastNotification the expected time of the last RX end notification at the - * AP \param expectedSuccess true if the last RX notification indicates a success, false - * otherwise + * been notified + * \param expectedNotifications the expected number of RX end notifications at the AP + * \param expectedLastNotification the expected time of the last RX end notification at the AP + * \param expectedSuccess true if the last RX notification indicates a success, false otherwise */ void CheckApRxEnd(uint32_t expectedNotifications, Time expectedLastNotification, @@ -3135,9 +3137,11 @@ class TestUlOfdmaPhyTransmission : public TestCase * \param expectedFailuresFromSta2 the expected number of failures from STA 2 * \param expectedBytesFromSta2 the expected number of bytes from STA 2 * \param scheduleTxSta1 flag indicating to schedule a HE TB PPDU from STA 1 - * \param ulTimeDifference delay between HE TB PPDU from STA 1 and HE TB PPDU from STA 2 are - * received \param expectedStateBeforeEnd the expected state of the PHY before the end of the - * transmission \param error the erroneous info (if any) in the TRIGVECTOR to set + * \param ulTimeDifference delay between HE TB PPDU from STA 1 and HE TB PPDU from STA 2 + * are received + * \param expectedStateBeforeEnd the expected state of the PHY before the end of the + * transmission + * \param error the erroneous info (if any) in the TRIGVECTOR to set */ void ScheduleTest(Time delay, bool solicited, diff --git a/src/wifi/test/wifi-phy-reception-test.cc b/src/wifi/test/wifi-phy-reception-test.cc index 1347e9fd0..de0cf582e 100644 --- a/src/wifi/test/wifi-phy-reception-test.cc +++ b/src/wifi/test/wifi-phy-reception-test.cc @@ -2562,8 +2562,10 @@ class TestAmpduReception : public TestCase /** * Send A-MPDU with 3 MPDUs of different size (i-th MSDU will have 100 bytes more than - * (i-1)-th). \param rxPowerDbm the transmit power in dBm \param referencePacketSize the - * reference size of the packets in bytes (i-th MSDU will have 100 bytes more than (i-1)-th) + * (i-1)-th). + * \param rxPowerDbm the transmit power in dBm + * \param referencePacketSize the reference size of the packets in bytes (i-th MSDU will have + * 100 bytes more than (i-1)-th) */ void SendAmpduWithThreeMpdus(double rxPowerDbm, uint32_t referencePacketSize); diff --git a/src/wifi/test/wifi-test.cc b/src/wifi/test/wifi-test.cc index 9a21acace..6f7d2b395 100644 --- a/src/wifi/test/wifi-test.cc +++ b/src/wifi/test/wifi-test.cc @@ -1526,8 +1526,9 @@ class Bug2843TestCase : public TestCase /** * Stores the distinct {starting frequency, channelWidth, Number of subbands in SpectrumModel, - * modulation type} tuples that have been used during the testcase run. \param context the - * context \param txParams spectrum signal parameters set by transmitter + * modulation type} tuples that have been used during the testcase run. + * \param context the context + * \param txParams spectrum signal parameters set by transmitter */ void StoreDistinctTuple(std::string context, Ptr txParams); /** @@ -3528,7 +3529,8 @@ class HeRuMcsDataRateTestCase : public TestCase * \param nss the number of spatial streams * \param guardInterval the guard interval to use * \param expectedDataRate the expected data rate in 100 kbps units (minimum granularity in - * standard tables) \returns true if data rates are the same, false otherwise + * standard tables) + * \returns true if data rates are the same, false otherwise */ bool CheckDataRate(HeRu::RuType ruType, std::string mcs, diff --git a/src/wimax/helper/wimax-helper.h b/src/wimax/helper/wimax-helper.h index 1806fd5cf..87ddbfd4b 100644 --- a/src/wimax/helper/wimax-helper.h +++ b/src/wimax/helper/wimax-helper.h @@ -96,14 +96,14 @@ class WimaxHelper : public PcapHelperForDevice, public AsciiTraceHelperForDevice WimaxHelper(); ~WimaxHelper() override; /** - * \brief Enable ascii trace output on the indicated net device for a given connection - * \param oss The output stream object to use when logging ascii traces. - * \param nodeid the id of the node for which you want to enable tracing. - * \param deviceid the id of the net device for which you want to enable tracing. - * \param netdevice the type of net device for which you want to enable tracing - * (SubscriberStationNetDevice, BaseStationNetDevice or WimaxNetDevice) \param connection the - * connection for which you want to enable tracing (InitialRangingConnection, - * BroadcastConnection, BasicConnection, PrimaryConnection). + * \brief Enable ascii trace output on the indicated net device for a given connection + * \param oss The output stream object to use when logging ascii traces. + * \param nodeid the id of the node for which you want to enable tracing. + * \param deviceid the id of the net device for which you want to enable tracing. + * \param netdevice the type of net device for which you want to enable tracing + * (SubscriberStationNetDevice, BaseStationNetDevice or WimaxNetDevice) + * \param connection the connection for which you want to enable tracing + * (InitialRangingConnection, BroadcastConnection, BasicConnection, PrimaryConnection). */ static void EnableAsciiForConnection(Ptr oss, uint32_t nodeid, diff --git a/src/wimax/model/bs-link-manager.h b/src/wimax/model/bs-link-manager.h index b4a308c92..c6dfc6994 100644 --- a/src/wimax/model/bs-link-manager.h +++ b/src/wimax/model/bs-link-manager.h @@ -76,8 +76,9 @@ class BSLinkManager : public Object void ProcessRangingRequest(Cid cid, RngReq rngreq); /** * \brief Verifies at the end of an invited ranging interval if SS sent ranging message in it or - * not \param cid the connection identifier in which the ranging message was received \param - * uiuc the ranging + * not + * \param cid the connection identifier in which the ranging message was received + * \param uiuc the ranging */ void VerifyInvitedRanging(Cid cid, uint8_t uiuc); diff --git a/src/wimax/model/cs-parameters.h b/src/wimax/model/cs-parameters.h index 056c0e4ed..1b38c8317 100644 --- a/src/wimax/model/cs-parameters.h +++ b/src/wimax/model/cs-parameters.h @@ -58,7 +58,8 @@ class CsParameters CsParameters(enum Action classifierDscAction, IpcsClassifierRecord classifier); /** * \brief sets the dynamic service classifier action to ADD, Change or delete. Only ADD is - * supported \param action the action enumeration + * supported + * \param action the action enumeration */ void SetClassifierDscAction(enum Action action); /** diff --git a/src/wimax/model/mac-messages.h b/src/wimax/model/mac-messages.h index 35628e172..29c59ed22 100644 --- a/src/wimax/model/mac-messages.h +++ b/src/wimax/model/mac-messages.h @@ -129,31 +129,33 @@ class RngRsp : public Header /** * \brief set the Tx timing offset adjustment (signed 32-bit). * \param timingAdjust The time required to advance SS transmission so frames - * arrive at the expected time instance at the BS. + * arrive at the expected time instance at the BS. */ void SetTimingAdjust(uint32_t timingAdjust); /** - * \brief set the relative change in transmission power level that the SS should make in order + * \brief set the relative change in transmission power level that the SS should make in order * that transmissions arrive at the BS at the desired power. When subchannelization is employed, * the subscriber shall interpret the power offset adjustment as a required change to the - * transmitted power density. \param powerLevelAdjust the relative change in transmission power - * level + * transmitted power density. + * \param powerLevelAdjust the relative change in transmission power level */ void SetPowerLevelAdjust(uint8_t powerLevelAdjust); /** * \brief set the relative change in transmission frequency that the SS should take in order to * better match the BS. This is fine-frequency adjustment within a channel, not reassignment to - * a different channel \param offsetFreqAdjust + * a different channel + * \param offsetFreqAdjust Offset frequency adjustment */ void SetOffsetFreqAdjust(uint32_t offsetFreqAdjust); /** * \brief set the range status. - * \param rangStatus + * \param rangStatus Range status */ void SetRangStatus(uint8_t rangStatus); /** * \brief set the Center frequency, in kHz, of new downlink channel where the SS should redo - * initial ranging. \param dlFreqOverride the Center frequency in kHz + * initial ranging. + * \param dlFreqOverride the Center frequency in kHz */ void SetDlFreqOverride(uint32_t dlFreqOverride); /** @@ -174,33 +176,33 @@ class RngRsp : public Header /** * \brief set basic CID. - * \param basicCid + * \param basicCid Basic CID */ void SetBasicCid(Cid basicCid); /** * \brief set primary CID. - * \param primaryCid + * \param primaryCid Primary CID */ void SetPrimaryCid(Cid primaryCid); /** * \brief set AAS broadcast permission. - * \param aasBdcastPermission + * \param aasBdcastPermission AAS broadcast permission */ void SetAasBdcastPermission(uint8_t aasBdcastPermission); /** * \brief set frame number. - * \param frameNumber + * \param frameNumber Frame number */ void SetFrameNumber(uint32_t frameNumber); /** * \brief set initial range opp number. - * \param initRangOppNumber + * \param initRangOppNumber Initial range opp number */ void SetInitRangOppNumber(uint8_t initRangOppNumber); /** * \brief set range sub channel. - * \param rangSubchnl + * \param rangSubchnl Range subchannel */ void SetRangSubchnl(uint8_t rangSubchnl); /** @@ -209,7 +211,7 @@ class RngRsp : public Header */ uint32_t GetTimingAdjust() const; /** - * \return the relative change in transmission power level that the SS should take in order + * \return the relative change in transmission power level that the SS should take in order * that transmissions arrive at the BS at the desired power. When subchannelization is employed, * the subscriber shall interpret the power offset adjustment as a required change to the * transmitted power density. diff --git a/src/wimax/model/service-flow-record.h b/src/wimax/model/service-flow-record.h index 4976bbcaf..67058cf1d 100644 --- a/src/wimax/model/service-flow-record.h +++ b/src/wimax/model/service-flow-record.h @@ -52,8 +52,9 @@ class ServiceFlowRecord */ uint32_t GetGrantSize() const; /** - * \brief Set the grant time stamp. Used for data alocation for ugs flows, and unicast poll (bw - * request) for non-UGS flows \param grantTimeStamp the grant time stamp to set + * \brief Set the grant time stamp. Used for data allocation for ugs flows, and unicast poll + * (bw request) for non-UGS flows + * \param grantTimeStamp the grant time stamp to set */ void SetGrantTimeStamp(Time grantTimeStamp); /** diff --git a/src/wimax/model/service-flow.h b/src/wimax/model/service-flow.h index 473e039a7..256ab6c8d 100644 --- a/src/wimax/model/service-flow.h +++ b/src/wimax/model/service-flow.h @@ -106,17 +106,23 @@ class ServiceFlow */ ServiceFlow(Tlv tlv); /** + * \brief check classifier match. + * \param srcAddress the source ip address + * \param dstAddress the destination ip address + * \param srcPort the source port + * \param dstPort the destination port + * \param proto the layer 4 protocol * \return true if the passed parameters match the classifier of the service flow, false - * otherwise \param srcAddress the source ip address \param dstAddress the destination ip - * address \param srcPort the source port \param dstPort the destination port \param proto the - * layer 4 protocol + * otherwise */ bool CheckClassifierMatch(Ipv4Address srcAddress, Ipv4Address dstAddress, uint16_t srcPort, uint16_t dstPort, uint8_t proto) const; - /// default constructor + /** + * Default constructor. + */ ServiceFlow(); /** * Constructor @@ -138,6 +144,9 @@ class ServiceFlow * \param connection the connection object */ ServiceFlow(uint32_t sfid, enum Direction direction, Ptr connection); + /** + * Destructor. + */ ~ServiceFlow(); /** * assignment operator @@ -146,7 +155,9 @@ class ServiceFlow */ ServiceFlow& operator=(const ServiceFlow& o); - /// Initial values + /** + * Initialize values. + */ void InitValues(); /** * Set direction @@ -231,10 +242,14 @@ class ServiceFlow */ bool HasPackets(MacHeaderType::HeaderType packetType) const; - /// shall be called only by BS + /** + * Shall be called only by BS. + */ void CleanUpQueue(); - /// Print QOS parameters + /** + * Print QoS parameters. + */ void PrintQoSParameters() const; /** @@ -309,7 +324,7 @@ class ServiceFlow */ uint32_t GetMaximumLatency() const; /** - * Get fixed versus varaiable SDU indicator + * Get fixed versus variable SDU indicator * \returns the fixed vs variable SDU indicator */ uint8_t GetFixedversusVariableSduIndicator() const; @@ -404,13 +419,14 @@ class ServiceFlow * \param sfid the SFID */ void SetSfid(uint32_t sfid); - /** Set service class name + /** + * Set service class name * \param name the service class name */ void SetServiceClassName(std::string name); /** * Set QOS parameter set type - * \param type the QOS paraneter set type + * \param type the QOS parameter set type */ void SetQosParamSetType(uint8_t type); /** @@ -455,7 +471,7 @@ class ServiceFlow void SetToleratedJitter(uint32_t jitter); /** * Set maximum latency - * \param MaximumLatency the maximjum latency + * \param MaximumLatency the maximum latency */ void SetMaximumLatency(uint32_t MaximumLatency); /** @@ -530,7 +546,7 @@ class ServiceFlow void SetConvergenceSublayerParam(CsParameters csparam); /** - * Set unsolicied grant interval + * Set unsolicited grant interval * \param unsolicitedGrantInterval the unsolicited grant interval */ void SetUnsolicitedGrantInterval(uint16_t unsolicitedGrantInterval); @@ -565,7 +581,7 @@ class ServiceFlow uint32_t m_maximumLatency; ///< maximum latency uint8_t m_fixedversusVariableSduIndicator; ///< fixed versus variable SDI indicator uint8_t m_sduSize; ///< SDU size - uint16_t m_targetSAID; ///< traget SAID + uint16_t m_targetSAID; ///< target SAID uint8_t m_arqEnable; ///< ARQ enable uint16_t m_arqWindowSize; ///< ARQ window size uint16_t m_arqRetryTimeoutTx; ///< ARQ retry timeout transmit diff --git a/src/wimax/model/snr-to-block-error-rate-manager.h b/src/wimax/model/snr-to-block-error-rate-manager.h index bb73dc854..50111f7ac 100644 --- a/src/wimax/model/snr-to-block-error-rate-manager.h +++ b/src/wimax/model/snr-to-block-error-rate-manager.h @@ -76,8 +76,10 @@ class SNRToBlockErrorRateManager SNRToBlockErrorRateRecord* /** * \brief returns a record of type SNRToBlockErrorRateRecord corresponding to a given modulation - * and SNR value \param SNR the SNR value \param modulation one of the seven MCS \return the - * Block Error Rate + * and SNR value + * \param SNR the SNR value + * \param modulation one of the seven MCS + * \return the Block Error Rate */ GetSNRToBlockErrorRateRecord(double SNR, uint8_t modulation); /** diff --git a/src/wimax/model/ss-net-device.h b/src/wimax/model/ss-net-device.h index e7ea5879c..895f200df 100644 --- a/src/wimax/model/ss-net-device.h +++ b/src/wimax/model/ss-net-device.h @@ -200,7 +200,7 @@ class SubscriberStationNetDevice : public WimaxNetDevice */ uint8_t GetMaxContentionRangingRetries() const; /** - * \param basicConnection the basic connection to be used + * \param basicConnection the basic connection to be used */ void SetBasicConnection(Ptr basicConnection); /** diff --git a/src/wimax/model/wimax-connection.h b/src/wimax/model/wimax-connection.h index 1bc6f8ccf..876115d5f 100644 --- a/src/wimax/model/wimax-connection.h +++ b/src/wimax/model/wimax-connection.h @@ -119,8 +119,9 @@ class WimaxConnection : public Object bool HasPackets() const; /** * \return true if the connection has at least one packet of type packetType in its queue, false - * otherwise \param packetType type of packet to check in the queue \return true if packets - * available + * otherwise + * \param packetType type of packet to check in the queue + * \return true if packets available */ bool HasPackets(MacHeaderType::HeaderType packetType) const; diff --git a/src/wimax/model/wimax-phy.h b/src/wimax/model/wimax-phy.h index a212e89cf..ecc8ef75a 100644 --- a/src/wimax/model/wimax-phy.h +++ b/src/wimax/model/wimax-phy.h @@ -284,9 +284,10 @@ class WimaxPhy : public Object PhyState GetState() const; /** * \brief scan a frequency for maximum timeout seconds and call the callback if the frequency - * can be used \param frequency the frequency to scan \param timeout the timeout before - * considering the channel as unusable \param callback the function to call if the channel could - * be used + * can be used + * \param frequency the frequency to scan + * \param timeout the timeout before considering the channel as unusable + * \param callback the function to call if the channel could be used */ void StartScanning(uint64_t frequency, Time timeout, Callback callback); @@ -325,8 +326,10 @@ class WimaxPhy : public Object uint64_t GetNrSymbols(uint32_t size, ModulationType modulationType) const; /** * Get the maximum number of bytes that could be carried by symbols symbols using the modulation - * modulationType \return the maximum number of bytes \param symbols the number of symbols to - * use \param modulationType the modulation that will be used + * modulationType + * \param symbols the number of symbols to use + * \param modulationType the modulation that will be used + * \return the maximum number of bytes */ uint64_t GetNrBytes(uint32_t symbols, ModulationType modulationType) const; /** From a60681528df5c4f1e9724b623df8f22440ed1d63 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sat, 8 Oct 2022 15:23:58 +0200 Subject: [PATCH 054/142] lr-wpan: (fixes #741) add a post-rx error model --- RELEASE_NOTES.md | 1 + src/lr-wpan/model/lr-wpan-phy.cc | 112 +++++++++++++++++++------------ src/lr-wpan/model/lr-wpan-phy.h | 16 +++++ 3 files changed, 86 insertions(+), 43 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 054418438..76c9cb772 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -31,6 +31,7 @@ Release 3-dev - (utils) `utils/bench-scheduler` has been enhanced to test multiple schedulers. - (lte) LTE handover failure is now handled for joining and leaving timeouts, RACH failure, and preamble allocation failure. - (lr-wpan) !1131 - Add support for configurable tx queue and ind tx queue limits. +- (lr-wpan) !1133 - Add a post-rx error model. ### Bugs fixed diff --git a/src/lr-wpan/model/lr-wpan-phy.cc b/src/lr-wpan/model/lr-wpan-phy.cc index 1ff4f9ec9..6362c1cf0 100644 --- a/src/lr-wpan/model/lr-wpan-phy.cc +++ b/src/lr-wpan/model/lr-wpan-phy.cc @@ -29,12 +29,14 @@ #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -80,49 +82,58 @@ const LrWpanPhyPpduHeaderSymbolNumber TypeId LrWpanPhy::GetTypeId() { - static TypeId tid = TypeId("ns3::LrWpanPhy") - .SetParent() - .SetGroupName("LrWpan") - .AddConstructor() - .AddTraceSource("TrxStateValue", - "The state of the transceiver", - MakeTraceSourceAccessor(&LrWpanPhy::m_trxState), - "ns3::TracedValueCallback::LrWpanPhyEnumeration") - .AddTraceSource("TrxState", - "The state of the transceiver", - MakeTraceSourceAccessor(&LrWpanPhy::m_trxStateLogger), - "ns3::LrWpanPhy::StateTracedCallback") - .AddTraceSource("PhyTxBegin", - "Trace source indicating a packet has " - "begun transmitting over the channel medium", - MakeTraceSourceAccessor(&LrWpanPhy::m_phyTxBeginTrace), - "ns3::Packet::TracedCallback") - .AddTraceSource("PhyTxEnd", - "Trace source indicating a packet has been " - "completely transmitted over the channel.", - MakeTraceSourceAccessor(&LrWpanPhy::m_phyTxEndTrace), - "ns3::Packet::TracedCallback") - .AddTraceSource("PhyTxDrop", - "Trace source indicating a packet has been " - "dropped by the device during transmission", - MakeTraceSourceAccessor(&LrWpanPhy::m_phyTxDropTrace), - "ns3::Packet::TracedCallback") - .AddTraceSource("PhyRxBegin", - "Trace source indicating a packet has begun " - "being received from the channel medium by the device", - MakeTraceSourceAccessor(&LrWpanPhy::m_phyRxBeginTrace), - "ns3::Packet::TracedCallback") - .AddTraceSource("PhyRxEnd", - "Trace source indicating a packet has been " - "completely received from the channel medium " - "by the device", - MakeTraceSourceAccessor(&LrWpanPhy::m_phyRxEndTrace), - "ns3::Packet::SinrTracedCallback") - .AddTraceSource("PhyRxDrop", - "Trace source indicating a packet has been " - "dropped by the device during reception", - MakeTraceSourceAccessor(&LrWpanPhy::m_phyRxDropTrace), - "ns3::Packet::TracedCallback"); + static TypeId tid = + TypeId("ns3::LrWpanPhy") + .SetParent() + .SetGroupName("LrWpan") + .AddConstructor() + .AddAttribute("PostReceptionErrorModel", + "An optional packet error model can be added to the receive " + "packet process after any propagation-based (SNR-based) error " + "models have been applied. Typically this is used to force " + "specific packet drops, for testing purposes.", + PointerValue(), + MakePointerAccessor(&LrWpanPhy::m_postReceptionErrorModel), + MakePointerChecker()) + .AddTraceSource("TrxStateValue", + "The state of the transceiver", + MakeTraceSourceAccessor(&LrWpanPhy::m_trxState), + "ns3::TracedValueCallback::LrWpanPhyEnumeration") + .AddTraceSource("TrxState", + "The state of the transceiver", + MakeTraceSourceAccessor(&LrWpanPhy::m_trxStateLogger), + "ns3::LrWpanPhy::StateTracedCallback") + .AddTraceSource("PhyTxBegin", + "Trace source indicating a packet has " + "begun transmitting over the channel medium", + MakeTraceSourceAccessor(&LrWpanPhy::m_phyTxBeginTrace), + "ns3::Packet::TracedCallback") + .AddTraceSource("PhyTxEnd", + "Trace source indicating a packet has been " + "completely transmitted over the channel.", + MakeTraceSourceAccessor(&LrWpanPhy::m_phyTxEndTrace), + "ns3::Packet::TracedCallback") + .AddTraceSource("PhyTxDrop", + "Trace source indicating a packet has been " + "dropped by the device during transmission", + MakeTraceSourceAccessor(&LrWpanPhy::m_phyTxDropTrace), + "ns3::Packet::TracedCallback") + .AddTraceSource("PhyRxBegin", + "Trace source indicating a packet has begun " + "being received from the channel medium by the device", + MakeTraceSourceAccessor(&LrWpanPhy::m_phyRxBeginTrace), + "ns3::Packet::TracedCallback") + .AddTraceSource("PhyRxEnd", + "Trace source indicating a packet has been " + "completely received from the channel medium " + "by the device", + MakeTraceSourceAccessor(&LrWpanPhy::m_phyRxEndTrace), + "ns3::Packet::SinrTracedCallback") + .AddTraceSource("PhyRxDrop", + "Trace source indicating a packet has been " + "dropped by the device during reception", + MakeTraceSourceAccessor(&LrWpanPhy::m_phyRxDropTrace), + "ns3::Packet::TracedCallback"); return tid; } @@ -196,6 +207,7 @@ LrWpanPhy::DoDispose() m_errorModel = nullptr; m_currentRxPacket.first = nullptr; m_currentTxPacket.first = nullptr; + m_postReceptionErrorModel = nullptr; m_ccaRequest.Cancel(); m_edRequest.Cancel(); @@ -514,6 +526,13 @@ LrWpanPhy::EndRx(Ptr par) Ptr currentPacket = currentRxParams->packetBurst->GetPackets().front(); NS_ASSERT(currentPacket); + if (m_postReceptionErrorModel && + m_postReceptionErrorModel->IsCorrupt(currentPacket->Copy())) + { + NS_LOG_DEBUG("Reception failed due to post-rx error model"); + m_currentRxPacket.second = true; + } + // If there is no error model attached to the PHY, we always report the maximum LQI value. LrWpanLqiTag tag(std::numeric_limits::max()); currentPacket->PeekPacketTag(tag); @@ -1802,4 +1821,11 @@ LrWpanPhy::AssignStreams(int64_t stream) return 1; } +void +LrWpanPhy::SetPostReceptionErrorModel(const Ptr em) +{ + NS_LOG_FUNCTION(this << em); + m_postReceptionErrorModel = em; +} + } // namespace ns3 diff --git a/src/lr-wpan/model/lr-wpan-phy.h b/src/lr-wpan/model/lr-wpan-phy.h index d82aa6734..9576016ae 100644 --- a/src/lr-wpan/model/lr-wpan-phy.h +++ b/src/lr-wpan/model/lr-wpan-phy.h @@ -41,6 +41,7 @@ class SpectrumModel; class AntennaModel; class NetDevice; class UniformRandomVariable; +class ErrorModel; /** * \ingroup lr-wpan @@ -481,6 +482,19 @@ class LrWpanPhy : public SpectrumPhy */ Ptr GetErrorModel() const; + /** + * Attach a receive ErrorModel to the LrWpanPhy. + * + * The LrWpanPhy may optionally include an ErrorModel in + * the packet receive chain. The error model is additive + * to any modulation-based error model based on SNR, and + * is typically used to force specific packet losses or + * for testing purposes. + * + * \param em Pointer to the ErrorModel. + */ + void SetPostReceptionErrorModel(const Ptr em); + /** * Get the duration of the SHR (preamble and SFD) in symbols, depending on * the currently selected channel. @@ -924,6 +938,8 @@ class LrWpanPhy : public SpectrumPhy * Uniform random variable stream. */ Ptr m_random; + + Ptr m_postReceptionErrorModel; //!< Error model for receive packet events }; } // namespace ns3 From 5519d955287a5375e28f75cb161413442d5e1b67 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sun, 16 Oct 2022 20:04:32 +0200 Subject: [PATCH 055/142] ci: re-enable gcc-8 weekly jobs --- utils/tests/gitlab-ci-gcc.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/utils/tests/gitlab-ci-gcc.yml b/utils/tests/gitlab-ci-gcc.yml index 34dd57629..577133fcb 100644 --- a/utils/tests/gitlab-ci-gcc.yml +++ b/utils/tests/gitlab-ci-gcc.yml @@ -33,23 +33,23 @@ ENABLE_MPI: --enable-mpi # GCC 8 -# weekly-build-gcc-8-debug: -# extends: .weekly-build-gcc -# image: gcc:8 -# variables: -# MODE: debug +weekly-build-gcc-8-debug: + extends: .weekly-build-gcc + image: gcc:8 + variables: + MODE: debug -# weekly-build-gcc-8-default: -# extends: .weekly-build-gcc -# image: gcc:8 -# variables: -# MODE: default +weekly-build-gcc-8-default: + extends: .weekly-build-gcc + image: gcc:8 + variables: + MODE: default -# weekly-build-gcc-8-optimized: -# extends: .weekly-build-gcc -# image: gcc:8 -# variables: -# MODE: optimized +weekly-build-gcc-8-optimized: + extends: .weekly-build-gcc + image: gcc:8 + variables: + MODE: optimized # GCC 9 weekly-build-gcc-9-debug: From 7c9628930564be95a8be90bd2b21ab031bc1b29f Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Mon, 17 Oct 2022 13:43:08 +0100 Subject: [PATCH 056/142] core: Fix inconsistent formatting between clang-format 14 and 16 --- src/core/model/cairo-wideint-private.h | 6 +++--- src/core/model/win32-fd-reader.cc | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/core/model/cairo-wideint-private.h b/src/core/model/cairo-wideint-private.h index 4250db039..0dbb2e192 100644 --- a/src/core/model/cairo-wideint-private.h +++ b/src/core/model/cairo-wideint-private.h @@ -356,11 +356,11 @@ _cairo_int_96by64_32x64_divrem (cairo_int128_t num, #undef I + // clang-format on + // NOLINTEND + #ifdef __cplusplus }; #endif - // clang-format on - // NOLINTEND - #endif /* CAIRO_WIDEINT_H */ diff --git a/src/core/model/win32-fd-reader.cc b/src/core/model/win32-fd-reader.cc index a29f569d5..6a10a5fcd 100644 --- a/src/core/model/win32-fd-reader.cc +++ b/src/core/model/win32-fd-reader.cc @@ -16,6 +16,7 @@ * * Author: Tom Goff */ + #include "fatal-error.h" #include "fd-reader.h" #include "log.h" @@ -27,7 +28,7 @@ #include #include -//#define pipe(fds) _pipe(fds,4096, _O_BINARY) +// #define pipe(fds) _pipe(fds,4096, _O_BINARY) /** * \file From 00e2a63a8483b40d1f29bbd71194a57b7485d65f Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Mon, 17 Oct 2022 20:05:49 +0100 Subject: [PATCH 057/142] doc: Minor fix in coding-style.rst --- doc/contributing/source/coding-style.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/contributing/source/coding-style.rst b/doc/contributing/source/coding-style.rst index 1db8e53df..0920fef17 100644 --- a/doc/contributing/source/coding-style.rst +++ b/doc/contributing/source/coding-style.rst @@ -976,13 +976,13 @@ the |ns3| smart pointer class ``Ptr`` should be used in boolean comparisons as f for Ptr<> p, do not use: use instead: ======================== ================================= - if (p != 0) {...} if (p) {...} - if (p != NULL) {...} - if (p != nullptr {...} + if (p != nullptr) {...} if (p) {...} + if (p != NULL) {...} + if (p != 0) {...} if (p) {...} - if (p == 0) {...} if (!p) {...} - if (p == NULL) {...} - if (p == nullptr {...} + if (p == nullptr) {...} if (!p) {...} + if (p == NULL) {...} + if (p == 0) {...} NS_ASSERT... (p != 0, ...) NS_ASSERT... (p, ...) NS_ABORT... (p != 0, ...) NS_ABORT... (p, ...) From c5e48cf2510d14fb91bffea4668d936909d7171e Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 12 Oct 2022 01:40:34 -0300 Subject: [PATCH 058/142] build: use CMAKE_CXX_COMPILER_LAUNCHER instead of RULE_LAUNCH_COMPILE --- CMakeLists.txt | 3 ++- build-support/macros-and-definitions.cmake | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cda8a7b4..6b1d454fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,8 +7,9 @@ cmake_minimum_required(VERSION 3.10..3.10) mark_as_advanced(CCACHE) find_program(CCACHE ccache) if(NOT ("${CCACHE}" STREQUAL "CCACHE-NOTFOUND")) - set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) message(STATUS "CCache is enabled.") + set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE}) + set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE}) execute_process( COMMAND ${CCACHE} --set-config diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index a32e3af9e..9fbce1723 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -2023,10 +2023,11 @@ function(find_external_library) # Include parent directories in the search paths to handle Bake cases get_filename_component(parent_project_dir ${PROJECT_SOURCE_DIR} DIRECTORY) - get_filename_component(grandparent_project_dir ${parent_project_dir} DIRECTORY) + get_filename_component( + grandparent_project_dir ${parent_project_dir} DIRECTORY + ) set(project_parent_dirs ${parent_project_dir} ${grandparent_project_dir}) - # Paths and suffixes where libraries will be searched on set(library_search_paths ${search_paths} From 6e8642d294412fe7c97587004451fe79dc88d7f8 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Fri, 14 Oct 2022 12:57:45 -0300 Subject: [PATCH 059/142] build: check if a dependency exists before calling it in ns3 --- ns3 | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/ns3 b/ns3 index 38c25821b..ffd6b0fdc 100755 --- a/ns3 +++ b/ns3 @@ -650,7 +650,7 @@ def update_scratches_list(current_cmake_cache_folder): def refresh_cmake(current_cmake_cache_folder, output): - ret = subprocess.run([shutil.which("cmake"), ".."], cwd=current_cmake_cache_folder, stdout=output) + ret = subprocess.run([check_program_installed("cmake"), ".."], cwd=current_cmake_cache_folder, stdout=output) if ret.returncode != 0: exit(ret.returncode) update_scratches_list(current_cmake_cache_folder) @@ -1001,6 +1001,21 @@ def build_step(args, ) +def check_program_installed(program_name: str) -> str: + program_path = shutil.which(program_name) + if program_path is None: + print("Executable '{program}' was not found".format(program=program_name.capitalize())) + exit(-1) + return program_path + +def check_module_installed(module_name: str): + import importlib + try: + importlib.import_module(module_name) + except ImportError: + print("Python module '{module}' was not found".format(module=module_name)) + exit(-1) + def run_step(args, target_to_run, target_args): libdir = "%s/lib" % out_dir @@ -1037,18 +1052,18 @@ def run_step(args, target_to_run, target_args): # running valgrind? if args.valgrind: - debugging_software.extend([shutil.which("valgrind"), "--leak-check=full", "--show-leak-kinds=all"]) + debugging_software.extend([check_program_installed("valgrind"), "--leak-check=full", "--show-leak-kinds=all"]) # running gdb? if args.gdb: gdb_eval_command = [] if os.getenv("gdb_eval"): gdb_eval_command.append("--eval-command=quit") - debugging_software.extend([shutil.which("gdb"), *gdb_eval_command, "--args"]) + debugging_software.extend([check_program_installed("gdb"), *gdb_eval_command, "--args"]) # running lldb? if args.lldb: - debugging_software.extend([shutil.which("lldb"), "--"]) + debugging_software.extend([check_program_installed("lldb"), "--"]) # running with the visualizer? if args.visualize: @@ -1057,7 +1072,7 @@ def run_step(args, target_to_run, target_args): # running with command template? if args.command_template: commands = (args.command_template % target_to_run).split() - target_to_run = commands[0] + target_to_run = check_program_installed(commands[0]) target_args = commands[1:] + target_args # running mpi on the CI? From 642ffe8361670a80417e077292b4d3582b4183bc Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Fri, 14 Oct 2022 12:59:30 -0300 Subject: [PATCH 060/142] build, doc: add options to run with Heaptrack, Memray or Perf profilers --- doc/manual/source/profiling.rst | 134 +++++++++++++++++++++++++++++++- ns3 | 52 ++++++++++--- 2 files changed, 172 insertions(+), 14 deletions(-) diff --git a/doc/manual/source/profiling.rst b/doc/manual/source/profiling.rst index f6700a766..d27d3df32 100644 --- a/doc/manual/source/profiling.rst +++ b/doc/manual/source/profiling.rst @@ -225,13 +225,13 @@ If you prefer to use the ``ns3`` wrapper, try: .. sourcecode:: console - ~ns-3-dev/$ ./ns3 run "wifi-he-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=745" --command-template "heaptrack %s" --no-build + ~ns-3-dev/$ ./ns3 run "wifi-he-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=745" --heaptrack --no-build In both cases, heaptrack will print to the terminal the output file: .. sourcecode:: console - ~ns-3-dev/$ ./ns3 run "wifi-he-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=745" --command-template "heaptrack %s" --no-build + ~ns-3-dev/$ ./ns3 run "wifi-he-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=745" --heaptrack --no-build heaptrack output will be written to "~ns-3-dev/heaptrack.ns3-dev-wifi-he-network.210305.zst" starting application, this might take some time... MCS value Channel width GI Throughput @@ -388,6 +388,79 @@ were removed, which translates to a 20% reduction. This resulted in a 1.07x spee test suite with Valgrind (``./test.py -d -g``) and 1.02x speedup without it. +Memray +++++++ + +.. _Memray : https://bloomberg.github.io/memray/ + +`Memray`_ is an utility made by Bloomberg to trace memory allocations of Python programs, +including native code called by them. Along with stack traces, developers can trace down +possible memory leaks and unnecessary allocations. + +Note: Memray is ineffective for profiling the ns-3 python bindings since Cppyy hides away +the calls to the ns-3 module libraries. However, it is still useful for python scripts +in general, for example ones used to parse and consolidate simulation results. + +The ``ns3`` script includes a run option to launch Python programs with Memray. +Memray can produce different types of reports, such as a flamegraph in HTML, or +text reports (``summary`` and ``stats``). + +.. sourcecode:: console + + ~/ns-3-dev/$ ./ns3 run sample-rng-plot.py --memray + Writing profile results into memray.output + Memray WARNING: Correcting symbol for aligned_alloc from 0x7fd97023c890 to 0x7fd97102fce0 + [memray] Successfully generated profile results. + + You can now generate reports from the stored allocation records. + Some example commands to generate reports: + + /usr/bin/python3 -m memray flamegraph memray.output + ~/ns-3-dev$ /usr/bin/python3 -m memray stats memray.output + Total allocations: + 5364235 + + Total memory allocated: + 10.748GB + + Histogram of allocation size: + min: 0.000B + ---------------------------------------------- + < 8.000B : 264149 ||| + < 78.000B : 2051906 ||||||||||||||||||||||| + < 699.000B : 2270941 ||||||||||||||||||||||||| + < 6.064KB : 608993 ||||||| + < 53.836KB : 165307 || + < 477.912KB: 2220 | + < 4.143MB : 511 | + < 36.779MB : 188 | + < 326.492MB: 19 | + <=2.830GB : 1 | + ---------------------------------------------- + max: 2.830GB + + Allocator type distribution: + MALLOC: 4647765 + CALLOC: 435525 + REALLOC: 277736 + POSIX_MEMALIGN: 2686 + MMAP: 523 + + Top 5 largest allocating locations (by size): + - include:/usr/local/lib/python3.10/dist-packages/cppyy/__init__.py:243 -> 8.814GB + - -> 746.999MB + - show:~/.local/lib/python3.10/site-packages/matplotlib/backends/backend_gtk4.py:340 -> 263.338MB + - load_library:/usr/local/lib/python3.10/dist-packages/cppyy/__init__.py:235 -> 245.684MB + - __init__:/usr/lib/python3.10/ctypes/__init__.py:374 -> 225.797MB + + Top 5 largest allocating locations (by number of allocations): + - include:/usr/local/lib/python3.10/dist-packages/cppyy/__init__.py:243 -> 2246145 + - show:~/.local/lib/python3.10/site-packages/matplotlib/backends/backend_gtk4.py:340 -> 1264614 + - -> 1098543 + - __init__:~/.local/lib/python3.10/site-packages/matplotlib/backends/backend_gtk4.py:61 -> 89466 + - run:/usr/lib/python3/dist-packages/gi/overrides/Gio.py:42 -> 79582 + + Performance Profilers ********************* @@ -458,6 +531,63 @@ to the ``perf.data`` output file. ~/ns-3-dev$ ./ns3 run "wifi-he-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=745" --command-template "perf record -o ./perf.data --call-graph dwarf --event cycles,cache-misses,branch-misses --sample-cpu %s" --no-build +For ease of use, ``ns3`` also provides the ``--perf`` run option, that +include the recommended settings. + +.. sourcecode:: console + + ~/ns-3-dev$ ./ns3 run "wifi-he-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=745" --perf --no-build + +When running for the first time, you may receive the following error: + +.. sourcecode:: console + + ~/ns-3-dev$ ./ns3 run "wifi-he-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=745" --perf --no-build + Error: + Access to performance monitoring and observability operations is limited. + Consider adjusting /proc/sys/kernel/perf_event_paranoid setting to open + access to performance monitoring and observability operations for processes + without CAP_PERFMON, CAP_SYS_PTRACE or CAP_SYS_ADMIN Linux capability. + More information can be found at 'Perf events and tool security' document: + https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html + perf_event_paranoid setting is 1: + -1: Allow use of (almost) all events by all users + Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK + >= 0: Disallow raw and ftrace function tracepoint access + >= 1: Disallow CPU event access + >= 2: Disallow kernel profiling + To make the adjusted perf_event_paranoid setting permanent preserve it + in /etc/sysctl.conf (e.g. kernel.perf_event_paranoid = ) + Command 'build/examples/wireless/ns3-dev-wifi-he-network-default record --call-graph dwarf -a -e cache-misses,branch-misses,cpu-cycles,instructions,context-switches build/examples/wireless/ns3-dev-wifi-he-network-default -n=100' returned non-zero exit status 255. + +This error is related to lacking permissions to access performance events from the kernel and CPU. +As said in the error, permissions can be granted for the current session +by changing the ``perf_event_paranoid`` setting with ``echo 0 > /proc/sys/kernel/perf_event_paranoid``. +This change can be made permanent by changing the setting in ``/etc/sysctl.conf``, but +this is not recommended. Administrative permissions (``sudo su``) are required in both cases. + +After the program finishes, it will print recording statistics. + +.. sourcecode:: console + + MCS value Channel width GI Throughput + 0 20 MHz 3200 ns 6.01067 Mbit/s + 0 20 MHz 1600 ns 5.936 Mbit/s + ... + 11 160 MHz 1600 ns 493.397 Mbit/s + 11 160 MHz 800 ns 534.016 Mbit/s + [ perf record: Woken up 9529 times to write data ] + Warning: + Processed 517638 events and lost 94 chunks! + + Check IO/CPU overload! + + Warning: + 1 out of order events recorded. + [ perf record: Captured and wrote 2898,307 MB perf.data (436509 samples) ] + + +Results saved in ``perf.data`` can be reviewed with the ``perf report`` command. `Hotspot`_ is a GUI for Perf, that makes performance profiling more enjoyable and productive. It can parse the ``perf.data`` and show in diff --git a/ns3 b/ns3 index ffd6b0fdc..2d9d5150b 100755 --- a/ns3 +++ b/ns3 @@ -30,7 +30,7 @@ def exit_handler(dry_run): return if print_buffer == "": return - print_buffer = print_buffer.replace('\\','/').replace('//','/').replace('/', os.sep) + print_buffer = print_buffer.replace('\\', '/').replace('//', '/').replace('/', os.sep) if dry_run: print("The following commands would be executed:") elif run_verbose: @@ -245,6 +245,15 @@ def parse_args(argv): parser_run.add_argument('-g', '--valgrind', help='Change the default command template to run programs with valgrind', action="store_true", default=None) + parser_run.add_argument('--memray', + help='Use Memray memory profiler for Python scripts. Output will be saved to memray.output', + action="store_true", default=None) + parser_run.add_argument('--heaptrack', + help='Use Heaptrack memory profiler for C++', + action="store_true", default=None) + parser_run.add_argument('--perf', + help='Use Linux\'s perf to profile a program', + action="store_true", default=None) parser_run.add_argument('--vis', '--visualize', help='Modify --run arguments to enable the visualizer', action="store_true", dest="visualize", default=None) @@ -706,17 +715,16 @@ def get_program_shortcuts(build_profile, ns3_version): # Add an additional shortcut with .exe suffix when running on Windows if sys.platform == "win32": - ns3_program_map[shortcut_path.replace("\\","/")] = [program] - ns3_program_map[shortcut_path+".exe"] = [program] - ns3_program_map[shortcut_path.replace("\\","/")+".exe"] = [program] - + ns3_program_map[shortcut_path.replace("\\", "/")] = [program] + ns3_program_map[shortcut_path + ".exe"] = [program] + ns3_program_map[shortcut_path.replace("\\", "/") + ".exe"] = [program] if source_shortcut: cc_shortcut_path = shortcut_path + ".cc" ns3_program_map[cc_shortcut_path] = [program] if sys.platform == "win32": ns3_program_map[cc_shortcut_path] = [program] - ns3_program_map[cc_shortcut_path.replace("\\","/")] = [program] + ns3_program_map[cc_shortcut_path.replace("\\", "/")] = [program] # Store longest shortcut path for collisions if cc_shortcut_path not in longest_shortcut_map: @@ -1008,6 +1016,7 @@ def check_program_installed(program_name: str) -> str: exit(-1) return program_path + def check_module_installed(module_name: str): import importlib try: @@ -1016,6 +1025,7 @@ def check_module_installed(module_name: str): print("Python module '{module}' was not found".format(module=module_name)) exit(-1) + def run_step(args, target_to_run, target_args): libdir = "%s/lib" % out_dir @@ -1046,13 +1056,23 @@ def run_step(args, target_to_run, target_args): target_args = [target_to_run] + target_args target_to_run = "python3" + # running with memray? + if args.memray: + check_module_installed("memray") + target_args = ["-m", "memray", "run", "-o", "memray.output", "--native"] + target_args + # running from ns-3-dev (ns3_path) or cwd if args.cwd: working_dir = args.cwd + # running with heaptrack? + if args.heaptrack: + debugging_software.append(check_program_installed("heaptrack")) + # running valgrind? if args.valgrind: - debugging_software.extend([check_program_installed("valgrind"), "--leak-check=full", "--show-leak-kinds=all"]) + debugging_software.extend( + [check_program_installed("valgrind"), "--leak-check=full", "--show-leak-kinds=all"]) # running gdb? if args.gdb: @@ -1065,6 +1085,14 @@ def run_step(args, target_to_run, target_args): if args.lldb: debugging_software.extend([check_program_installed("lldb"), "--"]) + # running with perf? + if args.perf: + debugging_software.extend([ + check_program_installed("perf"), + "record", "--call-graph", "dwarf", "-a", "-e", + "cache-misses,branch-misses,cpu-cycles,stalled-cycles-frontend,stalled-cycles-backend,context-switches" + ]) + # running with the visualizer? if args.visualize: target_args.append("--SimulatorImplementationType=ns3::VisualSimulatorImpl") @@ -1099,10 +1127,10 @@ def run_step(args, target_to_run, target_args): try: subprocess.run(program_arguments, env=proc_env, cwd=working_dir, shell=use_shell, check=True) except subprocess.CalledProcessError as e: - # Replace full path to binary to relative path - e.cmd[0] = os.path.relpath(target_to_run, ns3_path) # Replace list of arguments with a single string e.cmd = " ".join(e.cmd) + # Replace full path to binary to relative path + e.cmd = e.cmd.replace(os.path.abspath(target_to_run), os.path.relpath(target_to_run, ns3_path)) # Print error message and forward the return code print(e) exit(e.returncode) @@ -1130,7 +1158,7 @@ def non_ambiguous_program_target_list(programs: dict) -> list: def print_targets_list(ns3_modules: list, ns3_programs: dict) -> None: - def list_to_table(l: list) -> str: + def list_to_table(targets_list: list) -> str: # Set column width and check how much is space is left at the end columnwidth = 30 try: @@ -1140,10 +1168,10 @@ def print_targets_list(ns3_modules: list, ns3_programs: dict) -> None: dead_space = terminal_width % columnwidth # Filter the targets with names longer than the column width - large_items = list(filter(lambda x: len(x) >= columnwidth, l)) + large_items = list(filter(lambda x: len(x) >= columnwidth, targets_list)) # Then filter the targets with names shorter than the column width - small_items = sorted(list(set(l) - set(large_items))) + small_items = sorted(list(set(targets_list) - set(large_items))) prev_new_line = 0 output = "\n" From fcbb0b0cfeddd1549dc2d56dfa4fd6b69cad1ea1 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Fri, 14 Oct 2022 15:33:24 -0300 Subject: [PATCH 061/142] build: fix mpi test case and refactor test-ns3.py --- utils/tests/test-ns3.py | 87 +++++++++++++++++++++++++---------------- 1 file changed, 53 insertions(+), 34 deletions(-) diff --git a/utils/tests/test-ns3.py b/utils/tests/test-ns3.py index 6a44bc5b4..aafde1981 100755 --- a/utils/tests/test-ns3.py +++ b/utils/tests/test-ns3.py @@ -411,8 +411,8 @@ class NS3StyleTestCase(unittest.TestCase): self.skipTest("Git is not available") try: - from git import Repo - import git.exc + from git import Repo # noqa + import git.exc # noqa except ImportError: self.skipTest("GitPython is not available") @@ -812,7 +812,7 @@ class NS3ConfigureTestCase(NS3BaseTestCase): @return None """ - class ns3rc_str: + class ns3rc_str: # noqa ## python-based ns3rc template # noqa ns3rc_python_template = "# ! /usr/bin/env python\ \ @@ -841,8 +841,8 @@ class NS3ConfigureTestCase(NS3BaseTestCase): "cmake": ns3rc_cmake_template } - def __init__(self, ns3rc_type): - self.type = ns3rc_type + def __init__(self, type_ns3rc): + self.type = type_ns3rc def format(self, **args): # Convert arguments from python-based ns3rc format to CMake @@ -970,7 +970,7 @@ class NS3ConfigureTestCase(NS3BaseTestCase): # Build target before using below run_ns3("configure -G \"{generator}\" -d release --enable-verbose") - return_code, stdout, stderr = run_ns3("build scratch-simulator") + run_ns3("build scratch-simulator") # Run all cases and then check outputs return_code0, stdout0, stderr0 = run_ns3("--dry-run run scratch-simulator") @@ -1189,12 +1189,16 @@ class NS3ConfigureTestCase(NS3BaseTestCase): if shutil.which("mpiexec") is None or win32: self.skipTest("Mpi is not available") + return_code, stdout, stderr = run_ns3("configure -G \"{generator}\" --enable-examples") + self.assertEqual(return_code, 0) + executables = get_programs_list() + # Ensure sample simulator was built return_code, stdout, stderr = run_ns3("build sample-simulator") self.assertEqual(return_code, 0) # Get executable path - sample_simulator_path = list(filter(lambda x: "sample-simulator" in x, self.ns3_executables))[0] + sample_simulator_path = list(filter(lambda x: "sample-simulator" in x, executables))[0] mpi_command = "--dry-run run sample-simulator --command-template=\"mpiexec -np 2 %s\"" non_mpi_command = "--dry-run run sample-simulator --command-template=\"echo %s\"" @@ -1207,10 +1211,13 @@ class NS3ConfigureTestCase(NS3BaseTestCase): # Get the commands to run sample-simulator in two processes with mpi, now with the environment variable return_code, stdout, stderr = run_ns3(mpi_command, env={"MPI_CI": "1"}) self.assertEqual(return_code, 0) - if shutil.which("ompi_info"): - self.assertIn("mpiexec --allow-run-as-root --oversubscribe -np 2 %s" % sample_simulator_path, stdout) + if os.getenv("USER", "") == "root": + if shutil.which("ompi_info") and os.cpu_count() < 2: + self.assertIn("mpiexec --allow-run-as-root --oversubscribe -np 2 %s" % sample_simulator_path, stdout) + else: + self.assertIn("mpiexec --allow-run-as-root -np 2 %s" % sample_simulator_path, stdout) else: - self.assertIn("mpiexec --allow-run-as-root -np 2 %s" % sample_simulator_path, stdout) + self.assertIn("mpiexec -np 2 %s" % sample_simulator_path, stdout) # Now we repeat for the non-mpi command return_code, stdout, stderr = run_ns3(non_mpi_command) @@ -1222,6 +1229,9 @@ class NS3ConfigureTestCase(NS3BaseTestCase): self.assertEqual(return_code, 0) self.assertIn("echo %s" % sample_simulator_path, stdout) + return_code, stdout, stderr = run_ns3("configure -G \"{generator}\" --disable-examples") + self.assertEqual(return_code, 0) + def test_15_InvalidLibrariesToLink(self): """! Test if CMake and ns3 fail in the expected ways when: @@ -1389,6 +1399,8 @@ class NS3ConfigureTestCase(NS3BaseTestCase): from python_on_whales import docker from python_on_whales.exceptions import DockerException except ModuleNotFoundError: + docker = None # noqa + DockerException = None # noqa self.skipTest("python-on-whales was not found") # Import rootless docker settings from .bashrc @@ -1406,8 +1418,8 @@ class NS3ConfigureTestCase(NS3BaseTestCase): volumes=[(ns3_path, "/ns-3-dev")] ) as container: # Redefine the execute command of the container - def split_exec(self, cmd): - return self._execute(cmd.split(), workdir="/ns-3-dev") + def split_exec(docker_container, cmd): + return docker_container._execute(cmd.split(), workdir="/ns-3-dev") container._execute = container.execute container.execute = partial(split_exec, container) @@ -1467,7 +1479,7 @@ class NS3ConfigureTestCase(NS3BaseTestCase): container.execute("./ns3 clean") container.execute("./ns3 configure -G Ninja --enable-build-version") container.execute("./ns3 build core") - except Exception: + except DockerException: pass os.rename(os.path.join(ns3_path, "temp_git"), os.path.join(ns3_path, ".git")) self.assertTrue(os.path.exists(os.path.join(ns3_path, "cmake-cache", "build.ninja"))) @@ -1540,6 +1552,8 @@ class NS3ConfigureTestCase(NS3BaseTestCase): from python_on_whales import docker from python_on_whales.exceptions import DockerException except ModuleNotFoundError: + docker = None # noqa + DockerException = None # noqa self.skipTest("python-on-whales was not found") run_ns3("clean") @@ -1559,8 +1573,8 @@ class NS3ConfigureTestCase(NS3BaseTestCase): volumes=[(ns3_path, "/ns-3-dev")], ) as container: # Redefine the execute command of the container - def split_exec(self, cmd): - return self._execute(cmd.split(), workdir="/ns-3-dev") + def split_exec(docker_container, cmd): + return docker_container._execute(cmd.split(), workdir="/ns-3-dev") container._execute = container.execute container.execute = partial(split_exec, container) @@ -1580,7 +1594,7 @@ class NS3ConfigureTestCase(NS3BaseTestCase): # Try to build using the lld linker try: container.execute("./ns3 build core") - except Exception as e: + except DockerException: self.assertTrue(False, "Build with lld failed") # Now add mold to the PATH @@ -1601,7 +1615,7 @@ class NS3ConfigureTestCase(NS3BaseTestCase): # Try to build using the lld linker try: container.execute("./ns3 build core") - except Exception as e: + except DockerException: self.assertTrue(False, "Build with mold failed") # Delete mold leftovers @@ -1917,9 +1931,12 @@ class NS3BuildBaseTestCase(NS3BaseTestCase): # Configure the test project cmake = shutil.which("cmake") - return_code, stdout, stderr = run_program(cmake, - "-DCMAKE_BUILD_TYPE=debug -G\"{generator}\" .".format(generator=platform_makefiles), - cwd=install_prefix) + return_code, stdout, stderr = run_program( + cmake, + "-DCMAKE_BUILD_TYPE=debug -G\"{generator}\" .".format(generator=platform_makefiles), + cwd=install_prefix + ) + if version == "3.00": self.assertEqual(return_code, 1) if import_method == cmake_find_package_import: @@ -2550,12 +2567,14 @@ class NS3QualityControlTestCase(unittest.TestCase): try: import django except ImportError: + django = None # noqa self.skipTest("Django URL validators are not available") # Skip this test if requests library is not available try: import requests except ImportError: + requests = None # noqa self.skipTest("Requests library is not available") regex = re.compile(r'((http|https)://[^\ \n\)\"\'\}\>\<\]\;\`\\]*)') # noqa @@ -2614,24 +2633,24 @@ class NS3QualityControlTestCase(unittest.TestCase): files_and_urls.add((filepath, url)) # Instantiate the Django URL validator - from django.core.validators import URLValidator - from django.core.exceptions import ValidationError + from django.core.validators import URLValidator # noqa + from django.core.exceptions import ValidationError # noqa validate_url = URLValidator() # User agent string to make ACM and Elsevier let us check if links to papers are working headers = { - 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36' + 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36' # noqa } def test_file_url(args): - filepath, url = args + test_filepath, test_url = args dead_link_msg = None # Skip invalid URLs try: - validate_url(url) + validate_url(test_url) except ValidationError: - dead_link_msg = "%s: URL %s, invalid URL" % (filepath, url) + dead_link_msg = "%s: URL %s, invalid URL" % (test_filepath, test_url) # Check if valid URLs are alive if dead_link_msg is None: @@ -2641,7 +2660,7 @@ class NS3QualityControlTestCase(unittest.TestCase): # Not verifying the certificate (verify=False) is potentially dangerous # HEAD checks are not as reliable as GET ones, # in some cases they may return bogus error codes and reasons - response = requests.get(url, verify=False, headers=headers) + response = requests.get(test_url, verify=False, headers=headers) # In case of success and redirection if response.status_code in [200, 301]: @@ -2661,20 +2680,20 @@ class NS3QualityControlTestCase(unittest.TestCase): break # In case it didn't pass in any of the previous tests, # set dead_link_msg with the most recent error and try again - dead_link_msg = "%s: URL %s: returned code %d" % (filepath, url, response.status_code) + dead_link_msg = "%s: URL %s: returned code %d" % (test_filepath, test_url, response.status_code) tries -= 1 except requests.exceptions.InvalidURL: - dead_link_msg = "%s: URL %s: invalid URL" % (filepath, url) + dead_link_msg = "%s: URL %s: invalid URL" % (test_filepath, test_url) except requests.exceptions.SSLError: - dead_link_msg = "%s: URL %s: SSL error" % (filepath, url) + dead_link_msg = "%s: URL %s: SSL error" % (test_filepath, test_url) except requests.exceptions.TooManyRedirects: - dead_link_msg = "%s: URL %s: too many redirects" % (filepath, url) + dead_link_msg = "%s: URL %s: too many redirects" % (test_filepath, test_url) except Exception as e: try: error_msg = e.args[0].reason.__str__() except AttributeError: error_msg = e.args[0] - dead_link_msg = "%s: URL %s: failed with exception: %s" % (filepath, url, error_msg) + dead_link_msg = "%s: URL %s: failed with exception: %s" % (test_filepath, test_url, error_msg) return dead_link_msg # Dispatch threads to test multiple URLs concurrently @@ -2805,7 +2824,7 @@ def main(): tests = dict(map(lambda x: (x._testMethodName, x), suite._tests)) keys = list(tests.keys()) - while not args.resume_from_test_name in keys[0] and len(tests) > 0: + while args.resume_from_test_name not in keys[0] and len(tests) > 0: suite._tests.remove(tests[keys[0]]) keys.pop(0) @@ -2816,7 +2835,7 @@ def main(): # Run tests and fail as fast as possible runner = unittest.TextTestRunner(failfast=True, verbosity=1 if args.quiet else 2) - result = runner.run(suite) + runner.run(suite) # After completing the tests successfully, restore the ns3rc file if os.path.exists(ns3rc_script_bak): From fff36424f257b45d9951529c48c50f7888b54346 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Fri, 14 Oct 2022 20:54:03 -0300 Subject: [PATCH 062/142] test: (fixes #118) list Python tests with ./test.py -l --- test.py | 62 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/test.py b/test.py index 3f6fecae3..1f584c3be 100755 --- a/test.py +++ b/test.py @@ -81,6 +81,7 @@ ENABLE_TESTS = True NSCLICK = False ENABLE_BRITE = False ENABLE_OPENFLOW = False +ENABLE_PYTHON_BINDINGS = False EXAMPLE_DIRECTORIES = [] APPNAME = "" BUILD_PROFILE = "" @@ -1081,26 +1082,13 @@ def run_tests(): # if not options.no_build: - # - # If the user is running the "kinds" or "list" options, there is an - # implied dependency on the test-runner since we call that program - # if those options are selected. We will exit after processing those - # options, so if we see them, we can safely only build the test-runner. - # - # If the user has constrained us to running only a particular type of - # file, we can only ask ns3 to build what we know will be necessary. - # For example, if the user only wants to run BVT tests, we only have - # to build the test-runner and can ignore all of the examples. - # # If the user only wants to run a single example, then we can just build # that example. # # If there is no constraint, then we have to build everything since the # user wants to run everything. # - if options.kinds or options.list or (len(options.constrain) and options.constrain in core_kinds): - build_cmd = "./ns3 build test-runner" - elif len(options.example): + if len(options.example): build_cmd = "./ns3 build %s" % os.path.basename(options.example) else: build_cmd = "./ns3" @@ -1224,27 +1212,39 @@ def run_tests(): print(standard_out) if options.list: - if len(options.constrain): - path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list --print-test-types --test-type=%s" % options.constrain) - else: - path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list --print-test-types") - (rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) - if rc != 0: - # This is usually a sign that ns-3 crashed or exited uncleanly - print(('test.py error: test-runner return code returned {}'.format(rc))) - print(('To debug, try running {}\n'.format('\'./ns3 run \"test-runner --print-test-name-list\"\''))) - return - if isinstance(standard_out, bytes): - standard_out = standard_out.decode() - list_items = standard_out.split('\n') - list_items.sort() + list_items = [] + if ENABLE_TESTS: + if len(options.constrain): + path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list --print-test-types --test-type=%s" % options.constrain) + else: + path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list --print-test-types") + (rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) + if rc != 0: + # This is usually a sign that ns-3 crashed or exited uncleanly + print(('test.py error: test-runner return code returned {}'.format(rc))) + print(('To debug, try running {}\n'.format('\'./ns3 run \"test-runner --print-test-name-list\"\''))) + return + if isinstance(standard_out, bytes): + standard_out = standard_out.decode() + list_items = standard_out.split('\n') + list_items.sort() print("Test Type Test Name") print("--------- ---------") for item in list_items: if len(item.strip()): print(item) - example_names_original.sort() - for item in example_names_original: + examples_sorted = [] + if ENABLE_EXAMPLES: + examples_sorted = example_names_original + examples_sorted.sort() + if ENABLE_PYTHON_BINDINGS: + python_examples_sorted = [] + for (x,y) in python_tests: + if y == 'True': + python_examples_sorted.append(x) + python_examples_sorted.sort() + examples_sorted.extend(python_examples_sorted) + for item in examples_sorted: print("example ", item) print() @@ -1334,7 +1334,7 @@ def run_tests(): suites = '\n'.join(suites_found) - elif len(options.example) == 0 and len(options.pyexample) == 0: + elif ENABLE_TESTS and len(options.example) == 0 and len(options.pyexample) == 0: if len(options.constrain): path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list --test-type=%s" % options.constrain) (rc, suites, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) From 89dbb78ba4f09104908d8102096fb8efbe3122ee Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Mon, 17 Oct 2022 22:47:55 -0300 Subject: [PATCH 063/142] build: expose the coverage_gcc target in the ns3 script --- ns3 | 1 + 1 file changed, 1 insertion(+) diff --git a/ns3 b/ns3 index 2d9d5150b..ccf29e5f0 100755 --- a/ns3 +++ b/ns3 @@ -959,6 +959,7 @@ def build_step(args, non_executable_targets = ["assemble-introspected-command-line", "check-version", "cmake-format", + "coverage_gcc", "docs", "doxygen", "doxygen-no-build", From e3ec549fb7065f984c927de568ceb83247ce106d Mon Sep 17 00:00:00 2001 From: Alberto Gallegos Ramonet Date: Mon, 17 Oct 2022 10:11:31 +0900 Subject: [PATCH 064/142] lr-wpan: Log fixes to lr-wpan-fields.cc --- src/lr-wpan/model/lr-wpan-fields.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lr-wpan/model/lr-wpan-fields.cc b/src/lr-wpan/model/lr-wpan-fields.cc index ee6d2f368..955f8adef 100644 --- a/src/lr-wpan/model/lr-wpan-fields.cc +++ b/src/lr-wpan/model/lr-wpan-fields.cc @@ -52,7 +52,7 @@ SuperframeField::SetBeaconOrder(uint8_t bcnOrder) { if (bcnOrder > 15) { - std::cout << "SuperframeField Beacon Order value must be 15 or less\n"; + NS_ABORT_MSG("SuperframeField Beacon Order value must be 15 or less"); } else { @@ -65,7 +65,7 @@ SuperframeField::SetSuperframeOrder(uint8_t frmOrder) { if (frmOrder > 15) { - std::cout << "SuperframeField Frame Order value must be 15 or less\n"; + NS_ABORT_MSG("SuperframeField Frame Order value must be 15 or less"); } else { @@ -78,7 +78,7 @@ SuperframeField::SetFinalCapSlot(uint8_t capSlot) { if (capSlot > 15) { - std::cout << "The final slot cannot greater than the slots in a CAP (15)\n"; + NS_ABORT_MSG("The final slot cannot be greater than the slots in a CAP (15)"); } else { From 7869f26381ddb173c0b77763418c3941f66f587f Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Mon, 17 Oct 2022 21:08:20 -0700 Subject: [PATCH 065/142] brite: Add missing forward declaration --- src/brite/helper/brite-topology-helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/brite/helper/brite-topology-helper.h b/src/brite/helper/brite-topology-helper.h index 05abc9d3d..d864c0170 100644 --- a/src/brite/helper/brite-topology-helper.h +++ b/src/brite/helper/brite-topology-helper.h @@ -35,6 +35,7 @@ namespace ns3 { class PointToPointHelper; +class Ipv4AddressHelper; /** * \defgroup brite BRITE Topology Generator From 1a94214bc3f5be358d9584adb5847dfb8531abbc Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Mon, 17 Oct 2022 21:57:01 -0700 Subject: [PATCH 066/142] lte: Disable logging from test --- src/lte/test/test-lte-handover-failure.cc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lte/test/test-lte-handover-failure.cc b/src/lte/test/test-lte-handover-failure.cc index 6676b2b20..2fc42374c 100644 --- a/src/lte/test/test-lte-handover-failure.cc +++ b/src/lte/test/test-lte-handover-failure.cc @@ -366,6 +366,9 @@ LteHandoverFailureTestCase::DoTeardown() * \ingroup lte-test * \ingroup tests * + * The following log components can be used to debug this test's behavior: + * LteHandoverFailureTest:LteEnbRrc:LteEnbMac:LteUeRrc:EpcX2 + * * \brief Lte Handover Failure Test Suite */ static class LteHandoverFailureTestSuite : public TestSuite @@ -374,13 +377,6 @@ static class LteHandoverFailureTestSuite : public TestSuite LteHandoverFailureTestSuite() : TestSuite("lte-handover-failure", TestSuite::SYSTEM) { - LogLevel logLevel = (LogLevel)(LOG_PREFIX_TIME | LOG_LEVEL_INFO); - LogComponentEnable("LteHandoverFailureTest", logLevel); - LogComponentEnable("LteEnbRrc", logLevel); - LogComponentEnable("LteEnbMac", logLevel); - LogComponentEnable("LteUeRrc", logLevel); - LogComponentEnable("EpcX2", logLevel); - // Argument sequence for all test cases: useIdealRrc, handoverTime, simulationDuration, // numberOfRaPreambles, preambleTransMax, raResponseWindowSize, // handoverJoiningTimeout, handoverLeavingTimeout From aec5d07e8735f78e538db2c29a3c691d78aa9223 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Mon, 17 Oct 2022 21:58:16 -0700 Subject: [PATCH 067/142] lte: Select new working run number for test --- src/lte/test/test-lte-x2-handover.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lte/test/test-lte-x2-handover.cc b/src/lte/test/test-lte-x2-handover.cc index e79d89102..e6523da98 100644 --- a/src/lte/test/test-lte-x2-handover.cc +++ b/src/lte/test/test-lte-x2-handover.cc @@ -233,7 +233,7 @@ LteX2HandoverTestCase::DoRun() Config::Reset(); // This test is sensitive to random variable stream assigments RngSeedManager::SetSeed(1); - RngSeedManager::SetRun(2); + RngSeedManager::SetRun(3); Config::SetDefault("ns3::UdpClient::Interval", TimeValue(m_udpClientInterval)); Config::SetDefault("ns3::UdpClient::MaxPackets", UintegerValue(1000000)); Config::SetDefault("ns3::UdpClient::PacketSize", UintegerValue(m_udpClientPktSize)); From 354a839a855c2ec3c45cb0c67f7bb333eedb57ca Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 15 Oct 2022 20:01:13 -0300 Subject: [PATCH 068/142] ci: update GitHub CI to use up-to-date actions and syntax --- .github/workflows/per_commit.yml | 102 +++++++++++++------------------ 1 file changed, 43 insertions(+), 59 deletions(-) diff --git a/.github/workflows/per_commit.yml b/.github/workflows/per_commit.yml index 5611e6962..deffd3c79 100644 --- a/.github/workflows/per_commit.yml +++ b/.github/workflows/per_commit.yml @@ -5,9 +5,9 @@ jobs: Ubuntu: runs-on: ubuntu-latest outputs: - cache_misses: ${{ steps.ccache_results.outputs.cache_misses }} + cache_misses: ${{ env.cache_misses }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Install required packages run: | sudo apt-get update @@ -18,13 +18,13 @@ jobs: sudo apt-get -y install ccache - name: Get timestamp id: time - run: python3 -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + run: python3 -c "from datetime import datetime; print('time='+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" >> $GITHUB_ENV - name: Restore ccache id: ccache - uses: actions/cache@v1.1.0 + uses: actions/cache@v3 with: path: .ccache - key: ubuntu-ci-${{steps.time.outputs.time}} + key: ubuntu-ci-${{env.time}} restore-keys: ubuntu-ci- - name: Setup ccache run: | @@ -34,20 +34,17 @@ jobs: ccache -z - name: Configure CMake run: | - mkdir cmake-cache - cd cmake-cache - cmake -DCMAKE_BUILD_TYPE=release -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + ./ns3 configure -d release --enable-asserts --enable-examples --enable-tests --disable-werror -G"Ninja" - name: Build ns-3 run: | - cd cmake-cache - ninja + ./ns3 build - name: Print ccache statistics id: ccache_results run: | ccache -s - python3 -c "import re, subprocess;print('::set-output name=cache_misses::%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" + python3 -c "import re, subprocess;print('cache_misses=%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" >> $GITHUB_ENV - name: Run tests and examples - if: steps.ccache_results.outputs.cache_misses != '0' + if: env.cache_misses != '0' run: python3 test.py --no-build CodeQL: @@ -58,7 +55,7 @@ jobs: fail-fast: false steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 @@ -74,13 +71,13 @@ jobs: sudo apt-get -y install ccache - name: Get timestamp id: time - run: python3 -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + run: python3 -c "from datetime import datetime; print('time='+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" >> $GITHUB_ENV - name: Restore ccache id: ccache - uses: actions/cache@v1.1.0 + uses: actions/cache@v3 with: path: .ccache - key: ubuntu-ci-${{steps.time.outputs.time}} + key: ubuntu-ci-${{env.time}} restore-keys: ubuntu-ci- - name: Setup ccache run: | @@ -90,13 +87,10 @@ jobs: ccache -z - name: Configure CMake run: | - mkdir cmake-cache - cd cmake-cache - cmake -DCMAKE_BUILD_TYPE=release -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + ./ns3 configure -d release --enable-asserts --enable-examples --enable-tests --disable-werror -G"Ninja" - name: Build ns-3 run: | - cd cmake-cache - ninja + ./ns3 build - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 @@ -105,7 +99,7 @@ jobs: needs: Ubuntu if: needs.Ubuntu.outputs.cache_misses != '0' steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Install required packages run: | sudo apt-get update @@ -117,13 +111,13 @@ jobs: sudo apt-get -y install lcov - name: Get timestamp id: time - run: python3 -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + run: python3 -c "from datetime import datetime; print('time='+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" >> $GITHUB_ENV - name: Restore ccache id: ccache - uses: actions/cache@v1.1.0 + uses: actions/cache@v3 with: path: .ccache - key: ubuntu-coverage-${{steps.time.outputs.time}} + key: ubuntu-coverage-${{env.time}} restore-keys: ubuntu-coverage- - name: Setup ccache run: | @@ -133,24 +127,20 @@ jobs: ccache -z - name: Configure CMake run: | - mkdir cmake-cache - cd cmake-cache - cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_COVERAGE=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + ./ns3 configure --enable-asserts --enable-examples --enable-tests --disable-werror --enable-gcov -G"Ninja" - name: Build ns-3 run: | - cd cmake-cache - cmake --build . -j3 + ./ns3 build - name: Print ccache statistics id: ccache_results run: | ccache -s - python3 -c "import re, subprocess;print('::set-output name=cache_misses::%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" + python3 -c "import re, subprocess;print('cache_misses=%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" >> $GITHUB_ENV - name: Generate coverage data and submit to codecov.io - if: steps.ccache_results.outputs.cache_misses != '0' + if: env.cache_misses != '0' run: | - cd cmake-cache - ninja coverage_gcc - cd ../build/coverage + ./ns3 build coverage_gcc + cd ./build/coverage bash <(curl -s https://codecov.io/bash) -f ns3.info || echo "Codecov did not collect coverage reports" Windows_MinGW: @@ -159,7 +149,7 @@ jobs: run: shell: msys2 {0} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - uses: msys2/setup-msys2@v2 - name: Install required msys2/mingw64 packages run: | @@ -178,13 +168,13 @@ jobs: pacman --noconfirm -Scc - name: Get timestamp id: time - run: python -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + run: python3 -c "from datetime import datetime; print('time='+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" >> $GITHUB_ENV - name: Restore ccache id: ccache - uses: actions/cache@v1.1.0 + uses: actions/cache@v3 with: path: .ccache - key: msys2-${{steps.time.outputs.time}} + key: msys2-${{env.time}} restore-keys: msys2- - name: Setup ccache run: | @@ -194,38 +184,35 @@ jobs: ccache -z - name: Configure CMake run: | - mkdir cmake-cache - cd cmake-cache - cmake -DCMAKE_BUILD_TYPE=release -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + python3 ns3 configure -d release --enable-asserts --enable-examples --enable-tests --disable-werror -G"Ninja" - name: Build ns-3 run: | - cd cmake-cache - ninja + python3 ns3 build - name: Print ccache statistics id: ccache_results run: | ccache -s - python3 -c "import re, subprocess;print('::set-output name=cache_misses::%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" + python3 -c "import re, subprocess;print('cache_misses=%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" >> $GITHUB_ENV - name: Run tests and examples - if: steps.ccache_results.outputs.cache_misses != '0' - run: python test.py --no-build + if: env.cache_misses != '0' + run: python3 test.py --no-build Mac_OS_X: runs-on: macos-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Install required packages run: | brew install ninja cmake ccache libxml2 gsl open-mpi #qt5 - name: Get timestamp id: time - run: python3 -c "from datetime import datetime; print('::set-output name=time::'+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" + run: python3 -c "from datetime import datetime; print('time='+datetime.now().strftime('%Y-%m-%d-%H-%M-%S'))" >> $GITHUB_ENV - name: Restore ccache id: ccache - uses: actions/cache@v1.1.0 + uses: actions/cache@v3 with: path: .ccache - key: osx_brew-ci-${{steps.time.outputs.time}} + key: osx_brew-ci-${{env.time}} restore-keys: osx_brew-ci- - name: Setup ccache run: | @@ -237,19 +224,16 @@ jobs: - name: Configure CMake run: | export PATH=/usr/local/bin:$PATH #:/usr/local/opt/qt/bin - mkdir cmake-cache - cd cmake-cache - cmake -DCMAKE_BUILD_TYPE=release -DNS3_EXAMPLES=ON -DNS3_TESTS=ON -DNS3_WARNINGS_AS_ERRORS=OFF -G"Ninja" .. + ./ns3 configure -d release --enable-asserts --enable-examples --enable-tests --disable-werror -G"Ninja" - name: Build ns-3 run: | export PATH="$PATH" #:/usr/local/opt/qt/bin - cd cmake-cache - ninja + ./ns3 build - name: Print ccache statistics id: ccache_results run: | ccache -s - python3 -c "import re, subprocess;print('::set-output name=cache_misses::%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" + python3 -c "import re, subprocess;print('cache_misses=%d' % int(re.findall('cache_miss(.*)', subprocess.check_output(['ccache', '--print-stats']).decode())[0]))" >> $GITHUB_ENV - name: Run tests and examples - if: steps.ccache_results.outputs.cache_misses != '0' - run: python3 test.py --no-build + if: env.cache_misses != '0' + run: ./test.py --no-build From 1d61c8bdb03fb619a39e3429b735ae3320a1e188 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Tue, 18 Oct 2022 09:00:12 -0700 Subject: [PATCH 069/142] openflow: Suppress warnings about redefined macros --- src/openflow/model/openflow-interface.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/openflow/model/openflow-interface.h b/src/openflow/model/openflow-interface.h index d1e42109d..d5ff60daa 100644 --- a/src/openflow/model/openflow-interface.h +++ b/src/openflow/model/openflow-interface.h @@ -77,19 +77,25 @@ extern "C" } // Capabilities supported by this implementation. +#ifndef OFP_SUPPORTED_CAPABILITIES #define OFP_SUPPORTED_CAPABILITIES \ (OFPC_FLOW_STATS | OFPC_TABLE_STATS | OFPC_PORT_STATS | OFPC_MULTI_PHY_TX | OFPC_VPORT_TABLE) +#endif // Actions supported by this implementation. +#ifndef OFP_SUPPORTED_ACTIONS #define OFP_SUPPORTED_ACTIONS \ ((1 << OFPAT_OUTPUT) | (1 << OFPAT_SET_VLAN_VID) | (1 << OFPAT_SET_VLAN_PCP) | \ (1 << OFPAT_STRIP_VLAN) | (1 << OFPAT_SET_DL_SRC) | (1 << OFPAT_SET_DL_DST) | \ (1 << OFPAT_SET_NW_SRC) | (1 << OFPAT_SET_NW_DST) | (1 << OFPAT_SET_TP_SRC) | \ (1 << OFPAT_SET_TP_DST) | (1 << OFPAT_SET_MPLS_LABEL) | (1 << OFPAT_SET_MPLS_EXP)) +#endif +#ifndef OFP_SUPPORTED_VPORT_TABLE_ACTIONS #define OFP_SUPPORTED_VPORT_TABLE_ACTIONS \ ((1 << OFPPAT_OUTPUT) | (1 << OFPPAT_POP_MPLS) | (1 << OFPPAT_PUSH_MPLS) | \ (1 << OFPPAT_SET_MPLS_LABEL) | (1 << OFPPAT_SET_MPLS_EXP)) +#endif namespace ns3 { From aa0eae52ccc7b4cefdfb0dbbefa59905c1808321 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Tue, 18 Oct 2022 18:06:53 +0200 Subject: [PATCH 070/142] wifi: Do not write PCAP files for the wifi-mlo test --- src/wifi/test/wifi-mlo-test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wifi/test/wifi-mlo-test.cc b/src/wifi/test/wifi-mlo-test.cc index b2a87db90..23f892819 100644 --- a/src/wifi/test/wifi-mlo-test.cc +++ b/src/wifi/test/wifi-mlo-test.cc @@ -422,8 +422,9 @@ MultiLinkSetupTest::DoRun() NetDeviceContainer apDevices = wifi.Install(apPhyHelper, mac, wifiApNode); - apPhyHelper.EnablePcap("wifi-mlo_AP", apDevices); - staPhyHelper.EnablePcap("wifi-mlo_STA", staDevices); + // Uncomment the lines below to write PCAP files + // apPhyHelper.EnablePcap("wifi-mlo_AP", apDevices); + // staPhyHelper.EnablePcap("wifi-mlo_STA", staDevices); // Assign fixed streams to random variables in use streamNumber += wifi.AssignStreams(apDevices, streamNumber); From a02fca17a8fa234e1e49d3a44d54402941e0cf98 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Wed, 19 Oct 2022 01:55:15 +0200 Subject: [PATCH 071/142] internet: (fixes #755) Fix GlobalRouting handling of bridged NetDevices --- src/internet/model/global-router-interface.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internet/model/global-router-interface.cc b/src/internet/model/global-router-interface.cc index 81e96626f..e976b186e 100644 --- a/src/internet/model/global-router-interface.cc +++ b/src/internet/model/global-router-interface.cc @@ -661,8 +661,8 @@ GlobalRouter::DiscoverLSAs() // associated with a bridge. We are only going to involve devices with // IP addresses in routing. // - uint32_t interfaceNumber = ipv4Local->GetInterfaceForDevice(ndLocal); - if (!(ipv4Local->IsUp(interfaceNumber) && ipv4Local->IsForwarding(interfaceNumber))) + int32_t interfaceNumber = ipv4Local->GetInterfaceForDevice(ndLocal); + if (interfaceNumber == -1 || !(ipv4Local->IsUp(interfaceNumber) && ipv4Local->IsForwarding(interfaceNumber))) { NS_LOG_LOGIC("Net device " << ndLocal From 0fb7e0127d0da3a291739f86157d6deb0a1a6511 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Wed, 19 Oct 2022 13:33:35 +0200 Subject: [PATCH 072/142] internet: fix formatting of a02fca17 --- src/internet/model/global-router-interface.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/internet/model/global-router-interface.cc b/src/internet/model/global-router-interface.cc index e976b186e..5d473b163 100644 --- a/src/internet/model/global-router-interface.cc +++ b/src/internet/model/global-router-interface.cc @@ -662,7 +662,8 @@ GlobalRouter::DiscoverLSAs() // IP addresses in routing. // int32_t interfaceNumber = ipv4Local->GetInterfaceForDevice(ndLocal); - if (interfaceNumber == -1 || !(ipv4Local->IsUp(interfaceNumber) && ipv4Local->IsForwarding(interfaceNumber))) + if (interfaceNumber == -1 || + !(ipv4Local->IsUp(interfaceNumber) && ipv4Local->IsForwarding(interfaceNumber))) { NS_LOG_LOGIC("Net device " << ndLocal From f382439edbb19e52dd2b358eb3921eae55cf06e2 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 19 Oct 2022 16:46:14 -0300 Subject: [PATCH 073/142] build: (fixes #779) prevent ./ns3 clean from deleting the ns-3 directory This could happen if either the output directory or the cmake cache path were set to the ns-3 root path. --- ns3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ns3 b/ns3 index ccf29e5f0..9886336ec 100755 --- a/ns3 +++ b/ns3 @@ -419,8 +419,10 @@ def print_and_buffer(message): def clean_cmake_artifacts(dry_run=False): print_and_buffer("rm -R %s" % os.path.relpath(out_dir, ns3_path)) - if not dry_run: + if out_dir == ns3_path: + raise Exception("The output directory and the ns-3 directory are the same. " + "Deleting it can cause data loss.") shutil.rmtree(out_dir, ignore_errors=True) cmake_cache_files = glob.glob("%s/**/CMakeCache.txt" % ns3_path, recursive=True) @@ -428,6 +430,9 @@ def clean_cmake_artifacts(dry_run=False): dirname = os.path.dirname(cmake_cache_file) print_and_buffer("rm -R %s" % os.path.relpath(dirname, ns3_path)) if not dry_run: + if dirname == ns3_path: + raise Exception("The CMake cache directory and the ns-3 directory are the same. " + "Deleting it can cause data loss.") shutil.rmtree(dirname, ignore_errors=True) if os.path.exists(lock_file): From 655b64205ec8b597b47de9167796c9319399a5e3 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Tue, 18 Oct 2022 23:18:41 -0300 Subject: [PATCH 074/142] bindings: extract linked libraries and add their include directories --- bindings/python/ns__init__.py | 190 +++++++++++++++++++++++++++------- 1 file changed, 155 insertions(+), 35 deletions(-) diff --git a/bindings/python/ns__init__.py b/bindings/python/ns__init__.py index 6e35697b4..8d78883c6 100644 --- a/bindings/python/ns__init__.py +++ b/bindings/python/ns__init__.py @@ -1,6 +1,10 @@ import builtins +from copy import copy +from functools import cache +import glob import os.path import sys +import sysconfig import re @@ -26,8 +30,138 @@ def find_ns3_lock(): return path_to_lock +SYSTEM_LIBRARY_DIRECTORIES = (sysconfig.get_config_var("LIBDIR"), + os.path.dirname(sysconfig.get_config_var("LIBDIR")) + ) +DYNAMIC_LIBRARY_EXTENSIONS = {"linux": "so", + "win32": "dll", + "darwin": "dylib" + } +LIBRARY_EXTENSION = DYNAMIC_LIBRARY_EXTENSIONS[sys.platform] + + +def trim_library_path(library_path: str) -> str: + trimmed_library_path = os.path.basename(library_path) + + # Remove lib prefix if it exists and extensions + trimmed_library_path = trimmed_library_path.split(".")[0] + if trimmed_library_path[0:3] == "lib": + trimmed_library_path = trimmed_library_path[3:] + return trimmed_library_path + + +@cache +def _search_libraries() -> dict: + # Otherwise, search for ns-3 libraries + # Should be the case when ns-3 is installed as a package + env_sep = ";" if sys.platform == "win32" else ":" + + # Search in default directories PATH and LD_LIBRARY_PATH + library_search_paths = os.getenv("PATH", "").split(env_sep) + library_search_paths += os.getenv("LD_LIBRARY_PATH", "").split(env_sep) + if "" in library_search_paths: + library_search_paths.remove("") + del env_sep + + # And the current working directory too + library_search_paths += [os.path.abspath(os.getcwd())] + + # And finally the directories containing this file and its parent directory + library_search_paths += [os.path.abspath(os.path.dirname(__file__))] + library_search_paths += [os.path.dirname(library_search_paths[-1])] + library_search_paths += [os.path.dirname(library_search_paths[-1])] + + # Search for the core library in the search paths + libraries = [] + for search_path in library_search_paths: + libraries += glob.glob("%s/**/*.%s*" % (search_path, LIBRARY_EXTENSION), recursive=True) + + # Search system library directories (too slow for recursive search) + for search_path in SYSTEM_LIBRARY_DIRECTORIES: + libraries += glob.glob("%s/**/*.%s*" % (search_path, LIBRARY_EXTENSION), recursive=False) + + del search_path, library_search_paths + + library_map = {} + # Organize libraries into a map + for library in libraries: + library_infix = trim_library_path(library) + + # Then check if a key already exists + if library_infix not in library_map: + library_map[library_infix] = set() + + # Append the directory + library_map[library_infix].add(library) + + # Replace sets with lists + for (key, values) in library_map.items(): + library_map[key] = list(values) + return library_map + + +def search_libraries(library_name: str) -> list: + libraries_map = _search_libraries() + trimmed_library_name = trim_library_path(library_name) + matched_names = list(filter(lambda x: trimmed_library_name in x, libraries_map.keys())) + matched_libraries = [] + + if matched_names: + for match in matched_names: + matched_libraries += libraries_map[match] + return matched_libraries + + +def extract_library_include_dirs(library_name: str, prefix: str) -> list: + library_path = "%s/lib/%s" % (prefix, library_name) + linked_libs = [] + # First discover which 3rd-party libraries are used by the current module + try: + with open(os.path.abspath(library_path), "rb") as f: + linked_libs = re.findall(b"\x00(lib.*?.%b)" % LIBRARY_EXTENSION.encode("utf-8"), f.read()) + except Exception as e: + print("Failed to extract libraries used by {library} with exception:{exception}" + .format(library=library_path, exception=e)) + exit(-1) + + linked_libs_include_dirs = [] + # Now find these libraries and add a few include paths for them + for linked_library in map(lambda x: x.decode("utf-8"), linked_libs): + # Skip ns-3 modules + if "libns3" in linked_library: + continue + + # Search for the absolute path of the library + linked_library_path = search_libraries(linked_library) + + # Raise error in case the library can't be found + if len(linked_library_path) == 0: + raise Exception( + "Failed to find {library}. Make sure its library directory is in LD_LIBRARY_PATH.".format( + library=linked_library)) + + # Get path with shortest length + linked_library_path = sorted(linked_library_path, key=lambda x: len(x))[0] + + # If the system library directories are part of the path, skip the library include directories + if sum(map(lambda x: x in linked_library_path, [*SYSTEM_LIBRARY_DIRECTORIES, prefix])) > 0: + continue + + # In case it isn't, include new include directories based on the path + linked_libs_include_dirs += [os.path.dirname(linked_library_path)] + linked_libs_include_dirs += [os.path.dirname(linked_libs_include_dirs[-1])] + linked_libs_include_dirs += [os.path.dirname(linked_libs_include_dirs[-1])] + + for lib_path in [*linked_libs_include_dirs]: + inc_path = os.path.join(lib_path, "include") + if os.path.exists(inc_path): + linked_libs_include_dirs += [inc_path] + return linked_libs_include_dirs + + def load_modules(): lock_file = find_ns3_lock() + libraries_to_load = [] if lock_file: # Load NS3_ENABLED_MODULES from the lock file inside the build directory @@ -42,31 +176,7 @@ def load_modules(): libraries = {x.split(".")[0]: x for x in os.listdir(os.path.join(prefix, "lib"))} version = values["VERSION"] else: - # Otherwise, search for ns-3 libraries - # Should be the case when ns-3 is installed as a package - import glob - env_sep = ";" if sys.platform == "win32" else ":" - - # Search in default directories PATH and LD_LIBRARY_PATH - library_search_paths = os.getenv("PATH", "").split(env_sep) - library_search_paths += os.getenv("LD_LIBRARY_PATH", "").split(env_sep) - if "" in library_search_paths: - library_search_paths.remove("") - del env_sep - - # And the current working directory too - library_search_paths += [os.path.abspath(os.getcwd())] - - # And finally the directories containing this file and its parent directory - library_search_paths += [os.path.abspath(os.path.dirname(__file__))] - library_search_paths += [os.path.dirname(library_search_paths[-1])] - library_search_paths += [os.path.dirname(library_search_paths[-1])] - - # Search for the core library in the search paths - libraries = [] - for search_path in library_search_paths: - libraries += glob.glob("%s/**/libns3*" % search_path, recursive=True) - del search_path, library_search_paths + libraries = search_libraries("ns3") if not libraries: raise Exception("ns-3 libraries were not found.") @@ -92,6 +202,7 @@ def load_modules(): # Filter out module names modules = set([filter_module_name(library) for library in libraries]) + libraries_to_load = list(map(lambda x: os.path.basename(x), libraries)) # Try to import Cppyy and warn the user in case it is not found try: @@ -113,11 +224,8 @@ def load_modules(): cppyy.add_library_path("%s/lib" % prefix) cppyy.add_include_path("%s/include" % prefix) - for module in modules: - cppyy.include("ns3/%s-module.h" % module) - if lock_file: - # When we have the lock file, we assemble the correct library name + # When we have the lock file, we assemble the correct library names for module in modules: library_name = "libns{version}-{module}{suffix}".format( version=version, @@ -128,11 +236,22 @@ def load_modules(): raise Exception("Missing library %s\n" % library_name, "Build all modules with './ns3 build'" ) - cppyy.load_library(libraries[library_name]) - else: - # When we don't have the lock, we just load the known libraries - for library in libraries: - cppyy.load_library(os.path.basename(library)) + libraries_to_load.append(libraries[library_name]) + + # We first need to include all include directories for dependencies + known_include_dirs = set() + for library in libraries_to_load: + for linked_lib_include_dir in extract_library_include_dirs(library, prefix): + if linked_lib_include_dir not in known_include_dirs: + known_include_dirs.add(linked_lib_include_dir) + cppyy.add_include_path(linked_lib_include_dir) + + for module in modules: + cppyy.include("ns3/%s-module.h" % module) + + # After including all headers, we finally load the modules + for library in libraries_to_load: + cppyy.load_library(library) # We expose cppyy to consumers of this module as ns.cppyy setattr(cppyy.gbl.ns3, "cppyy", cppyy) @@ -267,7 +386,8 @@ def load_modules(): } """ % (aggregatedType, aggregatedType, aggregatedType, aggregatedType) ) - return cppyy.gbl.getAggregatedObject(parentObject, aggregatedObject if aggregatedIsClass else aggregatedObject.__class__) + return cppyy.gbl.getAggregatedObject(parentObject, + aggregatedObject if aggregatedIsClass else aggregatedObject.__class__) setattr(cppyy.gbl.ns3, "GetObject", GetObject) return cppyy.gbl.ns3 From a7c46386bbeca56552b349f157b0f141eeec80fa Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Fri, 21 Oct 2022 12:01:38 +0200 Subject: [PATCH 075/142] network: Fix doxygen for Trailer::Deserialize() methods --- src/network/model/trailer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/model/trailer.h b/src/network/model/trailer.h index 0424fc3e1..c48cb3de2 100644 --- a/src/network/model/trailer.h +++ b/src/network/model/trailer.h @@ -78,7 +78,7 @@ class Trailer : public Chunk * The data read is expected to match bit-for-bit the * representation of this trailer in real networks. * The input iterator points to the end of the area where the - * data shall be written. This method is thus expected to call + * data shall be read from. This method is thus expected to call * Buffer::Iterator::Prev prior to actually reading any data. */ uint32_t Deserialize(Buffer::Iterator end) override = 0; @@ -94,7 +94,7 @@ class Trailer : public Chunk * The data read is expected to match bit-for-bit the * representation of this trailer in real networks. * The input iterator end points to the end of the area where the - * data shall be written. + * data shall be read from. * * This variant should be provided by any variable-sized trailer subclass * (i.e. if GetSerializedSize () does not return a constant). From 482730e5f98733816a7b74b0532742900eac1df3 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sat, 22 Oct 2022 09:56:03 +0200 Subject: [PATCH 076/142] core: fix undefined behavior in Time::SetResolution() Credits to Tolik Zinovyev for finding the issue and proposing a first patch. --- src/core/model/nstime.h | 13 +++++++++++++ src/core/model/time.cc | 13 ++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/core/model/nstime.h b/src/core/model/nstime.h index 5708078b7..59da336db 100644 --- a/src/core/model/nstime.h +++ b/src/core/model/nstime.h @@ -498,6 +498,9 @@ class Time inline static Time FromInteger(uint64_t value, enum Unit unit) { struct Information* info = PeekInformation(unit); + + NS_ASSERT_MSG(info->isValid, "Attempted a conversion from an unavailable unit."); + if (info->fromMul) { value *= info->factor; @@ -517,6 +520,9 @@ class Time inline static Time From(const int64x64_t& value, enum Unit unit) { struct Information* info = PeekInformation(unit); + + NS_ASSERT_MSG(info->isValid, "Attempted a conversion from an unavailable unit."); + // DO NOT REMOVE this temporary variable. It's here // to work around a compiler bug in gcc 3.4 int64x64_t retval = value; @@ -548,6 +554,9 @@ class Time inline int64_t ToInteger(enum Unit unit) const { struct Information* info = PeekInformation(unit); + + NS_ASSERT_MSG(info->isValid, "Attempted a conversion to an unavailable unit."); + int64_t v = m_data; if (info->toMul) { @@ -568,6 +577,9 @@ class Time inline int64x64_t To(enum Unit unit) const { struct Information* info = PeekInformation(unit); + + NS_ASSERT_MSG(info->isValid, "Attempted a conversion to an unavailable unit."); + int64x64_t retval = int64x64_t(m_data); if (info->toMul) { @@ -624,6 +636,7 @@ class Time int64_t factor; //!< Ratio of this unit / current unit int64x64_t timeTo; //!< Multiplier to convert to this unit int64x64_t timeFrom; //!< Multiplier to convert from this unit + bool isValid; //!< True if the current unit can be used }; /** Current time unit, and conversion info. */ diff --git a/src/core/model/time.cc b/src/core/model/time.cc index fe5db4686..cda965edd 100644 --- a/src/core/model/time.cc +++ b/src/core/model/time.cc @@ -245,11 +245,19 @@ Time::SetResolution(enum Unit unit, struct Resolution* resolution, const bool co NS_LOG_DEBUG("SetResolution for unit " << (int)unit << " loop iteration " << i << " has shift " << shift << " has quotient " << quotient); + + struct Information* info = &resolution->info[i]; + if (std::pow(10, std::fabs(shift)) * quotient > std::numeric_limits::max()) + { + NS_LOG_DEBUG("SetResolution for unit " << (int)unit << " loop iteration " << i + << " marked as INVALID"); + info->isValid = false; + continue; + } int64_t factor = static_cast(std::pow(10, std::fabs(shift)) * quotient); double realFactor = std::pow(10, (double)shift) * static_cast(UNIT_COEFF[i]) / UNIT_COEFF[(int)unit]; NS_LOG_DEBUG("SetResolution factor " << factor << " real factor " << realFactor); - struct Information* info = &resolution->info[i]; info->factor = factor; // here we could equivalently check for realFactor == 1.0 but it's better // to avoid checking equality of doubles @@ -259,6 +267,7 @@ Time::SetResolution(enum Unit unit, struct Resolution* resolution, const bool co info->timeTo = int64x64_t(1); info->toMul = true; info->fromMul = true; + info->isValid = true; } else if (realFactor > 1) { @@ -266,6 +275,7 @@ Time::SetResolution(enum Unit unit, struct Resolution* resolution, const bool co info->timeTo = int64x64_t::Invert(factor); info->toMul = false; info->fromMul = true; + info->isValid = true; } else { @@ -274,6 +284,7 @@ Time::SetResolution(enum Unit unit, struct Resolution* resolution, const bool co info->timeTo = int64x64_t(factor); info->toMul = true; info->fromMul = false; + info->isValid = true; } } resolution->unit = unit; From 2c1bb6f03288405a3798bfb7498dbf9012382a50 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sat, 22 Oct 2022 14:29:33 +0200 Subject: [PATCH 077/142] core:fix int->double conversion in Time --- src/core/model/time.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/model/time.cc b/src/core/model/time.cc index cda965edd..a1b389ba8 100644 --- a/src/core/model/time.cc +++ b/src/core/model/time.cc @@ -247,7 +247,8 @@ Time::SetResolution(enum Unit unit, struct Resolution* resolution, const bool co << quotient); struct Information* info = &resolution->info[i]; - if (std::pow(10, std::fabs(shift)) * quotient > std::numeric_limits::max()) + if ((std::pow(10, std::fabs(shift)) * quotient) > + static_cast(std::numeric_limits::max())) { NS_LOG_DEBUG("SetResolution for unit " << (int)unit << " loop iteration " << i << " marked as INVALID"); From 973463da5ea033e75262dd518de9607fb4640561 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sun, 23 Oct 2022 20:48:11 -0300 Subject: [PATCH 078/142] build: fix mpiexec check in the ns3 script --- ns3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ns3 b/ns3 index 9886336ec..5b7726fae 100755 --- a/ns3 +++ b/ns3 @@ -1106,7 +1106,8 @@ def run_step(args, target_to_run, target_args): # running with command template? if args.command_template: commands = (args.command_template % target_to_run).split() - target_to_run = check_program_installed(commands[0]) + check_program_installed(commands[0]) + target_to_run = commands[0] target_args = commands[1:] + target_args # running mpi on the CI? From 106f44af88a81971c33b4ef26fc82713f2a1bde0 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sun, 23 Oct 2022 22:17:01 -0300 Subject: [PATCH 079/142] bindings: add more include directories of third-party libraries --- bindings/python/ns__init__.py | 44 ++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/bindings/python/ns__init__.py b/bindings/python/ns__init__.py index 8d78883c6..4d57d18fb 100644 --- a/bindings/python/ns__init__.py +++ b/bindings/python/ns__init__.py @@ -7,6 +7,9 @@ import sys import sysconfig import re +DEFAULT_INCLUDE_DIR = sysconfig.get_config_var("INCLUDEDIR") +DEFAULT_LIB_DIR = sysconfig.get_config_var("LIBDIR") + def find_ns3_lock(): # Get the absolute path to this file @@ -30,8 +33,8 @@ def find_ns3_lock(): return path_to_lock -SYSTEM_LIBRARY_DIRECTORIES = (sysconfig.get_config_var("LIBDIR"), - os.path.dirname(sysconfig.get_config_var("LIBDIR")) +SYSTEM_LIBRARY_DIRECTORIES = (DEFAULT_LIB_DIR, + os.path.dirname(DEFAULT_LIB_DIR) ) DYNAMIC_LIBRARY_EXTENSIONS = {"linux": "so", "win32": "dll", @@ -124,7 +127,7 @@ def extract_library_include_dirs(library_name: str, prefix: str) -> list: .format(library=library_path, exception=e)) exit(-1) - linked_libs_include_dirs = [] + linked_libs_include_dirs = set() # Now find these libraries and add a few include paths for them for linked_library in map(lambda x: x.decode("utf-8"), linked_libs): # Skip ns-3 modules @@ -143,20 +146,35 @@ def extract_library_include_dirs(library_name: str, prefix: str) -> list: # Get path with shortest length linked_library_path = sorted(linked_library_path, key=lambda x: len(x))[0] - # If the system library directories are part of the path, skip the library include directories - if sum(map(lambda x: x in linked_library_path, [*SYSTEM_LIBRARY_DIRECTORIES, prefix])) > 0: + # If library is part of the ns-3 build, continue without any new includes + if prefix in linked_library_path: continue - # In case it isn't, include new include directories based on the path - linked_libs_include_dirs += [os.path.dirname(linked_library_path)] - linked_libs_include_dirs += [os.path.dirname(linked_libs_include_dirs[-1])] - linked_libs_include_dirs += [os.path.dirname(linked_libs_include_dirs[-1])] + # If it is part of the system directories, try to find it + system_include_dir = os.path.dirname(linked_library_path).replace("lib", "include") + if os.path.exists(system_include_dir): + linked_libs_include_dirs.add(system_include_dir) - for lib_path in [*linked_libs_include_dirs]: + # If system_include_dir/library_name exists, we add it too + linked_library_name = linked_library.replace("lib", "").replace("." + LIBRARY_EXTENSION, "") + if os.path.exists(os.path.join(system_include_dir, linked_library_name)): + linked_libs_include_dirs.add(os.path.join(system_include_dir, linked_library_name)) + + # In case it isn't, include new include directories based on the path + def add_parent_dir_recursively(x: str, y: int) -> None: + if y <= 0: + return + parent_dir = os.path.dirname(x) + linked_libs_include_dirs.add(parent_dir) + add_parent_dir_recursively(parent_dir, y - 1) + + add_parent_dir_recursively(linked_library_path, 2) + + for lib_path in list(linked_libs_include_dirs): inc_path = os.path.join(lib_path, "include") if os.path.exists(inc_path): - linked_libs_include_dirs += [inc_path] - return linked_libs_include_dirs + linked_libs_include_dirs.add(inc_path) + return list(linked_libs_include_dirs) def load_modules(): @@ -238,8 +256,8 @@ def load_modules(): ) libraries_to_load.append(libraries[library_name]) - # We first need to include all include directories for dependencies known_include_dirs = set() + # We then need to include all include directories for dependencies for library in libraries_to_load: for linked_lib_include_dir in extract_library_include_dirs(library, prefix): if linked_lib_include_dir not in known_include_dirs: From aa36e470b9b519a0d2b01220fd82fa46e112c7ea Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Mon, 17 Oct 2022 22:02:59 +0000 Subject: [PATCH 080/142] doc: Improve [[maybe_unused]] coding style guidance --- doc/contributing/source/coding-style.rst | 129 ++++++++++++++++------- 1 file changed, 90 insertions(+), 39 deletions(-) diff --git a/doc/contributing/source/coding-style.rst b/doc/contributing/source/coding-style.rst index 0920fef17..7d694a8d7 100644 --- a/doc/contributing/source/coding-style.rst +++ b/doc/contributing/source/coding-style.rst @@ -881,57 +881,108 @@ Compilers will typically issue warnings on unused entities (e.g., variables, function parameters). Use the ``[[maybe_unused]]`` attribute to suppress such warnings when the entity may be unused depending on how the code is compiled (e.g., if the entity is only used in a logging statement or -an assert statement). Example (parameter ``p`` is only used for logging): +an assert statement). -.. sourcecode:: cpp +The general guidelines are as follows: - void - TcpSocketBase::CompleteFork(Ptr p [[maybe_unused]], - const TcpHeader& h, - const Address& fromAddress, - const Address& toAddress) - { - NS_LOG_FUNCTION(this << p << h << fromAddress << toAddress); - ... - } +- If a function's or a method's parameter is definitely unused, + prefer to leave it unnamed. In the following example, the second + parameter is unnamed. -In function or method parameters, if the parameter is definitely unused, -it should be left unnamed. Example (second parameter is not used): + .. sourcecode:: cpp -.. sourcecode:: cpp + void + UanMacAloha::RxPacketGood(Ptr pkt, double, UanTxMode txMode) + { + UanHeaderCommon header; + pkt->RemoveHeader(header); + ... + } - void - UanMacAloha::RxPacketGood(Ptr pkt, double, UanTxMode txMode) - { - UanHeaderCommon header; - pkt->RemoveHeader(header); - ... - } + In this case, the parameter is also not referenced by Doxygen; e.g.,: -In this case, the parameter is also not referenced by Doxygen; e.g.,: + .. sourcecode:: cpp -.. sourcecode:: cpp + /** + * Receive packet from lower layer (passed to PHY as callback). + * + * \param pkt Packet being received. + * \param txMode Mode of received packet. + */ + void RxPacketGood(Ptr pkt, double, UanTxMode txMode); - /** - * Receive packet from lower layer (passed to PHY as callback). - * - * \param pkt Packet being received. - * \param txMode Mode of received packet. - */ - void RxPacketGood(Ptr pkt, double, UanTxMode txMode); + The omission is preferred to commenting out unused parameters, such as: -The omission is preferred to commenting out unused parameters, such as: + .. sourcecode:: cpp -.. sourcecode:: cpp + void + UanMacAloha::RxPacketGood(Ptr pkt, double /*sinr*/, UanTxMode txMode) + { + UanHeaderCommon header; + pkt->RemoveHeader(header); + ... + } - void - UanMacAloha::RxPacketGood(Ptr pkt, double /*sinr*/, UanTxMode txMode) - { - UanHeaderCommon header; - pkt->RemoveHeader(header); - ... - } +- If a function's parameter is only used in certain cases (e.g., logging), + or it is part of the function's Doxygen, mark it as ``[[maybe_unused]]``. + .. sourcecode:: cpp + + void + TcpSocketBase::CompleteFork(Ptr p [[maybe_unused]], + const TcpHeader& h, + const Address& fromAddress, + const Address& toAddress) + { + NS_LOG_FUNCTION(this << p << h << fromAddress << toAddress); + + // Remaining code that definitely uses 'h', 'fromAddress' and 'toAddress' + ... + } + +- If a local variable saves the result of a function that must always run, + but whose value may not be used, declare it ``[[maybe_unused]]``. + + .. sourcecode:: cpp + + void + MyFunction() + { + int result [[maybe_unused]] = MandatoryFunction(); + NS_LOG_DEBUG("result = " << result); + } + +- If a local variable saves the result of a function that is only run in + certain cases, prefer to not declare the variable and use the function's + return value directly where needed. This avoids unnecessarily calling the + function if its result is not used. + + .. sourcecode:: cpp + + void + MyFunction() + { + // Prefer to call GetDebugInfo() directly on the log statement + NS_LOG_DEBUG("Debug information: " << GetDebugInfo()); + + // Avoid declaring a local variable with the result of GetDebugInfo() + int debugInfo [[maybe_unused]] = GetDebugInfo(); + NS_LOG_DEBUG("Debug information: " << debugInfo); + } + + If the calculation of the maybe unused variable is complex, consider wrapping + the calculation of its value in a conditional block that is only run if the + variable is used. + + .. sourcecode:: cpp + + if (g_log.IsEnabled(ns3::LOG_DEBUG)) + { + auto debugInfo = GetDebugInfo(); + auto value = DoComplexCalculation(debugInfo); + + NS_LOG_DEBUG("The value is " << value); + } Unnecessary else after return ============================= From b048f709122c8a666f393893a0de0d196696ae5a Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Thu, 20 Oct 2022 14:41:18 +0000 Subject: [PATCH 081/142] Fix the [[maybe_unused]] specifier placement to always come after the variable name --- examples/routing/manet-routing-compare.cc | 2 +- examples/tcp/tcp-linux-reno.cc | 2 +- examples/tcp/tcp-variants-comparison.cc | 6 +- .../model/three-gpp-http-client.cc | 2 +- .../model/three-gpp-http-server.cc | 6 +- .../buildings-channel-condition-model.cc | 2 +- src/core/model/attribute-accessor-helper.h | 4 +- src/core/model/log.h | 2 +- src/core/model/nstime.h | 2 +- src/core/model/simple-ref-count.h | 2 +- src/core/test/attribute-test-suite.cc | 12 ++-- src/core/test/callback-test-suite.cc | 8 +-- src/core/test/config-test-suite.cc | 4 +- src/core/test/simulator-test-suite.cc | 4 +- src/core/test/traced-callback-test-suite.cc | 2 +- src/dsr/model/dsr-options.cc | 2 +- src/internet/model/tcp-congestion-ops.cc | 4 +- src/internet/model/tcp-congestion-ops.h | 2 +- src/internet/model/tcp-prr-recovery.cc | 2 +- src/internet/model/tcp-recovery-ops.cc | 6 +- src/internet/model/tcp-socket-base.cc | 6 +- src/internet/model/tcp-tx-buffer.cc | 2 +- src/internet/model/tcp-westwood.cc | 2 +- src/internet/test/neighbor-cache-test.cc | 3 +- src/internet/test/tcp-general-test.cc | 2 +- src/internet/test/tcp-general-test.h | 72 +++++++++---------- src/internet/test/tcp-hybla-test.cc | 2 +- src/internet/test/tcp-rate-ops-test.cc | 2 +- src/lr-wpan/model/lr-wpan-csmaca.cc | 4 +- src/lte/model/lte-enb-mac.h | 2 +- .../model/no-op-component-carrier-manager.cc | 2 +- src/lte/test/lte-test-phy-error-model.cc | 4 +- src/mobility/helper/ns2-mobility-helper.cc | 2 +- src/netanim/model/animation-interface.cc | 2 +- src/network/test/packet-test-suite.cc | 2 +- src/network/utils/queue-size.cc | 2 +- src/nix-vector-routing/test/nix-test.cc | 2 +- .../model/channel-condition-model.cc | 16 ++--- .../model/three-gpp-propagation-loss-model.cc | 24 +++---- src/sixlowpan/model/sixlowpan-net-device.cc | 8 +-- src/stats/model/sqlite-output.cc | 8 +-- .../ns3tc/fq-cobalt-queue-disc-test-suite.cc | 4 +- src/traffic-control/model/queue-disc.cc | 2 +- .../test/cobalt-queue-disc-test-suite.cc | 4 +- .../test/codel-queue-disc-test-suite.cc | 8 +-- src/uan/helper/uan-helper.cc | 8 +-- src/uan/model/uan-mac-aloha.cc | 2 +- src/uan/model/uan-mac-cw.cc | 4 +- src/uan/model/uan-mac-rc-gw.cc | 10 +-- src/uan/model/uan-mac-rc.cc | 4 +- src/uan/model/uan-net-device.cc | 8 +-- src/uan/model/uan-phy-dual.cc | 4 +- src/uan/model/uan-phy-dual.h | 2 +- src/uan/model/uan-phy-gen.cc | 4 +- src/uan/test/uan-energy-model-test.cc | 4 +- src/uan/test/uan-test.cc | 4 +- src/wave/helper/wave-helper.cc | 2 +- src/wave/helper/wifi-80211p-helper.cc | 4 +- src/wifi/model/he/rr-multi-user-scheduler.cc | 2 +- 59 files changed, 162 insertions(+), 163 deletions(-) diff --git a/examples/routing/manet-routing-compare.cc b/examples/routing/manet-routing-compare.cc index 14366b41b..8e30de5ce 100644 --- a/examples/routing/manet-routing-compare.cc +++ b/examples/routing/manet-routing-compare.cc @@ -296,7 +296,7 @@ RoutingExperiment::Run(int nSinks, double txp, std::string CSVfileName) NetDeviceContainer adhocDevices = wifi.Install(wifiPhy, wifiMac, adhocNodes); MobilityHelper mobilityAdhoc; - [[maybe_unused]] int64_t streamIndex = 0; // used to get consistent mobility across scenarios + int64_t streamIndex [[maybe_unused]] = 0; // used to get consistent mobility across scenarios ObjectFactory pos; pos.SetTypeId("ns3::RandomRectanglePositionAllocator"); diff --git a/examples/tcp/tcp-linux-reno.cc b/examples/tcp/tcp-linux-reno.cc index 8b6f9cbc2..163d361bc 100644 --- a/examples/tcp/tcp-linux-reno.cc +++ b/examples/tcp/tcp-linux-reno.cc @@ -231,7 +231,7 @@ main(int argc, char* argv[]) // Create directories to store dat files struct stat buffer; - [[maybe_unused]] int retVal; + int retVal [[maybe_unused]]; if ((stat(dir.c_str(), &buffer)) == 0) { std::string dirToRemove = "rm -rf " + dir; diff --git a/examples/tcp/tcp-variants-comparison.cc b/examples/tcp/tcp-variants-comparison.cc index 62927a903..2ed1f78fa 100644 --- a/examples/tcp/tcp-variants-comparison.cc +++ b/examples/tcp/tcp-variants-comparison.cc @@ -189,7 +189,7 @@ RtoTracer(std::string context, Time oldval, Time newval) * \param nextTx Next sequence number. */ static void -NextTxTracer(std::string context, [[maybe_unused]] SequenceNumber32 old, SequenceNumber32 nextTx) +NextTxTracer(std::string context, SequenceNumber32 old [[maybe_unused]], SequenceNumber32 nextTx) { uint32_t nodeId = GetNodeIdFromContext(context); @@ -205,7 +205,7 @@ NextTxTracer(std::string context, [[maybe_unused]] SequenceNumber32 old, Sequenc * \param inFlight In flight value. */ static void -InFlightTracer(std::string context, [[maybe_unused]] uint32_t old, uint32_t inFlight) +InFlightTracer(std::string context, uint32_t old [[maybe_unused]], uint32_t inFlight) { uint32_t nodeId = GetNodeIdFromContext(context); @@ -221,7 +221,7 @@ InFlightTracer(std::string context, [[maybe_unused]] uint32_t old, uint32_t inFl * \param nextRx Next sequence number. */ static void -NextRxTracer(std::string context, [[maybe_unused]] SequenceNumber32 old, SequenceNumber32 nextRx) +NextRxTracer(std::string context, SequenceNumber32 old [[maybe_unused]], SequenceNumber32 nextRx) { uint32_t nodeId = GetNodeIdFromContext(context); diff --git a/src/applications/model/three-gpp-http-client.cc b/src/applications/model/three-gpp-http-client.cc index f9b31ecb9..0098272d5 100644 --- a/src/applications/model/three-gpp-http-client.cc +++ b/src/applications/model/three-gpp-http-client.cc @@ -363,7 +363,7 @@ ThreeGppHttpClient::OpenConnection() { m_socket = Socket::CreateSocket(GetNode(), TcpSocketFactory::GetTypeId()); - [[maybe_unused]] int ret; + int ret [[maybe_unused]]; if (Ipv4Address::IsMatchingType(m_remoteServerAddress)) { diff --git a/src/applications/model/three-gpp-http-server.cc b/src/applications/model/three-gpp-http-server.cc index 8329383af..00b35bddb 100644 --- a/src/applications/model/three-gpp-http-server.cc +++ b/src/applications/model/three-gpp-http-server.cc @@ -208,7 +208,7 @@ ThreeGppHttpServer::StartApplication() m_initialSocket = Socket::CreateSocket(GetNode(), TcpSocketFactory::GetTypeId()); m_initialSocket->SetAttribute("SegmentSize", UintegerValue(m_mtuSize)); - [[maybe_unused]] int ret; + int ret [[maybe_unused]]; if (Ipv4Address::IsMatchingType(m_localAddress)) { @@ -453,8 +453,8 @@ ThreeGppHttpServer::SendCallback(Ptr socket, uint32_t availableBufferSiz if (!m_txBuffer->IsBufferEmpty(socket)) { - [[maybe_unused]] const uint32_t txBufferSize = m_txBuffer->GetBufferSize(socket); - [[maybe_unused]] const uint32_t actualSent = ServeFromTxBuffer(socket); + const uint32_t txBufferSize [[maybe_unused]] = m_txBuffer->GetBufferSize(socket); + const uint32_t actualSent [[maybe_unused]] = ServeFromTxBuffer(socket); #ifdef NS3_LOG_ENABLE // Some log messages. diff --git a/src/buildings/model/buildings-channel-condition-model.cc b/src/buildings/model/buildings-channel-condition-model.cc index d7d174de6..0615ae22f 100644 --- a/src/buildings/model/buildings-channel-condition-model.cc +++ b/src/buildings/model/buildings-channel-condition-model.cc @@ -132,7 +132,7 @@ BuildingsChannelConditionModel::IsLineOfSightBlocked(const ns3::Vector& l1, } int64_t -BuildingsChannelConditionModel::AssignStreams([[maybe_unused]] int64_t stream) +BuildingsChannelConditionModel::AssignStreams(int64_t stream [[maybe_unused]]) { return 0; } diff --git a/src/core/model/attribute-accessor-helper.h b/src/core/model/attribute-accessor-helper.h index 55256761a..575f95a36 100644 --- a/src/core/model/attribute-accessor-helper.h +++ b/src/core/model/attribute-accessor-helper.h @@ -327,7 +327,7 @@ DoMakeAccessorHelperOne(U (T::*getter)() const) } private: - bool DoSet([[maybe_unused]] T* object, [[maybe_unused]] const V* v) const override + bool DoSet(T* object [[maybe_unused]], const V* v [[maybe_unused]]) const override { return false; } @@ -398,7 +398,7 @@ DoMakeAccessorHelperOne(void (T::*setter)(U)) return true; } - bool DoGet([[maybe_unused]] const T* object, [[maybe_unused]] V* v) const override + bool DoGet(const T* object [[maybe_unused]], V* v [[maybe_unused]]) const override { return false; } diff --git a/src/core/model/log.h b/src/core/model/log.h index 646ef9102..135c9efad 100644 --- a/src/core/model/log.h +++ b/src/core/model/log.h @@ -244,7 +244,7 @@ void LogComponentDisableAll(enum LogLevel level); * \param [in] name The log component name. */ #define NS_LOG_STATIC_TEMPLATE_DEFINE(name) \ - [[maybe_unused]] static LogComponent& g_log = GetLogComponent(name) + static LogComponent& g_log [[maybe_unused]] = GetLogComponent(name) /** * Use \ref NS_LOG to output a message of level LOG_ERROR. diff --git a/src/core/model/nstime.h b/src/core/model/nstime.h index 59da336db..a762a6add 100644 --- a/src/core/model/nstime.h +++ b/src/core/model/nstime.h @@ -856,7 +856,7 @@ typedef void (*Time)(Time oldValue, Time newValue); * This is internal to the Time implementation. * \relates Time */ -[[maybe_unused]] static bool g_TimeStaticInit = Time::StaticInit(); +static bool g_TimeStaticInit [[maybe_unused]] = Time::StaticInit(); /** * Equality operator for Time. diff --git a/src/core/model/simple-ref-count.h b/src/core/model/simple-ref-count.h index 78dbaed3d..75f075e50 100644 --- a/src/core/model/simple-ref-count.h +++ b/src/core/model/simple-ref-count.h @@ -100,7 +100,7 @@ class SimpleRefCount : public PARENT * \param [in] o The object to copy * \returns The copy of \pname{o} */ - SimpleRefCount& operator=([[maybe_unused]] const SimpleRefCount& o) + SimpleRefCount& operator=(const SimpleRefCount& o [[maybe_unused]]) { return *this; } diff --git a/src/core/test/attribute-test-suite.cc b/src/core/test/attribute-test-suite.cc index 6f92a5160..4e6a706e1 100644 --- a/src/core/test/attribute-test-suite.cc +++ b/src/core/test/attribute-test-suite.cc @@ -80,7 +80,7 @@ class ValueClassTest * \return always true. */ bool -operator!=([[maybe_unused]] const ValueClassTest& a, [[maybe_unused]] const ValueClassTest& b) +operator!=(const ValueClassTest& a [[maybe_unused]], const ValueClassTest& b [[maybe_unused]]) { return true; } @@ -93,7 +93,7 @@ operator!=([[maybe_unused]] const ValueClassTest& a, [[maybe_unused]] const Valu * \returns The reference to the output stream. */ std::ostream& -operator<<(std::ostream& os, [[maybe_unused]] ValueClassTest v) +operator<<(std::ostream& os, ValueClassTest v [[maybe_unused]]) { return os; } @@ -106,7 +106,7 @@ operator<<(std::ostream& os, [[maybe_unused]] ValueClassTest v) * \returns The reference to the input stream. */ std::istream& -operator>>(std::istream& is, [[maybe_unused]] ValueClassTest& v) +operator>>(std::istream& is, ValueClassTest& v [[maybe_unused]]) { return is; } @@ -1471,7 +1471,7 @@ class IntegerTraceSourceTestCase : public TestCase * \param old First value. * \param n Second value. */ - void NotifySource1([[maybe_unused]] int8_t old, int8_t n) + void NotifySource1(int8_t old [[maybe_unused]], int8_t n) { m_got1 = n; } @@ -1574,7 +1574,7 @@ class TracedCallbackTestCase : public TestCase * \param b Second value. * \param c Third value. */ - void NotifySource2(double a, [[maybe_unused]] int b, [[maybe_unused]] float c) + void NotifySource2(double a, int b [[maybe_unused]], float c [[maybe_unused]]) { m_got2 = a; } @@ -1675,7 +1675,7 @@ class PointerAttributeTestCase : public TestCase * \param b Second value. * \param c Third value. */ - void NotifySource2(double a, [[maybe_unused]] int b, [[maybe_unused]] float c) + void NotifySource2(double a, int b [[maybe_unused]], float c [[maybe_unused]]) { m_got2 = a; } diff --git a/src/core/test/callback-test-suite.cc b/src/core/test/callback-test-suite.cc index 7627a29ea..ef76e4469 100644 --- a/src/core/test/callback-test-suite.cc +++ b/src/core/test/callback-test-suite.cc @@ -69,7 +69,7 @@ class BasicCallbackTestCase : public TestCase * Callback 3 target function. * \param a A parameter (unused). */ - void Target3([[maybe_unused]] double a) + void Target3(double a [[maybe_unused]]) { m_test3 = true; } @@ -80,7 +80,7 @@ class BasicCallbackTestCase : public TestCase * \param b Another parameter (unused). * \return four. */ - int Target4([[maybe_unused]] double a, [[maybe_unused]] int b) + int Target4(double a [[maybe_unused]], int b [[maybe_unused]]) { m_test4 = true; return 4; @@ -266,7 +266,7 @@ class MakeCallbackTestCase : public TestCase * Callback 3 target function. * \param a A parameter (unused). */ - void Target3([[maybe_unused]] double a) + void Target3(double a [[maybe_unused]]) { m_test3 = true; } @@ -277,7 +277,7 @@ class MakeCallbackTestCase : public TestCase * \param b Another parameter (unused). * \return four. */ - int Target4([[maybe_unused]] double a, [[maybe_unused]] int b) + int Target4(double a [[maybe_unused]], int b [[maybe_unused]]) { m_test4 = true; return 4; diff --git a/src/core/test/config-test-suite.cc b/src/core/test/config-test-suite.cc index fb4f27e2a..74589e17b 100644 --- a/src/core/test/config-test-suite.cc +++ b/src/core/test/config-test-suite.cc @@ -649,7 +649,7 @@ class ObjectVectorTraceConfigTestCase : public TestCase * \param oldValue The old value. * \param newValue The new value. */ - void Trace([[maybe_unused]] int16_t oldValue, int16_t newValue) + void Trace(int16_t oldValue [[maybe_unused]], int16_t newValue) { m_newValue = newValue; } @@ -660,7 +660,7 @@ class ObjectVectorTraceConfigTestCase : public TestCase * \param old The old value. * \param newValue The new value. */ - void TraceWithPath(std::string path, [[maybe_unused]] int16_t old, int16_t newValue) + void TraceWithPath(std::string path, int16_t old [[maybe_unused]], int16_t newValue) { m_newValue = newValue; m_path = path; diff --git a/src/core/test/simulator-test-suite.cc b/src/core/test/simulator-test-suite.cc index 8ddc799fb..ff285b45c 100644 --- a/src/core/test/simulator-test-suite.cc +++ b/src/core/test/simulator-test-suite.cc @@ -107,7 +107,7 @@ SimulatorEventsTestCase::NowUs() } void -SimulatorEventsTestCase::EventA([[maybe_unused]] int a) +SimulatorEventsTestCase::EventA(int a [[maybe_unused]]) { m_a = false; } @@ -128,7 +128,7 @@ SimulatorEventsTestCase::EventB(int b) } void -SimulatorEventsTestCase::EventC([[maybe_unused]] int c) +SimulatorEventsTestCase::EventC(int c [[maybe_unused]]) { m_c = false; } diff --git a/src/core/test/traced-callback-test-suite.cc b/src/core/test/traced-callback-test-suite.cc index a08f978a2..e4388620d 100644 --- a/src/core/test/traced-callback-test-suite.cc +++ b/src/core/test/traced-callback-test-suite.cc @@ -66,7 +66,7 @@ BasicTracedCallbackTestCase::BasicTracedCallbackTestCase() } void -BasicTracedCallbackTestCase::CbOne([[maybe_unused]] uint8_t a, [[maybe_unused]] double b) +BasicTracedCallbackTestCase::CbOne(uint8_t a [[maybe_unused]], double b [[maybe_unused]]) { m_one = true; } diff --git a/src/dsr/model/dsr-options.cc b/src/dsr/model/dsr-options.cc index 27bff07e4..9504676ce 100644 --- a/src/dsr/model/dsr-options.cc +++ b/src/dsr/model/dsr-options.cc @@ -1597,7 +1597,7 @@ DsrOptionRerr::Process(Ptr packet, /* * The error serialized size */ - [[maybe_unused]] uint32_t rerrSize; + uint32_t rerrSize [[maybe_unused]]; NS_LOG_DEBUG("The error type value here " << (uint32_t)errorType); if (errorType == 1) // unreachable ip address { diff --git a/src/internet/model/tcp-congestion-ops.cc b/src/internet/model/tcp-congestion-ops.cc index 00be006bb..148c23e5d 100644 --- a/src/internet/model/tcp-congestion-ops.cc +++ b/src/internet/model/tcp-congestion-ops.cc @@ -81,8 +81,8 @@ TcpCongestionOps::HasCongControl() const void TcpCongestionOps::CongControl(Ptr tcb, - [[maybe_unused]] const TcpRateOps::TcpRateConnection& rc, - [[maybe_unused]] const TcpRateOps::TcpRateSample& rs) + const TcpRateOps::TcpRateConnection& rc [[maybe_unused]], + const TcpRateOps::TcpRateSample& rs [[maybe_unused]]) { NS_LOG_FUNCTION(this << tcb); } diff --git a/src/internet/model/tcp-congestion-ops.h b/src/internet/model/tcp-congestion-ops.h index 0600fde67..8f2ef7a83 100644 --- a/src/internet/model/tcp-congestion-ops.h +++ b/src/internet/model/tcp-congestion-ops.h @@ -79,7 +79,7 @@ class TcpCongestionOps : public Object * * \param tcb internal congestion state */ - virtual void Init([[maybe_unused]] Ptr tcb) + virtual void Init(Ptr tcb [[maybe_unused]]) { } diff --git a/src/internet/model/tcp-prr-recovery.cc b/src/internet/model/tcp-prr-recovery.cc index 8590fa209..8c6dd230e 100644 --- a/src/internet/model/tcp-prr-recovery.cc +++ b/src/internet/model/tcp-prr-recovery.cc @@ -70,7 +70,7 @@ TcpPrrRecovery::~TcpPrrRecovery() void TcpPrrRecovery::EnterRecovery(Ptr tcb, - [[maybe_unused]] uint32_t dupAckCount, + uint32_t dupAckCount [[maybe_unused]], uint32_t unAckDataCount, uint32_t deliveredBytes) { diff --git a/src/internet/model/tcp-recovery-ops.cc b/src/internet/model/tcp-recovery-ops.cc index bd7b2aba9..3ede14bcc 100644 --- a/src/internet/model/tcp-recovery-ops.cc +++ b/src/internet/model/tcp-recovery-ops.cc @@ -96,8 +96,8 @@ TcpClassicRecovery::~TcpClassicRecovery() void TcpClassicRecovery::EnterRecovery(Ptr tcb, uint32_t dupAckCount, - [[maybe_unused]] uint32_t unAckDataCount, - [[maybe_unused]] uint32_t deliveredBytes) + uint32_t unAckDataCount [[maybe_unused]], + uint32_t deliveredBytes [[maybe_unused]]) { NS_LOG_FUNCTION(this << tcb << dupAckCount << unAckDataCount); tcb->m_cWnd = tcb->m_ssThresh; @@ -105,7 +105,7 @@ TcpClassicRecovery::EnterRecovery(Ptr tcb, } void -TcpClassicRecovery::DoRecovery(Ptr tcb, [[maybe_unused]] uint32_t deliveredBytes) +TcpClassicRecovery::DoRecovery(Ptr tcb, uint32_t deliveredBytes [[maybe_unused]]) { NS_LOG_FUNCTION(this << tcb << deliveredBytes); tcb->m_cWndInfl += tcb->m_segmentSize; diff --git a/src/internet/model/tcp-socket-base.cc b/src/internet/model/tcp-socket-base.cc index 591bde86b..f8ef04188 100644 --- a/src/internet/model/tcp-socket-base.cc +++ b/src/internet/model/tcp-socket-base.cc @@ -892,7 +892,7 @@ TcpSocketBase::Send(Ptr p, uint32_t flags) /* Inherit from Socket class: In TcpSocketBase, it is same as Send() call */ int -TcpSocketBase::SendTo(Ptr p, uint32_t flags, [[maybe_unused]] const Address& address) +TcpSocketBase::SendTo(Ptr p, uint32_t flags, const Address& address [[maybe_unused]]) { return Send(p, flags); // SendTo() and Send() are the same } @@ -2369,7 +2369,7 @@ void TcpSocketBase::ProcessSynRcvd(Ptr packet, const TcpHeader& tcpHeader, const Address& fromAddress, - [[maybe_unused]] const Address& toAddress) + const Address& toAddress [[maybe_unused]]) { NS_LOG_FUNCTION(this << tcpHeader); @@ -2964,7 +2964,7 @@ TcpSocketBase::SetupEndpoint6() TcpSocketBase cloned, allocate a new end point to handle the incoming connection and send a SYN+ACK to complete the handshake. */ void -TcpSocketBase::CompleteFork([[maybe_unused]] Ptr p, +TcpSocketBase::CompleteFork(Ptr p [[maybe_unused]], const TcpHeader& h, const Address& fromAddress, const Address& toAddress) diff --git a/src/internet/model/tcp-tx-buffer.cc b/src/internet/model/tcp-tx-buffer.cc index befdd08d7..dcfa46e27 100644 --- a/src/internet/model/tcp-tx-buffer.cc +++ b/src/internet/model/tcp-tx-buffer.cc @@ -687,7 +687,7 @@ TcpTxBuffer::DiscardUpTo(const SequenceNumber32& seq, const Callback p = + Ptr p [[maybe_unused]] = CopyFromSequence(offset, m_firstByteSeq)->GetPacketCopy(); NS_ASSERT(p); i = m_sentList.begin(); diff --git a/src/internet/model/tcp-westwood.cc b/src/internet/model/tcp-westwood.cc index 0c31ff4ef..47d19711c 100644 --- a/src/internet/model/tcp-westwood.cc +++ b/src/internet/model/tcp-westwood.cc @@ -175,7 +175,7 @@ TcpWestwood::EstimateBW(const Time& rtt, Ptr tcb) } uint32_t -TcpWestwood::GetSsThresh(Ptr tcb, [[maybe_unused]] uint32_t bytesInFlight) +TcpWestwood::GetSsThresh(Ptr tcb, uint32_t bytesInFlight [[maybe_unused]]) { uint32_t ssThresh = static_cast((m_currentBW * tcb->m_minRtt) / 8.0); diff --git a/src/internet/test/neighbor-cache-test.cc b/src/internet/test/neighbor-cache-test.cc index 91087f2f3..12598a780 100644 --- a/src/internet/test/neighbor-cache-test.cc +++ b/src/internet/test/neighbor-cache-test.cc @@ -129,8 +129,7 @@ DynamicNeighborCacheTest::DynamicNeighborCacheTest() void DynamicNeighborCacheTest::ReceivePkt(Ptr socket) { - [[maybe_unused]] uint32_t availableData; - availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), diff --git a/src/internet/test/tcp-general-test.cc b/src/internet/test/tcp-general-test.cc index 03ae48d42..dc21d2f89 100644 --- a/src/internet/test/tcp-general-test.cc +++ b/src/internet/test/tcp-general-test.cc @@ -364,7 +364,7 @@ TcpGeneralTest::QueueDropCb(std::string context, Ptr p) } void -TcpGeneralTest::PhyDropCb(std::string context, [[maybe_unused]] Ptr p) +TcpGeneralTest::PhyDropCb(std::string context, Ptr p [[maybe_unused]]) { if (context == "SENDER") { diff --git a/src/internet/test/tcp-general-test.h b/src/internet/test/tcp-general-test.h index 2dd0b284a..b76ea5888 100644 --- a/src/internet/test/tcp-general-test.h +++ b/src/internet/test/tcp-general-test.h @@ -723,8 +723,8 @@ class TcpGeneralTest : public TestCase * \param oldValue old value * \param newValue new value */ - virtual void CongStateTrace([[maybe_unused]] const TcpSocketState::TcpCongState_t oldValue, - [[maybe_unused]] const TcpSocketState::TcpCongState_t newValue) + virtual void CongStateTrace(const TcpSocketState::TcpCongState_t oldValue [[maybe_unused]], + const TcpSocketState::TcpCongState_t newValue [[maybe_unused]]) { } @@ -734,7 +734,7 @@ class TcpGeneralTest : public TestCase * \param oldValue old value * \param newValue new value */ - virtual void CWndTrace([[maybe_unused]] uint32_t oldValue, [[maybe_unused]] uint32_t newValue) + virtual void CWndTrace(uint32_t oldValue [[maybe_unused]], uint32_t newValue [[maybe_unused]]) { } @@ -744,8 +744,8 @@ class TcpGeneralTest : public TestCase * \param oldValue old value * \param newValue new value */ - virtual void CWndInflTrace([[maybe_unused]] uint32_t oldValue, - [[maybe_unused]] uint32_t newValue) + virtual void CWndInflTrace(uint32_t oldValue [[maybe_unused]], + uint32_t newValue [[maybe_unused]]) { } @@ -757,7 +757,7 @@ class TcpGeneralTest : public TestCase * \param oldTime old value * \param newTime new value */ - virtual void RttTrace([[maybe_unused]] Time oldTime, [[maybe_unused]] Time newTime) + virtual void RttTrace(Time oldTime [[maybe_unused]], Time newTime [[maybe_unused]]) { } @@ -769,8 +769,8 @@ class TcpGeneralTest : public TestCase * \param oldValue old value * \param newValue new value */ - virtual void SsThreshTrace([[maybe_unused]] uint32_t oldValue, - [[maybe_unused]] uint32_t newValue) + virtual void SsThreshTrace(uint32_t oldValue [[maybe_unused]], + uint32_t newValue [[maybe_unused]]) { } @@ -782,8 +782,8 @@ class TcpGeneralTest : public TestCase * \param oldValue old value * \param newValue new value */ - virtual void BytesInFlightTrace([[maybe_unused]] uint32_t oldValue, - [[maybe_unused]] uint32_t newValue) + virtual void BytesInFlightTrace(uint32_t oldValue [[maybe_unused]], + uint32_t newValue [[maybe_unused]]) { } @@ -795,7 +795,7 @@ class TcpGeneralTest : public TestCase * \param oldValue old value * \param newValue new value */ - virtual void RtoTrace([[maybe_unused]] Time oldValue, [[maybe_unused]] Time newValue) + virtual void RtoTrace(Time oldValue [[maybe_unused]], Time newValue [[maybe_unused]]) { } @@ -807,8 +807,8 @@ class TcpGeneralTest : public TestCase * \param oldValue old value * \param newValue new value */ - virtual void NextTxSeqTrace([[maybe_unused]] SequenceNumber32 oldValue, - [[maybe_unused]] SequenceNumber32 newValue) + virtual void NextTxSeqTrace(SequenceNumber32 oldValue [[maybe_unused]], + SequenceNumber32 newValue [[maybe_unused]]) { } @@ -820,8 +820,8 @@ class TcpGeneralTest : public TestCase * \param oldValue old value * \param newValue new value */ - virtual void HighestTxSeqTrace([[maybe_unused]] SequenceNumber32 oldValue, - [[maybe_unused]] SequenceNumber32 newValue) + virtual void HighestTxSeqTrace(SequenceNumber32 oldValue [[maybe_unused]], + SequenceNumber32 newValue [[maybe_unused]]) { } @@ -829,7 +829,7 @@ class TcpGeneralTest : public TestCase * \brief Track the rate value of TcpRateLinux. * \param rate updated value of TcpRate. */ - virtual void RateUpdatedTrace([[maybe_unused]] const TcpRateLinux::TcpRateConnection& rate) + virtual void RateUpdatedTrace(const TcpRateLinux::TcpRateConnection& rate [[maybe_unused]]) { } @@ -837,7 +837,7 @@ class TcpGeneralTest : public TestCase * \brief Track the rate sample value of TcpRateLinux. * \param sample updated value of TcpRateSample. */ - virtual void RateSampleUpdatedTrace([[maybe_unused]] const TcpRateLinux::TcpRateSample& sample) + virtual void RateSampleUpdatedTrace(const TcpRateLinux::TcpRateSample& sample [[maybe_unused]]) { } @@ -845,7 +845,7 @@ class TcpGeneralTest : public TestCase * \brief Socket closed normally * \param who the socket closed (SENDER or RECEIVER) */ - virtual void NormalClose([[maybe_unused]] SocketWho who) + virtual void NormalClose(SocketWho who [[maybe_unused]]) { } @@ -854,7 +854,7 @@ class TcpGeneralTest : public TestCase * * \param who the socket closed (SENDER or RECEIVER) */ - virtual void ErrorClose([[maybe_unused]] SocketWho who) + virtual void ErrorClose(SocketWho who [[maybe_unused]]) { /** \todo indicate the error */ } @@ -863,7 +863,7 @@ class TcpGeneralTest : public TestCase * \brief Drop on the queue * \param who where the drop occurred (SENDER or RECEIVER) */ - virtual void QueueDrop([[maybe_unused]] SocketWho who) + virtual void QueueDrop(SocketWho who [[maybe_unused]]) { } @@ -871,7 +871,7 @@ class TcpGeneralTest : public TestCase * \brief Link drop * \param who where the drop occurred (SENDER or RECEIVER) */ - virtual void PhyDrop([[maybe_unused]] SocketWho who) + virtual void PhyDrop(SocketWho who [[maybe_unused]]) { } @@ -884,9 +884,9 @@ class TcpGeneralTest : public TestCase * \param h the header of segment * \param who the socket which has received the ACK (SENDER or RECEIVER) */ - virtual void RcvAck([[maybe_unused]] const Ptr tcb, - [[maybe_unused]] const TcpHeader& h, - [[maybe_unused]] SocketWho who) + virtual void RcvAck(const Ptr tcb [[maybe_unused]], + const TcpHeader& h [[maybe_unused]], + SocketWho who [[maybe_unused]]) { } @@ -899,9 +899,9 @@ class TcpGeneralTest : public TestCase * \param h the header of segment * \param who the socket which has processed the ACK (SENDER or RECEIVER) */ - virtual void ProcessedAck([[maybe_unused]] const Ptr tcb, - [[maybe_unused]] const TcpHeader& h, - [[maybe_unused]] SocketWho who) + virtual void ProcessedAck(const Ptr tcb [[maybe_unused]], + const TcpHeader& h [[maybe_unused]], + SocketWho who [[maybe_unused]]) { } @@ -929,8 +929,8 @@ class TcpGeneralTest : public TestCase * \param tcb Transmission control block * \param who where the RTO has expired (SENDER or RECEIVER) */ - virtual void AfterRTOExpired([[maybe_unused]] const Ptr tcb, - [[maybe_unused]] SocketWho who) + virtual void AfterRTOExpired(const Ptr tcb [[maybe_unused]], + SocketWho who [[maybe_unused]]) { } @@ -940,8 +940,8 @@ class TcpGeneralTest : public TestCase * \param tcb Transmission control block * \param who where the RTO has expired (SENDER or RECEIVER) */ - virtual void BeforeRTOExpired([[maybe_unused]] const Ptr tcb, - [[maybe_unused]] SocketWho who) + virtual void BeforeRTOExpired(const Ptr tcb [[maybe_unused]], + SocketWho who [[maybe_unused]]) { } @@ -952,10 +952,10 @@ class TcpGeneralTest : public TestCase * \param isRetransmission self-explanatory * \param who where the rtt history was updated */ - virtual void UpdatedRttHistory([[maybe_unused]] const SequenceNumber32& seq, - [[maybe_unused]] uint32_t sz, - [[maybe_unused]] bool isRetransmission, - [[maybe_unused]] SocketWho who) + virtual void UpdatedRttHistory(const SequenceNumber32& seq [[maybe_unused]], + uint32_t sz [[maybe_unused]], + bool isRetransmission [[maybe_unused]], + SocketWho who [[maybe_unused]]) { } @@ -965,7 +965,7 @@ class TcpGeneralTest : public TestCase * \param size the amount of bytes transmitted * \param who where the RTO has expired (SENDER or RECEIVER) */ - virtual void DataSent([[maybe_unused]] uint32_t size, [[maybe_unused]] SocketWho who) + virtual void DataSent(uint32_t size [[maybe_unused]], SocketWho who [[maybe_unused]]) { } diff --git a/src/internet/test/tcp-hybla-test.cc b/src/internet/test/tcp-hybla-test.cc index 4d5a1ffd9..5ced133dc 100644 --- a/src/internet/test/tcp-hybla-test.cc +++ b/src/internet/test/tcp-hybla-test.cc @@ -82,7 +82,7 @@ TcpHyblaIncrementTest::TcpHyblaIncrementTest(uint32_t cWnd, } void -TcpHyblaIncrementTest::RhoUpdated([[maybe_unused]] double oldVal, double newVal) +TcpHyblaIncrementTest::RhoUpdated(double oldVal [[maybe_unused]], double newVal) { m_rho = newVal; } diff --git a/src/internet/test/tcp-rate-ops-test.cc b/src/internet/test/tcp-rate-ops-test.cc index d6897396f..f243ce8d3 100644 --- a/src/internet/test/tcp-rate-ops-test.cc +++ b/src/internet/test/tcp-rate-ops-test.cc @@ -381,7 +381,7 @@ TcpRateLinuxWithSocketsTest::Rx(const Ptr p, const TcpHeader& h, S } void -TcpRateLinuxWithSocketsTest::BytesInFlightTrace([[maybe_unused]] uint32_t oldValue, +TcpRateLinuxWithSocketsTest::BytesInFlightTrace(uint32_t oldValue [[maybe_unused]], uint32_t newValue) { m_bytesInFlight = newValue; diff --git a/src/lr-wpan/model/lr-wpan-csmaca.cc b/src/lr-wpan/model/lr-wpan-csmaca.cc index 662d79e20..d4ac26469 100644 --- a/src/lr-wpan/model/lr-wpan-csmaca.cc +++ b/src/lr-wpan/model/lr-wpan-csmaca.cc @@ -199,8 +199,8 @@ LrWpanCsmaCa::GetTimeToNextSlot() const uint64_t elapsedSuperframeSymbols; uint64_t symbolRate; Time timeAtBoundary; - [[maybe_unused]] Time elapsedCap; - [[maybe_unused]] Time beaconTime; + Time elapsedCap [[maybe_unused]]; + Time beaconTime [[maybe_unused]]; currentTime = Simulator::Now(); symbolRate = (uint64_t)m_mac->GetPhy()->GetDataOrSymbolRate(false); // symbols per second diff --git a/src/lte/model/lte-enb-mac.h b/src/lte/model/lte-enb-mac.h index f66947226..690b8a7e3 100644 --- a/src/lte/model/lte-enb-mac.h +++ b/src/lte/model/lte-enb-mac.h @@ -349,7 +349,7 @@ class LteEnbMac : public Object * * Since SR is not implemented in LTE, this method does nothing. */ - void DoReportSrToScheduler([[maybe_unused]] uint16_t rnti) + void DoReportSrToScheduler(uint16_t rnti [[maybe_unused]]) { } diff --git a/src/lte/model/no-op-component-carrier-manager.cc b/src/lte/model/no-op-component-carrier-manager.cc index c8215dc16..40564737c 100644 --- a/src/lte/model/no-op-component-carrier-manager.cc +++ b/src/lte/model/no-op-component-carrier-manager.cc @@ -475,7 +475,7 @@ RrComponentCarrierManager::DoUlReceiveMacCe(MacCeListElement_s bsr, uint8_t comp } void -RrComponentCarrierManager::DoUlReceiveSr(uint16_t rnti, [[maybe_unused]] uint8_t componentCarrierId) +RrComponentCarrierManager::DoUlReceiveSr(uint16_t rnti, uint8_t componentCarrierId [[maybe_unused]]) { NS_LOG_FUNCTION(this); // split traffic in uplink equally among carriers diff --git a/src/lte/test/lte-test-phy-error-model.cc b/src/lte/test/lte-test-phy-error-model.cc index e9b0c487a..cede73375 100644 --- a/src/lte/test/lte-test-phy-error-model.cc +++ b/src/lte/test/lte-test-phy-error-model.cc @@ -245,7 +245,7 @@ LenaDataPhyErrorModelTestCase::DoRun() double dlRxPackets = rlcStats->GetDlRxPackets(imsi, lcId); double dlTxPackets = rlcStats->GetDlTxPackets(imsi, lcId); - [[maybe_unused]] double dlBler = 1.0 - (dlRxPackets / dlTxPackets); + double dlBler [[maybe_unused]] = 1.0 - (dlRxPackets / dlTxPackets); double expectedDlRxPackets = dlTxPackets - dlTxPackets * m_blerRef; NS_LOG_INFO("\tUser " << i << " imsi " << imsi << " DOWNLINK" << " pkts rx " << dlRxPackets << " tx " << dlTxPackets << " BLER " @@ -407,7 +407,7 @@ LenaDlCtrlPhyErrorModelTestCase::DoRun() uint8_t lcId = 3; double dlRxPackets = rlcStats->GetDlRxPackets(imsi, lcId); double dlTxPackets = rlcStats->GetDlTxPackets(imsi, lcId); - [[maybe_unused]] double dlBler = 1.0 - (dlRxPackets / dlTxPackets); + double dlBler [[maybe_unused]] = 1.0 - (dlRxPackets / dlTxPackets); double expectedDlRxPackets = dlTxPackets - dlTxPackets * m_blerRef; NS_LOG_INFO("\tUser " << i << " imsi " << imsi << " DOWNLINK" << " pkts rx " << dlRxPackets << " tx " << dlTxPackets << " BLER " diff --git a/src/mobility/helper/ns2-mobility-helper.cc b/src/mobility/helper/ns2-mobility-helper.cc index 4e2d1cee9..49fe0de4b 100644 --- a/src/mobility/helper/ns2-mobility-helper.cc +++ b/src/mobility/helper/ns2-mobility-helper.cc @@ -608,7 +608,7 @@ bool IsNumber(const std::string& s) { char* endp; - [[maybe_unused]] double v = strtod(s.c_str(), &endp); + double v [[maybe_unused]] = strtod(s.c_str(), &endp); return endp == s.c_str() + s.size(); } diff --git a/src/netanim/model/animation-interface.cc b/src/netanim/model/animation-interface.cc index d3f4e1610..5361f3386 100644 --- a/src/netanim/model/animation-interface.cc +++ b/src/netanim/model/animation-interface.cc @@ -925,7 +925,7 @@ AnimationInterface::UanPhyGenRxTrace(std::string context, Ptr p) void AnimationInterface::WifiPhyTxBeginTrace(std::string context, WifiConstPsduMap psduMap, - [[maybe_unused]] WifiTxVector txVector, + WifiTxVector txVector [[maybe_unused]], double txPowerW) { NS_LOG_FUNCTION(this); diff --git a/src/network/test/packet-test-suite.cc b/src/network/test/packet-test-suite.cc index 775eb2e37..a0cd46d01 100644 --- a/src/network/test/packet-test-suite.cc +++ b/src/network/test/packet-test-suite.cc @@ -1037,7 +1037,7 @@ PacketTagListTest::CheckRef(const PacketTagList& ref, ATestTagBase& t, const cha ATestTag<5> t5(1); \ ATestTag<6> t6(1); \ ATestTag<7> t7(1); \ - [[maybe_unused]] const int tagLast = 7; /* length of ref PacketTagList */ + const int tagLast [[maybe_unused]] = 7; /* length of ref PacketTagList */ void PacketTagListTest::CheckRefList(const PacketTagList& ptl, const char* msg, int miss /* = 0 */) diff --git a/src/network/utils/queue-size.cc b/src/network/utils/queue-size.cc index b958cfeac..c69333c0c 100644 --- a/src/network/utils/queue-size.cc +++ b/src/network/utils/queue-size.cc @@ -189,7 +189,7 @@ QueueSize::GetValue() const QueueSize::QueueSize(std::string size) { NS_LOG_FUNCTION(this << size); - [[maybe_unused]] bool ok = DoParse(size, &m_unit, &m_value); + bool ok [[maybe_unused]] = DoParse(size, &m_unit, &m_value); NS_ABORT_MSG_IF(!ok, "Could not parse queue size: " << size); } diff --git a/src/nix-vector-routing/test/nix-test.cc b/src/nix-vector-routing/test/nix-test.cc index 936c2d520..9e0e9d5d5 100644 --- a/src/nix-vector-routing/test/nix-test.cc +++ b/src/nix-vector-routing/test/nix-test.cc @@ -117,7 +117,7 @@ NixVectorRoutingTest::NixVectorRoutingTest() void NixVectorRoutingTest::ReceivePkt(Ptr socket) { - [[maybe_unused]] uint32_t availableData = socket->GetRxAvailable(); + uint32_t availableData [[maybe_unused]] = socket->GetRxAvailable(); m_receivedPacket = socket->Recv(std::numeric_limits::max(), 0); NS_TEST_ASSERT_MSG_EQ(availableData, m_receivedPacket->GetSize(), diff --git a/src/propagation/model/channel-condition-model.cc b/src/propagation/model/channel-condition-model.cc index c14d6f444..20fc3cb11 100644 --- a/src/propagation/model/channel-condition-model.cc +++ b/src/propagation/model/channel-condition-model.cc @@ -203,9 +203,9 @@ AlwaysLosChannelConditionModel::~AlwaysLosChannelConditionModel() } Ptr -AlwaysLosChannelConditionModel::GetChannelCondition( - [[maybe_unused]] Ptr a, - [[maybe_unused]] Ptr b) const +AlwaysLosChannelConditionModel::GetChannelCondition(Ptr a [[maybe_unused]], + Ptr b + [[maybe_unused]]) const { Ptr c = CreateObject(ChannelCondition::LOS); @@ -241,9 +241,9 @@ NeverLosChannelConditionModel::~NeverLosChannelConditionModel() } Ptr -NeverLosChannelConditionModel::GetChannelCondition( - [[maybe_unused]] Ptr a, - [[maybe_unused]] Ptr b) const +NeverLosChannelConditionModel::GetChannelCondition(Ptr a [[maybe_unused]], + Ptr b + [[maybe_unused]]) const { Ptr c = CreateObject(ChannelCondition::NLOS); @@ -408,8 +408,8 @@ ThreeGppChannelConditionModel::GetChannelCondition(Ptr a, } ChannelCondition::O2iConditionValue -ThreeGppChannelConditionModel::ComputeO2i([[maybe_unused]] Ptr a, - [[maybe_unused]] Ptr b) const +ThreeGppChannelConditionModel::ComputeO2i(Ptr a [[maybe_unused]], + Ptr b [[maybe_unused]]) const { double o2iProb = m_uniformVarO2i->GetValue(0, 1); diff --git a/src/propagation/model/three-gpp-propagation-loss-model.cc b/src/propagation/model/three-gpp-propagation-loss-model.cc index 5420d118f..b7dbbc371 100644 --- a/src/propagation/model/three-gpp-propagation-loss-model.cc +++ b/src/propagation/model/three-gpp-propagation-loss-model.cc @@ -729,7 +729,7 @@ double ThreeGppRmaPropagationLossModel::Pl1(double frequency, double distance3D, double h, - [[maybe_unused]] double w) + double w [[maybe_unused]]) { double loss = 20.0 * log10(40.0 * M_PI * distance3D * frequency / 1e9 / 3.0) + std::min(0.03 * pow(h, 1.72), 10.0) * log10(distance3D) - @@ -925,8 +925,8 @@ ThreeGppUmaPropagationLossModel::GetLossNlos(double distance2D, } double -ThreeGppUmaPropagationLossModel::GetShadowingStd([[maybe_unused]] Ptr a, - [[maybe_unused]] Ptr b, +ThreeGppUmaPropagationLossModel::GetShadowingStd(Ptr a [[maybe_unused]], + Ptr b [[maybe_unused]], ChannelCondition::LosConditionValue cond) const { NS_LOG_FUNCTION(this); @@ -1013,7 +1013,7 @@ ThreeGppUmiStreetCanyonPropagationLossModel::~ThreeGppUmiStreetCanyonPropagation double ThreeGppUmiStreetCanyonPropagationLossModel::GetBpDistance(double hUt, double hBs, - [[maybe_unused]] double distance2D) const + double distance2D [[maybe_unused]]) const { NS_LOG_FUNCTION(this); @@ -1174,8 +1174,8 @@ ThreeGppUmiStreetCanyonPropagationLossModel::GetUtAndBsHeights(double za, double double ThreeGppUmiStreetCanyonPropagationLossModel::GetShadowingStd( - [[maybe_unused]] Ptr a, - [[maybe_unused]] Ptr b, + Ptr a [[maybe_unused]], + Ptr b [[maybe_unused]], ChannelCondition::LosConditionValue cond) const { NS_LOG_FUNCTION(this); @@ -1256,10 +1256,10 @@ ThreeGppIndoorOfficePropagationLossModel::GetO2iDistance2dIn() const } double -ThreeGppIndoorOfficePropagationLossModel::GetLossLos([[maybe_unused]] double distance2D, - [[maybe_unused]] double distance3D, - [[maybe_unused]] double hUt, - [[maybe_unused]] double hBs) const +ThreeGppIndoorOfficePropagationLossModel::GetLossLos(double distance2D [[maybe_unused]], + double distance3D [[maybe_unused]], + double hUt [[maybe_unused]], + double hBs [[maybe_unused]]) const { NS_LOG_FUNCTION(this); @@ -1306,8 +1306,8 @@ ThreeGppIndoorOfficePropagationLossModel::GetLossNlos(double distance2D, double ThreeGppIndoorOfficePropagationLossModel::GetShadowingStd( - [[maybe_unused]] Ptr a, - [[maybe_unused]] Ptr b, + Ptr a [[maybe_unused]], + Ptr b [[maybe_unused]], ChannelCondition::LosConditionValue cond) const { NS_LOG_FUNCTION(this); diff --git a/src/sixlowpan/model/sixlowpan-net-device.cc b/src/sixlowpan/model/sixlowpan-net-device.cc index 94feea2ad..709e4da52 100644 --- a/src/sixlowpan/model/sixlowpan-net-device.cc +++ b/src/sixlowpan/model/sixlowpan-net-device.cc @@ -876,7 +876,7 @@ SixLowPanNetDevice::DecompressLowPanHc1(Ptr packet, const Address& src, Ipv6Header ipHeader; SixLowPanHc1 encoding; - [[maybe_unused]] uint32_t ret = packet->RemoveHeader(encoding); + uint32_t ret [[maybe_unused]] = packet->RemoveHeader(encoding); NS_LOG_DEBUG("removed " << ret << " bytes - pkt is " << *packet); ipHeader.SetHopLimit(encoding.GetHopLimit()); @@ -1397,7 +1397,7 @@ SixLowPanNetDevice::DecompressLowPanIphc(Ptr packet, const Address& src, Ipv6Header ipHeader; SixLowPanIphc encoding; - [[maybe_unused]] uint32_t ret = packet->RemoveHeader(encoding); + uint32_t ret [[maybe_unused]] = packet->RemoveHeader(encoding); NS_LOG_DEBUG("removed " << ret << " bytes - pkt is " << *packet); // Hop Limit @@ -1998,7 +1998,7 @@ SixLowPanNetDevice::DecompressLowPanNhc(Ptr packet, SixLowPanNhcExtension encoding; - [[maybe_unused]] uint32_t ret = packet->RemoveHeader(encoding); + uint32_t ret [[maybe_unused]] = packet->RemoveHeader(encoding); NS_LOG_DEBUG("removed " << ret << " bytes - pkt is " << *packet); Ipv6ExtensionHopByHopHeader hopHeader; @@ -2273,7 +2273,7 @@ SixLowPanNetDevice::DecompressLowPanUdpNhc(Ptr packet, Ipv6Address saddr UdpHeader udpHeader; SixLowPanUdpNhcExtension encoding; - [[maybe_unused]] uint32_t ret = packet->RemoveHeader(encoding); + uint32_t ret [[maybe_unused]] = packet->RemoveHeader(encoding); NS_LOG_DEBUG("removed " << ret << " bytes - pkt is " << *packet); // Set the value of the ports diff --git a/src/stats/model/sqlite-output.cc b/src/stats/model/sqlite-output.cc index c2f2adc38..94123e3e4 100644 --- a/src/stats/model/sqlite-output.cc +++ b/src/stats/model/sqlite-output.cc @@ -90,7 +90,7 @@ SQLiteOutput::SpinPrepare(sqlite3_stmt** stmt, const std::string& cmd) const template T -SQLiteOutput::RetrieveColumn([[maybe_unused]] sqlite3_stmt* stmt, [[maybe_unused]] int pos) const +SQLiteOutput::RetrieveColumn(sqlite3_stmt* stmt [[maybe_unused]], int pos [[maybe_unused]]) const { NS_FATAL_ERROR("Can't call generic fn"); } @@ -121,9 +121,9 @@ SQLiteOutput::RetrieveColumn(sqlite3_stmt* stmt, int pos) const template bool -SQLiteOutput::Bind([[maybe_unused]] sqlite3_stmt* stmt, - [[maybe_unused]] int pos, - [[maybe_unused]] const T& value) const +SQLiteOutput::Bind(sqlite3_stmt* stmt [[maybe_unused]], + int pos [[maybe_unused]], + const T& value [[maybe_unused]]) const { NS_FATAL_ERROR("Can't call generic fn"); return false; diff --git a/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc b/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc index ed753f232..1aa2fff34 100644 --- a/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc +++ b/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc @@ -865,8 +865,8 @@ FqCobaltQueueDiscEcnMarking::DequeueWithDelay(Ptr queue, } void -FqCobaltQueueDiscEcnMarking::DropNextTracer([[maybe_unused]] int64_t oldVal, - [[maybe_unused]] int64_t newVal) +FqCobaltQueueDiscEcnMarking::DropNextTracer(int64_t oldVal [[maybe_unused]], + int64_t newVal [[maybe_unused]]) { m_dropNextCount++; } diff --git a/src/traffic-control/model/queue-disc.cc b/src/traffic-control/model/queue-disc.cc index 2f5f80e24..a84e11293 100644 --- a/src/traffic-control/model/queue-disc.cc +++ b/src/traffic-control/model/queue-disc.cc @@ -398,7 +398,7 @@ QueueDisc::DoInitialize() NS_LOG_FUNCTION(this); // Check the configuration and initialize the parameters of this queue disc - [[maybe_unused]] bool ok = CheckConfig(); + bool ok [[maybe_unused]] = CheckConfig(); NS_ASSERT_MSG(ok, "The queue disc configuration is not correct"); InitializeParams(); diff --git a/src/traffic-control/test/cobalt-queue-disc-test-suite.cc b/src/traffic-control/test/cobalt-queue-disc-test-suite.cc index 78f7d1a3f..d5be8f154 100644 --- a/src/traffic-control/test/cobalt-queue-disc-test-suite.cc +++ b/src/traffic-control/test/cobalt-queue-disc-test-suite.cc @@ -437,8 +437,8 @@ CobaltQueueDiscMarkTest::CobaltQueueDiscMarkTest(QueueSizeUnit mode) } void -CobaltQueueDiscMarkTest::DropNextTracer([[maybe_unused]] int64_t oldVal, - [[maybe_unused]] int64_t newVal) +CobaltQueueDiscMarkTest::DropNextTracer(int64_t oldVal [[maybe_unused]], + int64_t newVal [[maybe_unused]]) { m_dropNextCount++; } diff --git a/src/traffic-control/test/codel-queue-disc-test-suite.cc b/src/traffic-control/test/codel-queue-disc-test-suite.cc index 6c0ed4089..559085b18 100644 --- a/src/traffic-control/test/codel-queue-disc-test-suite.cc +++ b/src/traffic-control/test/codel-queue-disc-test-suite.cc @@ -513,8 +513,8 @@ CoDelQueueDiscBasicDrop::CoDelQueueDiscBasicDrop(QueueSizeUnit mode) } void -CoDelQueueDiscBasicDrop::DropNextTracer([[maybe_unused]] uint32_t oldVal, - [[maybe_unused]] uint32_t newVal) +CoDelQueueDiscBasicDrop::DropNextTracer(uint32_t oldVal [[maybe_unused]], + uint32_t newVal [[maybe_unused]]) { m_dropNextCount++; } @@ -731,8 +731,8 @@ CoDelQueueDiscBasicMark::CoDelQueueDiscBasicMark(QueueSizeUnit mode) } void -CoDelQueueDiscBasicMark::DropNextTracer([[maybe_unused]] uint32_t oldVal, - [[maybe_unused]] uint32_t newVal) +CoDelQueueDiscBasicMark::DropNextTracer(uint32_t oldVal [[maybe_unused]], + uint32_t newVal [[maybe_unused]]) { m_dropNextCount++; } diff --git a/src/uan/helper/uan-helper.cc b/src/uan/helper/uan-helper.cc index c4d00d6e2..1c6992a87 100644 --- a/src/uan/helper/uan-helper.cc +++ b/src/uan/helper/uan-helper.cc @@ -59,8 +59,8 @@ static void AsciiPhyTxEvent(std::ostream* os, std::string context, Ptr packet, - [[maybe_unused]] double txPowerDb, - UanTxMode mode) + double txPowerDb [[maybe_unused]], + UanTxMode mode [[maybe_unused]]) { *os << "+ " << Simulator::Now().GetSeconds() << " " << context << " " << *packet << std::endl; } @@ -78,8 +78,8 @@ static void AsciiPhyRxOkEvent(std::ostream* os, std::string context, Ptr packet, - [[maybe_unused]] double snr, - UanTxMode mode) + double snr [[maybe_unused]], + UanTxMode mode [[maybe_unused]]) { *os << "r " << Simulator::Now().GetSeconds() << " " << context << " " << *packet << std::endl; } diff --git a/src/uan/model/uan-mac-aloha.cc b/src/uan/model/uan-mac-aloha.cc index 89367a27f..d4c7ed1c7 100644 --- a/src/uan/model/uan-mac-aloha.cc +++ b/src/uan/model/uan-mac-aloha.cc @@ -118,7 +118,7 @@ UanMacAloha::AttachPhy(Ptr phy) } void -UanMacAloha::RxPacketGood(Ptr pkt, [[maybe_unused]] double sinr, UanTxMode txMode) +UanMacAloha::RxPacketGood(Ptr pkt, double sinr [[maybe_unused]], UanTxMode txMode) { UanHeaderCommon header; pkt->RemoveHeader(header); diff --git a/src/uan/model/uan-mac-cw.cc b/src/uan/model/uan-mac-cw.cc index 117b69ce3..ea5fd2dfb 100644 --- a/src/uan/model/uan-mac-cw.cc +++ b/src/uan/model/uan-mac-cw.cc @@ -333,7 +333,7 @@ UanMacCw::GetSlotTime() } void -UanMacCw::PhyRxPacketGood(Ptr packet, [[maybe_unused]] double sinr, UanTxMode mode) +UanMacCw::PhyRxPacketGood(Ptr packet, double sinr [[maybe_unused]], UanTxMode mode) { UanHeaderCommon header; packet->RemoveHeader(header); @@ -346,7 +346,7 @@ UanMacCw::PhyRxPacketGood(Ptr packet, [[maybe_unused]] double sinr, UanT } void -UanMacCw::PhyRxPacketError(Ptr packet, [[maybe_unused]] double sinr) +UanMacCw::PhyRxPacketError(Ptr packet, double sinr [[maybe_unused]]) { } diff --git a/src/uan/model/uan-mac-rc-gw.cc b/src/uan/model/uan-mac-rc-gw.cc index 2d9d68bd6..34976c37a 100644 --- a/src/uan/model/uan-mac-rc-gw.cc +++ b/src/uan/model/uan-mac-rc-gw.cc @@ -177,8 +177,8 @@ UanMacRcGw::GetTypeId() bool UanMacRcGw::Enqueue(Ptr packet, - [[maybe_unused]] uint16_t protocolNumber, - [[maybe_unused]] const Address& dest) + uint16_t protocolNumber [[maybe_unused]], + const Address& dest [[maybe_unused]]) { NS_LOG_WARN("RCMAC Gateway transmission to acoustic nodes is not yet implemented"); return false; @@ -199,12 +199,12 @@ UanMacRcGw::AttachPhy(Ptr phy) } void -UanMacRcGw::ReceiveError(Ptr pkt, [[maybe_unused]] double sinr) +UanMacRcGw::ReceiveError(Ptr pkt, double sinr [[maybe_unused]]) { } void -UanMacRcGw::ReceivePacket(Ptr pkt, [[maybe_unused]] double sinr, UanTxMode mode) +UanMacRcGw::ReceivePacket(Ptr pkt, double sinr [[maybe_unused]], UanTxMode mode) { UanHeaderCommon ch; pkt->PeekHeader(ch); @@ -559,7 +559,7 @@ UanMacRcGw::SendPacket(Ptr pkt, uint32_t rate) double UanMacRcGw::ComputeAlpha(uint32_t totalFrames, uint32_t totalBytes, - [[maybe_unused]] uint32_t n, + uint32_t n [[maybe_unused]], uint32_t a, double deltaK) { diff --git a/src/uan/model/uan-mac-rc.cc b/src/uan/model/uan-mac-rc.cc index 204da2f3c..3ef029ec5 100644 --- a/src/uan/model/uan-mac-rc.cc +++ b/src/uan/model/uan-mac-rc.cc @@ -143,7 +143,7 @@ Reservation::IncrementRetry() } void -Reservation::SetTransmitted([[maybe_unused]] bool t) +Reservation::SetTransmitted(bool t [[maybe_unused]]) { m_transmitted = true; } @@ -324,7 +324,7 @@ UanMacRc::AttachPhy(Ptr phy) } void -UanMacRc::ReceiveOkFromPhy(Ptr pkt, [[maybe_unused]] double sinr, UanTxMode mode) +UanMacRc::ReceiveOkFromPhy(Ptr pkt, double sinr [[maybe_unused]], UanTxMode mode) { UanHeaderCommon ch; pkt->RemoveHeader(ch); diff --git a/src/uan/model/uan-net-device.cc b/src/uan/model/uan-net-device.cc index d6d8605bc..d1b4fd891 100644 --- a/src/uan/model/uan-net-device.cc +++ b/src/uan/model/uan-net-device.cc @@ -281,7 +281,7 @@ UanNetDevice::IsMulticast() const } Address -UanNetDevice::GetMulticast([[maybe_unused]] Ipv4Address multicastGroup) const +UanNetDevice::GetMulticast(Ipv4Address multicastGroup [[maybe_unused]]) const { return m_mac->GetBroadcast(); } @@ -316,9 +316,9 @@ UanNetDevice::Send(Ptr packet, const Address& dest, uint16_t protocolNum bool UanNetDevice::SendFrom(Ptr packet, - [[maybe_unused]] const Address& source, - [[maybe_unused]] const Address& dest, - [[maybe_unused]] uint16_t protocolNumber) + const Address& source [[maybe_unused]], + const Address& dest [[maybe_unused]], + uint16_t protocolNumber [[maybe_unused]]) { // Not yet implemented NS_ASSERT_MSG(0, "Not yet implemented"); diff --git a/src/uan/model/uan-phy-dual.cc b/src/uan/model/uan-phy-dual.cc index a9e7c6b07..5dd4345f8 100644 --- a/src/uan/model/uan-phy-dual.cc +++ b/src/uan/model/uan-phy-dual.cc @@ -295,7 +295,7 @@ UanPhyDual::RegisterListener(UanPhyListener* listener) void UanPhyDual::StartRxPacket(Ptr pkt, - [[maybe_unused]] double rxPowerDb, + double rxPowerDb [[maybe_unused]], UanTxMode txMode, UanPdp pdp) { @@ -524,7 +524,7 @@ UanPhyDual::SetMac(Ptr mac) void UanPhyDual::NotifyTransStartTx(Ptr packet, - [[maybe_unused]] double txPowerDb, + double txPowerDb [[maybe_unused]], UanTxMode txMode) { } diff --git a/src/uan/model/uan-phy-dual.h b/src/uan/model/uan-phy-dual.h index de03138ea..4aa7dd68f 100644 --- a/src/uan/model/uan-phy-dual.h +++ b/src/uan/model/uan-phy-dual.h @@ -133,7 +133,7 @@ class UanPhyDual : public UanPhy UanTxMode GetMode(uint32_t n) override; void Clear() override; - void SetSleepMode([[maybe_unused]] bool sleep) override + void SetSleepMode(bool sleep [[maybe_unused]]) override { /// \todo This method has to be implemented } diff --git a/src/uan/model/uan-phy-gen.cc b/src/uan/model/uan-phy-gen.cc index 05d94dc04..81304927d 100644 --- a/src/uan/model/uan-phy-gen.cc +++ b/src/uan/model/uan-phy-gen.cc @@ -833,7 +833,7 @@ UanPhyGen::StartRxPacket(Ptr pkt, double rxPowerDb, UanTxMode txMode, Ua } void -UanPhyGen::RxEndEvent(Ptr pkt, [[maybe_unused]] double rxPowerDb, UanTxMode txMode) +UanPhyGen::RxEndEvent(Ptr pkt, double rxPowerDb [[maybe_unused]], UanTxMode txMode) { if (pkt != m_pktRx) { @@ -1049,7 +1049,7 @@ UanPhyGen::AssignStreams(int64_t stream) void UanPhyGen::NotifyTransStartTx(Ptr packet, - [[maybe_unused]] double txPowerDb, + double txPowerDb [[maybe_unused]], UanTxMode txMode) { if (m_pktRx) diff --git a/src/uan/test/uan-energy-model-test.cc b/src/uan/test/uan-energy-model-test.cc index 25b227d55..9199a8a3d 100644 --- a/src/uan/test/uan-energy-model-test.cc +++ b/src/uan/test/uan-energy-model-test.cc @@ -113,8 +113,8 @@ AcousticModemEnergyTestCase::SendOnePacket(Ptr node) bool AcousticModemEnergyTestCase::RxPacket(Ptr dev, Ptr pkt, - [[maybe_unused]] uint16_t mode, - [[maybe_unused]] const Address& sender) + uint16_t mode [[maybe_unused]], + const Address& sender [[maybe_unused]]) { // increase the total bytes received m_bytesRx += pkt->GetSize(); diff --git a/src/uan/test/uan-test.cc b/src/uan/test/uan-test.cc index 40f466aee..2b33d9bcb 100644 --- a/src/uan/test/uan-test.cc +++ b/src/uan/test/uan-test.cc @@ -104,8 +104,8 @@ UanTest::UanTest() bool UanTest::RxPacket(Ptr dev, Ptr pkt, - [[maybe_unused]] uint16_t mode, - [[maybe_unused]] const Address& sender) + uint16_t mode [[maybe_unused]], + const Address& sender [[maybe_unused]]) { m_bytesRx += pkt->GetSize(); return true; diff --git a/src/wave/helper/wave-helper.cc b/src/wave/helper/wave-helper.cc index f789ae3ce..a0b97c50c 100644 --- a/src/wave/helper/wave-helper.cc +++ b/src/wave/helper/wave-helper.cc @@ -339,7 +339,7 @@ WaveHelper::Install(const WifiPhyHelper& phyHelper, { try { - [[maybe_unused]] const QosWaveMacHelper& qosMac = + const QosWaveMacHelper& qosMac [[maybe_unused]] = dynamic_cast(macHelper); } catch (const std::bad_cast&) diff --git a/src/wave/helper/wifi-80211p-helper.cc b/src/wave/helper/wifi-80211p-helper.cc index e3e7b8908..d35740d8e 100644 --- a/src/wave/helper/wifi-80211p-helper.cc +++ b/src/wave/helper/wifi-80211p-helper.cc @@ -82,11 +82,11 @@ Wifi80211pHelper::Install(const WifiPhyHelper& phyHelper, const WifiMacHelper& macHelper, NodeContainer c) const { - [[maybe_unused]] const QosWaveMacHelper* qosMac = + const QosWaveMacHelper* qosMac [[maybe_unused]] = dynamic_cast(&macHelper); if (qosMac == nullptr) { - [[maybe_unused]] const NqosWaveMacHelper* nqosMac = + const NqosWaveMacHelper* nqosMac [[maybe_unused]] = dynamic_cast(&macHelper); if (nqosMac == nullptr) { diff --git a/src/wifi/model/he/rr-multi-user-scheduler.cc b/src/wifi/model/he/rr-multi-user-scheduler.cc index 30ab52920..6a09df89c 100644 --- a/src/wifi/model/he/rr-multi-user-scheduler.cc +++ b/src/wifi/model/he/rr-multi-user-scheduler.cc @@ -810,7 +810,7 @@ RrMultiUserScheduler::ComputeDlMuInfo() mpdu = candidate.second; NS_ASSERT(mpdu); - [[maybe_unused]] bool ret = + bool ret [[maybe_unused]] = m_heFem->TryAddMpdu(mpdu, dlMuInfo.txParams, actualAvailableTime); NS_ASSERT_MSG(ret, "Weird that an MPDU does not meet constraints when " From bfb737a0d958541e6ca485680c3da01d1e0e601a Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Thu, 20 Oct 2022 15:26:38 +0000 Subject: [PATCH 082/142] Remove unnecessary [[maybe_unused]] specifiers --- examples/routing/manet-routing-compare.cc | 2 +- .../model/three-gpp-http-client.cc | 6 +++-- .../model/three-gpp-http-server.cc | 8 +++--- .../buildings-channel-condition-model.cc | 2 +- src/core/model/attribute-accessor-helper.h | 4 +-- src/core/test/simulator-test-suite.cc | 4 +-- src/core/test/traced-callback-test-suite.cc | 2 +- src/dsr/model/dsr-options.cc | 8 ++---- src/internet/model/tcp-congestion-ops.cc | 4 +-- src/internet/model/tcp-socket-base.cc | 4 +-- src/internet/test/tcp-general-test.cc | 2 +- src/internet/test/tcp-hybla-test.cc | 2 +- src/internet/test/tcp-rate-ops-test.cc | 3 +-- src/lr-wpan/model/lr-wpan-csmaca.cc | 14 ++++------ .../model/no-op-component-carrier-manager.cc | 2 +- src/mobility/helper/ns2-mobility-helper.cc | 2 +- src/netanim/model/animation-interface.cc | 4 +-- src/network/test/packet-test-suite.cc | 8 +++--- src/network/utils/queue-size.cc | 2 +- .../model/channel-condition-model.cc | 14 +++++----- .../model/three-gpp-propagation-loss-model.cc | 27 +++++++++---------- src/stats/model/sqlite-output.cc | 6 ++--- .../ns3tc/fq-cobalt-queue-disc-test-suite.cc | 3 +-- .../model/rocketfuel-topology-reader.cc | 2 +- .../test/cobalt-queue-disc-test-suite.cc | 3 +-- .../test/codel-queue-disc-test-suite.cc | 6 ++--- src/uan/model/uan-mac-aloha.cc | 2 +- src/uan/model/uan-mac-cw.cc | 4 +-- src/uan/model/uan-mac-rc-gw.cc | 12 ++++----- src/uan/model/uan-mac-rc.cc | 6 ++--- src/uan/model/uan-net-device.cc | 12 ++++----- src/uan/model/uan-phy-dual.cc | 14 +++++----- src/uan/model/uan-phy-dual.h | 2 +- src/uan/model/uan-phy-gen.cc | 8 +++--- src/uan/test/uan-energy-model-test.cc | 6 ++--- src/uan/test/uan-test.cc | 6 ++--- src/wave/helper/wave-helper.cc | 8 +++--- 37 files changed, 102 insertions(+), 122 deletions(-) diff --git a/examples/routing/manet-routing-compare.cc b/examples/routing/manet-routing-compare.cc index 8e30de5ce..490aa8fc0 100644 --- a/examples/routing/manet-routing-compare.cc +++ b/examples/routing/manet-routing-compare.cc @@ -296,7 +296,7 @@ RoutingExperiment::Run(int nSinks, double txp, std::string CSVfileName) NetDeviceContainer adhocDevices = wifi.Install(wifiPhy, wifiMac, adhocNodes); MobilityHelper mobilityAdhoc; - int64_t streamIndex [[maybe_unused]] = 0; // used to get consistent mobility across scenarios + int64_t streamIndex = 0; // used to get consistent mobility across scenarios ObjectFactory pos; pos.SetTypeId("ns3::RandomRectanglePositionAllocator"); diff --git a/src/applications/model/three-gpp-http-client.cc b/src/applications/model/three-gpp-http-client.cc index 0098272d5..8cfec42f2 100644 --- a/src/applications/model/three-gpp-http-client.cc +++ b/src/applications/model/three-gpp-http-client.cc @@ -363,10 +363,10 @@ ThreeGppHttpClient::OpenConnection() { m_socket = Socket::CreateSocket(GetNode(), TcpSocketFactory::GetTypeId()); - int ret [[maybe_unused]]; - if (Ipv4Address::IsMatchingType(m_remoteServerAddress)) { + int ret [[maybe_unused]]; + ret = m_socket->Bind(); NS_LOG_DEBUG(this << " Bind() return value= " << ret << " GetErrNo= " << m_socket->GetErrno() << "."); @@ -381,6 +381,8 @@ ThreeGppHttpClient::OpenConnection() } else if (Ipv6Address::IsMatchingType(m_remoteServerAddress)) { + int ret [[maybe_unused]]; + ret = m_socket->Bind6(); NS_LOG_DEBUG(this << " Bind6() return value= " << ret << " GetErrNo= " << m_socket->GetErrno() << "."); diff --git a/src/applications/model/three-gpp-http-server.cc b/src/applications/model/three-gpp-http-server.cc index 00b35bddb..e90931e9f 100644 --- a/src/applications/model/three-gpp-http-server.cc +++ b/src/applications/model/three-gpp-http-server.cc @@ -208,15 +208,13 @@ ThreeGppHttpServer::StartApplication() m_initialSocket = Socket::CreateSocket(GetNode(), TcpSocketFactory::GetTypeId()); m_initialSocket->SetAttribute("SegmentSize", UintegerValue(m_mtuSize)); - int ret [[maybe_unused]]; - if (Ipv4Address::IsMatchingType(m_localAddress)) { const Ipv4Address ipv4 = Ipv4Address::ConvertFrom(m_localAddress); const InetSocketAddress inetSocket = InetSocketAddress(ipv4, m_localPort); NS_LOG_INFO(this << " Binding on " << ipv4 << " port " << m_localPort << " / " << inetSocket << "."); - ret = m_initialSocket->Bind(inetSocket); + int ret [[maybe_unused]] = m_initialSocket->Bind(inetSocket); NS_LOG_DEBUG(this << " Bind() return value= " << ret << " GetErrNo= " << m_initialSocket->GetErrno() << "."); } @@ -226,12 +224,12 @@ ThreeGppHttpServer::StartApplication() const Inet6SocketAddress inet6Socket = Inet6SocketAddress(ipv6, m_localPort); NS_LOG_INFO(this << " Binding on " << ipv6 << " port " << m_localPort << " / " << inet6Socket << "."); - ret = m_initialSocket->Bind(inet6Socket); + int ret [[maybe_unused]] = m_initialSocket->Bind(inet6Socket); NS_LOG_DEBUG(this << " Bind() return value= " << ret << " GetErrNo= " << m_initialSocket->GetErrno() << "."); } - ret = m_initialSocket->Listen(); + int ret [[maybe_unused]] = m_initialSocket->Listen(); NS_LOG_DEBUG(this << " Listen () return value= " << ret << " GetErrNo= " << m_initialSocket->GetErrno() << "."); diff --git a/src/buildings/model/buildings-channel-condition-model.cc b/src/buildings/model/buildings-channel-condition-model.cc index 0615ae22f..bed68dc72 100644 --- a/src/buildings/model/buildings-channel-condition-model.cc +++ b/src/buildings/model/buildings-channel-condition-model.cc @@ -132,7 +132,7 @@ BuildingsChannelConditionModel::IsLineOfSightBlocked(const ns3::Vector& l1, } int64_t -BuildingsChannelConditionModel::AssignStreams(int64_t stream [[maybe_unused]]) +BuildingsChannelConditionModel::AssignStreams(int64_t /* stream */) { return 0; } diff --git a/src/core/model/attribute-accessor-helper.h b/src/core/model/attribute-accessor-helper.h index 575f95a36..1beccfbc5 100644 --- a/src/core/model/attribute-accessor-helper.h +++ b/src/core/model/attribute-accessor-helper.h @@ -327,7 +327,7 @@ DoMakeAccessorHelperOne(U (T::*getter)() const) } private: - bool DoSet(T* object [[maybe_unused]], const V* v [[maybe_unused]]) const override + bool DoSet(T* /* object */, const V* /* v */) const override { return false; } @@ -398,7 +398,7 @@ DoMakeAccessorHelperOne(void (T::*setter)(U)) return true; } - bool DoGet(const T* object [[maybe_unused]], V* v [[maybe_unused]]) const override + bool DoGet(const T* /* object */, V* /* v */) const override { return false; } diff --git a/src/core/test/simulator-test-suite.cc b/src/core/test/simulator-test-suite.cc index ff285b45c..76515dde2 100644 --- a/src/core/test/simulator-test-suite.cc +++ b/src/core/test/simulator-test-suite.cc @@ -107,7 +107,7 @@ SimulatorEventsTestCase::NowUs() } void -SimulatorEventsTestCase::EventA(int a [[maybe_unused]]) +SimulatorEventsTestCase::EventA(int /* a */) { m_a = false; } @@ -128,7 +128,7 @@ SimulatorEventsTestCase::EventB(int b) } void -SimulatorEventsTestCase::EventC(int c [[maybe_unused]]) +SimulatorEventsTestCase::EventC(int /* c */) { m_c = false; } diff --git a/src/core/test/traced-callback-test-suite.cc b/src/core/test/traced-callback-test-suite.cc index e4388620d..ded8f8e06 100644 --- a/src/core/test/traced-callback-test-suite.cc +++ b/src/core/test/traced-callback-test-suite.cc @@ -66,7 +66,7 @@ BasicTracedCallbackTestCase::BasicTracedCallbackTestCase() } void -BasicTracedCallbackTestCase::CbOne(uint8_t a [[maybe_unused]], double b [[maybe_unused]]) +BasicTracedCallbackTestCase::CbOne(uint8_t /* a */, double /* b */) { m_one = true; } diff --git a/src/dsr/model/dsr-options.cc b/src/dsr/model/dsr-options.cc index 9504676ce..d8c458284 100644 --- a/src/dsr/model/dsr-options.cc +++ b/src/dsr/model/dsr-options.cc @@ -1594,10 +1594,6 @@ DsrOptionRerr::Process(Ptr packet, */ Ptr node = GetNodeWithAddress(ipv4Address); Ptr dsr = node->GetObject(); - /* - * The error serialized size - */ - uint32_t rerrSize [[maybe_unused]]; NS_LOG_DEBUG("The error type value here " << (uint32_t)errorType); if (errorType == 1) // unreachable ip address { @@ -1617,7 +1613,7 @@ DsrOptionRerr::Process(Ptr packet, /* * Get the serialized size of the rerr header */ - rerrSize = rerrUnreach.GetSerializedSize(); + uint32_t rerrSize = rerrUnreach.GetSerializedSize(); /* * Delete all the routes including the unreachable node address from the route cache */ @@ -1640,9 +1636,9 @@ DsrOptionRerr::Process(Ptr packet, */ DsrOptionRerrUnsupportHeader rerrUnsupport; p->RemoveHeader(rerrUnsupport); - rerrSize = rerrUnsupport.GetSerializedSize(); /// \todo This is for the other two error options, not supporting for now + // uint32_t rerrSize = rerrUnsupport.GetSerializedSize(); // uint32_t serialized = DoSendError (p, rerrUnsupport, rerrSize, ipv4Address, protocol); uint32_t serialized = 0; return serialized; diff --git a/src/internet/model/tcp-congestion-ops.cc b/src/internet/model/tcp-congestion-ops.cc index 148c23e5d..289e2a75d 100644 --- a/src/internet/model/tcp-congestion-ops.cc +++ b/src/internet/model/tcp-congestion-ops.cc @@ -81,8 +81,8 @@ TcpCongestionOps::HasCongControl() const void TcpCongestionOps::CongControl(Ptr tcb, - const TcpRateOps::TcpRateConnection& rc [[maybe_unused]], - const TcpRateOps::TcpRateSample& rs [[maybe_unused]]) + const TcpRateOps::TcpRateConnection& /* rc */, + const TcpRateOps::TcpRateSample& /* rs */) { NS_LOG_FUNCTION(this << tcb); } diff --git a/src/internet/model/tcp-socket-base.cc b/src/internet/model/tcp-socket-base.cc index f8ef04188..7f85a1300 100644 --- a/src/internet/model/tcp-socket-base.cc +++ b/src/internet/model/tcp-socket-base.cc @@ -892,7 +892,7 @@ TcpSocketBase::Send(Ptr p, uint32_t flags) /* Inherit from Socket class: In TcpSocketBase, it is same as Send() call */ int -TcpSocketBase::SendTo(Ptr p, uint32_t flags, const Address& address [[maybe_unused]]) +TcpSocketBase::SendTo(Ptr p, uint32_t flags, const Address& /* address */) { return Send(p, flags); // SendTo() and Send() are the same } @@ -2369,7 +2369,7 @@ void TcpSocketBase::ProcessSynRcvd(Ptr packet, const TcpHeader& tcpHeader, const Address& fromAddress, - const Address& toAddress [[maybe_unused]]) + const Address& /* toAddress */) { NS_LOG_FUNCTION(this << tcpHeader); diff --git a/src/internet/test/tcp-general-test.cc b/src/internet/test/tcp-general-test.cc index dc21d2f89..58f626db9 100644 --- a/src/internet/test/tcp-general-test.cc +++ b/src/internet/test/tcp-general-test.cc @@ -364,7 +364,7 @@ TcpGeneralTest::QueueDropCb(std::string context, Ptr p) } void -TcpGeneralTest::PhyDropCb(std::string context, Ptr p [[maybe_unused]]) +TcpGeneralTest::PhyDropCb(std::string context, Ptr /* p */) { if (context == "SENDER") { diff --git a/src/internet/test/tcp-hybla-test.cc b/src/internet/test/tcp-hybla-test.cc index 5ced133dc..18eb185fb 100644 --- a/src/internet/test/tcp-hybla-test.cc +++ b/src/internet/test/tcp-hybla-test.cc @@ -82,7 +82,7 @@ TcpHyblaIncrementTest::TcpHyblaIncrementTest(uint32_t cWnd, } void -TcpHyblaIncrementTest::RhoUpdated(double oldVal [[maybe_unused]], double newVal) +TcpHyblaIncrementTest::RhoUpdated(double /* oldVal */, double newVal) { m_rho = newVal; } diff --git a/src/internet/test/tcp-rate-ops-test.cc b/src/internet/test/tcp-rate-ops-test.cc index f243ce8d3..5a8b95dfe 100644 --- a/src/internet/test/tcp-rate-ops-test.cc +++ b/src/internet/test/tcp-rate-ops-test.cc @@ -381,8 +381,7 @@ TcpRateLinuxWithSocketsTest::Rx(const Ptr p, const TcpHeader& h, S } void -TcpRateLinuxWithSocketsTest::BytesInFlightTrace(uint32_t oldValue [[maybe_unused]], - uint32_t newValue) +TcpRateLinuxWithSocketsTest::BytesInFlightTrace(uint32_t /* oldValue */, uint32_t newValue) { m_bytesInFlight = newValue; } diff --git a/src/lr-wpan/model/lr-wpan-csmaca.cc b/src/lr-wpan/model/lr-wpan-csmaca.cc index d4ac26469..bafc1db7d 100644 --- a/src/lr-wpan/model/lr-wpan-csmaca.cc +++ b/src/lr-wpan/model/lr-wpan-csmaca.cc @@ -193,25 +193,21 @@ LrWpanCsmaCa::GetTimeToNextSlot() const // or other device/incoming frame (Rx beacon time reference ). Time elapsedSuperframe; // (i.e The beacon + the elapsed CAP) - Time currentTime; + Time currentTime = Simulator::Now(); double symbolsToBoundary; Time nextBoundary; uint64_t elapsedSuperframeSymbols; - uint64_t symbolRate; + uint64_t symbolRate = + (uint64_t)m_mac->GetPhy()->GetDataOrSymbolRate(false); // symbols per second Time timeAtBoundary; - Time elapsedCap [[maybe_unused]]; - Time beaconTime [[maybe_unused]]; - - currentTime = Simulator::Now(); - symbolRate = (uint64_t)m_mac->GetPhy()->GetDataOrSymbolRate(false); // symbols per second if (m_coorDest) { // Take the Incoming Frame Reference elapsedSuperframe = currentTime - m_mac->m_macBeaconRxTime; - beaconTime = Seconds((double)m_mac->m_rxBeaconSymbols / symbolRate); - elapsedCap = elapsedSuperframe - beaconTime; + Time beaconTime [[maybe_unused]] = Seconds((double)m_mac->m_rxBeaconSymbols / symbolRate); + Time elapsedCap [[maybe_unused]] = elapsedSuperframe - beaconTime; NS_LOG_DEBUG("Elapsed incoming CAP symbols: " << (elapsedCap.GetSeconds() * symbolRate) << " (" << elapsedCap.As(Time::S) << ")"); } diff --git a/src/lte/model/no-op-component-carrier-manager.cc b/src/lte/model/no-op-component-carrier-manager.cc index 40564737c..5bf125e08 100644 --- a/src/lte/model/no-op-component-carrier-manager.cc +++ b/src/lte/model/no-op-component-carrier-manager.cc @@ -475,7 +475,7 @@ RrComponentCarrierManager::DoUlReceiveMacCe(MacCeListElement_s bsr, uint8_t comp } void -RrComponentCarrierManager::DoUlReceiveSr(uint16_t rnti, uint8_t componentCarrierId [[maybe_unused]]) +RrComponentCarrierManager::DoUlReceiveSr(uint16_t rnti, uint8_t /* componentCarrierId */) { NS_LOG_FUNCTION(this); // split traffic in uplink equally among carriers diff --git a/src/mobility/helper/ns2-mobility-helper.cc b/src/mobility/helper/ns2-mobility-helper.cc index 49fe0de4b..e19a16831 100644 --- a/src/mobility/helper/ns2-mobility-helper.cc +++ b/src/mobility/helper/ns2-mobility-helper.cc @@ -608,7 +608,7 @@ bool IsNumber(const std::string& s) { char* endp; - double v [[maybe_unused]] = strtod(s.c_str(), &endp); + strtod(s.c_str(), &endp); return endp == s.c_str() + s.size(); } diff --git a/src/netanim/model/animation-interface.cc b/src/netanim/model/animation-interface.cc index 5361f3386..6b1c37420 100644 --- a/src/netanim/model/animation-interface.cc +++ b/src/netanim/model/animation-interface.cc @@ -925,8 +925,8 @@ AnimationInterface::UanPhyGenRxTrace(std::string context, Ptr p) void AnimationInterface::WifiPhyTxBeginTrace(std::string context, WifiConstPsduMap psduMap, - WifiTxVector txVector [[maybe_unused]], - double txPowerW) + WifiTxVector /* txVector */, + double /* txPowerW */) { NS_LOG_FUNCTION(this); CHECK_STARTED_INTIMEWINDOW_TRACKPACKETS; diff --git a/src/network/test/packet-test-suite.cc b/src/network/test/packet-test-suite.cc index a0cd46d01..55b78af33 100644 --- a/src/network/test/packet-test-suite.cc +++ b/src/network/test/packet-test-suite.cc @@ -1037,7 +1037,7 @@ PacketTagListTest::CheckRef(const PacketTagList& ref, ATestTagBase& t, const cha ATestTag<5> t5(1); \ ATestTag<6> t6(1); \ ATestTag<7> t7(1); \ - const int tagLast [[maybe_unused]] = 7; /* length of ref PacketTagList */ + constexpr int TAG_LAST [[maybe_unused]] = 7; /* length of ref PacketTagList */ void PacketTagListTest::CheckRefList(const PacketTagList& ptl, const char* msg, int miss /* = 0 */) @@ -1215,10 +1215,10 @@ PacketTagListTest::DoRun() std::cout << GetName() << "remove timing" << std::endl; // tags numbered from 1, so add one for (unused) entry at 0 - std::vector rmn(tagLast + 1, std::numeric_limits::max()); + std::vector rmn(TAG_LAST + 1, std::numeric_limits::max()); for (int i = 0; i < nIterations; ++i) { - for (int j = 1; j <= tagLast; ++j) + for (int j = 1; j <= TAG_LAST; ++j) { int now = 0; switch (j) @@ -1252,7 +1252,7 @@ PacketTagListTest::DoRun() } } // for tag j } // for iteration i - for (int j = tagLast; j > 0; --j) + for (int j = TAG_LAST; j > 0; --j) { std::cout << GetName() << "min remove time: t" << j << ": " << std::setw(8) << rmn[j] << " ticks" << std::endl; diff --git a/src/network/utils/queue-size.cc b/src/network/utils/queue-size.cc index c69333c0c..6c5fbb160 100644 --- a/src/network/utils/queue-size.cc +++ b/src/network/utils/queue-size.cc @@ -189,7 +189,7 @@ QueueSize::GetValue() const QueueSize::QueueSize(std::string size) { NS_LOG_FUNCTION(this << size); - bool ok [[maybe_unused]] = DoParse(size, &m_unit, &m_value); + bool ok = DoParse(size, &m_unit, &m_value); NS_ABORT_MSG_IF(!ok, "Could not parse queue size: " << size); } diff --git a/src/propagation/model/channel-condition-model.cc b/src/propagation/model/channel-condition-model.cc index 20fc3cb11..bbac4db2b 100644 --- a/src/propagation/model/channel-condition-model.cc +++ b/src/propagation/model/channel-condition-model.cc @@ -203,9 +203,8 @@ AlwaysLosChannelConditionModel::~AlwaysLosChannelConditionModel() } Ptr -AlwaysLosChannelConditionModel::GetChannelCondition(Ptr a [[maybe_unused]], - Ptr b - [[maybe_unused]]) const +AlwaysLosChannelConditionModel::GetChannelCondition(Ptr /* a */, + Ptr /* b */) const { Ptr c = CreateObject(ChannelCondition::LOS); @@ -241,9 +240,8 @@ NeverLosChannelConditionModel::~NeverLosChannelConditionModel() } Ptr -NeverLosChannelConditionModel::GetChannelCondition(Ptr a [[maybe_unused]], - Ptr b - [[maybe_unused]]) const +NeverLosChannelConditionModel::GetChannelCondition(Ptr /* a */, + Ptr /* b */) const { Ptr c = CreateObject(ChannelCondition::NLOS); @@ -408,8 +406,8 @@ ThreeGppChannelConditionModel::GetChannelCondition(Ptr a, } ChannelCondition::O2iConditionValue -ThreeGppChannelConditionModel::ComputeO2i(Ptr a [[maybe_unused]], - Ptr b [[maybe_unused]]) const +ThreeGppChannelConditionModel::ComputeO2i(Ptr a, + Ptr b) const { double o2iProb = m_uniformVarO2i->GetValue(0, 1); diff --git a/src/propagation/model/three-gpp-propagation-loss-model.cc b/src/propagation/model/three-gpp-propagation-loss-model.cc index b7dbbc371..c49a88d14 100644 --- a/src/propagation/model/three-gpp-propagation-loss-model.cc +++ b/src/propagation/model/three-gpp-propagation-loss-model.cc @@ -726,10 +726,7 @@ ThreeGppRmaPropagationLossModel::GetShadowingCorrelationDistance( } double -ThreeGppRmaPropagationLossModel::Pl1(double frequency, - double distance3D, - double h, - double w [[maybe_unused]]) +ThreeGppRmaPropagationLossModel::Pl1(double frequency, double distance3D, double h, double /* w */) { double loss = 20.0 * log10(40.0 * M_PI * distance3D * frequency / 1e9 / 3.0) + std::min(0.03 * pow(h, 1.72), 10.0) * log10(distance3D) - @@ -925,8 +922,8 @@ ThreeGppUmaPropagationLossModel::GetLossNlos(double distance2D, } double -ThreeGppUmaPropagationLossModel::GetShadowingStd(Ptr a [[maybe_unused]], - Ptr b [[maybe_unused]], +ThreeGppUmaPropagationLossModel::GetShadowingStd(Ptr /* a */, + Ptr /* b */, ChannelCondition::LosConditionValue cond) const { NS_LOG_FUNCTION(this); @@ -1013,7 +1010,7 @@ ThreeGppUmiStreetCanyonPropagationLossModel::~ThreeGppUmiStreetCanyonPropagation double ThreeGppUmiStreetCanyonPropagationLossModel::GetBpDistance(double hUt, double hBs, - double distance2D [[maybe_unused]]) const + double /* distance2D */) const { NS_LOG_FUNCTION(this); @@ -1174,8 +1171,8 @@ ThreeGppUmiStreetCanyonPropagationLossModel::GetUtAndBsHeights(double za, double double ThreeGppUmiStreetCanyonPropagationLossModel::GetShadowingStd( - Ptr a [[maybe_unused]], - Ptr b [[maybe_unused]], + Ptr /* a */, + Ptr /* b */, ChannelCondition::LosConditionValue cond) const { NS_LOG_FUNCTION(this); @@ -1256,10 +1253,10 @@ ThreeGppIndoorOfficePropagationLossModel::GetO2iDistance2dIn() const } double -ThreeGppIndoorOfficePropagationLossModel::GetLossLos(double distance2D [[maybe_unused]], - double distance3D [[maybe_unused]], - double hUt [[maybe_unused]], - double hBs [[maybe_unused]]) const +ThreeGppIndoorOfficePropagationLossModel::GetLossLos(double /* distance2D */, + double distance3D, + double /* hUt */, + double /* hBs */) const { NS_LOG_FUNCTION(this); @@ -1306,8 +1303,8 @@ ThreeGppIndoorOfficePropagationLossModel::GetLossNlos(double distance2D, double ThreeGppIndoorOfficePropagationLossModel::GetShadowingStd( - Ptr a [[maybe_unused]], - Ptr b [[maybe_unused]], + Ptr /* a */, + Ptr /* b */, ChannelCondition::LosConditionValue cond) const { NS_LOG_FUNCTION(this); diff --git a/src/stats/model/sqlite-output.cc b/src/stats/model/sqlite-output.cc index 94123e3e4..7a51aad10 100644 --- a/src/stats/model/sqlite-output.cc +++ b/src/stats/model/sqlite-output.cc @@ -90,7 +90,7 @@ SQLiteOutput::SpinPrepare(sqlite3_stmt** stmt, const std::string& cmd) const template T -SQLiteOutput::RetrieveColumn(sqlite3_stmt* stmt [[maybe_unused]], int pos [[maybe_unused]]) const +SQLiteOutput::RetrieveColumn(sqlite3_stmt* /* stmt */, int /* pos */) const { NS_FATAL_ERROR("Can't call generic fn"); } @@ -121,9 +121,7 @@ SQLiteOutput::RetrieveColumn(sqlite3_stmt* stmt, int pos) const template bool -SQLiteOutput::Bind(sqlite3_stmt* stmt [[maybe_unused]], - int pos [[maybe_unused]], - const T& value [[maybe_unused]]) const +SQLiteOutput::Bind(sqlite3_stmt* /* stmt */, int /* pos */, const T& /* value */) const { NS_FATAL_ERROR("Can't call generic fn"); return false; diff --git a/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc b/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc index 1aa2fff34..1434325fc 100644 --- a/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc +++ b/src/test/ns3tc/fq-cobalt-queue-disc-test-suite.cc @@ -865,8 +865,7 @@ FqCobaltQueueDiscEcnMarking::DequeueWithDelay(Ptr queue, } void -FqCobaltQueueDiscEcnMarking::DropNextTracer(int64_t oldVal [[maybe_unused]], - int64_t newVal [[maybe_unused]]) +FqCobaltQueueDiscEcnMarking::DropNextTracer(int64_t /* oldVal */, int64_t /* newVal */) { m_dropNextCount++; } diff --git a/src/topology-read/model/rocketfuel-topology-reader.cc b/src/topology-read/model/rocketfuel-topology-reader.cc index 303450406..20db03481 100644 --- a/src/topology-read/model/rocketfuel-topology-reader.cc +++ b/src/topology-read/model/rocketfuel-topology-reader.cc @@ -256,7 +256,7 @@ RocketfuelTopologyReader::GenerateFromWeightsFile(const std::vector sname = argv[0]; tname = argv[1]; - double v [[maybe_unused]] = std::stod(argv[2], &endptr); // weight + std::stod(argv[2], &endptr); // weight if (argv[2].size() != endptr) { diff --git a/src/traffic-control/test/cobalt-queue-disc-test-suite.cc b/src/traffic-control/test/cobalt-queue-disc-test-suite.cc index d5be8f154..f7c313cb4 100644 --- a/src/traffic-control/test/cobalt-queue-disc-test-suite.cc +++ b/src/traffic-control/test/cobalt-queue-disc-test-suite.cc @@ -437,8 +437,7 @@ CobaltQueueDiscMarkTest::CobaltQueueDiscMarkTest(QueueSizeUnit mode) } void -CobaltQueueDiscMarkTest::DropNextTracer(int64_t oldVal [[maybe_unused]], - int64_t newVal [[maybe_unused]]) +CobaltQueueDiscMarkTest::DropNextTracer(int64_t /* oldVal */, int64_t /* newVal */) { m_dropNextCount++; } diff --git a/src/traffic-control/test/codel-queue-disc-test-suite.cc b/src/traffic-control/test/codel-queue-disc-test-suite.cc index 559085b18..f901737bc 100644 --- a/src/traffic-control/test/codel-queue-disc-test-suite.cc +++ b/src/traffic-control/test/codel-queue-disc-test-suite.cc @@ -513,8 +513,7 @@ CoDelQueueDiscBasicDrop::CoDelQueueDiscBasicDrop(QueueSizeUnit mode) } void -CoDelQueueDiscBasicDrop::DropNextTracer(uint32_t oldVal [[maybe_unused]], - uint32_t newVal [[maybe_unused]]) +CoDelQueueDiscBasicDrop::DropNextTracer(uint32_t /* oldVal */, uint32_t /* newVal */) { m_dropNextCount++; } @@ -731,8 +730,7 @@ CoDelQueueDiscBasicMark::CoDelQueueDiscBasicMark(QueueSizeUnit mode) } void -CoDelQueueDiscBasicMark::DropNextTracer(uint32_t oldVal [[maybe_unused]], - uint32_t newVal [[maybe_unused]]) +CoDelQueueDiscBasicMark::DropNextTracer(uint32_t /* oldVal */, uint32_t /* newVal */) { m_dropNextCount++; } diff --git a/src/uan/model/uan-mac-aloha.cc b/src/uan/model/uan-mac-aloha.cc index d4c7ed1c7..b4d4caa0d 100644 --- a/src/uan/model/uan-mac-aloha.cc +++ b/src/uan/model/uan-mac-aloha.cc @@ -118,7 +118,7 @@ UanMacAloha::AttachPhy(Ptr phy) } void -UanMacAloha::RxPacketGood(Ptr pkt, double sinr [[maybe_unused]], UanTxMode txMode) +UanMacAloha::RxPacketGood(Ptr pkt, double /* sinr */, UanTxMode /* txMode */) { UanHeaderCommon header; pkt->RemoveHeader(header); diff --git a/src/uan/model/uan-mac-cw.cc b/src/uan/model/uan-mac-cw.cc index ea5fd2dfb..71b7ceb44 100644 --- a/src/uan/model/uan-mac-cw.cc +++ b/src/uan/model/uan-mac-cw.cc @@ -333,7 +333,7 @@ UanMacCw::GetSlotTime() } void -UanMacCw::PhyRxPacketGood(Ptr packet, double sinr [[maybe_unused]], UanTxMode mode) +UanMacCw::PhyRxPacketGood(Ptr packet, double /* sinr */, UanTxMode /* mode */) { UanHeaderCommon header; packet->RemoveHeader(header); @@ -346,7 +346,7 @@ UanMacCw::PhyRxPacketGood(Ptr packet, double sinr [[maybe_unused]], UanT } void -UanMacCw::PhyRxPacketError(Ptr packet, double sinr [[maybe_unused]]) +UanMacCw::PhyRxPacketError(Ptr /* packet */, double /* sinr */) { } diff --git a/src/uan/model/uan-mac-rc-gw.cc b/src/uan/model/uan-mac-rc-gw.cc index 34976c37a..e69cfd7a4 100644 --- a/src/uan/model/uan-mac-rc-gw.cc +++ b/src/uan/model/uan-mac-rc-gw.cc @@ -176,9 +176,9 @@ UanMacRcGw::GetTypeId() } bool -UanMacRcGw::Enqueue(Ptr packet, - uint16_t protocolNumber [[maybe_unused]], - const Address& dest [[maybe_unused]]) +UanMacRcGw::Enqueue(Ptr /* packet */, + uint16_t /* protocolNumber */, + const Address& /* dest */) { NS_LOG_WARN("RCMAC Gateway transmission to acoustic nodes is not yet implemented"); return false; @@ -199,12 +199,12 @@ UanMacRcGw::AttachPhy(Ptr phy) } void -UanMacRcGw::ReceiveError(Ptr pkt, double sinr [[maybe_unused]]) +UanMacRcGw::ReceiveError(Ptr /* pkt */, double /* sinr */) { } void -UanMacRcGw::ReceivePacket(Ptr pkt, double sinr [[maybe_unused]], UanTxMode mode) +UanMacRcGw::ReceivePacket(Ptr pkt, double /* sinr */, UanTxMode mode) { UanHeaderCommon ch; pkt->PeekHeader(ch); @@ -559,7 +559,7 @@ UanMacRcGw::SendPacket(Ptr pkt, uint32_t rate) double UanMacRcGw::ComputeAlpha(uint32_t totalFrames, uint32_t totalBytes, - uint32_t n [[maybe_unused]], + uint32_t /* n */, uint32_t a, double deltaK) { diff --git a/src/uan/model/uan-mac-rc.cc b/src/uan/model/uan-mac-rc.cc index 3ef029ec5..af1e0a8e8 100644 --- a/src/uan/model/uan-mac-rc.cc +++ b/src/uan/model/uan-mac-rc.cc @@ -143,7 +143,7 @@ Reservation::IncrementRetry() } void -Reservation::SetTransmitted(bool t [[maybe_unused]]) +Reservation::SetTransmitted(bool /* t */) { m_transmitted = true; } @@ -324,7 +324,7 @@ UanMacRc::AttachPhy(Ptr phy) } void -UanMacRc::ReceiveOkFromPhy(Ptr pkt, double sinr [[maybe_unused]], UanTxMode mode) +UanMacRc::ReceiveOkFromPhy(Ptr pkt, double /* sinr */, UanTxMode mode) { UanHeaderCommon ch; pkt->RemoveHeader(ch); @@ -349,7 +349,7 @@ UanMacRc::ReceiveOkFromPhy(Ptr pkt, double sinr [[maybe_unused]], UanTxM break; case TYPE_RTS: // Currently don't respond to RTS packets at non-gateway nodes - // (Code assumes single network neighberhood) + // (Code assumes single network neighborhood) break; case TYPE_CTS: { uint32_t ctsBytes = ch.GetSerializedSize() + pkt->GetSize(); diff --git a/src/uan/model/uan-net-device.cc b/src/uan/model/uan-net-device.cc index d1b4fd891..603e33fba 100644 --- a/src/uan/model/uan-net-device.cc +++ b/src/uan/model/uan-net-device.cc @@ -281,7 +281,7 @@ UanNetDevice::IsMulticast() const } Address -UanNetDevice::GetMulticast(Ipv4Address multicastGroup [[maybe_unused]]) const +UanNetDevice::GetMulticast(Ipv4Address /* multicastGroup */) const { return m_mac->GetBroadcast(); } @@ -315,13 +315,13 @@ UanNetDevice::Send(Ptr packet, const Address& dest, uint16_t protocolNum } bool -UanNetDevice::SendFrom(Ptr packet, - const Address& source [[maybe_unused]], - const Address& dest [[maybe_unused]], - uint16_t protocolNumber [[maybe_unused]]) +UanNetDevice::SendFrom(Ptr /* packet */, + const Address& /* source */, + const Address& /* dest */, + uint16_t /* protocolNumber */) { // Not yet implemented - NS_ASSERT_MSG(0, "Not yet implemented"); + NS_ASSERT_MSG(false, "Not yet implemented"); return false; } diff --git a/src/uan/model/uan-phy-dual.cc b/src/uan/model/uan-phy-dual.cc index 5dd4345f8..54d91e070 100644 --- a/src/uan/model/uan-phy-dual.cc +++ b/src/uan/model/uan-phy-dual.cc @@ -294,10 +294,10 @@ UanPhyDual::RegisterListener(UanPhyListener* listener) } void -UanPhyDual::StartRxPacket(Ptr pkt, - double rxPowerDb [[maybe_unused]], - UanTxMode txMode, - UanPdp pdp) +UanPhyDual::StartRxPacket(Ptr /* pkt */, + double /* rxPowerDb */, + UanTxMode /* txMode */, + UanPdp /* pdp */) { // Not called. StartRxPacket in m_phy1 and m_phy2 are called directly from Transducer. } @@ -523,9 +523,9 @@ UanPhyDual::SetMac(Ptr mac) } void -UanPhyDual::NotifyTransStartTx(Ptr packet, - double txPowerDb [[maybe_unused]], - UanTxMode txMode) +UanPhyDual::NotifyTransStartTx(Ptr /* packet */, + double /* txPowerDb */, + UanTxMode /* txMode */) { } diff --git a/src/uan/model/uan-phy-dual.h b/src/uan/model/uan-phy-dual.h index 4aa7dd68f..596044037 100644 --- a/src/uan/model/uan-phy-dual.h +++ b/src/uan/model/uan-phy-dual.h @@ -133,7 +133,7 @@ class UanPhyDual : public UanPhy UanTxMode GetMode(uint32_t n) override; void Clear() override; - void SetSleepMode(bool sleep [[maybe_unused]]) override + void SetSleepMode(bool /* sleep */) override { /// \todo This method has to be implemented } diff --git a/src/uan/model/uan-phy-gen.cc b/src/uan/model/uan-phy-gen.cc index 81304927d..af5823ecb 100644 --- a/src/uan/model/uan-phy-gen.cc +++ b/src/uan/model/uan-phy-gen.cc @@ -833,7 +833,7 @@ UanPhyGen::StartRxPacket(Ptr pkt, double rxPowerDb, UanTxMode txMode, Ua } void -UanPhyGen::RxEndEvent(Ptr pkt, double rxPowerDb [[maybe_unused]], UanTxMode txMode) +UanPhyGen::RxEndEvent(Ptr pkt, double /* rxPowerDb */, UanTxMode txMode) { if (pkt != m_pktRx) { @@ -1048,9 +1048,9 @@ UanPhyGen::AssignStreams(int64_t stream) } void -UanPhyGen::NotifyTransStartTx(Ptr packet, - double txPowerDb [[maybe_unused]], - UanTxMode txMode) +UanPhyGen::NotifyTransStartTx(Ptr /* packet */, + double /* txPowerDb */, + UanTxMode /* txMode */) { if (m_pktRx) { diff --git a/src/uan/test/uan-energy-model-test.cc b/src/uan/test/uan-energy-model-test.cc index 9199a8a3d..66f5e40a4 100644 --- a/src/uan/test/uan-energy-model-test.cc +++ b/src/uan/test/uan-energy-model-test.cc @@ -111,10 +111,10 @@ AcousticModemEnergyTestCase::SendOnePacket(Ptr node) } bool -AcousticModemEnergyTestCase::RxPacket(Ptr dev, +AcousticModemEnergyTestCase::RxPacket(Ptr /* dev */, Ptr pkt, - uint16_t mode [[maybe_unused]], - const Address& sender [[maybe_unused]]) + uint16_t /* mode */, + const Address& /* sender */) { // increase the total bytes received m_bytesRx += pkt->GetSize(); diff --git a/src/uan/test/uan-test.cc b/src/uan/test/uan-test.cc index 2b33d9bcb..19064adde 100644 --- a/src/uan/test/uan-test.cc +++ b/src/uan/test/uan-test.cc @@ -102,10 +102,10 @@ UanTest::UanTest() } bool -UanTest::RxPacket(Ptr dev, +UanTest::RxPacket(Ptr /* dev */, Ptr pkt, - uint16_t mode [[maybe_unused]], - const Address& sender [[maybe_unused]]) + uint16_t /* mode */, + const Address& /* sender */) { m_bytesRx += pkt->GetSize(); return true; diff --git a/src/wave/helper/wave-helper.cc b/src/wave/helper/wave-helper.cc index a0b97c50c..1da14b52d 100644 --- a/src/wave/helper/wave-helper.cc +++ b/src/wave/helper/wave-helper.cc @@ -48,9 +48,9 @@ static void AsciiPhyTransmitSinkWithContext(Ptr stream, std::string context, Ptr p, - WifiMode mode, - WifiPreamble preamble, - uint8_t txLevel) + WifiMode mode [[maybe_unused]], + WifiPreamble preamble [[maybe_unused]], + uint8_t txLevel [[maybe_unused]]) { NS_LOG_FUNCTION(stream << context << p << mode << preamble << txLevel); *stream->GetStream() << "t " << Simulator::Now().GetSeconds() << " " << context << " " << *p @@ -129,7 +129,7 @@ YansWavePhyHelper::Default() void YansWavePhyHelper::EnablePcapInternal(std::string prefix, Ptr nd, - bool promiscuous, + bool /* promiscuous */, bool explicitFilename) { // From 9e39d6d5adadbb54553466318ac56e51760ff684 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sun, 23 Oct 2022 16:10:29 +0000 Subject: [PATCH 083/142] ci: Enable MPI in per-commit jobs --- utils/tests/gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/tests/gitlab-ci.yml b/utils/tests/gitlab-ci.yml index e7952872f..7f7470deb 100644 --- a/utils/tests/gitlab-ci.yml +++ b/utils/tests/gitlab-ci.yml @@ -71,7 +71,10 @@ stages: - pacman -Syu --noconfirm base-devel gcc clang cmake ninja ccache python - boost gsl gtk3 + boost gsl gtk3 openmpi + openssh + variables: + ENABLE_MPI: --enable-mpi per-commit-clang-debug: extends: .base-per-commit-compile From cff84084627634f5af481a0e538929eab132b6c1 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sun, 23 Oct 2022 16:23:12 +0000 Subject: [PATCH 084/142] ci: Add GCC 12 to weekly jobs --- utils/tests/gitlab-ci-gcc.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/utils/tests/gitlab-ci-gcc.yml b/utils/tests/gitlab-ci-gcc.yml index 577133fcb..1417cd9f0 100644 --- a/utils/tests/gitlab-ci-gcc.yml +++ b/utils/tests/gitlab-ci-gcc.yml @@ -107,3 +107,22 @@ weekly-build-gcc-11-optimized: image: gcc:11 variables: MODE: optimized + +# GCC 12 +weekly-build-gcc-12-debug: + extends: .weekly-build-gcc + image: gcc:12 + variables: + MODE: debug + +weekly-build-gcc-12-default: + extends: .weekly-build-gcc + image: gcc:12 + variables: + MODE: default + +weekly-build-gcc-12-optimized: + extends: .weekly-build-gcc + image: gcc:12 + variables: + MODE: optimized From df1dedfc9fd0dd7c03b3006c3c9521670b807c37 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Tue, 18 Oct 2022 17:53:02 +0100 Subject: [PATCH 085/142] Revert "Convert tabs to spaces in files largely copied from elsewhere" This reverts commit 6854e62de813795790208ed462ab8d682d6f370a. --- src/core/model/cairo-wideint-private.h | 2 +- src/core/model/cairo-wideint.c | 462 ++++++++++++------------- src/core/model/hash-fnv.cc | 266 +++++++------- 3 files changed, 365 insertions(+), 365 deletions(-) diff --git a/src/core/model/cairo-wideint-private.h b/src/core/model/cairo-wideint-private.h index 0dbb2e192..d4f9eb848 100644 --- a/src/core/model/cairo-wideint-private.h +++ b/src/core/model/cairo-wideint-private.h @@ -25,7 +25,7 @@ * The Initial Developer of the Original Code is Keith Packard * * Contributor(s): - * Keith R. Packard + * Keith R. Packard * */ diff --git a/src/core/model/cairo-wideint.c b/src/core/model/cairo-wideint.c index d1fd963fe..2776a26dc 100644 --- a/src/core/model/cairo-wideint.c +++ b/src/core/model/cairo-wideint.c @@ -26,7 +26,7 @@ * The Initial Developer of the Original Code is Keith Packard * * Contributor(s): - * Keith R. Packard + * Keith R. Packard * * Code changes for ns-3 from upstream are marked with `//PDB' */ @@ -53,7 +53,7 @@ const char * cairo_impl64 = "uint64_t"; cairo_uquorem64_t _cairo_uint64_divrem (cairo_uint64_t num, cairo_uint64_t den) { - cairo_uquorem64_t qr; + cairo_uquorem64_t qr; qr.quo = num / den; qr.rem = num % den; @@ -67,7 +67,7 @@ const char * cairo_impl64 = "uint32_t"; cairo_uint64_t _cairo_uint32_to_uint64 (uint32_t i) { - cairo_uint64_t q; + cairo_uint64_t q; q.lo = i; q.hi = 0; @@ -77,7 +77,7 @@ _cairo_uint32_to_uint64 (uint32_t i) cairo_int64_t _cairo_int32_to_int64 (int32_t i) { - cairo_uint64_t q; + cairo_uint64_t q; q.lo = i; q.hi = i < 0 ? -1 : 0; @@ -87,7 +87,7 @@ _cairo_int32_to_int64 (int32_t i) static cairo_uint64_t _cairo_uint32s_to_uint64 (uint32_t h, uint32_t l) { - cairo_uint64_t q; + cairo_uint64_t q; q.lo = l; q.hi = h; @@ -97,38 +97,38 @@ _cairo_uint32s_to_uint64 (uint32_t h, uint32_t l) cairo_uint64_t _cairo_uint64_add (cairo_uint64_t a, cairo_uint64_t b) { - cairo_uint64_t s; + cairo_uint64_t s; s.hi = a.hi + b.hi; s.lo = a.lo + b.lo; if (s.lo < a.lo) - s.hi++; + s.hi++; return s; } cairo_uint64_t _cairo_uint64_sub (cairo_uint64_t a, cairo_uint64_t b) { - cairo_uint64_t s; + cairo_uint64_t s; s.hi = a.hi - b.hi; s.lo = a.lo - b.lo; if (s.lo > a.lo) - s.hi--; + s.hi--; return s; } -#define uint32_lo(i) ((i) & 0xffff) -#define uint32_hi(i) ((i) >> 16) -#define uint32_carry16 ((1) << 16) +#define uint32_lo(i) ((i) & 0xffff) +#define uint32_hi(i) ((i) >> 16) +#define uint32_carry16 ((1) << 16) cairo_uint64_t _cairo_uint32x32_64_mul (uint32_t a, uint32_t b) { cairo_uint64_t s; - uint16_t ah, al, bh, bl; - uint32_t r0, r1, r2, r3; + uint16_t ah, al, bh, bl; + uint32_t r0, r1, r2, r3; al = uint32_lo (a); ah = uint32_hi (a); @@ -141,9 +141,9 @@ _cairo_uint32x32_64_mul (uint32_t a, uint32_t b) r3 = (uint32_t) ah * bh; r1 += uint32_hi(r0); /* no carry possible */ - r1 += r2; /* but this can carry */ - if (r1 < r2) /* check */ - r3 += uint32_carry16; + r1 += r2; /* but this can carry */ + if (r1 < r2) /* check */ + r3 += uint32_carry16; s.hi = r3 + uint32_hi(r1); s.lo = (uint32_lo (r1) << 16) + uint32_lo (r0); @@ -156,16 +156,16 @@ _cairo_int32x32_64_mul (int32_t a, int32_t b) cairo_int64_t s; s = _cairo_uint32x32_64_mul ((uint32_t) a, (uint32_t) b); if (a < 0) - s.hi -= b; + s.hi -= b; if (b < 0) - s.hi -= a; + s.hi -= a; return s; } cairo_uint64_t _cairo_uint64_mul (cairo_uint64_t a, cairo_uint64_t b) { - cairo_uint64_t s; + cairo_uint64_t s; s = _cairo_uint32x32_64_mul (a.lo, b.lo); s.hi += a.lo * b.hi + a.hi * b.lo; @@ -177,14 +177,14 @@ _cairo_uint64_lsl (cairo_uint64_t a, int shift) { if (shift >= 32) { - a.hi = a.lo; - a.lo = 0; - shift -= 32; + a.hi = a.lo; + a.lo = 0; + shift -= 32; } if (shift) { - a.hi = a.hi << shift | a.lo >> (32 - shift); - a.lo = a.lo << shift; + a.hi = a.hi << shift | a.lo >> (32 - shift); + a.lo = a.lo << shift; } return a; } @@ -194,33 +194,33 @@ _cairo_uint64_rsl (cairo_uint64_t a, int shift) { if (shift >= 32) { - a.lo = a.hi; - a.hi = 0; - shift -= 32; + a.lo = a.hi; + a.hi = 0; + shift -= 32; } if (shift) { - a.lo = a.lo >> shift | a.hi << (32 - shift); - a.hi = a.hi >> shift; + a.lo = a.lo >> shift | a.hi << (32 - shift); + a.hi = a.hi >> shift; } return a; } -#define _cairo_uint32_rsa(a,n) ((uint32_t) (((int32_t) (a)) >> (n))) +#define _cairo_uint32_rsa(a,n) ((uint32_t) (((int32_t) (a)) >> (n))) cairo_int64_t _cairo_uint64_rsa (cairo_int64_t a, int shift) { if (shift >= 32) { - a.lo = a.hi; - a.hi = _cairo_uint32_rsa (a.hi, 31); - shift -= 32; + a.lo = a.hi; + a.hi = _cairo_uint32_rsa (a.hi, 31); + shift -= 32; } if (shift) { - a.lo = a.lo >> shift | a.hi << (32 - shift); - a.hi = _cairo_uint32_rsa (a.hi, shift); + a.lo = a.lo >> shift | a.hi << (32 - shift); + a.hi = _cairo_uint32_rsa (a.hi, shift); } return a; } @@ -229,7 +229,7 @@ int _cairo_uint64_lt (cairo_uint64_t a, cairo_uint64_t b) { return (a.hi < b.hi || - (a.hi == b.hi && a.lo < b.lo)); + (a.hi == b.hi && a.lo < b.lo)); } int @@ -242,9 +242,9 @@ int _cairo_int64_lt (cairo_int64_t a, cairo_int64_t b) { if (_cairo_int64_negative (a) && !_cairo_int64_negative (b)) - return 1; + return 1; if (!_cairo_int64_negative (a) && _cairo_int64_negative (b)) - return 0; + return 0; return _cairo_uint64_lt (a, b); } @@ -262,7 +262,7 @@ _cairo_uint64_negate (cairo_uint64_t a) a.lo = ~a.lo; a.hi = ~a.hi; if (++a.lo == 0) - ++a.hi; + ++a.hi; return a; } @@ -272,30 +272,30 @@ _cairo_uint64_negate (cairo_uint64_t a) cairo_uquorem64_t _cairo_uint64_divrem (cairo_uint64_t num, cairo_uint64_t den) { - cairo_uquorem64_t qr; - cairo_uint64_t bit; - cairo_uint64_t quo; + cairo_uquorem64_t qr; + cairo_uint64_t bit; + cairo_uint64_t quo; bit = _cairo_uint32_to_uint64 (1); /* normalize to make den >= num, but not overflow */ while (_cairo_uint64_lt (den, num) && (den.hi & 0x80000000) == 0) { - bit = _cairo_uint64_lsl (bit, 1); - den = _cairo_uint64_lsl (den, 1); + bit = _cairo_uint64_lsl (bit, 1); + den = _cairo_uint64_lsl (den, 1); } quo = _cairo_uint32_to_uint64 (0); /* generate quotient, one bit at a time */ while (bit.hi | bit.lo) { - if (_cairo_uint64_le (den, num)) - { - num = _cairo_uint64_sub (num, den); - quo = _cairo_uint64_add (quo, bit); - } - bit = _cairo_uint64_rsl (bit, 1); - den = _cairo_uint64_rsl (den, 1); + if (_cairo_uint64_le (den, num)) + { + num = _cairo_uint64_sub (num, den); + quo = _cairo_uint64_add (quo, bit); + } + bit = _cairo_uint64_rsl (bit, 1); + den = _cairo_uint64_rsl (den, 1); } qr.quo = quo; qr.rem = num; @@ -307,24 +307,24 @@ _cairo_uint64_divrem (cairo_uint64_t num, cairo_uint64_t den) cairo_quorem64_t _cairo_int64_divrem (cairo_int64_t num, cairo_int64_t den) { - int num_neg = _cairo_int64_negative (num); - int den_neg = _cairo_int64_negative (den); - cairo_uquorem64_t uqr; - cairo_quorem64_t qr; + int num_neg = _cairo_int64_negative (num); + int den_neg = _cairo_int64_negative (den); + cairo_uquorem64_t uqr; + cairo_quorem64_t qr; if (num_neg) - num = _cairo_int64_negate (num); + num = _cairo_int64_negate (num); if (den_neg) - den = _cairo_int64_negate (den); + den = _cairo_int64_negate (den); uqr = _cairo_uint64_divrem (num, den); if (num_neg) - qr.rem = _cairo_int64_negate ((cairo_int64_t)uqr.rem); //PDB cast + qr.rem = _cairo_int64_negate ((cairo_int64_t)uqr.rem); //PDB cast else - qr.rem = uqr.rem; + qr.rem = uqr.rem; if (num_neg != den_neg) - qr.quo = (cairo_int64_t) _cairo_int64_negate ((cairo_int64_t)uqr.quo); //PDB cast + qr.quo = (cairo_int64_t) _cairo_int64_negate ((cairo_int64_t)uqr.quo); //PDB cast else - qr.quo = (cairo_int64_t) uqr.quo; + qr.quo = (cairo_int64_t) uqr.quo; return qr; } @@ -335,7 +335,7 @@ const char * cairo_impl128 = "uint128_t"; cairo_uquorem128_t _cairo_uint128_divrem (cairo_uint128_t num, cairo_uint128_t den) { - cairo_uquorem128_t qr; + cairo_uquorem128_t qr; qr.quo = num / den; qr.rem = num % den; @@ -349,7 +349,7 @@ const char * cairo_impl128 = "cairo_uint64_t"; cairo_uint128_t _cairo_uint32_to_uint128 (uint32_t i) { - cairo_uint128_t q; + cairo_uint128_t q; q.lo = _cairo_uint32_to_uint64 (i); q.hi = _cairo_uint32_to_uint64 (0); @@ -359,7 +359,7 @@ _cairo_uint32_to_uint128 (uint32_t i) cairo_int128_t _cairo_int32_to_int128 (int32_t i) { - cairo_int128_t q; + cairo_int128_t q; q.lo = _cairo_int32_to_int64 (i); q.hi = _cairo_int32_to_int64 (i < 0 ? -1 : 0); @@ -369,7 +369,7 @@ _cairo_int32_to_int128 (int32_t i) cairo_uint128_t _cairo_uint64_to_uint128 (cairo_uint64_t i) { - cairo_uint128_t q; + cairo_uint128_t q; q.lo = i; q.hi = _cairo_uint32_to_uint64 (0); @@ -379,7 +379,7 @@ _cairo_uint64_to_uint128 (cairo_uint64_t i) cairo_int128_t _cairo_int64_to_int128 (cairo_int64_t i) { - cairo_int128_t q; + cairo_int128_t q; q.lo = i; q.hi = _cairo_int32_to_int64 (_cairo_int64_negative(i) ? -1 : 0); @@ -389,40 +389,40 @@ _cairo_int64_to_int128 (cairo_int64_t i) cairo_uint128_t _cairo_uint128_add (cairo_uint128_t a, cairo_uint128_t b) { - cairo_uint128_t s; + cairo_uint128_t s; s.hi = _cairo_uint64_add (a.hi, b.hi); s.lo = _cairo_uint64_add (a.lo, b.lo); if (_cairo_uint64_lt (s.lo, a.lo)) - s.hi = _cairo_uint64_add (s.hi, _cairo_uint32_to_uint64 (1)); + s.hi = _cairo_uint64_add (s.hi, _cairo_uint32_to_uint64 (1)); return s; } cairo_uint128_t _cairo_uint128_sub (cairo_uint128_t a, cairo_uint128_t b) { - cairo_uint128_t s; + cairo_uint128_t s; s.hi = _cairo_uint64_sub (a.hi, b.hi); s.lo = _cairo_uint64_sub (a.lo, b.lo); if (_cairo_uint64_gt (s.lo, a.lo)) - s.hi = _cairo_uint64_sub (s.hi, _cairo_uint32_to_uint64(1)); + s.hi = _cairo_uint64_sub (s.hi, _cairo_uint32_to_uint64(1)); return s; } #if HAVE_UINT64_T -#define uint64_lo32(i) ((i) & 0xffffffff) -#define uint64_hi32(i) ((i) >> 32) -#define uint64_lo(i) ((i) & 0xffffffff) -#define uint64_hi(i) ((i) >> 32) +#define uint64_lo32(i) ((i) & 0xffffffff) +#define uint64_hi32(i) ((i) >> 32) +#define uint64_lo(i) ((i) & 0xffffffff) +#define uint64_hi(i) ((i) >> 32) #define uint64_shift32(i) ((i) << 32) -#define uint64_carry32 (((uint64_t) 1) << 32) +#define uint64_carry32 (((uint64_t) 1) << 32) #else -#define uint64_lo32(i) ((i).lo) -#define uint64_hi32(i) ((i).hi) +#define uint64_lo32(i) ((i).lo) +#define uint64_hi32(i) ((i).hi) static cairo_uint64_t uint64_lo (cairo_uint64_t i) @@ -461,9 +461,9 @@ static const cairo_uint64_t uint64_carry32 = { 0, 1 }; cairo_uint128_t _cairo_uint64x64_128_mul (cairo_uint64_t a, cairo_uint64_t b) { - cairo_uint128_t s; - uint32_t ah, al, bh, bl; - cairo_uint64_t r0, r1, r2, r3; + cairo_uint128_t s; + uint32_t ah, al, bh, bl; + cairo_uint64_t r0, r1, r2, r3; al = uint64_lo32 (a); ah = uint64_hi32 (a); @@ -476,13 +476,13 @@ _cairo_uint64x64_128_mul (cairo_uint64_t a, cairo_uint64_t b) r3 = _cairo_uint32x32_64_mul (ah, bh); r1 = _cairo_uint64_add (r1, uint64_hi (r0)); /* no carry possible */ - r1 = _cairo_uint64_add (r1, r2); /* but this can carry */ - if (_cairo_uint64_lt (r1, r2)) /* check */ - r3 = _cairo_uint64_add (r3, uint64_carry32); + r1 = _cairo_uint64_add (r1, r2); /* but this can carry */ + if (_cairo_uint64_lt (r1, r2)) /* check */ + r3 = _cairo_uint64_add (r3, uint64_carry32); s.hi = _cairo_uint64_add (r3, uint64_hi(r1)); s.lo = _cairo_uint64_add (uint64_shift32 (r1), - uint64_lo (r0)); + uint64_lo (r0)); return s; } @@ -491,26 +491,26 @@ _cairo_int64x64_128_mul (cairo_int64_t a, cairo_int64_t b) { cairo_int128_t s; s = _cairo_uint64x64_128_mul (_cairo_int64_to_uint64(a), - _cairo_int64_to_uint64(b)); + _cairo_int64_to_uint64(b)); if (_cairo_int64_negative (a)) - s.hi = _cairo_uint64_sub (s.hi, - _cairo_int64_to_uint64 (b)); + s.hi = _cairo_uint64_sub (s.hi, + _cairo_int64_to_uint64 (b)); if (_cairo_int64_negative (b)) - s.hi = _cairo_uint64_sub (s.hi, - _cairo_int64_to_uint64 (a)); + s.hi = _cairo_uint64_sub (s.hi, + _cairo_int64_to_uint64 (a)); return s; } cairo_uint128_t _cairo_uint128_mul (cairo_uint128_t a, cairo_uint128_t b) { - cairo_uint128_t s; + cairo_uint128_t s; s = _cairo_uint64x64_128_mul (a.lo, b.lo); s.hi = _cairo_uint64_add (s.hi, - _cairo_uint64_mul (a.lo, b.hi)); + _cairo_uint64_mul (a.lo, b.hi)); s.hi = _cairo_uint64_add (s.hi, - _cairo_uint64_mul (a.hi, b.lo)); + _cairo_uint64_mul (a.hi, b.lo)); return s; } @@ -519,15 +519,15 @@ _cairo_uint128_lsl (cairo_uint128_t a, int shift) { if (shift >= 64) { - a.hi = a.lo; - a.lo = _cairo_uint32_to_uint64 (0); - shift -= 64; + a.hi = a.lo; + a.lo = _cairo_uint32_to_uint64 (0); + shift -= 64; } if (shift) { - a.hi = _cairo_uint64_add (_cairo_uint64_lsl (a.hi, shift), - _cairo_uint64_rsl (a.lo, (64 - shift))); - a.lo = _cairo_uint64_lsl (a.lo, shift); + a.hi = _cairo_uint64_add (_cairo_uint64_lsl (a.hi, shift), + _cairo_uint64_rsl (a.lo, (64 - shift))); + a.lo = _cairo_uint64_lsl (a.lo, shift); } return a; } @@ -537,15 +537,15 @@ _cairo_uint128_rsl (cairo_uint128_t a, int shift) { if (shift >= 64) { - a.lo = a.hi; - a.hi = _cairo_uint32_to_uint64 (0); - shift -= 64; + a.lo = a.hi; + a.hi = _cairo_uint32_to_uint64 (0); + shift -= 64; } if (shift) { - a.lo = _cairo_uint64_add (_cairo_uint64_rsl (a.lo, shift), - _cairo_uint64_lsl (a.hi, (64 - shift))); - a.hi = _cairo_uint64_rsl (a.hi, shift); + a.lo = _cairo_uint64_add (_cairo_uint64_rsl (a.lo, shift), + _cairo_uint64_lsl (a.hi, (64 - shift))); + a.hi = _cairo_uint64_rsl (a.hi, shift); } return a; } @@ -555,15 +555,15 @@ _cairo_uint128_rsa (cairo_int128_t a, int shift) { if (shift >= 64) { - a.lo = a.hi; - a.hi = _cairo_uint64_rsa (a.hi, 64-1); - shift -= 64; + a.lo = a.hi; + a.hi = _cairo_uint64_rsa (a.hi, 64-1); + shift -= 64; } if (shift) { - a.lo = _cairo_uint64_add (_cairo_uint64_rsl (a.lo, shift), - _cairo_uint64_lsl (a.hi, (64 - shift))); - a.hi = _cairo_uint64_rsa (a.hi, shift); + a.lo = _cairo_uint64_add (_cairo_uint64_rsl (a.lo, shift), + _cairo_uint64_lsl (a.hi, (64 - shift))); + a.hi = _cairo_uint64_rsa (a.hi, shift); } return a; } @@ -572,17 +572,17 @@ int _cairo_uint128_lt (cairo_uint128_t a, cairo_uint128_t b) { return (_cairo_uint64_lt (a.hi, b.hi) || - (_cairo_uint64_eq (a.hi, b.hi) && - _cairo_uint64_lt (a.lo, b.lo))); + (_cairo_uint64_eq (a.hi, b.hi) && + _cairo_uint64_lt (a.lo, b.lo))); } int _cairo_int128_lt (cairo_int128_t a, cairo_int128_t b) { if (_cairo_int128_negative (a) && !_cairo_int128_negative (b)) - return 1; + return 1; if (!_cairo_int128_negative (a) && _cairo_int128_negative (b)) - return 0; + return 0; return _cairo_uint128_lt (a, b); } @@ -590,7 +590,7 @@ int _cairo_uint128_eq (cairo_uint128_t a, cairo_uint128_t b) { return (_cairo_uint64_eq (a.hi, b.hi) && - _cairo_uint64_eq (a.lo, b.lo)); + _cairo_uint64_eq (a.lo, b.lo)); } #if HAVE_UINT64_T @@ -602,30 +602,30 @@ _cairo_uint128_eq (cairo_uint128_t a, cairo_uint128_t b) cairo_uquorem128_t _cairo_uint128_divrem (cairo_uint128_t num, cairo_uint128_t den) { - cairo_uquorem128_t qr; - cairo_uint128_t bit; - cairo_uint128_t quo; + cairo_uquorem128_t qr; + cairo_uint128_t bit; + cairo_uint128_t quo; bit = _cairo_uint32_to_uint128 (1); /* normalize to make den >= num, but not overflow */ while (_cairo_uint128_lt (den, num) && !_cairo_msbset64(den.hi)) { - bit = _cairo_uint128_lsl (bit, 1); - den = _cairo_uint128_lsl (den, 1); + bit = _cairo_uint128_lsl (bit, 1); + den = _cairo_uint128_lsl (den, 1); } quo = _cairo_uint32_to_uint128 (0); /* generate quotient, one bit at a time */ while (_cairo_uint128_ne (bit, _cairo_uint32_to_uint128(0))) { - if (_cairo_uint128_le (den, num)) - { - num = _cairo_uint128_sub (num, den); - quo = _cairo_uint128_add (quo, bit); - } - bit = _cairo_uint128_rsl (bit, 1); - den = _cairo_uint128_rsl (den, 1); + if (_cairo_uint128_le (den, num)) + { + num = _cairo_uint128_sub (num, den); + quo = _cairo_uint128_add (quo, bit); + } + bit = _cairo_uint128_rsl (bit, 1); + den = _cairo_uint128_rsl (den, 1); } qr.quo = quo; qr.rem = num; @@ -653,24 +653,24 @@ _cairo_uint128_not (cairo_uint128_t a) cairo_quorem128_t _cairo_int128_divrem (cairo_int128_t num, cairo_int128_t den) { - int num_neg = _cairo_int128_negative (num); - int den_neg = _cairo_int128_negative (den); - cairo_uquorem128_t uqr; - cairo_quorem128_t qr; + int num_neg = _cairo_int128_negative (num); + int den_neg = _cairo_int128_negative (den); + cairo_uquorem128_t uqr; + cairo_quorem128_t qr; if (num_neg) - num = _cairo_int128_negate (num); + num = _cairo_int128_negate (num); if (den_neg) - den = _cairo_int128_negate (den); + den = _cairo_int128_negate (den); uqr = _cairo_uint128_divrem (num, den); if (num_neg) - qr.rem = _cairo_int128_negate (uqr.rem); + qr.rem = _cairo_int128_negate (uqr.rem); else - qr.rem = uqr.rem; + qr.rem = uqr.rem; if (num_neg != den_neg) - qr.quo = _cairo_int128_negate (uqr.quo); + qr.quo = _cairo_int128_negate (uqr.quo); else - qr.quo = uqr.quo; + qr.quo = uqr.quo; return qr; } @@ -685,7 +685,7 @@ _cairo_int128_divrem (cairo_int128_t num, cairo_int128_t den) * non-zero. */ cairo_uquorem64_t _cairo_uint_96by64_32x64_divrem (cairo_uint128_t num, - cairo_uint64_t den) + cairo_uint64_t den) { cairo_uquorem64_t result; cairo_uint64_t B = _cairo_uint32s_to_uint64 (1, 0); @@ -701,94 +701,94 @@ _cairo_uint_96by64_32x64_divrem (cairo_uint128_t num, /* Don't bother if the quotient is going to overflow. */ if (_cairo_uint64_ge (x, den)) { - return /* overflow */ result; + return /* overflow */ result; } if (_cairo_uint64_lt (x, B)) { - /* When the final quotient is known to fit in 32 bits, then - * num < 2^64 if and only if den < 2^32. */ - return _cairo_uint64_divrem (_cairo_uint128_to_uint64 (num), den); + /* When the final quotient is known to fit in 32 bits, then + * num < 2^64 if and only if den < 2^32. */ + return _cairo_uint64_divrem (_cairo_uint128_to_uint64 (num), den); } else { - /* Denominator is >= 2^32. the numerator is >= 2^64, and the - * division won't overflow: need two divrems. Write the - * numerator and denominator as - * - * num = xB + y x : 64 bits, y : 32 bits - * den = uB + v u, v : 32 bits - */ - uint32_t y = _cairo_uint128_to_uint32 (num); - uint32_t u = uint64_hi32 (den); - uint32_t v = _cairo_uint64_to_uint32 (den); + /* Denominator is >= 2^32. the numerator is >= 2^64, and the + * division won't overflow: need two divrems. Write the + * numerator and denominator as + * + * num = xB + y x : 64 bits, y : 32 bits + * den = uB + v u, v : 32 bits + */ + uint32_t y = _cairo_uint128_to_uint32 (num); + uint32_t u = uint64_hi32 (den); + uint32_t v = _cairo_uint64_to_uint32 (den); - /* Compute a lower bound approximate quotient of num/den - * from x/(u+1). Then we have - * - * x = q(u+1) + r ; q : 32 bits, r <= u : 32 bits. - * - * xB + y = q(u+1)B + (rB+y) - * = q(uB + B + v - v) + (rB+y) - * = q(uB + v) + qB - qv + (rB+y) - * = q(uB + v) + q(B-v) + (rB+y) - * - * The true quotient of num/den then is q plus the - * contribution of q(B-v) + (rB+y). The main contribution - * comes from the term q(B-v), with the term (rB+y) only - * contributing at most one part. - * - * The term q(B-v) must fit into 64 bits, since q fits into 32 - * bits on account of being a lower bound to the true - * quotient, and as B-v <= 2^32, we may safely use a single - * 64/64 bit division to find its contribution. */ + /* Compute a lower bound approximate quotient of num/den + * from x/(u+1). Then we have + * + * x = q(u+1) + r ; q : 32 bits, r <= u : 32 bits. + * + * xB + y = q(u+1)B + (rB+y) + * = q(uB + B + v - v) + (rB+y) + * = q(uB + v) + qB - qv + (rB+y) + * = q(uB + v) + q(B-v) + (rB+y) + * + * The true quotient of num/den then is q plus the + * contribution of q(B-v) + (rB+y). The main contribution + * comes from the term q(B-v), with the term (rB+y) only + * contributing at most one part. + * + * The term q(B-v) must fit into 64 bits, since q fits into 32 + * bits on account of being a lower bound to the true + * quotient, and as B-v <= 2^32, we may safely use a single + * 64/64 bit division to find its contribution. */ - cairo_uquorem64_t quorem; - cairo_uint64_t remainder; /* will contain final remainder */ - uint32_t quotient; /* will contain final quotient. */ - uint32_t q; - uint32_t r; + cairo_uquorem64_t quorem; + cairo_uint64_t remainder; /* will contain final remainder */ + uint32_t quotient; /* will contain final quotient. */ + uint32_t q; + uint32_t r; - /* Approximate quotient by dividing the high 64 bits of num by - * u+1. Watch out for overflow of u+1. */ - if (u+1) { - quorem = _cairo_uint64_divrem (x, _cairo_uint32_to_uint64 (u+1)); - q = _cairo_uint64_to_uint32 (quorem.quo); - r = _cairo_uint64_to_uint32 (quorem.rem); - } - else { - q = uint64_hi32 (x); - r = _cairo_uint64_to_uint32 (x); - } - quotient = q; + /* Approximate quotient by dividing the high 64 bits of num by + * u+1. Watch out for overflow of u+1. */ + if (u+1) { + quorem = _cairo_uint64_divrem (x, _cairo_uint32_to_uint64 (u+1)); + q = _cairo_uint64_to_uint32 (quorem.quo); + r = _cairo_uint64_to_uint32 (quorem.rem); + } + else { + q = uint64_hi32 (x); + r = _cairo_uint64_to_uint32 (x); + } + quotient = q; - /* Add the main term's contribution to quotient. Note B-v = - * -v as an uint32 (unless v = 0) */ - if (v) - quorem = _cairo_uint64_divrem (_cairo_uint32x32_64_mul (q, -(int32_t)v), den); //PDB cast - else - quorem = _cairo_uint64_divrem (_cairo_uint32s_to_uint64 (q, 0), den); - quotient += _cairo_uint64_to_uint32 (quorem.quo); + /* Add the main term's contribution to quotient. Note B-v = + * -v as an uint32 (unless v = 0) */ + if (v) + quorem = _cairo_uint64_divrem (_cairo_uint32x32_64_mul (q, -(int32_t)v), den); //PDB cast + else + quorem = _cairo_uint64_divrem (_cairo_uint32s_to_uint64 (q, 0), den); + quotient += _cairo_uint64_to_uint32 (quorem.quo); - /* Add the contribution of the subterm and start computing the - * true remainder. */ - remainder = _cairo_uint32s_to_uint64 (r, y); - if (_cairo_uint64_ge (remainder, den)) { - remainder = _cairo_uint64_sub (remainder, den); - quotient++; - } + /* Add the contribution of the subterm and start computing the + * true remainder. */ + remainder = _cairo_uint32s_to_uint64 (r, y); + if (_cairo_uint64_ge (remainder, den)) { + remainder = _cairo_uint64_sub (remainder, den); + quotient++; + } - /* Add the contribution of the main term's remainder. The - * funky test here checks that remainder + main_rem >= den, - * taking into account overflow of the addition. */ - remainder = _cairo_uint64_add (remainder, quorem.rem); - if (_cairo_uint64_ge (remainder, den) || - _cairo_uint64_lt (remainder, quorem.rem)) - { - remainder = _cairo_uint64_sub (remainder, den); - quotient++; - } + /* Add the contribution of the main term's remainder. The + * funky test here checks that remainder + main_rem >= den, + * taking into account overflow of the addition. */ + remainder = _cairo_uint64_add (remainder, quorem.rem); + if (_cairo_uint64_ge (remainder, den) || + _cairo_uint64_lt (remainder, quorem.rem)) + { + remainder = _cairo_uint64_sub (remainder, den); + quotient++; + } - result.quo = _cairo_uint32_to_uint64 (quotient); - result.rem = remainder; + result.quo = _cairo_uint32_to_uint64 (quotient); + result.rem = remainder; } return result; } @@ -796,35 +796,35 @@ _cairo_uint_96by64_32x64_divrem (cairo_uint128_t num, cairo_quorem64_t _cairo_int_96by64_32x64_divrem (cairo_int128_t num, cairo_int64_t den) { - int num_neg = _cairo_int128_negative (num); - int den_neg = _cairo_int64_negative (den); - cairo_uint64_t nonneg_den; - cairo_uquorem64_t uqr; - cairo_quorem64_t qr; + int num_neg = _cairo_int128_negative (num); + int den_neg = _cairo_int64_negative (den); + cairo_uint64_t nonneg_den; + cairo_uquorem64_t uqr; + cairo_quorem64_t qr; if (num_neg) - num = _cairo_int128_negate (num); + num = _cairo_int128_negate (num); if (den_neg) - nonneg_den = _cairo_int64_negate (den); + nonneg_den = _cairo_int64_negate (den); else - nonneg_den = den; + nonneg_den = den; uqr = _cairo_uint_96by64_32x64_divrem (num, nonneg_den); if (_cairo_uint64_eq (uqr.rem, _cairo_int64_to_uint64 (nonneg_den))) { - /* bail on overflow. */ - qr.quo = _cairo_uint32s_to_uint64 (0x7FFFFFFF, UINT_MAX); //PDB cast - qr.rem = den; - return qr; + /* bail on overflow. */ + qr.quo = _cairo_uint32s_to_uint64 (0x7FFFFFFF, UINT_MAX); //PDB cast + qr.rem = den; + return qr; } if (num_neg) - qr.rem = _cairo_int64_negate ((cairo_int64_t)uqr.rem); //PDB cast + qr.rem = _cairo_int64_negate ((cairo_int64_t)uqr.rem); //PDB cast else - qr.rem = uqr.rem; + qr.rem = uqr.rem; if (num_neg != den_neg) - qr.quo = _cairo_int64_negate ((cairo_int64_t)uqr.quo); //PDB cast + qr.quo = _cairo_int64_negate ((cairo_int64_t)uqr.quo); //PDB cast else - qr.quo = uqr.quo; + qr.quo = uqr.quo; return qr; } diff --git a/src/core/model/hash-fnv.cc b/src/core/model/hash-fnv.cc index 998180a4a..9dfa3d92e 100644 --- a/src/core/model/hash-fnv.cc +++ b/src/core/model/hash-fnv.cc @@ -111,7 +111,7 @@ extern "C" *** * * NOTE: The FNV-0 historic hash is not recommended. One should use - * the FNV-1 hash instead. + * the FNV-1 hash instead. * * To use the 32 bit FNV-0 historic hash, pass FNV0_32_INIT as the * Fnv32_t hashval argument to fnv_32_buf() or fnv_32_str(). @@ -144,10 +144,10 @@ extern "C" * PERFORMANCE OF THIS SOFTWARE. * * By: - * chongo /\oo/\ + * chongo /\oo/\ * http://www.isthe.com/chongo/ * - * Share and Enjoy! :-) + * Share and Enjoy! :-) */ #if !defined(__FNV_H__) @@ -157,7 +157,7 @@ extern "C" //#include //PDB -#define FNV_VERSION "5.0.2" /**< @(#) FNV Version */ +#define FNV_VERSION "5.0.2" /**< @(#) FNV Version */ /** @@ -258,13 +258,13 @@ extern const Fnv64_t fnv1a_64_init; * FNV hash types */ enum fnv_type { - FNV_NONE = 0, /**< invalid FNV hash type */ - FNV0_32 = 1, /**< FNV-0 32 bit hash */ - FNV1_32 = 2, /**< FNV-1 32 bit hash */ - FNV1a_32 = 3, /**< FNV-1a 32 bit hash */ - FNV0_64 = 4, /**< FNV-0 64 bit hash */ - FNV1_64 = 5, /**< FNV-1 64 bit hash */ - FNV1a_64 = 6, /**< FNV-1a 64 bit hash */ + FNV_NONE = 0, /**< invalid FNV hash type */ + FNV0_32 = 1, /**< FNV-0 32 bit hash */ + FNV1_32 = 2, /**< FNV-1 32 bit hash */ + FNV1a_32 = 3, /**< FNV-1a 32 bit hash */ + FNV0_64 = 4, /**< FNV-0 64 bit hash */ + FNV1_64 = 5, /**< FNV-1 64 bit hash */ + FNV1a_64 = 6, /**< FNV-1a 64 bit hash */ }; //PDB test vector declarations deleted @@ -346,10 +346,10 @@ enum fnv_type { * PERFORMANCE OF THIS SOFTWARE. * * By: - * chongo /\oo/\ + * chongo /\oo/\ * http://www.isthe.com/chongo/ * - * Share and Enjoy! :-) + * Share and Enjoy! :-) */ //#include //PDB @@ -366,34 +366,34 @@ enum fnv_type { * fnv_32a_buf - perform a 32 bit Fowler/Noll/Vo FNV-1a hash on a buffer * * input: - * \param [in] buf start of buffer to hash - * \param [in] len length of buffer in octets - * \param [in] hval previous hash value or 0 if first call + * \param [in] buf start of buffer to hash + * \param [in] len length of buffer in octets + * \param [in] hval previous hash value or 0 if first call * - * \returns 32 bit hash as a static hash type. + * \returns 32 bit hash as a static hash type. * * \note To use the recommended 32 bit FNV-1a hash, use FNV1_32A_INIT as the - * hval arg on the first call to either fnv_32a_buf() or fnv_32a_str(). + * hval arg on the first call to either fnv_32a_buf() or fnv_32a_str(). */ Fnv32_t fnv_32a_buf(void *buf, size_t len, Fnv32_t hval) { - unsigned char *bp = (unsigned char *)buf; /* start of buffer */ - unsigned char *be = bp + len; /* beyond end of buffer */ + unsigned char *bp = (unsigned char *)buf; /* start of buffer */ + unsigned char *be = bp + len; /* beyond end of buffer */ /* * FNV-1a hash each octet in the buffer */ while (bp < be) { - /* xor the bottom with the current octet */ - hval ^= (Fnv32_t)*bp++; + /* xor the bottom with the current octet */ + hval ^= (Fnv32_t)*bp++; - /* multiply by the 32 bit FNV magic prime mod 2^32 */ + /* multiply by the 32 bit FNV magic prime mod 2^32 */ #if defined(NO_FNV_GCC_OPTIMIZATION) - hval *= FNV_32_PRIME; + hval *= FNV_32_PRIME; #else - hval += (hval<<1) + (hval<<4) + (hval<<7) + (hval<<8) + (hval<<24); + hval += (hval<<1) + (hval<<4) + (hval<<7) + (hval<<8) + (hval<<24); #endif } @@ -406,32 +406,32 @@ fnv_32a_buf(void *buf, size_t len, Fnv32_t hval) * fnv_32a_str - perform a 32 bit Fowler/Noll/Vo FNV-1a hash on a string * * input: - * \param [in] str string to hash - * \param [in] hval previous hash value or 0 if first call + * \param [in] str string to hash + * \param [in] hval previous hash value or 0 if first call * - * \returns 32 bit hash as a static hash type + * \returns 32 bit hash as a static hash type * * \note To use the recommended 32 bit FNV-1a hash, use FNV1_32A_INIT as the - * hval arg on the first call to either fnv_32a_buf() or fnv_32a_str(). + * hval arg on the first call to either fnv_32a_buf() or fnv_32a_str(). */ Fnv32_t fnv_32a_str(char *str, Fnv32_t hval) { - unsigned char *s = (unsigned char *)str; /* unsigned string */ + unsigned char *s = (unsigned char *)str; /* unsigned string */ /* * FNV-1a hash each octet in the buffer */ while (*s) { - /* xor the bottom with the current octet */ - hval ^= (Fnv32_t)*s++; + /* xor the bottom with the current octet */ + hval ^= (Fnv32_t)*s++; - /* multiply by the 32 bit FNV magic prime mod 2^32 */ + /* multiply by the 32 bit FNV magic prime mod 2^32 */ #if defined(NO_FNV_GCC_OPTIMIZATION) - hval *= FNV_32_PRIME; + hval *= FNV_32_PRIME; #else - hval += (hval<<1) + (hval<<4) + (hval<<7) + (hval<<8) + (hval<<24); + hval += (hval<<1) + (hval<<4) + (hval<<7) + (hval<<8) + (hval<<24); #endif } @@ -490,10 +490,10 @@ fnv_32a_str(char *str, Fnv32_t hval) * PERFORMANCE OF THIS SOFTWARE. * * By: - * chongo /\oo/\ + * chongo /\oo/\ * http://www.isthe.com/chongo/ * - * Share and Enjoy! :-) + * Share and Enjoy! :-) */ //#include //PDB @@ -515,8 +515,8 @@ const Fnv64_t fnv1a_64_init = { 0x84222325, 0xcbf29ce4 }; #if defined(HAVE_64BIT_LONG_LONG) #define FNV_64_PRIME ((Fnv1aImplementation::Fnv64_t)0x100000001b3ULL) #else /* HAVE_64BIT_LONG_LONG */ -#define FNV_64_PRIME_LOW ((unsigned long)0x1b3) /* lower bits of FNV prime */ -#define FNV_64_PRIME_SHIFT (8) /* top FNV prime shift above 2^32 */ +#define FNV_64_PRIME_LOW ((unsigned long)0x1b3) /* lower bits of FNV prime */ +#define FNV_64_PRIME_SHIFT (8) /* top FNV prime shift above 2^32 */ #endif /* HAVE_64BIT_LONG_LONG */ /**@}*/ @@ -525,20 +525,20 @@ const Fnv64_t fnv1a_64_init = { 0x84222325, 0xcbf29ce4 }; * fnv_64a_buf - perform a 64 bit Fowler/Noll/Vo FNV-1a hash on a buffer * * input: - * \param [in] buf start of buffer to hash - * \param [in] len length of buffer in octets - * \param [in] hval previous hash value or 0 if first call + * \param [in] buf start of buffer to hash + * \param [in] len length of buffer in octets + * \param [in] hval previous hash value or 0 if first call * - * \returns 64 bit hash as a static hash type + * \returns 64 bit hash as a static hash type * * \note To use the recommended 64 bit FNV-1a hash, use FNV1A_64_INIT as the - * hval arg on the first call to either fnv_64a_buf() or fnv_64a_str(). + * hval arg on the first call to either fnv_64a_buf() or fnv_64a_str(). */ Fnv64_t fnv_64a_buf(void *buf, size_t len, Fnv64_t hval) { - unsigned char *bp = (unsigned char *)buf; /* start of buffer */ - unsigned char *be = bp + len; /* beyond end of buffer */ + unsigned char *bp = (unsigned char *)buf; /* start of buffer */ + unsigned char *be = bp + len; /* beyond end of buffer */ #if defined(HAVE_64BIT_LONG_LONG) /* @@ -546,22 +546,22 @@ fnv_64a_buf(void *buf, size_t len, Fnv64_t hval) */ while (bp < be) { - /* xor the bottom with the current octet */ - hval ^= (Fnv64_t)*bp++; + /* xor the bottom with the current octet */ + hval ^= (Fnv64_t)*bp++; - /* multiply by the 64 bit FNV magic prime mod 2^64 */ + /* multiply by the 64 bit FNV magic prime mod 2^64 */ #if defined(NO_FNV_GCC_OPTIMIZATION) - hval *= FNV_64_PRIME; + hval *= FNV_64_PRIME; #else /* NO_FNV_GCC_OPTIMIZATION */ - hval += (hval << 1) + (hval << 4) + (hval << 5) + - (hval << 7) + (hval << 8) + (hval << 40); + hval += (hval << 1) + (hval << 4) + (hval << 5) + + (hval << 7) + (hval << 8) + (hval << 40); #endif /* NO_FNV_GCC_OPTIMIZATION */ } #else /* HAVE_64BIT_LONG_LONG */ - unsigned long val[4]; /* hash value in base 2^16 */ - unsigned long tmp[4]; /* tmp 64 bit value */ + unsigned long val[4]; /* hash value in base 2^16 */ + unsigned long tmp[4]; /* tmp 64 bit value */ /* * Convert Fnv64_t hval into a base 2^16 array @@ -578,40 +578,40 @@ fnv_64a_buf(void *buf, size_t len, Fnv64_t hval) */ while (bp < be) { - /* xor the bottom with the current octet */ - val[0] ^= (unsigned long)*bp++; + /* xor the bottom with the current octet */ + val[0] ^= (unsigned long)*bp++; - /* - * multiply by the 64 bit FNV magic prime mod 2^64 - * - * Using 0x100000001b3 we have the following digits base 2^16: - * - * 0x0 0x100 0x0 0x1b3 - * - * which is the same as: - * - * 0x0 1<> 16); - val[0] = tmp[0] & 0xffff; - tmp[2] += (tmp[1] >> 16); - val[1] = tmp[1] & 0xffff; - val[3] = tmp[3] + (tmp[2] >> 16); - val[2] = tmp[2] & 0xffff; - /* - * Doing a val[3] &= 0xffff; is not really needed since it simply - * removes multiples of 2^64. We can discard these excess bits - * outside of the loop when we convert to Fnv64_t. - */ + /* + * multiply by the 64 bit FNV magic prime mod 2^64 + * + * Using 0x100000001b3 we have the following digits base 2^16: + * + * 0x0 0x100 0x0 0x1b3 + * + * which is the same as: + * + * 0x0 1<> 16); + val[0] = tmp[0] & 0xffff; + tmp[2] += (tmp[1] >> 16); + val[1] = tmp[1] & 0xffff; + val[3] = tmp[3] + (tmp[2] >> 16); + val[2] = tmp[2] & 0xffff; + /* + * Doing a val[3] &= 0xffff; is not really needed since it simply + * removes multiples of 2^64. We can discard these excess bits + * outside of the loop when we convert to Fnv64_t. + */ } /* @@ -631,18 +631,18 @@ fnv_64a_buf(void *buf, size_t len, Fnv64_t hval) * fnv_64a_str - perform a 64 bit Fowler/Noll/Vo FNV-1a hash on a buffer * * input: - * \param [in] str string to hash - * \param [in] hval previous hash value or 0 if first call + * \param [in] str string to hash + * \param [in] hval previous hash value or 0 if first call * - * \returns 64 bit hash as a static hash type + * \returns 64 bit hash as a static hash type * * \note To use the recommended 64 bit FNV-1a hash, use FNV1A_64_INIT as the - * hval arg on the first call to either fnv_64a_buf() or fnv_64a_str(). + * hval arg on the first call to either fnv_64a_buf() or fnv_64a_str(). */ Fnv64_t fnv_64a_str(char *str, Fnv64_t hval) { - unsigned char *s = (unsigned char *)str; /* unsigned string */ + unsigned char *s = (unsigned char *)str; /* unsigned string */ #if defined(HAVE_64BIT_LONG_LONG) @@ -651,22 +651,22 @@ fnv_64a_str(char *str, Fnv64_t hval) */ while (*s) { - /* xor the bottom with the current octet */ - hval ^= (Fnv64_t)*s++; + /* xor the bottom with the current octet */ + hval ^= (Fnv64_t)*s++; - /* multiply by the 64 bit FNV magic prime mod 2^64 */ + /* multiply by the 64 bit FNV magic prime mod 2^64 */ #if defined(NO_FNV_GCC_OPTIMIZATION) - hval *= FNV_64_PRIME; + hval *= FNV_64_PRIME; #else /* NO_FNV_GCC_OPTIMIZATION */ - hval += (hval << 1) + (hval << 4) + (hval << 5) + - (hval << 7) + (hval << 8) + (hval << 40); + hval += (hval << 1) + (hval << 4) + (hval << 5) + + (hval << 7) + (hval << 8) + (hval << 40); #endif /* NO_FNV_GCC_OPTIMIZATION */ } #else /* !HAVE_64BIT_LONG_LONG */ - unsigned long val[4]; /* hash value in base 2^16 */ - unsigned long tmp[4]; /* tmp 64 bit value */ + unsigned long val[4]; /* hash value in base 2^16 */ + unsigned long tmp[4]; /* tmp 64 bit value */ /* * Convert Fnv64_t hval into a base 2^16 array @@ -683,40 +683,40 @@ fnv_64a_str(char *str, Fnv64_t hval) */ while (*s) { - /* xor the bottom with the current octet */ + /* xor the bottom with the current octet */ - /* - * multiply by the 64 bit FNV magic prime mod 2^64 - * - * Using 1099511628211, we have the following digits base 2^16: - * - * 0x0 0x100 0x0 0x1b3 - * - * which is the same as: - * - * 0x0 1<> 16); - val[0] = tmp[0] & 0xffff; - tmp[2] += (tmp[1] >> 16); - val[1] = tmp[1] & 0xffff; - val[3] = tmp[3] + (tmp[2] >> 16); - val[2] = tmp[2] & 0xffff; - /* - * Doing a val[3] &= 0xffff; is not really needed since it simply - * removes multiples of 2^64. We can discard these excess bits - * outside of the loop when we convert to Fnv64_t. - */ - val[0] ^= (unsigned long)(*s++); + /* + * multiply by the 64 bit FNV magic prime mod 2^64 + * + * Using 1099511628211, we have the following digits base 2^16: + * + * 0x0 0x100 0x0 0x1b3 + * + * which is the same as: + * + * 0x0 1<> 16); + val[0] = tmp[0] & 0xffff; + tmp[2] += (tmp[1] >> 16); + val[1] = tmp[1] & 0xffff; + val[3] = tmp[3] + (tmp[2] >> 16); + val[2] = tmp[2] & 0xffff; + /* + * Doing a val[3] &= 0xffff; is not really needed since it simply + * removes multiples of 2^64. We can discard these excess bits + * outside of the loop when we convert to Fnv64_t. + */ + val[0] ^= (unsigned long)(*s++); } /* From 223dbf02779ed1268fdbea5640609f84dd7474e9 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Thu, 20 Oct 2022 19:55:13 +0100 Subject: [PATCH 086/142] core: Adjust clang-format guards of external files --- src/core/model/cairo-wideint-private.h | 14 +++++++------- src/core/model/cairo-wideint.c | 9 ++++----- src/core/model/hash-fnv.cc | 18 +++++++++++++++--- src/core/model/valgrind.h | 6 ++++-- 4 files changed, 30 insertions(+), 17 deletions(-) diff --git a/src/core/model/cairo-wideint-private.h b/src/core/model/cairo-wideint-private.h index d4f9eb848..9dbc1e3b2 100644 --- a/src/core/model/cairo-wideint-private.h +++ b/src/core/model/cairo-wideint-private.h @@ -25,10 +25,13 @@ * The Initial Developer of the Original Code is Keith Packard * * Contributor(s): - * Keith R. Packard + * Keith R. Packard * */ +// NOLINTBEGIN +// clang-format off + #ifndef CAIRO_WIDEINT_H #define CAIRO_WIDEINT_H @@ -48,9 +51,6 @@ // extern const char * cairo_impl64; // extern const char * cairo_impl128; -// NOLINTBEGIN -// clang-format off - /*for compatibility with MacOS and Cygwin*/ #ifndef HAVE_STDINT_H #ifdef __APPLE__ @@ -356,11 +356,11 @@ _cairo_int_96by64_32x64_divrem (cairo_int128_t num, #undef I - // clang-format on - // NOLINTEND - #ifdef __cplusplus }; #endif #endif /* CAIRO_WIDEINT_H */ + +// clang-format on +// NOLINTEND diff --git a/src/core/model/cairo-wideint.c b/src/core/model/cairo-wideint.c index 2776a26dc..893112f32 100644 --- a/src/core/model/cairo-wideint.c +++ b/src/core/model/cairo-wideint.c @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* cairo - a vector graphics library with display and print output * * Copyright © 2004 Keith Packard @@ -26,11 +25,14 @@ * The Initial Developer of the Original Code is Keith Packard * * Contributor(s): - * Keith R. Packard + * Keith R. Packard * * Code changes for ns-3 from upstream are marked with `//PDB' */ +// NOLINTBEGIN +// clang-format off + #include "cairo-wideint-private.h" #include @@ -41,9 +43,6 @@ * Implementation of the cairo_x functions which implement high precision arithmetic. */ -// NOLINTBEGIN -// clang-format off - #if HAVE_UINT64_T const char * cairo_impl64 = "uint64_t"; diff --git a/src/core/model/hash-fnv.cc b/src/core/model/hash-fnv.cc index 9dfa3d92e..9e1a9a54b 100644 --- a/src/core/model/hash-fnv.cc +++ b/src/core/model/hash-fnv.cc @@ -69,12 +69,14 @@ namespace Fnv1aImplementation extern "C" { - // Changes from FNV distribution are marked with `//PDB' - // - // NOLINTBEGIN // clang-format off +// Changes from FNV distribution are marked with `//PDB' +// + +/* Begin fnv.h ----------------------------------------> */ + /* * fnv - Fowler/Noll/Vo- hash code * @@ -296,6 +298,10 @@ enum fnv_type { #endif /* __FNV_H__ */ +/* End fnv.h ------------------------------------------> */ + +/* Begin hash_32a.c -----------------------------------> */ + /* * hash_32 - 32 bit Fowler/Noll/Vo FNV-1a hash code * @@ -439,6 +445,10 @@ fnv_32a_str(char *str, Fnv32_t hval) return hval; } +/* End hash_32a.c -------------------------------------> */ + +/* Begin hash_64a.c -----------------------------------> */ + /* * hash_64 - 64 bit Fowler/Noll/Vo-0 FNV-1a hash code * @@ -731,6 +741,8 @@ fnv_64a_str(char *str, Fnv64_t hval) return hval; } +/* End hash_64a.c -------------------------------------> */ + // clang-format on // NOLINTEND diff --git a/src/core/model/valgrind.h b/src/core/model/valgrind.h index 64fc3ba2b..466f61feb 100644 --- a/src/core/model/valgrind.h +++ b/src/core/model/valgrind.h @@ -55,6 +55,9 @@ ---------------------------------------------------------------- */ +// NOLINTBEGIN +// clang-format off + /* This file is for inclusion into client (your!) code. You can use these macros to manipulate and query Valgrind's @@ -69,8 +72,6 @@ problem, you can compile with the NVALGRIND symbol defined (gcc -DNVALGRIND) so that client requests are not even compiled in. */ -// clang-format off - #ifndef __VALGRIND_H #define __VALGRIND_H @@ -5625,3 +5626,4 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...) #endif /* __VALGRIND_H */ // clang-format on +// NOLINTEND From b07e1d70190f29507f00d7d636dd1e0570021995 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Wed, 19 Oct 2022 18:47:13 +0100 Subject: [PATCH 087/142] utils: Adjust formatting of check-style-clang-format.py --- utils/check-style-clang-format.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index 9ad2e5ee5..c5a6604a0 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -128,8 +128,8 @@ def skip_directory(dirpath: str) -> bool: _, directory = os.path.split(dirpath) - return directory in DIRECTORIES_TO_SKIP or \ - (directory.startswith('.') and directory != '.') + return (directory in DIRECTORIES_TO_SKIP or + (directory.startswith('.') and directory != '.')) def skip_file_formatting(filename: str) -> bool: @@ -155,8 +155,8 @@ def skip_file_whitespace(filename: str) -> bool: basename, extension = os.path.splitext(os.path.split(filename)[1]) - return basename not in FILES_TO_CHECK_WHITESPACE and \ - extension not in FILE_EXTENSIONS_TO_CHECK_WHITESPACE + return (basename not in FILES_TO_CHECK_WHITESPACE and + extension not in FILE_EXTENSIONS_TO_CHECK_WHITESPACE) def skip_file_tabs(filename: str) -> bool: From d825794fe84be8c2d6768ee2d63687ab3bc98d18 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Fri, 21 Oct 2022 20:36:23 +0000 Subject: [PATCH 088/142] utils, doc: Update check-style-clang-format.py to respect clang-format guards in tabs checking --- doc/contributing/source/coding-style.rst | 4 ++++ utils/check-style-clang-format.py | 24 +++++++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/doc/contributing/source/coding-style.rst b/doc/contributing/source/coding-style.rst index 7d694a8d7..88aba880d 100644 --- a/doc/contributing/source/coding-style.rst +++ b/doc/contributing/source/coding-style.rst @@ -131,6 +131,10 @@ flags: ``--no-formatting``, ``--no-whitespace`` and ``--no-tabs``. In addition to checking the files, the script can automatically fix detected issues in-place. This mode is enabled by adding the ``--fix`` flag. +The formatting and tabs checks respect clang-format guards, which mark code blocks +that should not be checked. Trailing whitespace is always checked regardless of +clang-format guards. + The complete API of the ``check-style-clang-format.py`` script can be obtained with the following command: diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index c5a6604a0..b6a93e2d2 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -26,6 +26,10 @@ the ".clang-format" file. This script performs the following checks / fixes: - Check / trim trailing whitespace. - Check / replace tabs with spaces. +The clang-format and tabs checks respect clang-format guards, which mark code blocks +that should not be checked. Trailing whitespace is always checked regardless of +clang-format guards. + This script can be applied to all text files in a given path or to individual files. NOTE: The formatting check requires clang-format (version >= 14) to be found on the path. @@ -52,6 +56,9 @@ CLANG_FORMAT_VERSIONS = [ 14, ] +CLANG_FORMAT_GUARD_ON = '// clang-format on' +CLANG_FORMAT_GUARD_OFF = '// clang-format off' + DIRECTORIES_TO_SKIP = [ '__pycache__', '.vscode', @@ -574,12 +581,26 @@ def check_tabs_file(filename: str, fix: bool) -> Tuple[str, bool]: """ has_tabs = False + clang_format_enabled = True with open(filename, 'r', encoding='utf-8') as f: file_lines = f.readlines() - # Check if there are tabs and fix them for (i, line) in enumerate(file_lines): + + # Check clang-format guards + line_stripped = line.strip() + + if line_stripped == CLANG_FORMAT_GUARD_ON: + clang_format_enabled = True + elif line_stripped == CLANG_FORMAT_GUARD_OFF: + clang_format_enabled = False + + if (not clang_format_enabled and + line_stripped not in (CLANG_FORMAT_GUARD_ON, CLANG_FORMAT_GUARD_OFF)): + continue + + # Check if there are tabs and fix them if line.find('\t') != -1: has_tabs = True @@ -606,6 +627,7 @@ if __name__ == '__main__': description='Check and apply the ns-3 coding style to all files in a given PATH. ' 'The script checks the formatting of the file with clang-format. ' 'Additionally, it checks the presence of trailing whitespace and tabs. ' + 'Formatting and tabs checks respect clang-format guards. ' 'When used in "check mode" (default), the script checks if all files are well ' 'formatted and do not have trailing whitespace nor tabs. ' 'If it detects non-formatted files, they will be printed and this process exits with a ' From 01a2d7786a360000721bc2a425157b24a6c4dae6 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Wed, 19 Oct 2022 19:19:47 +0100 Subject: [PATCH 089/142] utils: Add list of files to skip in check-style-clang-format.py --- utils/check-style-clang-format.py | 39 ++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index b6a93e2d2..a2d53f09b 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -68,6 +68,12 @@ DIRECTORIES_TO_SKIP = [ 'testpy-output', ] +# List of files entirely copied from elsewhere that should not be checked, +# in order to optimize the performance of this script +FILES_TO_SKIP = [ + 'valgrind.h', +] + FILE_EXTENSIONS_TO_CHECK_FORMATTING = [ '.c', '.cc', @@ -139,42 +145,57 @@ def skip_directory(dirpath: str) -> bool: (directory.startswith('.') and directory != '.')) -def skip_file_formatting(filename: str) -> bool: +def skip_file_formatting(path: str) -> bool: """ Check if a file should be skipped from formatting analysis. - @param filename Name of the file. + @param path Path to the file. @return Whether the file should be skipped or not. """ - _, extension = os.path.splitext(os.path.split(filename)[1]) + filename = os.path.split(path)[1] + + if filename in FILES_TO_SKIP: + return True + + _, extension = os.path.splitext(filename) return extension not in FILE_EXTENSIONS_TO_CHECK_FORMATTING -def skip_file_whitespace(filename: str) -> bool: +def skip_file_whitespace(path: str) -> bool: """ Check if a file should be skipped from trailing whitespace analysis. - @param filename Name of the file. + @param path Path to the file. @return Whether the file should be skipped or not. """ - basename, extension = os.path.splitext(os.path.split(filename)[1]) + filename = os.path.split(path)[1] + + if filename in FILES_TO_SKIP: + return True + + basename, extension = os.path.splitext(filename) return (basename not in FILES_TO_CHECK_WHITESPACE and extension not in FILE_EXTENSIONS_TO_CHECK_WHITESPACE) -def skip_file_tabs(filename: str) -> bool: +def skip_file_tabs(path: str) -> bool: """ Check if a file should be skipped from tabs analysis. - @param filename Name of the file. + @param path Path to the file. @return Whether the file should be skipped or not. """ - _, extension = os.path.splitext(os.path.split(filename)[1]) + filename = os.path.split(path)[1] + + if filename in FILES_TO_SKIP: + return True + + _, extension = os.path.splitext(filename) return extension not in FILE_EXTENSIONS_TO_CHECK_TABS From 53f2c381dcc479c2268eebcb29c565c4e52a38aa Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Tue, 25 Oct 2022 10:19:01 -0300 Subject: [PATCH 090/142] build: (fixes #789) add examples as dependencies of example-as-test suites --- .../custom-modules/ns3-module-macros.cmake | 47 ++++++++++++++----- build-support/macros-and-definitions.cmake | 7 +++ utils/CMakeLists.txt | 1 + 3 files changed, 43 insertions(+), 12 deletions(-) diff --git a/build-support/custom-modules/ns3-module-macros.cmake b/build-support/custom-modules/ns3-module-macros.cmake index ec9f00523..393041939 100644 --- a/build-support/custom-modules/ns3-module-macros.cmake +++ b/build-support/custom-modules/ns3-module-macros.cmake @@ -237,6 +237,26 @@ function(build_lib) ) endif() + # Build lib examples if requested + set(examples_before ${ns3-execs-clean}) + foreach(example_folder example;examples) + if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${example_folder}) + if(${ENABLE_EXAMPLES}) + if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${example_folder}/CMakeLists.txt) + add_subdirectory(${example_folder}) + endif() + endif() + scan_python_examples(${CMAKE_CURRENT_SOURCE_DIR}/${example_folder}) + endif() + endforeach() + set(module_examples ${ns3-execs-clean}) + + # Filter only module examples + foreach(example ${examples_before}) + list(REMOVE_ITEM module_examples ${example}) + endforeach() + unset(examples_before) + # Check if the module tests should be built set(filtered_in ON) if(NS3_FILTER_MODULE_EXAMPLES_AND_TESTS) @@ -291,21 +311,24 @@ function(build_lib) if(${PRECOMPILE_HEADERS_ENABLED} AND (NOT ${BLIB_IGNORE_PCH})) target_precompile_headers(${test${BLIB_LIBNAME}} REUSE_FROM stdlib_pch) endif() + + # Add dependency between tests and examples used as tests + if(${ENABLE_EXAMPLES}) + foreach(source_file ${BLIB_TEST_SOURCES}) + file(READ ${source_file} source_file_contents) + foreach(example_as_test ${module_examples}) + string(FIND "${source_file_contents}" "${example_as_test}" + is_sub_string + ) + if(NOT (${is_sub_string} EQUAL -1)) + add_dependencies(test-runner-examples-as-tests ${example_as_test}) + endif() + endforeach() + endforeach() + endif() endif() endif() - # Build lib examples if requested - foreach(example_folder example;examples) - if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${example_folder}) - if(${ENABLE_EXAMPLES}) - if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${example_folder}/CMakeLists.txt) - add_subdirectory(${example_folder}) - endif() - endif() - scan_python_examples(${CMAKE_CURRENT_SOURCE_DIR}/${example_folder}) - endif() - endforeach() - # Handle package export install( TARGETS ${lib${BLIB_LIBNAME}} diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index 9fbce1723..d92cd5515 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -293,6 +293,7 @@ macro(clear_global_cached_variables) unset(ns3-contrib-libs CACHE) unset(ns3-example-folders CACHE) unset(ns3-execs CACHE) + unset(ns3-execs-clean CACHE) unset(ns3-execs-py CACHE) unset(ns3-external-libs CACHE) unset(ns3-headers-to-module-map CACHE) @@ -306,6 +307,7 @@ macro(clear_global_cached_variables) ns3-contrib-libs ns3-example-folders ns3-execs + ns3-execs-clean ns3-execs-py ns3-external-libs ns3-headers-to-module-map @@ -888,6 +890,7 @@ macro(process_options) endif() if(${ENABLE_TESTS}) + add_custom_target(test-runner-examples-as-tests) add_custom_target(all-test-targets) # Create a custom target to run test.py --no-build Target is also used to @@ -1382,6 +1385,10 @@ function(set_runtime_outputdirectory target_name output_directory target_prefix) set(ns3-execs "${output_directory}${ns3-exec-outputname};${ns3-execs}" CACHE INTERNAL "list of c++ executables" ) + set(ns3-execs-clean "${target_prefix}${target_name};${ns3-execs-clean}" + CACHE INTERNAL + "list of c++ executables without version prefix and build suffix" + ) set_target_properties( ${target_prefix}${target_name} diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 7f9a5ab0c..1e32530cc 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -30,6 +30,7 @@ if(${ENABLE_TESTS} AND (test IN_LIST libs_to_build)) set_runtime_outputdirectory( test-runner ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/utils/ "" ) + add_dependencies(test-runner test-runner-examples-as-tests) add_dependencies(all-test-targets test-runner) endif() From d5c425bcf77a13480e157cec38dbe1566427c1bf Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Tue, 25 Oct 2022 11:45:58 -0300 Subject: [PATCH 091/142] build: remove MPI_CI environment variable from test-ns3.py test case --- utils/tests/test-ns3.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/tests/test-ns3.py b/utils/tests/test-ns3.py index aafde1981..ca9db15d6 100755 --- a/utils/tests/test-ns3.py +++ b/utils/tests/test-ns3.py @@ -1209,10 +1209,10 @@ class NS3ConfigureTestCase(NS3BaseTestCase): self.assertIn("mpiexec -np 2 %s" % sample_simulator_path, stdout) # Get the commands to run sample-simulator in two processes with mpi, now with the environment variable - return_code, stdout, stderr = run_ns3(mpi_command, env={"MPI_CI": "1"}) + return_code, stdout, stderr = run_ns3(mpi_command) self.assertEqual(return_code, 0) if os.getenv("USER", "") == "root": - if shutil.which("ompi_info") and os.cpu_count() < 2: + if shutil.which("ompi_info"): self.assertIn("mpiexec --allow-run-as-root --oversubscribe -np 2 %s" % sample_simulator_path, stdout) else: self.assertIn("mpiexec --allow-run-as-root -np 2 %s" % sample_simulator_path, stdout) @@ -1225,7 +1225,7 @@ class NS3ConfigureTestCase(NS3BaseTestCase): self.assertIn("echo %s" % sample_simulator_path, stdout) # Again the non-mpi command, with the MPI_CI environment variable set - return_code, stdout, stderr = run_ns3(non_mpi_command, env={"MPI_CI": "1"}) + return_code, stdout, stderr = run_ns3(non_mpi_command) self.assertEqual(return_code, 0) self.assertIn("echo %s" % sample_simulator_path, stdout) From f50b180a1f83c623858265b224a35ad09527bf1d Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Tue, 25 Oct 2022 20:09:23 +0100 Subject: [PATCH 092/142] core, build: Fix filesystem library support detection --- .../ns3-compiler-workarounds.cmake | 18 +++++++++++------- src/core/model/system-path.cc | 8 ++++++-- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/build-support/custom-modules/ns3-compiler-workarounds.cmake b/build-support/custom-modules/ns3-compiler-workarounds.cmake index 8b64ab8db..42e8d9dbe 100644 --- a/build-support/custom-modules/ns3-compiler-workarounds.cmake +++ b/build-support/custom-modules/ns3-compiler-workarounds.cmake @@ -55,17 +55,21 @@ endif() # link it manually. https://en.cppreference.com/w/cpp/filesystem check_cxx_source_compiles( " - # ifdef __cpp_lib_filesystem - #include - namespace fs = std::filesystem; - #else - #include - namespace fs = std::experimental::filesystem; + #ifdef __has_include + #if __has_include() + #include + namespace fs = std::filesystem; + #elif __has_include() + #include + namespace fs = std::experimental::filesystem; + #else + #error \"No support for filesystem library\" + #endif #endif int main() { std::string path = \"/\"; - return !fs::exists (path); + return !fs::exists(path); } " FILESYSTEM_LIBRARY_IS_LINKED diff --git a/src/core/model/system-path.cc b/src/core/model/system-path.cc index 81c628cb4..ccf53ea3f 100644 --- a/src/core/model/system-path.cc +++ b/src/core/model/system-path.cc @@ -39,12 +39,16 @@ // version or require a more up-to-date GCC. // we use the "fs" namespace to prevent collisions // with musl libc. -#ifdef __cpp_lib_filesystem +#ifdef __has_include +#if __has_include() #include namespace fs = std::filesystem; -#else +#elif __has_include() #include namespace fs = std::experimental::filesystem; +#else +#error "No support for filesystem library" +#endif #endif #ifdef __APPLE__ From 2dbcce2ddb0da09c45bb9c4f41373b9948563991 Mon Sep 17 00:00:00 2001 From: "Peter D. Barnes, Jr" Date: Thu, 20 Oct 2022 23:45:18 -0700 Subject: [PATCH 093/142] core: command-line: remove obsolete include --- src/core/model/command-line.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/model/command-line.cc b/src/core/model/command-line.cc index 196e069f8..56a4c1073 100644 --- a/src/core/model/command-line.cc +++ b/src/core/model/command-line.cc @@ -385,8 +385,6 @@ CommandLine::PrintHelp(std::ostream& os) const << std::endl; } -#include // getcwd - std::string CommandLine::GetVersion() const { From 95428c288207430aa055d7010a4890ff0bb21c18 Mon Sep 17 00:00:00 2001 From: "Peter D. Barnes, Jr" Date: Fri, 21 Oct 2022 12:16:17 -0700 Subject: [PATCH 094/142] core: command-line: pass strings by const ref --- src/core/model/command-line.cc | 18 ++++++++--------- src/core/model/command-line.h | 36 +++++++++++++++++----------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/core/model/command-line.cc b/src/core/model/command-line.cc index 56a4c1073..cc77b4072 100644 --- a/src/core/model/command-line.cc +++ b/src/core/model/command-line.cc @@ -116,7 +116,7 @@ CommandLine::CommandLine() NS_LOG_FUNCTION(this); } -CommandLine::CommandLine(const std::string filename) +CommandLine::CommandLine(const std::string& filename) : m_NNonOptions(0), m_nonOptionCount(0), m_usage() @@ -181,7 +181,7 @@ CommandLine::Clear() } void -CommandLine::Usage(const std::string usage) +CommandLine::Usage(const std::string& usage) { m_usage = usage; } @@ -198,7 +198,7 @@ CommandLine::Item::~Item() } void -CommandLine::Parse(std::vector args) +CommandLine::Parse(std::vector& args) { NS_LOG_FUNCTION(this << args.size() << args); @@ -724,7 +724,7 @@ CommandLine::CallbackItem::GetDefault() const } bool -CommandLine::CallbackItem::Parse(const std::string value) +CommandLine::CallbackItem::Parse(const std::string& value) { NS_LOG_FUNCTION(this); NS_LOG_DEBUG("CommandLine::CallbackItem::Parse \"" << value << "\""); @@ -735,7 +735,7 @@ void CommandLine::AddValue(const std::string& name, const std::string& help, ns3::Callback callback, - std::string defaultValue /* = "" */) + const std::string& defaultValue /* = "" */) { NS_LOG_FUNCTION(this << &name << &help << &callback); @@ -807,7 +807,7 @@ CommandLine::GetNExtraNonOptions() const /* static */ bool -CommandLine::HandleAttribute(const std::string name, const std::string value) +CommandLine::HandleAttribute(const std::string& name, const std::string& value) { bool success = true; if (!Config::SetGlobalFailSafe(name, StringValue(value)) && @@ -825,7 +825,7 @@ CommandLine::Item::HasDefault() const } bool -CommandLine::StringItem::Parse(const std::string value) +CommandLine::StringItem::Parse(const std::string& value) { m_value = value; return true; @@ -854,7 +854,7 @@ CommandLineHelper::GetDefault(const bool& val) template <> bool -CommandLineHelper::UserItemParse(const std::string value, bool& val) +CommandLineHelper::UserItemParse(const std::string& value, bool& val) { std::string src = value; std::transform(src.begin(), src.end(), src.begin(), [](char c) { @@ -895,7 +895,7 @@ CommandLineHelper::GetDefault