genlmsg_multicast_netns(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« genlmsg_multicast_netns(9) πŸ’«

okay bestie, this is a page from the Kernel API Manual and it's genuinely so good β€” it's all about flinging a netlink message out to one specific network namespace like the main character it is. no cap, it's giving "targeted delivery" energy. πŸŽ€


✨ NAME ✨

genlmsg_multicast_netns β€” multicast a netlink message to a specific netns πŸ¦‹


🌸 SYNOPSIS 🌸

int genlmsg_multicast_netns (const struct genl_family *family , struct
net *net , struct sk_buff *skb , u32 portid , unsigned int group , gfp_t
flags );

like, that's the whole signature. six args. she's a little long but she ate πŸ’…


πŸ‘‘ ARGUMENTS πŸ‘‘

  • family β€” the generic netlink family 🌈 (your whole vibe, basically β€” which family of generic netlink we're repping)
  • net β€” the net namespace ⭐ (yeah, this specific one, we're not doing a whole-network broadcast here)
  • skb β€” netlink message as socket buffer πŸ“ (the actual message, chillin' in an sk_buff)
  • portid β€” own netlink portid to avoid sending to yourself πŸ™ˆ (literally the "don't text yourself" parameter, iconic)
  • group β€” offset of multicast group in groups array πŸ’œ (an offset, note β€” not a raw id, it's the offset into the groups array)
  • flags β€” allocation flags ✨ (the usual gfp_t allocation flags situation)

πŸ”₯ SEE ALSO πŸ”₯

okay so there's a whole friend group here, and they're all in the kernel file ./include/net/genetlink.h β€” go say hi to all of them:

like, the way that list just keeps going 😭 but every single one of them is a baddie in ./include/net/genetlink.h, periodt. πŸ’€


πŸ’– friendly reminder that this lives in ./include/net β€” that's the kernel source path, iykyk.

and that's the page!! mwah 🫢 this one dropped October 2026 out of ./include/net, so go forth and multicast responsibly, bestie. πŸ§šβ€β™€οΈβœ¨πŸ’œ

πŸ“¦ where this page comes from