genlmsg_multicast(9)
β¨ NAME β¨
okay so bestie, this page is from the Kernel API Manual, and it's literally called genlmsg_multicast(9). The NAME section says this function will multicast a netlink message to the default netns β yes, the default netns, no cap. π
π¦ SYNOPSIS π¦
the signature is giving:
int genlmsg_multicast (const struct genl_family *family , struct sk_buff
*skb , u32 portid , unsigned int group , gfp_t flags );
π ARGUMENTS π
familyβ the generic netlink family. the main character, honestly.skbβ the netlink message, wrapped up as a socket buffer.portidβ your own netlink portid, so you don't accidentally send the message to yourself. we love an anti-self-spam boundary.groupβ the offset of the multicast group inside the groups array.flagsβ allocation flags.
π SEE ALSO π
go read these too, iykyk:
- Kernel file
./include/net/genetlink.h 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_netns(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)
okay that's the whole page, mwah π β it came from source/version ./include/net, dated October 2026, and it's the genlmsg_multicast(9) page. ππ¦
π¦ 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