webrtc/net/dcsctp/socket
Victor Boivie 51b93a5417 dcsctp: Simplify interface for unchanged timeout
When a timer expires, it can optionally return a new expiration value.
Clearly, that value can't be zero, as that would make it expire
immediately again.

To simplify the interface, and make it easier to migrate to
rtc::TimeDelta, change it from an optional value to an always-present
value that - if zero - means that the expiration time should be
unchanged.

This is just an internal refactoring, and not part of any external
interface.

Bug: webrtc:15593
Change-Id: I6e7010d2dbe774ccb260e14fd6b9861c319e2411
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/325281
Commit-Queue: Victor Boivie <boivie@webrtc.org>
Reviewed-by: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41045}
2023-10-31 09:44:39 +00:00
..
BUILD.gn dcsctp: Add retransmission counters to metrics 2023-09-03 21:50:01 +00:00
callback_deferrer.cc dcsctp: Add API for lifecycle events 2022-07-01 10:59:25 +00:00
callback_deferrer.h dcsctp: Add API for lifecycle events 2022-07-01 10:59:25 +00:00
capabilities.h Reapply "dcsctp: Negotiate zero checksum" 2023-09-23 21:33:52 +00:00
context.h dcsctp: Add Context 2021-04-25 17:43:08 +00:00
dcsctp_socket.cc dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
dcsctp_socket.h dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
dcsctp_socket_network_test.cc Remove usage of rtc::MessageHandler in net/dcsctp 2022-08-18 09:18:40 +00:00
dcsctp_socket_test.cc dcsctp: Exit deferred stream reset on FORWARD-TSN 2023-09-26 07:30:24 +00:00
DEPS dcsctp: Add network/throughput tests 2021-09-30 07:59:58 +00:00
heartbeat_handler.cc dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
heartbeat_handler.h dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
heartbeat_handler_test.cc Reland "dcsctp: Support zero checksum packets" 2023-04-20 20:32:01 +00:00
mock_context.h dcsctp: Add API to indicate packet send status 2021-08-16 11:29:47 +00:00
mock_dcsctp_socket_callbacks.h dcsctp: Exit deferred stream reset on FORWARD-TSN 2023-09-26 07:30:24 +00:00
packet_sender.cc Reapply "dcsctp: Negotiate zero checksum" 2023-09-23 21:33:52 +00:00
packet_sender.h Reapply "dcsctp: Negotiate zero checksum" 2023-09-23 21:33:52 +00:00
packet_sender_test.cc dcsctp: Add PacketSender 2021-08-16 20:19:53 +00:00
state_cookie.cc Reapply "dcsctp: Negotiate zero checksum" 2023-09-23 21:33:52 +00:00
state_cookie.h Reapply "dcsctp: Negotiate zero checksum" 2023-09-23 21:33:52 +00:00
state_cookie_test.cc Reapply "dcsctp: Negotiate zero checksum" 2023-09-23 21:33:52 +00:00
stream_reset_handler.cc dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
stream_reset_handler.h dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
stream_reset_handler_test.cc dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
transmission_control_block.cc dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
transmission_control_block.h dcsctp: Simplify interface for unchanged timeout 2023-10-31 09:44:39 +00:00
transmission_control_block_test.cc Reapply "dcsctp: Negotiate zero checksum" 2023-09-23 21:33:52 +00:00