Commit Graph

584 Commits

Author SHA1 Message Date
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03:00
Eduardo Almeida
c5371d938c Fix clang-tidy readability-make-member-function-const warnings 2023-02-21 16:09:35 +00:00
Eduardo Almeida
d3426db18d Fix typos 2023-02-09 15:36:32 +00:00
Eduardo Almeida
971e5c15fa Fix clang-tidy readability-container-size-empty warnings 2023-02-02 17:41:31 +00:00
Tommaso Pecorella
06d0ff20d0 doc: (fixes #817) various fixes highlighted by doxygen 1.9.6 2023-01-26 15:32:58 +00:00
Peter D. Barnes, Jr
700543b01a doc: remove space before paren in code samples 2023-01-05 23:47:13 +00:00
Peter D. Barnes, Jr
820c029e8b doc: (void)' -> ()' in documentation 2023-01-05 23:47:13 +00:00
Eduardo Almeida
5c8b820b7b Remove unneeded typedef in struct and enum 2022-12-22 17:36:30 +00:00
Stefano Avallone
3468c77461 network: Add operators to decrease the queue size by a packet size 2022-12-06 17:22:03 +00:00
Stefano Avallone
aa9cefe502 network: ScheduleNow() not only the wake callback, but also the check on its condition
The wake callback is scheduled "now" to let the flow of operations associated with
dequeue/remove complete before the flow control mechanism is triggered. Move the check on
the conditions for calling the wake callback after the flow of operations is completed
as well, in case the latter affect such conditions.
2022-12-06 17:22:03 +00:00
Stefano Avallone
a14525f632 network: Fix ListErrorModel since UIDs are uint64_t values 2022-12-06 17:22:03 +00:00
Eduardo Almeida
4930479af4 Remove enum / struct specifiers when declaring the variable's type 2022-12-05 19:05:45 +00:00
Lars Toenning
d2d64bedef applications: Fix ApplicationContainer documentation 2022-12-04 12:21:29 -08:00
Eduardo Almeida
01c1e7eced internet, lte, network, olsr: Isolate variable declaration from struct definition 2022-12-03 04:42:27 +00:00
Eduardo Almeida
18225243f2 examples: Add missing return 0 2022-11-29 21:33:09 +00:00
Tommaso Pecorella
520865a919 internet: fixes to IPv4 subnet-directed broadcast 2022-11-28 01:26:07 +01:00
Tommaso Pecorella
a9223622da network: make addresses ConvertTo public and simplify python scripts 2022-11-25 01:36:26 +00:00
Eduardo Almeida
b9562ba520 Fix formatting of braced-init-lists by adding trailing comma 2022-11-24 16:13:09 +00:00
Gabriel Arrobo
095313c9cb network: Improve Doxygen in delay-jitter-estimation.h 2022-11-12 18:49:23 +00:00
Gabriel Arrobo
28e4d6d8a9 network, examples: Use TimestampTag from network module 2022-11-12 18:17:48 +00:00
Gabriel Arrobo
829e5869f8 network: Add TimestampTag 2022-11-12 18:17:47 +00:00
Tommaso Pecorella
0346179372 network: allow graceful failure on creation of Ipv[4,6]Address from string 2022-11-11 10:18:25 +00:00
Eduardo Almeida
0eedaf34a0 network: Fix variable type declarations 2022-10-28 21:48:03 +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
bfb737a0d9 Remove unnecessary [[maybe_unused]] specifiers 2022-10-24 11:58:49 +00:00
Eduardo Almeida
b048f70912 Fix the [[maybe_unused]] specifier placement to always come after the variable name 2022-10-24 11:58:49 +00:00
Stefano Avallone
a7c46386bb network: Fix doxygen for Trailer::Deserialize() methods 2022-10-21 12:01:38 +02:00
Eduardo Almeida
85ade4e18d Fix Doxygen comment formatting and typos 2022-10-16 14:49:21 +01: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
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Eduardo Almeida
ebb596910c Fix remaining clang-tidy warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
afb0f160d4 Fix clang-tidy performance-faster-string-find warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
c1e7757315 Fix clang-tidy readability-isolate-declaration warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
1b78ecc117 Fix clang-tidy readability-braces-around-statements 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
4c318dde52 Fix missing includes 2022-10-06 20:41:07 +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
db492fd84f network: Document PacketDataCalculators::DoDispose 2022-09-30 19:14:46 -03:00
Eduardo Almeida
820ad760b8 Fix clang-tidy readability-redundant-control-flow warnings 2022-09-29 20:06:57 +01:00
Eduardo Almeida
6e541f9c87 network: Isolate variables declaration in NS_PCAP_TEST_EXPECT_EQ()
Also convert tabs to spaces.
2022-09-28 19:05:12 +00:00
Peter D. Barnes, Jr
d635a72cbc Use variadic argument lists in various Helpers.
QosWaveMacHelper::SetType() and NqosWaveMacHelper::SetType() were
virtual, but then they can't be templated to handle variadic
argument lists.  The base class is not virtual, and nothing derives from
these classes, so virtual doesn't seem to be required.
2022-09-04 12:01:11 -07:00
Stefano Avallone
7193a5f96d network: Add a function to test header (de)serialization 2022-08-31 07:16:10 +00:00
Eduardo Almeida
db00cfbee6 network: Make NodeContainer(int, int) constructor explicit 2022-08-22 18:57:59 +01:00
Eduardo Almeida
6d2f0f29f6 network: Change NodeContainer constructor to accept multiple NodeContainer arguments 2022-08-22 18:29:00 +01:00