nla_find_nested(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

nla_find_nested β€” bestie, this is the function that goes digging through a set of nested attributes to find you the one you actually want ✨


πŸ¦‹ SYNOPSIS

struct nlattr * nla_find_nested (const struct nlattr *nla , int attrtype );

πŸŽ€ ARGUMENTS

  • nla β€” the attribute that's holding all the nested attributes, like the cutest little container ever. It's the one doing the containing, not the one being found 🫢
  • attrtype β€” the type of attribute you're hunting for. This is the vibe check you're running everything against πŸ‘‘

πŸ’– RETURN

It gives you back the first attribute which matches the specified type. First match wins, no cap β€” it doesn't keep scrolling once it finds the one πŸ”₯


🌈 SEE ALSO

Okay so this is the part where I tell you about the whole friend group β€” literally the entire ./include/net/netlink.h Kernel file squad, like:


Ngl bestie, that's a lot of friends. Read them all, they're all icons πŸ’€πŸ‘‘

🌸 So yeah, this page lives in ./include/net, it's part of the Kernel API Manual, and it's stamped October 2026 β€” go off, calendar. That's the whole tea, ily, bye πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from