ice_ptp_hwtstamp_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_ptp_hwtstamp_get(9) β€” like, the timestamping-config getter, bestie

okay so this one lives in the kernel API manual (section 9, the grown-up kernel-internals section, iykyk) and honestly? she's a little baby function with a big job. let's get into it ✨


🌸 NAME 🌸

ice_ptp_hwtstamp_get β€” the interface you call to read the timestamping config πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

int ice_ptp_hwtstamp_get (struct net_device *netdev , struct
       kernel_hwtstamp_config *config );

that's the whole signature, no cap. returns an int, takes two pointers, done. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” pointer to the network interface device structure, aka the whole vibe of the NIC you're asking about 🌈
  • config β€” the timestamping configuration structure, aka the cute little container where the answer goes πŸŽ€

πŸ‘‘ DESCRIPTION πŸ‘‘

ok so literally what she does is: copy the timestamping config to the user buffer ✨ that's it. that's the function. she reads the timestamping config and hands it over. main character energy but make it a memcpy-ish situation πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

bestie. buckle in. this list is long and I refuse to skip a single one because everyone deserves their moment πŸ’œ

yeah. seventy-eight of them. I counted. she has so many friends, we love a social butterfly πŸ¦‹πŸ’–


ngl bestie, if you only remember one thing: this is the get half of the pair. ice_ptp_hwtstamp_set(9) writes, she reads. slay πŸ’…βœ¨

🌸 that's the whole page, hope it ate πŸŽ€ β€” brought to you by the kernel API manual, from that iconic source path ./drivers/net/ethernet/intel/ice, dated October 2026, and yes she's filed under ice_ptp_hwtstamp_get(9) like the queen she is πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from