genlmsg_cancel(9)
heyyy bestie π welcome to the genlmsg_cancel(9) page β it's giving Kernel API Manual energy, and we're gonna get you comfy with it. No cap, this one is short and sweet.
β¨ NAME β¨
genlmsg_cancelβ Cancel construction of a generic netlink message
Like, it's literally the "okay actually never mind" button for a generic netlink message you were building. Slay.
π SYNOPSIS π
The whole signature is right here, bestie:
void genlmsg_cancel (struct sk_buff *skb , void *hdr );
It's void, so no return value to catch. Periodt.
π¦ ARGUMENTS π¦
Okay so there are exactly two arguments, and they're both lowkey essential:
skbβ socket buffer the message is stored inhdrβ generic netlink message header
That's it. That's the whole cast. Main character energy from both of them, fr fr.
π₯ SEE ALSO π₯
If you're going down the generic netlink rabbit hole, these are your next tabs β all from the 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_multicast_netns_filtered(9)genlmsg_multicast_netns(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)
kisses, bestie π β source/version vibe: ./include/net, dated October 2026, and the page is genlmsg_cancel(9). π«Άβ¨
π¦ 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