This will be needed in order to support the NetSync Monitor protocol. Signed-off-by: Richard Cochran <richardcoch...@gmail.com> --- msg.c | 2 ++ msg.h | 1 + 2 files changed, 3 insertions(+)
diff --git a/msg.c b/msg.c index 29af416..6a4fc9a 100644 --- a/msg.c +++ b/msg.c @@ -282,6 +282,7 @@ int msg_post_recv(struct ptp_message *m, int cnt) timestamp_post_recv(m, &m->sync.originTimestamp); break; case DELAY_REQ: + suffix = m->delay_req.suffix; break; case PDELAY_REQ: break; @@ -341,6 +342,7 @@ int msg_pre_send(struct ptp_message *m) case SYNC: break; case DELAY_REQ: + suffix = m->delay_req.suffix; break; case PDELAY_REQ: break; diff --git a/msg.h b/msg.h index 12e6ce8..d4f237e 100644 --- a/msg.h +++ b/msg.h @@ -114,6 +114,7 @@ struct sync_msg { struct delay_req_msg { struct ptp_header hdr; struct Timestamp originTimestamp; + uint8_t suffix[0]; } PACKED; struct follow_up_msg { -- 2.11.0 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel