Commit Graph

181 Commits

Author SHA1 Message Date
André Apitzsch
a1e5d6fbd3 core: Use enum class for TypeId::SupportLevel 2025-01-25 22:24:01 +00:00
André Apitzsch
fb6426c3f3 tap-bridge: Remove unused gateway option from tap-creator 2024-12-30 20:08:53 +00:00
André Apitzsch
223e0ad68a tap-bridge: Deprecate unused 'Gateway' attribute 2024-12-30 20:08:53 +00:00
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
Gabriel Ferreira
90ebd3ce82 tap-bridge: Ensure tap-creator is built before tap-bridge 2024-10-23 20:19:12 +02:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
Gabriel Ferreira
8783b6ffb6 tap-bridge: Set TAP_CREATOR before calling the build_lib macro 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
4a0091ba6c bindings: Remove injected namespaces 2024-05-19 10:08:50 +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
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
André Apitzsch
eb699398fd tap-bridge: dumbbell: Fix 'WifiRemoteStationManager selected does not support HT rates' error 2024-01-08 10:05:52 +00:00
Gabriel Ferreira
7806ff2e85 build: update LIBRARIES_TO_LINK lists with minimal sets 2023-12-15 13:24:29 -03:00
Gabriel Ferreira
8f6a3413a4 style: apply black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
842871c6dc bindings: (fixes #796) Gracefully exit when bindings are unavailable 2023-11-03 01:28:26 +00:00
Tommaso Pecorella
d21bdd501a tap-bridge: initialize m_linkUp 2023-10-21 01:00:02 +00:00
Eduardo Almeida
1f438ce6f4 Fix clang-tidy modernize-use-auto warnings 2023-09-18 00:36:46 +01:00
Tom Henderson
be4199879a tap-bridge: Update tap-wifi-dumbbell example 2023-06-21 04:29:24 +00: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
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
a93c357141 Fix clang-tidy readability-simplify-boolean-expr warnings 2023-05-07 19:06:35 +01:00
Tom Henderson
acbef0e96c tap-bridge: Update shell choice for scripts 2023-02-28 21:19:48 -08:00
Bill Tao
0e0d10b617 tap-bridge: (fixes #839) Update LXC configuration files 2023-02-28 21:19:04 -08:00
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03: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
219d958ee4 core, click, tap-bridge: Fix clang-tidy readability-string-compare warnings 2022-10-28 16:31:10 +01:00
Eduardo Almeida
fd6b26332f tap-bridge: Remove duplicate #define in tap-creator.cc 2022-10-28 14:35:54 +00:00
Eduardo Almeida
dfc6fb9d2d Remove emacs comment from C++ files 2022-10-14 14:13:12 +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
c1e7757315 Fix clang-tidy readability-isolate-declaration 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
3e39cb0724 Fix formatting of some files before clang-format application 2022-10-06 20:41:07 +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
Gabriel Ferreira
a25e553fa2 build, bindings: check if cppyy is available at runtime and format cmake 2022-08-05 01:17:00 -03:00
Tommaso Pecorella
5e551a2180 core: (fixes #416) remove librt checks 2022-08-05 01:42:12 +00:00
Gabriel Ferreira
36df81be90 bindings: replace pybindgen bindings support with cppyy bindings 2022-08-01 21:24:02 +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
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00