igc_ptp_hwtstamp_get(9)
β¨ 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 hereconfigβ 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 π₯
- Kernel file
./drivers/net/ethernet/intel/igc/igc_ptp.cπ igc_ptp_systim_to_hwtstamp(9)igc_ptp_rx_pktstamp(9)igc_ptp_clear_xsk_tx_tstamp_queue(9)igc_ptp_set_timestamp_mode(9)igc_ptp_tx_hwtstamp(9)igc_ptp_tx_tstamp_event(9)igc_ptp_hwtstamp_set(9)igc_ptp_init(9)igc_ptp_suspend(9)igc_ptp_stop(9)igc_ptp_reset(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms