wenquan2015 commented on code in PR #3782:
URL: https://github.com/apache/nuttx-apps/pull/3782#discussion_r4025765417


##########
netutils/ptpd/ptpd.c:
##########
@@ -861,7 +861,25 @@ static int ptp_sendmsg(FAR struct ptp_state_s *state, FAR 
const void *buf,
 
   if (sendts != NULL)
     {
+#ifdef SIOCG_TX_HW_TIMESTAMP
+      struct ifreq req;

Review Comment:
   better to use SO_TIMESTAMPING TX HARDWEAR with MSG_ERRQUEUE based on 
https://github.com/apache/nuttx/pull/20161



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to