Skip to content

PTP wire protocol crate#2170

Merged
rnijveld merged 14 commits intomainfrom
ptp-wire
Apr 16, 2026
Merged

PTP wire protocol crate#2170
rnijveld merged 14 commits intomainfrom
ptp-wire

Conversation

@davidv1992
Copy link
Copy Markdown
Member

Initial work for CSPTP implementation. Provides the basic wire protocol parts of PTP.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 86.92197% with 181 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.57%. Comparing base (5b51c90) to head (0aad213).
⚠️ Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
statime-wire/src/common/tlv.rs 68.26% 66 Missing ⚠️
statime-wire/src/messages/header.rs 91.10% 25 Missing ⚠️
statime-wire/src/messages/management.rs 44.73% 21 Missing ⚠️
statime-wire/src/common/timestamp.rs 75.32% 19 Missing ⚠️
statime-wire/src/messages/mod.rs 88.03% 14 Missing ⚠️
statime-wire/src/common/clock_quality.rs 79.16% 10 Missing ⚠️
statime-wire/src/common/clock_identity.rs 82.60% 8 Missing ⚠️
statime-wire/src/lib.rs 0.00% 5 Missing ⚠️
statime-wire/src/common/time_interval.rs 91.66% 4 Missing ⚠️
statime-wire/src/common/clock_accuracy.rs 96.47% 3 Missing ⚠️
... and 6 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2170      +/-   ##
==========================================
+ Coverage   83.35%   83.57%   +0.22%     
==========================================
  Files          72       93      +21     
  Lines       20257    21641    +1384     
==========================================
+ Hits        16885    18087    +1202     
- Misses       3372     3554     +182     
Flag Coverage Δ
fuzz-cookie_parsing_sound 0.40% <ø> (ø)
fuzz-duration_from_float 0.27% <ø> (ø)
fuzz-encrypted_client_parsing 6.74% <ø> (+0.06%) ⬆️
fuzz-encrypted_server_parsing 9.85% <ø> (-0.02%) ⬇️
fuzz-handle 12.48% <ø> (+1.17%) ⬆️
fuzz-ipfilter 2.54% <ø> (ø)
fuzz-key_exchange_request_parsing 3.80% <ø> (-1.33%) ⬇️
fuzz-key_exchange_response_parsing 3.75% <ø> (+0.01%) ⬆️
fuzz-packet_keyset 4.99% <ø> (-0.73%) ⬇️
fuzz-packet_parsing_sound 5.26% <ø> (-0.93%) ⬇️
fuzz-ptp_message_parsing 60.26% <60.26%> (?)
fuzz-record_encode_decode 4.51% <ø> (ø)
test-aarch64-apple-darwin 82.53% <73.91%> (-0.60%) ⬇️
test-x86_64-unknown-linux-gnu 82.45% <73.91%> (-0.59%) ⬇️
test-x86_64-unknown-linux-musl 82.45% <73.91%> (-0.59%) ⬇️

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.

@rnijveld
Copy link
Copy Markdown
Member

rnijveld commented Apr 9, 2026

Looks good, needs a rebase, I would rename it to statime-wire.

@davidv1992 davidv1992 force-pushed the ptp-wire branch 3 times, most recently from 1c40c7f to e7c4d6b Compare April 15, 2026 08:05
@rnijveld rnijveld enabled auto-merge April 16, 2026 09:05
@rnijveld rnijveld added this pull request to the merge queue Apr 16, 2026
Merged via the queue into main with commit 79d5581 Apr 16, 2026
32 checks passed
@rnijveld rnijveld deleted the ptp-wire branch April 16, 2026 09:15
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.

2 participants