idpf_ptp_get_cross_time(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ idpf_ptp_get_cross_time ✨

okay bestie so this one's from the Kernel API Manual (kernel 9, section 9, very demure, very get cross time) and it's literally just one little function that goes and asks the hardware what time it thinks it is πŸ•°οΈβœ¨


πŸ’– NAME πŸ’–

idpf_ptp_get_cross_time β€” sends the virtchnl get cross time message πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int idpf_ptp_get_cross_time (struct idpf_adapter *adapter , struct
idpf_ptp_dev_timers *cross_time );

🌸 ARGUMENTS 🌸

  • adapter β€” the driver-specific private structure, aka the little home base for this driver 🏠
  • cross_time β€” pointer to the device clock structure, and that's exactly where the value gets set 🫢

πŸ”₯ DESCRIPTION πŸ”₯

so basically what happens is: it sends the virtchnl get cross time message, and that message's whole job is to grab the time of the clock and the system time. two times. one message. iconic behavior honestly πŸ‘‘

⭐ RETURN ⭐

0 on success, -errno otherwise. that's it, that's the whole vibe check πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c (go read it, iykyk), plus the whole ptp friend group:


and that's the page, bestie πŸ§šπŸ’œ brought to you by the source/version at ./drivers/net/ethernet/intel/idpf, dated October 2026 β€” no cap, see u in the next manpage πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from