Collection of Facebook's PTP libraries.
Implementation of PTPv2.1 (IEEE 1588-2019) protocol
Library to work with PTP Hardware Clock (PHC).
Simple tool to read pcap/pcapng captures and parse and print PTP packets from there. Allows to test our protocol parser implementation against arbitrary tcpdump capture. Also the code shows integration with GoPacket library.
CLI tool to triangulate datacenter switches that are not operating correctly as PTP Transparent Clocks.
CLI and library to perform various PTP-related tasks, including:
- reporting stats taken from local PTP instance in JSON format
- running basic unicast client to showcase or debug PTP protocol internals
- running human-readable diagnostics for basic problems with PTP based on data from local PTP client (ptp4l).
- comparing system time with PHC time
- mapping PHC devices to network cards and vice versa
go get github.com/facebookincubator/ptp/ptpcheck
Scalable unicast PTP server.
go get github.com/facebookincubator/ptp/ptp4u
Basic PTPv2.1 two-step unicast client implementation.
Implementation of monitoring protocol used by Orolia oscillatord.
PTP is licensed under Apache 2.0 as found in the LICENSE file.