Commit Graph

290 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Eduardo Almeida
85ade4e18d Fix Doxygen comment formatting and typos 2022-10-16 14:49:21 +01:00