Commit Graph

616 Commits

Author SHA1 Message Date
Tom Henderson
ce636db415 network: (fixes #703) Initialize Channel objects at time zero 2024-01-24 05:22:07 +00:00
Tommaso Pecorella
28a2f2293c network: (fixes #1005) simplify and sanitize mac addresses parsing from strings 2024-01-13 21:19:45 -06: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é
b988187bd1 network: Use early return 2024-01-10 21:40:47 +00:00
Gabriel Ferreira
7806ff2e85 build: update LIBRARIES_TO_LINK lists with minimal sets 2023-12-15 13:24:29 -03:00
Sébastien Deronne
c24de8e319 network: use 32 bits instead of 16 bits to support larger packets 2023-12-05 20:31:07 +00:00
Stefano Avallone
afe0c6b0f2 network: Packet socket client does not schedule Send() for bursts of packets 2023-11-17 08:47:45 +01:00
Tommaso Pecorella
f3a96ef5b5 network: clarify error msg when PacketTags are added twice 2023-11-01 21:37:04 +00:00
Eduardo Almeida
0cb17f8281 Simplify formatting by removing redundant parenthesis and semicolons 2023-10-31 17:59:16 +00:00
Eduardo Almeida
16a4288636 Fix formatting inconsistencies between clang-format-17 and previous versions 2023-10-31 17:59:16 +00:00
Gabriel Ferreira
bb491ed153 network,wifi: lambda [=] doesn't implicitly capture this in c++20 2023-10-19 10:59:23 -03:00
Tommaso Pecorella
2d0a2f564a network: clarify socket creation error message 2023-10-03 10:25:19 +02: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
20f2d50097 Fix typos 2023-06-13 17:51:42 +00:00
Eduardo Almeida
1d277d1ebc core,lte,network: Convert single enum to constexpr 2023-06-08 19:28:41 +00:00
Eduardo Almeida
6923de623c Remove redundant break after return 2023-06-01 17:26:54 +00:00
Eduardo Almeida
42d6eea6de Remove emacs lines from Python and C++ files 2023-05-23 16:20:52 +00:00
Eduardo Almeida
99c802113b Remove unnecessary struct specifier 2023-05-13 20:27:17 +00:00
Eduardo Almeida
6ea0a8975e Remove unnecessary enum specifier 2023-05-13 19:51:45 +00:00
Eduardo Almeida
70f8f80d9b Fix clang-tidy performance-unnecessary-copy-initialization warnings 2023-05-07 22:07:12 +01:00
Eduardo Almeida
a93c357141 Fix clang-tidy readability-simplify-boolean-expr warnings 2023-05-07 19:06:35 +01:00
Eduardo Almeida
68ef2890d0 Remove unnecessary enum specifiers 2023-05-01 13:09:06 +00:00
Tommaso Pecorella
32e495dcbd network: remove pedantic asserts in metadata 2023-04-09 23:47:01 +02:00
Gabriel Ferreira
6e66cc3ae9 network: over-provision 100 bytes for Buffer allocations
Saves up 10 million allocations in wifi-he-network --simulationTime=0.25 --frequency=5 --useRts=0 --minExpectedThroughput=6 --maxExpectedThroughput=844
2023-04-08 14:15:19 -03:00
Alberto Gallegos
a3777c82f3 network: Add Mac16 and Mac64 functions 2023-04-02 13:05:14 +09:00
Alberto Gallegos
1083229fe1 network: Add ConvertToInt to Mac64Address 2023-03-28 12:10:18 +09:00
Gabriel Ferreira
540f48c55a Fix additional typos 2023-03-20 02:14:44 +00:00
Alberto Gallegos Ramonet
7786a55ec4 network: Add Mac16Address constructor 2023-03-17 18:16:23 +09:00
André Apitzsch
05af2f45e0 Remove unused 'deprecated.h' includes 2023-03-16 14:58:02 +00:00
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