igc_ptp_hwtstamp_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ igc_ptp_hwtstamp_get ✨

okay bestie, welcome to the Kernel API Manual entry for igc_ptp_hwtstamp_get β€” yes that's the whole function name, yes it's a mouthful, no we're not abbreviating it, iykyk πŸ’…


🌸 NAME 🌸

igc_ptp_hwtstamp_get β€” get hardware time stamping config πŸ•°οΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

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

literally that's the whole signature, no cap. she returns an int, she takes two pointers, she's booked and busy πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the network interface device structure 🫢 like, the actual NIC we're talking about here
  • config β€” the timestamping configuration structure ⏰ the lil container the settings go into

🧚 DESCRIPTION 🧚

okay so picture this: someone wants the hwtstamp_config settings back, right? this function's whole job is to hand them over 😌

and here's the iconic part β€” instead of being extra and trying to reconstruct the settings by digging through the registers one by one (exhausting, messy, not the vibe), she just returns a shadow copy of the last known settings. like she already remembered it. she took notes. main character energy πŸ‘‘

no register deconstruction, no reverse-engineering, just the cached truth. slay πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

like the whole PTP friend group, honestly 🫢 go read them all, they're a package deal 🌈


and that's the page!! πŸ’– quick sign-off so nothing gets lost: this one lives in ./drivers/net/ethernet/intel/igc, it's dated October 2026, and the manual tag is igc_ptp_hwtstamp_get(9) β€” periodt πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from