summaryrefslogtreecommitdiffstats
path: root/ptp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ptp.h')
-rw-r--r--ptp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ptp.h b/ptp.h
index 8034a2c..8bf639a 100644
--- a/ptp.h
+++ b/ptp.h
@@ -31,9 +31,10 @@
#include "ntp.h"
-#define PTP_VERSION 2
+#define PTP_VERSION_2 2
+#define PTP_VERSION_2_1 (2 | 1 << 4)
+#define PTP_TYPE_SYNC 0
#define PTP_TYPE_DELAY_REQ 1
-#define PTP_DOMAIN_NTP 123
#define PTP_FLAG_UNICAST (1 << (2 + 8))
#define PTP_TLV_NTP 0x2023