idpf_ptp_set_timestamp_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… idpf_ptp_set_timestamp_mode(9) β€” like, the Kernel API Manual page, bestie ✨

Okay so picture this: you're deep in the idpf driver, and somebody wants a specific timestamp mode. This little function is the one that actually sets the driver up for whatever timestamp mode got requested πŸŽ€ That's the whole vibe.


🌸 NAME 🌸

idpf_ptp_set_timestamp_mode β€” sets up the driver for the requested timestamp mode, no cap 🫢


✨ SYNOPSIS ✨

int idpf_ptp_set_timestamp_mode (struct idpf_vport *vport , struct
       kernel_hwtstamp_config *config );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • vport β€” the virtual port structure πŸ’œ like, this is the vport we're doing all this for.
  • config β€” the hwtstamp settings that were requested or saved ✨ (yes, either one β€” it says "requested or saved", and I'm not about to start guessing which one you're holding πŸ™ˆ).

πŸ’€ RETURN πŸ’€

0 on success β€” iconic, we love a clean zero πŸ‘‘

Otherwise it's -errno, so, y'know... not slaying 😭


πŸ”₯ SEE ALSO πŸ”₯

The kernel file this lives in, fr fr:

./drivers/net/ethernet/intel/idpf/idpf_ptp.c

And the whole friend group of related functions β€” say hi to all of them πŸ’–:


Okay that's the whole page, bestie β€” mwah πŸ’‹ This one's from ./drivers/net/ethernet/intel/idpf, dated October 2026, and it's idpf_ptp_set_timestamp_mode(9) signing off. Go set that timestamp mode, you gorgeous nerd πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from