The console tool can generate deterministic validation traffic without opening a NIC.
dotnet run --project .\src\PtpLabClock.Console -- --validate-protocol --domain 0To export validation frames to PCAP:
dotnet run --project .\src\PtpLabClock.Console -- --validate-protocol --domain 0 --export-pcap .\captures\ptp-validation.pcapValidation currently covers:
- Announce
- Sync
- Follow_Up
- VLAN Announce
- QinQ Sync
- Pdelay_Req
- Pdelay_Resp
- Pdelay_Resp_Follow_Up
Open the PCAP in Wireshark and use:
eth.type == 0x88f7 or ptp
Deterministic PCAP fixtures are stored under:
tests/PtpLabClock.Protocol.Tests/Fixtures/pcap/
They cover untagged Announce, VLAN Sync/Follow_Up, QinQ Pdelay, and a mixed process-bus smoke fixture. See Golden PCAP fixtures.