Skip to content

Reintroduce update packet to RFC 9260#442

Open
philipch07 wants to merge 1 commit intomasterfrom
pch07/update-packet-to-rfc-9260
Open

Reintroduce update packet to RFC 9260#442
philipch07 wants to merge 1 commit intomasterfrom
pch07/update-packet-to-rfc-9260

Conversation

@philipch07
Copy link
Contributor

Description

This reverts commit 096446a, where it was reverted temporarily since it caused some checksum issues due to the rest of SCTP not being in line with RFC 9260 (essentially we should merge all the changes at once instead of piece by piece).

See previous PR body

Description

  • Updates packet.go to conform to RFC 9260.
  • Adds fuzz tests for packet un/marshalling behavior.

Note: The chunk test is modified since it uses packets, which has changed.

Reference issue

A part of #402. Split from #406.

@philipch07 philipch07 force-pushed the pch07/update-packet-to-rfc-9260 branch from 4d51282 to a8e9a70 Compare November 29, 2025 21:06
@codecov
Copy link

codecov bot commented Nov 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.00%. Comparing base (4d42391) to head (a8e9a70).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #442      +/-   ##
==========================================
+ Coverage   83.81%   84.00%   +0.18%     
==========================================
  Files          51       51              
  Lines        3447     3450       +3     
==========================================
+ Hits         2889     2898       +9     
+ Misses        421      414       -7     
- Partials      137      138       +1     
Flag Coverage Δ
go 84.00% <100.00%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant