summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-05-14 14:35:32 (GMT)
committerSebastian Dröge <sebastian@centricular.com>2015-05-14 14:45:40 (GMT)
commit6feb8daa82ab19e878607bf38ff2de71b0679b79 (patch)
treedbd50e26bba0039477369df5fa5b4086c6fdc702 /README
downloadptp-clock-reflector-6feb8daa82ab19e878607bf38ff2de71b0679b79.zip
ptp-clock-reflector-6feb8daa82ab19e878607bf38ff2de71b0679b79.tar.gz
Initial commit
Diffstat (limited to 'README')
-rw-r--r--README23
1 files changed, 23 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..596f8fe
--- /dev/null
+++ b/README
@@ -0,0 +1,23 @@
+PTP Clock reflector
+===================
+
+Reflector takes packets from a PTP (IEEE1588:2008) clock running on PTP domain
+0, and makes it available on PTP domain 1 and also changes the clock
+identification accordingly.
+
+This allows making a local clock available on the network and reflecting it
+back to the same machine for testing of PTP clock implementations.
+
+Locally you can run ptpd from http://ptpd.sourceforge.net with
+ ptpd -i eth0 -M -n -C
+and a PTP slave clock, e.g.
+ http://cgit.freedesktop.org/~slomo/gstreamer/tree/tests/examples/ptp/ptp-print-times.c?h=ptp
+ ./ptp-print-times -d 1
+
+Remotely you can run reflector with
+ ./reflector
+
+The PTP slave clock will now get the local clock time from the network with 2
+round-trip times between the local and remote machine added. If the PTP slave
+clock implementation works correct, the difference between the local clock and
+the "remote" PTP clock should be approximately 0.