nla_put_u32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ nla_put_u32 β€” it's giving "kernel API manual" energy ✨

hiii bestie 🫢 okay so we're in the Kernel API Manual today, and the page we're reading is all about nla_put_u32(9). Yes the whole manual is named nla_put_u32(9) β€” it's that girl, she's the main character of this page πŸ’…


🌸 NAME 🌸

nla_put_u32 β€” Add a u32 netlink attribute to a socket buffer

Like literally all it does is take a u32 netlink attribute and add it to a socket buffer. That's the whole vibe. Slay. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int nla_put_u32 (struct sk_buff *skb , int attrtype , u32 value );

no cap, that's the entire call signature β€” copy it character for character, bestie, don't get cute with the spacing 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the socket buffer to add the attribute to. this is the canvas, the moment, the whole point πŸ–ΌοΈ
  • attrtype β€” the attribute type. which attribute are we talking about, girlypop πŸ‘€
  • value β€” the numeric value. the actual digit situation πŸ”’

πŸ‘‘ SEE ALSO πŸ‘‘

okay so this is the part where the page just. keeps. going. πŸ”₯ It points at the kernel file ./include/net/netlink.h and then a genuinely iconic number of friends. Every single one is listed below, no skipping, fr fr 🌈


and that's the whole page, bestie πŸ’–

so anyway, the source for all this is ./include/net, version date October 2026 β€” that's the footer tea, mwah πŸ’‹ go read the other ones too, iykyk 🌟

πŸ“¦ where this page comes from