Andreas Boltres
f70eabb0f9
tcp: Add TCP retransmission trace source
2024-09-27 09:25:08 -07:00
Vivek Jain
b5d00ca5bc
tcp: ( fixes #1126 ) Fix bytesAcked calculation in ProcessAck
...
* Updated the `bytesAcked` assignment to use `currentDelivered` instead
of calculating it from `ackNumber` and `oldHeadSequence` for better
accuracy in acknowledgment handling.
* Added `currentDelivered` and `oldHeadSequence` to the NS_LOG_FUNCTION
call for improved logging and debugging.
2024-09-25 14:22:42 -07:00
Aniket Singh
3ac4ea7ce3
tcp: ( fixes #1011 ) Forbid ECN-marking of retransmissions, window probes and pure ACKs
2024-09-18 15:32:07 +00:00
André Apitzsch
8bc94a1cc3
Use SPDX license identifiers
2024-09-06 19:32:31 +00:00
Ghostyhands
209c593a00
tcp: (merges !2083 ) Consider segmentSize send limit while checking for cwnd rate-limit
2024-09-06 15:27:54 +00:00
Aniket Singh
867a0c7bb0
tcp: Take RTT samples from retransmitted segments when the TS option is employed
2024-07-20 15:08:30 +00:00
Aniket Singh
c58ceb3ae8
tcp: Add RecoveryOps attribute to TcpSocketBase
2024-07-10 04:12:40 +00:00
Aniket Singh
3be702f769
tcp ( fixes #1043 ): Fix BBR incorrect minRtt updates
2024-07-03 17:35:06 +00:00
Tom Henderson
f75345fa03
tcp ( fixes #966 ): Suppress cwnd growth when rate-limited
2024-05-26 14:32:46 +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
Tommaso Pecorella
ca83416d07
internet: ( fixes #1006 ) Remove InetSocketAddress ToS functions and replace with attributes
2024-02-16 12:40:18 -06:00
André Apitzsch
647149e39a
Add enum class support to EnumValue
2024-01-31 15:32:16 +01:00
Levente Mészáros
5b7dd0123a
tcp: ( fixes #989 ) Fix IsLost() condition for entering recovery
2024-01-30 15:31:29 +00:00
Levente Mészáros
951f13c2fd
tcp: ( fixes #987 ) Fix retransmission of wrong segment
2024-01-30 15:31:29 +00:00
Eduardo Almeida
1f438ce6f4
Fix clang-tidy modernize-use-auto warnings
2023-09-18 00:36:46 +01:00
Eduardo Almeida
ba859a0d66
Fix clang-tidy modernize-use-bool-literals warnings
2023-09-15 16:36:26 +00:00
Tommaso Pecorella
06290ae5da
internet: ( fixes #910 ) Release memory when sockets are closed
2023-06-21 10:43:52 -05:00
André
a207fb6766
internet: Remove unused includes, add missing ones and remove "ns3/" prefix from local headers
2023-05-19 16:44:52 +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
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
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
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
1b78ecc117
Fix clang-tidy readability-braces-around-statements warnings
2022-10-07 11:48:11 +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
Eduardo Almeida
820ad760b8
Fix clang-tidy readability-redundant-control-flow warnings
2022-09-29 20:06:57 +01:00
Peter D. Barnes, Jr
c9b72c7a35
doc: remove trailing white space in attributes and trace source strings
2022-08-30 20:30:42 +00:00
Peter D. Barnes, Jr
e461e54d5a
Update Ptr validity checks to new Ptr<>::operator bool
2022-08-18 08:59:30 -07:00
Tom Henderson
b6a5ee8151
Run utils/trim-trailing-whitespace.py on codebase
2022-06-05 21:01:11 -07:00
Peter Barnes
0e685cbdbb
Use [[maybe_unused]] attribute directly, instead of NS_UNUSED
2021-12-21 10:32:43 +00:00
Ameya Deshpande
3294de1479
internet: Make similar functions in IPv4 and IPv6 consistent with naming
2021-08-09 16:42:23 +00:00
Vivek Jain
86755f4175
tcp: Added BBR Congestion control
2021-06-07 14:51:13 -07:00
Tommaso Pecorella
21fb224e8a
internet: fix doxygen warnings
2021-05-01 04:14:27 +02:00
Tommaso Pecorella
f0c3538072
internet: ( fixes #374 ) TCP - assume RTT is 1us if TS opt. is zero
2021-04-13 13:03:04 +00:00
Tom Henderson
63e39227a3
tcp: Provide attribute to access TcpCongestionOps object
2020-12-22 08:23:30 -08:00
Tom Henderson
12b82f2c5d
tcp: Update handling of CWR state
...
* CWR state should be left when a RTT is observed, not by noticing
the lack of ECE ACKs
* Ensure that PktsAcked() is called during CWR
2020-12-22 08:23:30 -08:00
Tom Henderson
8e5d2165c1
tcp: Move cWnd assignment outside of ExitRecovery()
2020-12-22 08:23:30 -08:00
Tom Henderson
993226f55b
tcp: Add CWR state for the recovery phase after ECN-Echo (ECE)
2020-12-22 08:23:30 -08:00
Vivek Jain
5b0866813c
tcp: ( fixes #283 ) Update previousLost and priorInFlight on receiption of ACK
2020-11-02 12:05:13 -08:00
Xiuchao Wu
41ff743383
tcp: (merges !368 ) Fix assert in tx-buffer when loss rate high and w/o SACK
2020-09-27 21:32:07 -07:00
Deepak Kumaraswamy
3552db04ce
tcp: Add dynamic pacing implementation based on Linux internal pacing
...
Includes contributions from Tom Henderson, Vivek Jain, and Viyom Mittal
2020-08-31 08:54:32 -07:00
Apoorva Bhargava
721dc72499
tcp (merges !289 ) Align ns-3 TCP PRR with that of Linux
...
1) Handle the ACK of retransmitted data in PRR.
2) Follow a Linux like behavior on exiting recovery. After exiting recovery,
Linux starts increasing the window, but this was not happening in ns-3.
2020-08-06 10:24:40 -07:00
Tom Henderson
52e7ea005d
tcp: Postpone state updating until after log statement
2020-07-27 12:01:27 -07:00