nla_get_msecs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 nla_get_msecs (9) β€” the kernel API manual, bestie edition 🌸

Okay so this is a page out of the Linux kernel API manual (section 9, the kernel-flavoured one πŸ’…) and honestly? It's short, it's sweet, and it does exactly one thing. Let's get into it.


✨ NAME ✨

nla_get_msecs β€” literally just returns the payload of a msecs attribute πŸŽ€

✨ SYNOPSIS ✨

unsigned long nla_get_msecs (const struct nlattr *nla );

✨ ARGUMENTS ✨

  • nla β€” the msecs netlink attribute, that's her, that's the whole vibe πŸ¦‹

✨ RETURN ✨

She hands you back the number of milliseconds in jiffies. That's it, that's the tea β˜• no cap.

Heads up β€” the value comes back in jiffies, not raw milliseconds, so don't go treating it like a plain number without clocking that first, iykyk πŸ’€

🌈 SEE ALSO 🌈

The kernel file ./include/net/netlink.h, plus literally the entire netlink extended family β€” grab a snack, this list is long πŸ“:


And that's the whole page, bestie β€” go read something with more plot πŸ’–

Sign-off time 🫢: this one lives under ./include/net, dated October 2026, and it's filed under section 9 of the kernel API manual. Slay. πŸ’…βœ¨

πŸ“¦ where this page comes from