From 2633df45cf6f1fb83a511efb6a421654a797e069 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 3 Jun 2012 18:55:42 +0200 Subject: [PATCH] Add the suffix field onto the general messages. Signed-off-by: Richard Cochran --- msg.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/msg.h b/msg.h index c422e77..517e173 100644 --- a/msg.h +++ b/msg.h @@ -87,6 +87,7 @@ struct announce_msg { struct ClockIdentity grandmasterIdentity; UInteger16 stepsRemoved; Enumeration8 timeSource; + uint8_t suffix[0]; } PACKED; struct sync_msg { @@ -102,12 +103,14 @@ struct delay_req_msg { struct follow_up_msg { struct ptp_header hdr; struct Timestamp preciseOriginTimestamp; + uint8_t suffix[0]; } PACKED; struct delay_resp_msg { struct ptp_header hdr; struct Timestamp receiveTimestamp; struct PortIdentity requestingPortIdentity; + uint8_t suffix[0]; } PACKED; struct pdelay_req_msg { @@ -126,6 +129,7 @@ struct pdelay_resp_fup_msg { struct ptp_header hdr; struct Timestamp responseOriginTimestamp; struct PortIdentity requestingPortIdentity; + uint8_t suffix[0]; } PACKED; struct ptp_message {