Commit Graph

307 Commits

Author SHA1 Message Date
Gabriel Ferreira
8ed3efb7fa network: (fixes #1038) Move header-serialization-test.h file from tests to utils directory 2025-07-10 11:54:45 +02:00
Stefano Avallone
8adca5d42d Fix misuse of Create<>() function
If Create<>() is used to create an object of an Object subclass,
attributes are not initialized.
2025-06-13 13:27:40 +00:00
Gabriel Ferreira
c0010702ce Replace C stdlib.h, stdint.h and math.h headers with C++ variants 2025-06-05 10:14:19 +02:00
Tommaso Pecorella
e3094c99ba network: remove vim mode line 2025-04-20 16:52:14 +02:00
Tommaso Pecorella
a3ec4ecfbe network: add a function to detect IPv4 APIPA addresses 2025-03-14 23:17:54 +01:00
Eduardo Almeida
2c4bcab296 clang-format formatting harmonization (merge split strings) 2025-03-11 22:09:09 +00:00
Eduardo Almeida
730ea53f16 Remove ending comments in closing braces 2025-03-11 02:35:32 +00:00
Eduardo Almeida
28895f59d5 Fix clang-tidy modernize-type-traits warnings
Detected by clang-tidy-19
2025-02-06 16:53:40 +00:00
Eduardo Almeida
5d40873e2b Fix clang-tidy readability-static-accessed-through-instance warnings
Detected by clang-tidy-19
2025-02-06 16:53:40 +00:00
Stefano Avallone
db60ebe9d8 network: Fix DataRate parser to allow whitespace between value and unit (as claimed) 2025-01-26 15:09:06 +01:00
Eduardo Almeida
f6e1ee4282 Convert ns-3 #include headers to quotes 2025-01-17 19:02:17 +00:00
Gabriel Ferreira
0e41a5555f check-style: Replace NBSP with empty space 2024-11-10 20:11:29 +01: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
Tommaso Pecorella
b77d4a8624 network: add missing header to radiotap 2024-10-30 13:10:37 +01:00
Sébastien Deronne
82da636bc5 network: Add support for EHT field in radiotap header 2024-10-29 18:31:17 +01:00
Sébastien Deronne
18aab3c7ab network: Add support for U-SIG field in radiotap header 2024-10-29 18:31:17 +01:00
Sébastien Deronne
405b72ac07 network: Add support for TLV fields in radiotap header 2024-10-29 18:31:17 +01:00
Sébastien Deronne
88cca12375 wifi, network: Various improvements for radiotap headers 2024-10-29 18:31:17 +01:00
Sébastien Deronne
e8310b680c network: Add utility function to convert IP address with port to a socket address 2024-10-20 17:49:46 +02:00
wzfelix
6941796ce2 network: remove unused object from PacketSocket 2024-09-13 21:19:03 +00:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
Eduardo Almeida
e8ed6a539c Fix Doxygen formatting 2024-08-29 01:03:20 +00:00
Tommaso Pecorella
9e9c8d2bc2 network: allow questionable (but not malformed) PbbPacket 2024-07-25 12:31:19 -05:00
Eduardo Almeida
493af3b0ea network, tc, tcp: Change Doxygen verbatim blocks to code block 2024-06-07 17:31:32 +00:00
Nakayama Kenjiro
3c4019304a build: Enable BSD support 2024-06-02 07:46:55 +00:00
Gabriel Ferreira
01138ef2d7 (fixes #161) Deprecate EventId::IsRunning() and replace it with EventId::IsPending() 2024-05-14 12:40:54 -03:00
Eduardo Almeida
79186a8b8b Fix clang-tidy bugprone-branch-clone warnings 2024-05-11 02:56:07 +01:00
Gabriel Ferreira
150fb0e1ce Enable pedantic checks for C++ conformance 2024-04-21 17:02:07 +00:00
Tommaso Pecorella
dc06225749 network: extend addressUtils::IsMulticast to handle more cases 2024-03-03 19:08:29 +01: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
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
Stefano Avallone
afe0c6b0f2 network: Packet socket client does not schedule Send() for bursts of packets 2023-11-17 08:47:45 +01:00
Eduardo Almeida
0cb17f8281 Simplify formatting by removing redundant parenthesis and semicolons 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
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
6923de623c Remove redundant break after return 2023-06-01 17:26:54 +00: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
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
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