stmmac_hwtstamp_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stmmac_hwtstamp_get πŸ’…

Okay bestie, so this is a page from the Kernel API Manual β€” yes, that manual, section 9, the kernel-internals one β€” and it's all about one lil function called stmmac_hwtstamp_get. She's a getter. She reads. That's her whole thing and honestly? Iconic. πŸŽ€


✨ NAME ✨

stmmac_hwtstamp_get β€” read hardware timestamping. That's it, that's the vibe check: she reads the hardware timestamping situation. πŸ‘‘


🌸 SYNOPSIS 🌸

int stmmac_hwtstamp_get (struct net_device *dev , struct
       kernel_hwtstamp_config *config );

She returns an int, she takes two things, no cap. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” device pointer, aka the network device in question. She needs to know which device we're talking about, obviously. πŸ™ˆ
  • config β€” the timestamping configuration. This is the struct that's gonna hold the goods β€” struct kernel_hwtstamp_config, to be exact. πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

So like, this function obtains the current hardware timestamping settings β€” as requested. That's the whole assignment, and she ate. πŸ“

Lowkey the most important word here is current β€” she's reading what's actually set right now, not imagining anything. Read-only energy, main character behavior, periodt. ✨

πŸ’€ SEE ALSO πŸ’€

Bestie, buckle up, because the cross-reference list is LONG and honestly kind of a flex. First up, the file herself:

  • Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

Then the entire girl squad of related kernel functions, all section 9, all listed here fr fr:

Like… that's the whole extended universe. 😭 Go read them, I believe in you. πŸ’ͺ


Alright bestie, that's the page! 🧚 Sourced from the wilds of ./drivers/net/ethernet/stmicro..., dated October 2026, and yes, it's still titled stmmac_hwtstamp_get(9) at the bottom like a little name tag at the end of the party. Go get those timestamps, queen. πŸ‘‘πŸ’–

πŸ“¦ where this page comes from