Commit Graph

217 Commits

Author SHA1 Message Date
Eduardo Almeida
6ef966c4cf Replace Doxygen tags using \ with @ 2024-11-08 18:05:46 +00:00
Eduardo Almeida
5afa1fd7ef Use Time() constructor with integer values 2024-11-08 18:01:13 +00:00
Eduardo Almeida
3c706947a0 Use Time comparison functions rather than Time(0) 2024-11-08 18:01:00 +00:00
Eduardo Almeida
463e1e4371 Replace formatted apostrophe (’) by simple one (') in docs 2024-10-18 11:42:19 +00:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
Eduardo Almeida
a0dddf3253 Replace variable length arrays by std::vector
Variable length array is a C feature, available in C++ when compiler extensions are enabled. Newer versions of the clang compiler flag these issues as errors
2024-03-27 14:51:19 +00:00
Tommaso Pecorella
47768894aa doc: fix doxygen grouping 2024-02-16 16:33:27 +00:00
Gabriel Ferreira
e1d55570bc Use static Mac48Address broadcast address 2024-02-13 13:55:21 +01:00
André Apitzsch
647149e39a Add enum class support to EnumValue 2024-01-31 15:32:16 +01:00
André Apitzsch
a39bcfa7ea fd-net-device, network, tap-bridge: Simplify IP and MAC address conversion functions
While at it, remove now unneeded defines and helper functions.
2024-01-12 10:01:13 +01:00
Gabriel Ferreira
0f45fcd005 build: initialize previously uninitialized variables 2023-11-19 12:30:11 -03:00
Eduardo Almeida
59246fb83d Fix spelling typos 2023-10-03 00:32:07 +01:00
Eduardo Almeida
1f438ce6f4 Fix clang-tidy modernize-use-auto warnings 2023-09-18 00:36:46 +01:00
Eduardo Almeida
aedd34ca8f Fix local #include headers by removing the "ns3/" prefix 2023-09-17 17:19:59 +01:00
Eduardo Almeida
ba859a0d66 Fix clang-tidy modernize-use-bool-literals warnings 2023-09-15 16:36:26 +00:00
Eduardo Almeida
a031bd2bd4 fd-net-device, lte, wifi: Replace printf() with NS_LOG() 2023-08-04 15:04:12 +00:00
Eduardo Almeida
2f31e1ef91 fd-net-device, wifi: Reorder if-else to simplify code 2023-08-04 15:04:12 +00:00
Stefano Avallone
6cf99e322d fd-net-device: Do not include internet-module.h (issue reported by Sharan Naribole) 2023-07-24 08:57:07 +02:00
André Apitzsch
f1dfa5cecd fd-net-device,tap-bridge: Replace brctl, tunctl and ifconfig by ip
`tunctl` isn't easily available on every Linux distribution, `brctl` is obsolete[1] and
`ifconfig` has been deprecated by many Linux distributions[2], so replace these commands
by `ip` from iproute2.

[1] https://www.man7.org/linux/man-pages/man8/brctl.8.html#NOTES
[2] https://lwn.net/Articles/710533/
2023-06-21 04:29:24 +00:00
Eduardo Almeida
4ce1e2c05c build: Move NS3_DPDK option to root CMakeLists.txt 2023-06-20 04:46:57 +00:00
André Apitzsch
12c4303344 fd-net-device,tap-bridge,wifi: add missing cstdint header includes 2023-06-01 15:57:23 +00:00
Eduardo Almeida
42d6eea6de Remove emacs lines from Python and C++ files 2023-05-23 16:20:52 +00:00
Eduardo Almeida
8731dd1fa2 fd-net-device: Fix clang-tidy warnings 2023-05-12 18:18:26 +00:00
Eduardo Almeida
a93c357141 Fix clang-tidy readability-simplify-boolean-expr warnings 2023-05-07 19:06:35 +01:00
Giovanni Grieco
bf34f05109 examples: Remove unnecessary includes for unlinked modules 2023-04-06 06:14:29 +00:00
Tom Henderson
df20f5f5e8 doc: Fix errors found by codespell and aspell 2023-03-09 11:45:15 -08:00
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03:00
Eduardo Almeida
971e5c15fa Fix clang-tidy readability-container-size-empty warnings 2023-02-02 17:41:31 +00:00
Eduardo Almeida
9a0d17186b Fix clang-tidy readability-static-accessed-through-instance warnings 2023-01-29 18:11:10 +00:00
Peter D. Barnes, Jr
700543b01a doc: remove space before paren in code samples 2023-01-05 23:47:13 +00:00
Tommaso Pecorella
83c915c897 Deprecate use of Ping6 and V4Ping classes 2022-12-12 12:51:19 +00:00
Eduardo Almeida
3261e3b6b7 fd-net-device: Fix Doxygen of dpdk helper 2022-12-06 16:59:53 +00:00
Eduardo Almeida
9e5539cd2e fd-net-device: Fix nullptr clang-tidy warning 2022-12-05 19:05:45 +00:00
Eduardo Almeida
4930479af4 Remove enum / struct specifiers when declaring the variable's type 2022-12-05 19:05:45 +00:00
Eduardo Almeida
18225243f2 examples: Add missing return 0 2022-11-29 21:33:09 +00:00
Eduardo Almeida
291f899663 wave, fd-net-device, tap-bridge: Convert log and verbose parameters to bool 2022-11-29 01:35:16 +00:00
Eduardo Almeida
902e1d43b3 fd-net-device: Fix clang-tidy readability-isolate-declaration warnings 2022-10-28 21:47:54 +01:00
Eduardo Almeida
1884baab7d Fix clang-tidy modernize-use-nullptr errors 2022-10-28 21:47:54 +01:00
Eduardo Almeida
7c182618ed Fix clang-tidy readability-redundant-string-cstr warnings 2022-10-28 16:05:20 +00:00
Eduardo Almeida
95e95f8904 Fix clang-tidy warnings in brite, click, mpi, openflow, p2p, visualizer 2022-10-14 16:58:17 +00:00
Eduardo Almeida
dfc6fb9d2d Remove emacs comment from C++ files 2022-10-14 14:13:12 +00:00
Eduardo Almeida
d03f12151e fd-net-device: Fix alpine builds about "redefinition of struct ethhdr" 2022-10-14 13:50:34 +00:00
Gabriel Ferreira
14c4221f15 core: rename unix-fd-reader.h to fd-reader.h 2022-10-10 20:09:59 -03:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Eduardo Almeida
f65238a0db Fix clang-tidy readability-string-compare warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f87b53bbc5 Fix clang-tidy modernize-use-emplace warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
4af0fe4b85 Fix clang-tidy modernize-use-nullptr warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
be07b6487a Fix clang-tidy modernize-use-override warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562 Fix clang-tidy modernize-redundant-void-arg warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
bdf80a8f85 Fix clang-tidy bugprone-too-small-loop-variable warnings (fixes #758) 2022-10-06 10:56:47 +00:00