genlmsg_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– genlmsg_data(9) β€” the kernel API manual, but make it make sense

okay so bestie, welcome to genlmsg_data(9) β€” that's section 9 of the kernel API manual, and yes the vibe is very "I read include/net/genetlink.h for fun" πŸ’…


✨ NAME ✨

genlmsg_data β€” head of message payload πŸŽ€

like, literally the head of the message payload. it hands you the pointer to where the payload starts. that's the whole gig. iconic.


🌸 SYNOPSIS 🌸

void * genlmsg_data (const struct genlmsghdr *gnlh );

that's it. one function, one pointer in, one pointer out. no cap, it's giving minimalism.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnlh β€” the genetlink message header 🧚 you hand it the header, it hands you back the payload head. group-chat energy: it's the "hey can you pass me the aux" of kernel helpers.

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, this list is LONG and honestly kind of a flex. buckle in, we're going through all of it, ./include/net/genetlink.h is right there in the kernel source and it's lowkey the main character πŸ”₯

side note: genlmsg_parse_deprecated(9) is literally right there in the name, bestie β€” deprecated means deprecated, don't come for me πŸ™ˆ

and that's the page, periodt πŸ’œ this one lives in ./include/net, dated October 2026, and it's genlmsg_data(9) from the Kernel API Manual. slay, go read genetlink.h 🫢✨

πŸ“¦ where this page comes from