genlmsg_cancel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 in
  • hdr β€” 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:


kisses, bestie πŸ’‹ β€” source/version vibe: ./include/net, dated October 2026, and the page is genlmsg_cancel(9). 🫢✨

πŸ“¦ where this page comes from