STRUCT HWTSTAMP_PROVIDER(9)
π struct hwtstamp_provider β the hwtstamp provider object π
okay so bestie, welcome to the struct hwtstamp_provider(9) page β this is from the Kernel API Manual, and it's literally the little object that represents a hwtstamp provider. it's giving "small struct, big job" energy ngl π
β¨ SYNOPSIS β¨
here's the whole thing laid out, exactly as it lives in the kernel:
struct hwtstamp_provider {
struct rcu_head rcu_head;
enum hwtstamp_source source;
struct phy_device *phydev;
struct hwtstamp_provider_desc desc;
};
look at her. four members. no notes. π«Ά
πΈ Members πΈ
rcu_headβ the RCU callback that gets used to free the struct. yes, she has a whole lifecycle, we love a self-cleaning queen πsourceβ the source of the hwtstamp provider (it's anenum hwtstamp_source, so iconic of her).phydevβ a pointer to the phydev source, and it's specifically for when a PTP is coming from phylib. so if that's your situation? this is your girl π₯descβ the hwtstamp provider description. it's astruct hwtstamp_provider_descand it does exactly what it says on the tin, no cap.
π¦ SEE ALSO π¦
- Kernel file
./include/linux/net_tstamp.hβ go read it, iykyk struct hwtstamp_provider_desc(9)struct kernel_hwtstamp_config(9)
those two structs are her besties fr fr, go say hi π
π reminder that this page is filed under ./include/linux, so that's where the whole vibe lives. no wander off.
and that's the whole page, bestie β written by the folks over in ./include/linux, dated October 2026, and no you can't skip the date, it's part of the lore βππ
π¦ 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