genlmsg_nlhdr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is the Kernel API Manual page for genlmsg_nlhdr, and it's giving short-and-sweet utility energy πŸ’…βœ¨

🌸 NAME 🌸

genlmsg_nlhdr β€” Obtain netlink header from user specified header. that's literally the whole mission: user specified header in, netlink header out. slay.

✨ SYNOPSIS ✨

copy this exactly, bestie β€” spaces and all:

struct nlmsghdr * genlmsg_nlhdr (void *user_hdr );

πŸŽ€ ARGUMENTS πŸŽ€

  • user_hdr β€” user header as returned from genlmsg_put. so it's the user header from genlmsg_put, no cap.

πŸ’– RETURN πŸ’–

Pointer to netlink header. that's the return, bestie β€” a pointer to netlink header. periodt πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, iykyk:


this lil page comes from the ./include/net source/version and is dated October 2026. byeee, go write some netlink code πŸ’–πŸ«Ά

πŸ“¦ where this page comes from