ptp

module
v0.0.0-...-a34aaee Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: Apache-2.0

README

PTP CircleCI GoDoc

Collection of Facebook's PTP libraries.

Protocol

Implementation of PTPv2.1 (IEEE 1588-2019) protocol

PHC

Library to work with PTP Hardware Clock (PHC).

pshark

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.

ziffy

CLI tool to triangulate datacenter switches that are not operating correctly as PTP Transparent Clocks.

ptpcheck

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
Quick Installation
go get github.com/facebookincubator/ptp/ptpcheck

ptp4u

Scalable unicast PTP server.

Quick Installation
go get github.com/facebookincubator/ptp/ptp4u

Simpleclient

Basic PTPv2.1 two-step unicast client implementation.

oscillatord

Implementation of monitoring protocol used by Orolia oscillatord.

License

PTP is licensed under Apache 2.0 as found in the LICENSE file.

Directories

Path Synopsis
Package oscillatord implements monitoring protocol used by Orolia's oscillatord, daemon for disciplining an oscillator.
Package oscillatord implements monitoring protocol used by Orolia's oscillatord, daemon for disciplining an oscillator.
Package phc contains code to work with PTP Hardware Clock (PHC).
Package phc contains code to work with PTP Hardware Clock (PHC).
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).
stats
Package stats implements statistics collection and reporting.
Package stats implements statistics collection and reporting.
cmd
Package simpleclient provides very simplistic PTPv2 unicast client.
Package simpleclient provides very simplistic PTPv2 unicast client.

Jump to

Keyboard shortcuts

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