nla_nest_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is nla_nest_start(9) from the Kernel API Manual, and it's literally: Start a new level of nested attributes, with NLA_F_NESTED βœ¨πŸ’…

✨ SYNOPSIS ✨

struct nlattr * nla_nest_start (struct sk_buff *skb , int attrtype );

🫢 ARGUMENTS 🫢

  • skb β€” socket buffer to add attributes to. that's the buffer u are adding into, bestie.
  • attrtype β€” attribute type of container. the type tag for the container, iykyk.

πŸ’… DESCRIPTION πŸ’…

Unlike nla_nest_start_noflag, this one marks the nest attribute with the NLA_F_NESTED flag. that's the whole flex. It's the preferred function to use in new code β€” periodt, bestie. πŸ‘‘

πŸŽ€ RETURN πŸŽ€

the container attribute or NULL on error πŸ’€. so if u get that error vibe from NULL, no cap.

🌈 SEE ALSO 🌈

Kernel file ./include/net/netlink.h β€” that's the source home base. Then the whole netlink bestie squad, all here, no cap:


and that's the whole page, bestie πŸ’– this cutie's source is ./include/net, dated October 2026 β€” nla_nest_start(9) out, mwah! πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from