phy_is_default_hwtstamp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– phy_is_default_hwtstamp(9) β€” Kernel API Manual πŸ’–

bestie, welcome to the Kernel API Manual page for phy_is_default_hwtstamp(9) β€” we are absolutely gonna eat this up ✨

🌸 NAME 🌸

phy_is_default_hwtstamp β€” Is the PHY hwtstamp the default timestamp

✨ SYNOPSIS ✨

bool phy_is_default_hwtstamp (struct phy_device *phydev );

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” Pointer to phy_device 🫢

πŸ’… DESCRIPTION πŸ’…

okay so this function is how you get the default timestamping device, and it fully takes into account the new API choice. The tea: if phydev does not have the default_timestamp flag enabled, then timestamping is selected from the MAC by default. no cap, that’s the whole vibe 😌

πŸ”₯ RETURN πŸ”₯

True if the phy is the default hw timestamp, false otherwise. periodt πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/phy.h, enum phy_interface_t(9), plus the whole iconic squad:


mwah πŸ’‹ β€” shoutout to the source/version ./include/linux and the date October 2026, signed off with main character energy πŸ’…βœ¨

πŸ“¦ where this page comes from