ptp/

directory
v0.0.0-...-13f1451 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2026 License: Apache-2.0

README

PTP

Collection of Facebook's PTP libraries.

Protocol

Partial implementation of PTPv2.1 (IEEE 1588-2019) protocol

ptp4u

Scalable unicast PTP server supporting PTP and SPTP.

Quick Installation
go install github.com/facebook/time/cmd/ptp4u@latest

SPTP

Scalable unicast SPTP client.

Quick Installation
go install github.com/facebook/time/cmd/sptp@latest

Simpleclient

Basic PTPv2.1 two-step unicast client implementation.

linearizability

Library to perform 'linearizability tests' - when we talk to remote GM using DelayRequest packets and compare clocks.

Directories

Path Synopsis
c4u
stats
Package stats implements statistics collection and reporting.
Package stats implements statistics collection and reporting.
Package pdelay implements PTP Peer Delay measurement for in-rack linearizability checks.
Package pdelay implements PTP Peer Delay measurement for in-rack linearizability checks.
Package protocol implements a subset of the PTPv2.1 protocol (IEEE 1588-2019).
Package protocol implements a subset of the PTPv2.1 protocol (IEEE 1588-2019).
ptp4u
server
Package server implements simple Unicast PTP UDP server.
Package server implements simple Unicast PTP UDP server.
stats
Package stats implements statistics collection and reporting.
Package stats implements statistics collection and reporting.
Package simpleclient provides very simplistic PTPv2 unicast client.
Package simpleclient provides very simplistic PTPv2 unicast client.
sptp
asymmetry
Package asymmetry decides when a grandmaster's response port should move.
Package asymmetry decides when a grandmaster's response port should move.
bmc
client/measurement
Package measurements holds the path delay window and the screen applied to it, shared by the grandmaster path, which learns its estimate across time, and the in-rack peer path, which learns it across peers.
Package measurements holds the path delay window and the screen applied to it, shared by the grandmaster path, which learns its estimate across time, and the in-rack peer path, which learns it across peers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL