This might be useful if ntpdata is changed to not require authorization
and new fields need to be added without breaking compatibility.
uint32_t total_tx_count;
uint32_t total_rx_count;
uint32_t total_valid_count;
+ uint32_t reserved[4];
int32_t EOR;
} RPY_NTPData;
tx_message->data.ntp_data.total_tx_count = htonl(report.total_tx_count);
tx_message->data.ntp_data.total_rx_count = htonl(report.total_rx_count);
tx_message->data.ntp_data.total_valid_count = htonl(report.total_valid_count);
+ memset(tx_message->data.ntp_data.reserved, 0xff, sizeof (tx_message->data.ntp_data.reserved));
}
/* ================================================== */