Re: [PATCH] Enable retrieving of RTNET network packet timestamp OOB using recvmsg()

2021-05-12 Thread Jan Kiszka via Xenomai
On 12.05.21 14:57, François Legal via Xenomai wrote: > This patch enables retrieving, in realtime application, of RTNET enabled > adapters packet timestamps. > It uses the linux semantic SO_TIMESTAMPNS, and the linux code to put the > timestamp in the control_msg structure. > Thanks for the

[PATCH] Enable retrieving of RTNET network packet timestamp OOB using recvmsg()

2021-05-12 Thread François Legal via Xenomai
This patch enables retrieving, in realtime application, of RTNET enabled adapters packet timestamps. It uses the linux semantic SO_TIMESTAMPNS, and the linux code to put the timestamp in the control_msg structure. I tested this patch with af_packet sockets only. UDP & TCP might be a little