[PATCH v3 1/1] pcapng: add user-supplied timestamp support

Stephen Hemminger stephen at networkplumber.org
Thu Jun 18 17:22:40 CEST 2026


On Thu, 18 Jun 2026 10:38:15 -0400
Dawid Wesierski <dawid.wesierski at intel.com> wrote:

> + * @param ts
> + *   Packet timestamp in nanoseconds since the Unix epoch. If zero, the
> + *   current TSC is captured and converted to epoch ns by
> + *   rte_pcapng_write_packets() when the packet is written.
>   *

It might help users if a helper rte_tsc_to_epoch() was exposed.


More information about the dev mailing list