Time Stamp Type cannot be set in tcpdump


I am working on a project which requires me to do latency measurements. I want to use hardware timestamps from tcpdump but using the latest image it is apparently not possible to change the time stamp type for any of the network interfaces. Does anybody know a solution for this? Do I need to create a custom kernel?

I appreciate every answer

Best regards,

Hardware timestamping is only supported for PTP event packets, and only if enabled on the interface using the SIOCSHWTSTAMP ioctl with the rx_filter set to HWTSTAMP_FILTER_PTP_V2_EVENT.

There is no hardware support for timestamping all packets.