webrtc/net/dcsctp
Victor Boivie bd46bb7660 dcsctp: Support zero checksum packets
If configured, the packet parser will allow packets with
a set checksum of zero. In that case, the correct checksum
will not even be calculated, avoiding a CPU intensive
calculation.

Also, if specified when building a packet, the checksum can
be opted to be not calculated and written to the packet.
This is to be used when draft-tuexen-tsvwg-sctp-zero-checksum
has been negotiated, except for some packets during association
establishment.

This is mainly a preparation CL and follow-up CL will enable
this feature.

Low-Coverage-Reason: Affects debug logging code not run in tests
Bug: webrtc:14997
Change-Id: I3207ac3a626df039ee2990403c2edd6429f17617
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298481
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Victor Boivie <boivie@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39737}
2023-04-02 21:38:00 +00:00
..
common [Unwrap] Migrate dcsctp sequence numbers to SeqNumUnwrapper 2023-01-12 12:00:30 +00:00
fuzzers dcsctp: Generate lifecycle events 2022-07-06 08:04:15 +00:00
packet dcsctp: Support zero checksum packets 2023-04-02 21:38:00 +00:00
public dcsctp: Support zero checksum packets 2023-04-02 21:38:00 +00:00
rx dcsctp: Make use of log_prefix consistent 2023-03-15 22:15:05 +00:00
socket dcsctp: Support zero checksum packets 2023-04-02 21:38:00 +00:00
testing Remove dependency on rtc_base_approved from most targets 2022-04-25 12:15:30 +00:00
timer Implement support for Chrome task origin tracing. #3.5/4 2023-03-01 11:11:37 +00:00
tx dcsctp: Make use of log_prefix consistent 2023-03-15 22:15:05 +00:00
BUILD.gn dcsctp: Add socket fuzzer helper 2021-05-12 15:06:17 +00:00
OWNERS dcsctp: Add OWNERS file 2021-04-20 10:42:58 +00:00