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. Could you reformat according to kernel style
(checkpatch.pl)?

> I tested this patch with af_packet sockets only. UDP  & TCP might be a little 
> bit trickier as many fragment/segments get reassembled in a single recvmsg. I 
> believe the linux code I used to put the timestamps in the control structure 
> should be OK though.

How does Linux resolve the case of stamping fragmented messages?

Thanks,
Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Reply via email to