Add the suffix field onto the general messages.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-06-03 18:55:42 +02:00
parent 0afedd7993
commit 2633df45cf
1 changed files with 4 additions and 0 deletions

4
msg.h
View File

@ -87,6 +87,7 @@ struct announce_msg {
struct ClockIdentity grandmasterIdentity; struct ClockIdentity grandmasterIdentity;
UInteger16 stepsRemoved; UInteger16 stepsRemoved;
Enumeration8 timeSource; Enumeration8 timeSource;
uint8_t suffix[0];
} PACKED; } PACKED;
struct sync_msg { struct sync_msg {
@ -102,12 +103,14 @@ struct delay_req_msg {
struct follow_up_msg { struct follow_up_msg {
struct ptp_header hdr; struct ptp_header hdr;
struct Timestamp preciseOriginTimestamp; struct Timestamp preciseOriginTimestamp;
uint8_t suffix[0];
} PACKED; } PACKED;
struct delay_resp_msg { struct delay_resp_msg {
struct ptp_header hdr; struct ptp_header hdr;
struct Timestamp receiveTimestamp; struct Timestamp receiveTimestamp;
struct PortIdentity requestingPortIdentity; struct PortIdentity requestingPortIdentity;
uint8_t suffix[0];
} PACKED; } PACKED;
struct pdelay_req_msg { struct pdelay_req_msg {
@ -126,6 +129,7 @@ struct pdelay_resp_fup_msg {
struct ptp_header hdr; struct ptp_header hdr;
struct Timestamp responseOriginTimestamp; struct Timestamp responseOriginTimestamp;
struct PortIdentity requestingPortIdentity; struct PortIdentity requestingPortIdentity;
uint8_t suffix[0];
} PACKED; } PACKED;
struct ptp_message { struct ptp_message {