Commit Graph

627 Commits

Author SHA1 Message Date
Gabriel Ferreira
150fb0e1ce Enable pedantic checks for C++ conformance 2024-04-21 17:02:07 +00:00
Tom Henderson
28e764173c network: Remove logging of ns3::Node getters 2024-04-05 13:36:50 +00:00
Sébastien Deronne
4d098adbb2 network: Add common helper base class 2024-03-16 09:03:30 +01:00
Sébastien Deronne
e90a8924f5 network, applications, internet-apps: Add AssignStreams method to application base class 2024-03-16 09:03:30 +01:00
André Apitzsch
a5c42bc879 core: Use enum class for TestSuite::Type 2024-03-15 09:27:53 +01:00
André Apitzsch
e46d2a8024 core: Use enum class for TestCase::TestDuration and rename it to TestCase:Duration 2024-03-15 09:27:52 +01:00
Tommaso Pecorella
dc06225749 network: extend addressUtils::IsMulticast to handle more cases 2024-03-03 19:08:29 +01:00
Tommaso Pecorella
fe895b5b4f network: do not print an invalid (0-length) address 2024-02-22 13:51:49 -06:00
Tommaso Pecorella
ca83416d07 internet: (fixes #1006) Remove InetSocketAddress ToS functions and replace with attributes 2024-02-16 12:40:18 -06: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
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