Re: [PR] udp: Add support for SO_TIMESTAMP [nuttx]

2023-11-18 Thread via GitHub
xiaoxiang781216 merged PR #11210: URL: https://github.com/apache/nuttx/pull/11210 -- 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: commits-unsubscr...@nu

Re: [PR] udp: Add support for SO_TIMESTAMP [nuttx]

2023-11-17 Thread via GitHub
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 timestam

Re: [PR] udp: Add support for SO_TIMESTAMP [nuttx]

2023-11-17 Thread via GitHub
xiaoxiang781216 commented on code in PR #11210: URL: https://github.com/apache/nuttx/pull/11210#discussion_r1398039231 ## net/udp/udp_recvfrom.c: ## @@ -44,6 +44,10 @@ #include "socket/socket.h" #include "utils/utils.h" +#ifdef CONFIG_NET_TIMESTAMP Review Comment: move b

[PR] udp: Add support for SO_TIMESTAMP [nuttx]

2023-11-17 Thread via GitHub
PetteriAimonen opened a new pull request, #11210: URL: https://github.com/apache/nuttx/pull/11210 ## Summary Adds support for timestamping received UDP packets, either in hardware or in kernel. Builds on the existing support of `SO_TIMESTAMP` for SocketCAN. Implementation uses