STRUCT IDPF_PTP_DEV_TIMERS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct idpf_ptp_dev_timers β€” system time & device time values πŸ’–

okay so bestie, quick vibe check: this is a page from the Kernel API Manual, and it's all about a little struct called idpf_ptp_dev_timers πŸ•βœ¨ She's not complicated, she's not doing too much β€” she just holds two timestamps so the driver can talk about "when" in two different clocks at once. iconic behaviour honestly.


🌸 SYNOPSIS 🌸

struct idpf_ptp_dev_timers {
    u64 sys_time_ns;
    u64 dev_clk_time_ns;
 };

like... that's the whole thing. two u64 fields and a dream πŸ’…


πŸŽ€ Members πŸŽ€

  • sys_time_ns β€” the system time value, expressed in nanoseconds ⏱️ that's your host's idea of now.
  • dev_clk_time_ns β€” the device clock time value, also expressed in nanoseconds πŸ¦‹ that's the NIC's idea of now. and yes, they get to disagree, that's literally the whole point of keeping both.
ngl the _ns suffix is doing so much heavy lifting here β€” nanoseconds, bestie, not nanosleep 😭

πŸ”₯ SEE ALSO πŸ”₯

that's the whole PTP friend group right there, fr fr β€” go read them too if you wanna understand the full lore πŸ‘‘


mwah πŸ’‹ sending you off with the deets: this one lives in ./drivers/net/ethernet/intel/idpf, the date on it is October 2026, and the man page source tag is struct idpf_ptp_dev_timers(9). slay, go timestamp something 🌈⭐🫢

πŸ“¦ where this page comes from