genlmsg_multicast_netns(9)
π« 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 ansk_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 usualgfp_tallocation 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:
struct genl_multicast_group(9)struct genl_family(9)struct genl_info(9)struct genl_small_ops(9)struct genl_ops(9)struct genl_split_ops(9)struct genl_dumpit_info(9)genl_info_init_ntf(9)genlmsg_iput(9)genlmsg_nlhdr(9)genlmsg_parse_deprecated(9)genlmsg_parse(9)genl_dump_check_consistent(9)genlmsg_put_reply(9)genlmsg_end(9)genlmsg_cancel(9)genlmsg_multicast_netns_filtered(9)genlmsg_multicast(9)genlmsg_multicast_allns(9)genlmsg_unicast(9)genlmsg_reply(9)genlmsg_data(9)genlmsg_len(9)genlmsg_msg_size(9)genlmsg_total_size(9)genlmsg_new(9)genl_set_err(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms