Commit Graph

39 Commits

Author SHA1 Message Date
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
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
0cb17f8281 Simplify formatting by removing redundant parenthesis and semicolons 2023-10-31 17:59:16 +00:00
Eduardo Almeida
1f438ce6f4 Fix clang-tidy modernize-use-auto warnings 2023-09-18 00:36:46 +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
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
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
6bb6383562 Fix clang-tidy modernize-redundant-void-arg warnings 2022-10-07 11:48:10 +00:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Tom Henderson
302a462463 network: (fixes #216) Correct the return value for PacketSocket::SendTo () 2020-05-31 18:43:04 -07:00
Peter D. Barnes, Jr.
88b9ea15bb network: (fixes #2221) Remove size constraint of Tag objects 2016-11-27 07:49:26 -08:00
Stefano Avallone
8ae37fc7ff network: Packet sockets add a priority tag if a priority is set 2016-07-14 15:59:56 +02:00
Tommaso Pecorella
afa5de4a78 internet: (fixes #231) Remove SocketAddressTag
SocketAddressTag was a long-standing API glitch. It was used to replicate the RecvFrom effect (i.e., to know the source address of packet) without calling RecvFrom.
This option is more harmful than useful, because in case of tunnels the new tag needs to replace the old one. Moreover, there is no real need to create a new API when there is a perfectly working one (i.e., RecvFrom).
2016-06-02 01:16:39 +02:00
Tom Goff
46fa78e7fa internet: (fixes #1835) Implement Socket::GetPeerName() 2016-02-24 13:14:51 -08:00
Tom Henderson
491afdbe23 do not use output address parameter (possibly uninitialized) before assignment 2015-12-15 23:30:52 -08:00
Tom Henderson
c59aea3b31 avoid conversion operation on output Address parameter; a generic Address object may have been passed in 2015-12-14 17:16:43 -08:00
Mohit Goyal
811962d3e0 SetGroupName for network module 2015-03-27 07:03:58 -07:00
Peter D. Barnes, Jr.
4cb9c7b916 TracedCallback function signatures, the simple ones.
These are TracedCallback function signatures for traces sources
using a single argument.
2014-10-03 02:24:42 -07:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
cd3da7143d [doxygen] Revert r10410, r10411, r10412 2014-03-05 17:06:59 -08:00
Peter D. Barnes, Jr.
d75ff3559e doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented" 2013-11-14 16:58:28 -08:00
Peter D. Barnes, Jr.
4fc79291b9 Use PacketTagList::TagData::MAX_SIZE in DeviceNameTag 2013-05-22 12:57:58 -07:00
frederic.
b936760604 fix bug on previous commit 2013-01-10 18:29:32 +01:00
frederic.
81e8199503 Add some tags to packets passing through PacketSocket. 2013-01-09 13:45:23 +01:00
Maja Grubišić
6c6e275ec2 Clean up function logging of network module. 2012-11-16 22:27:18 +01:00
Nicola Baldo
45c6e9c9d0 fixed bug 1283: PacketSocket::SendTo should return number of bytes 2012-03-07 17:14:41 +01:00
Ken Renard
cf2e9f8212 Add support for IPv6 transport protocols 2012-02-20 14:05:07 +01:00
Andrey Mazo
cec21ade43 Bug 1170: Formulate best practices for dealing with unused debug variables. 2012-02-10 19:02:12 +04:00
Vedran Miletić
0538e655aa standardize ns-3 namespace declaration format 2011-08-02 17:43:32 -04:00
Vedran Miletić
fe0667def8 standardize emacs c++ mode comments 2011-08-02 17:42:33 -04:00
Tom Henderson
2a2690a003 rerun check-style.py at default level to enforce space after function name 2011-05-22 23:18:47 -07:00
Tom Henderson
34688f76ec rerun check-style.py with uncrustify-0.58 2011-05-22 22:28:15 -07:00
John Abraham
a68f743413 Bug 1154 part 2 'found' set but not used, g++ > 4.6.0 2011-05-14 04:24:34 -04:00
Josh Pelkey
30fd9b6bee network coding style changes 2011-05-13 14:57:43 -04:00
Tom Henderson
ca7b93cc3d Merge node and common modules into new network module 2011-02-21 09:11:37 -08:00