nlmsg_parse(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” this is the page for nlmsg_parse, and it does exactly what it says on the tin: parse attributes of a netlink message. slay. ✨


✨ SYNOPSIS ✨

int nlmsg_parse (const struct nlmsghdr *nlh , int hdrlen , struct nlattr
*tb[] , int maxtype , const struct nla_policy *policy , struct
netlink_ext_ack *extack );

πŸŽ€ ARGUMENTS πŸŽ€

  • nlh β€” netlink message header. the main character struct, fr fr. πŸ‘‘
  • hdrlen β€” length of family specific header. yes, that exact thing. πŸ’…
  • tb β€” destination array with maxtype+1 elements. not maxtype, bestie β€” maxtype+1. write it down. πŸ“
  • maxtype β€” maximum attribute type to be expected. the ceiling, the limit, the boundary. ✨
  • policy β€” validation policy. the rules, the vibe check, the whole framework. πŸ›‚
  • extack β€” extended ACK report struct. it's giving accountability. πŸ’€

🌸 DESCRIPTION 🌸

See nla_parse. that's it. that's the description. go look at nla_parse, iykyk. 🫢


πŸ’œ SEE ALSO πŸ’œ

okay so the friend group is HUGE. literally a whole netlink group chat. scroll responsibly 😭


xoxo, signed off from ./include/net, October 2026 β€” this has been nlmsg_parse(9), bestie πŸ’…πŸ«Άβœ¨

πŸ“¦ where this page comes from