PetteriAimonen commented on code in PR #11210: URL: https://github.com/apache/nuttx/pull/11210#discussion_r1398120103
########## net/devif/ipv6_input.c: ########## @@ -609,6 +609,12 @@ int ipv6_input(FAR struct net_driver_s *dev) FAR uint8_t *buf; int ret; + /* Store reception timestamp if enabled and not provided by hardware. */ + +#if defined(CONFIG_NET_TIMESTAMP) && !defined(CONFIG_ARCH_HAVE_NETDEV_TIMESTAMP) + clock_gettime(CLOCK_REALTIME, &dev->d_rxtime); Review Comment: SocketCAN does something similar [here](https://github.com/apache/nuttx/blob/master/net/can/can_callback.c#L136-L164) but I'm unfamiliar with CAN and have no way to test it, so I cannot help in updating it. -- 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]
