Commit Graph

205 Commits

Author SHA1 Message Date
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
Gabriel Ferreira
f8846d22ed build: add STANDALONE option to build_exec and fix static builds 2022-09-24 15:04:53 -03:00
Gabriel Ferreira
c633a1420c build: Add new build_exec macro to declare executable targets
Also adds IGNORE_PCH option to build_example macro.
2022-09-17 11:13:38 +00:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
Tommaso Pecorella
5e551a2180 core: (fixes #416) remove librt checks 2022-08-05 01:42:12 +00:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00:00
Gabriel Ferreira
820dbeab66 doc: fix wrong uses of ns3 run 2022-07-06 10:06:41 -03:00
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Gabriel Ferreira
20a0fb2e8d build: Use check_include_file when checking for C headers
The cxx variant fails on MinGW
2022-05-29 15:34:53 +00:00
Gabriel Ferreira
ecd18974cd fd-net-device: Reorder headers to prevent symbol redefinition
Linux headers must come after C/C++ headers when building with Musl C library
2022-05-17 16:20:56 -03:00
Tom Henderson
9fbb26f04f Silence additional compiler warnings about lack of return value 2022-05-14 21:45:42 -07:00
Tom Henderson
6a202f88ee bindings: Rescan APIs for inclusion of STL features 2022-05-05 13:31:45 -07:00