xiaoxiang781216 commented on code in PR #20346:
URL: https://github.com/apache/nuttx/pull/20346#discussion_r4107306724
##########
net/netdev/netdev_ioctl.c:
##########
@@ -1088,6 +1089,11 @@ static int netdev_ifr_ioctl(FAR struct socket *psock,
int cmd,
req->ifr_flags = dev->d_flags;
break;
+ case SIOCGIFTSCAPS: /* Gets timestamping capabilities */
+ req->ifr_flags = dev->d_features & (NETDEV_RX_STAMP |
Review Comment:
yes, it's always better to align the userspace interface as POSIX/Linux/xBSD
--
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]