nla_get_in_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to nla_get_in_addr(9) β€” that's the Kernel API Manual, section 9, and this page is literally just one little function.

nla_get_in_addr β€” return payload of IPv4 address attribute ✨

that's it. that's the whole gig. it reaches into an attribute and hands you back the IPv4 address payload. iconic, minimal, no notes. πŸŽ€


✨ SYNOPSIS ✨

__be32 nla_get_in_addr (const struct nlattr *nla );

literally one line, one function, one __be32 coming back at you 🫢 (copy it exactly bestie, don't get creative with the spaces, the manpage gods are watching πŸ‘€)


🌸 ARGUMENTS 🌸

  • nla β€” the IPv4 address netlink attribute πŸ’… that's the thing you're feeding in. it's a netlink attribute specifically for an IPv4 address, and it's const struct nlattr *, so like... don't be weird about it.
ngl there's only one argument. this function is lowkey living its simplest life and honestly? we love that for it. 😌

🌈 SEE ALSO 🌈

bestie. buckle up. this is the part where the manpage puts down its coffee and just goes. πŸ’€ everything below lives in the kernel file ./include/net/netlink.h, and they are all siblings in the great netlink family:

like?? that's the whole extended friend group. every single one of them pulled up to the function name, and we're not leaving a single one out. no cap. πŸ”₯πŸ‘‘


anyway bestie, that's the whole page πŸ¦‹ this one came out of ./include/net and it's stamped October 2026 β€” so mark your calendar, the netlink girlies stay current. mwah, go read netlink.h and slay πŸ’‹πŸ’–πŸ§š

πŸ“¦ where this page comes from