batadv_netlink_mesh_fill(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to batadv_netlink_mesh_fill(9) β€” the Kernel API Manual page you didn't know you needed 🫢 this one lives in the batman-adv netlink corner of the kernel, and it is literally here to fill a message with mesh attributes. that's the whole vibe. let's get into it πŸ’…


🌸 NAME 🌸

batadv_netlink_mesh_fill β€” Fill message with mesh attributes ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int batadv_netlink_mesh_fill (struct sk_buff *msg , struct batadv_priv
*bat_priv , enum batadv_nl_commands cmd , u32 portid , u32 seq , int
flags );

πŸŽ€ ARGUMENTS πŸŽ€

okay so here's the cast of characters, and every single one of them matters, no cap πŸ‘‘

  • msg β€” the Netlink message to dump into πŸ’Œ this is the thing getting filled, main character energy fr.
  • bat_priv β€” the bat priv with all the mesh interface information πŸ¦‹ like, all of it. the whole mesh interface tea.
  • cmd β€” type of message to generate ✨ which flavour of message we're making here.
  • portid β€” Port making netlink request πŸ“¨ the port that's out here asking.
  • seq β€” sequence number for message πŸ”’ gotta keep track, iykyk.
  • flags β€” Additional flags for message 🚩 extra flags, as a treat.

πŸ’– RETURN πŸ’–

0 on success, or a negative error number in case of failure 😭 β€” so like, zero is the slay, negative is the not-slay. periodt.


πŸ”₯ SEE ALSO πŸ”₯

bestie there is a whole friend group here and i'm obsessed 🌈 first up, this lives in the Kernel file ./net/batman-adv/netlink.c, next to enum batadv_netlink_multicast_groups(9), and then the full squad:

like, the way that list just goes on and on? iconic. go read them all, they're all right there k? 🧚


and that's the page, bestie!! πŸ’œ this one shipped out of ./net/batman-adv with a date stamp of October 2026, all under the batadv_netlink_mesh_fill(9) name in the Kernel API Manual πŸŽ€ mwah, go fill some messages βœ¨πŸ’…

πŸ“¦ where this page comes from