nla_put_in_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ NAME πŸ’œ

okay bestie, welcome to the Kernel API Manual page for nla_put_in_addr(9) β€” yes that's the whole title, we're being efficient today πŸ’…

nla_put_in_addr β€” literally just adds an IPv4 address netlink attribute to a socket buffer. that's it. that's the whole gig. and she ate πŸ“


πŸ¦‹ SYNOPSIS πŸ¦‹

int nla_put_in_addr (struct sk_buff *skb , int attrtype , __be32 addr );

no cap, that's the exact signature, copy it carefully πŸŽ€


🌸 ARGUMENTS 🌸

  • skb β€” the socket buffer you're adding the attribute to. she's the main character here, everything gets attached to her ✨
  • attrtype β€” the attribute type. yep. that's the whole description. iykyk πŸ’«
  • addr β€” the IPv4 address itself 🫢

πŸ’… SEE ALSO πŸ’…

first up, the kernel file: ./include/net/netlink.h β€” go read it, it's giving lore πŸ”₯

and then the whole extended friend group, in order, every single one, no skipping πŸ™ˆ:


and that's the whole page, bestie 🧚 you're officially an IPv4-attribute-putter now. this icon was brought to you from ./include/net, vintage October 2026, so go forth and add those attributes πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from