batadv_netli...otify_hardif(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

batadv_netlink_notify_hardif β€” bestie, this one sends hardif attributes to the listener ✨

(also hi, you're reading the Kernel API Manual, welcome to the group chat 🫢)


πŸ¦‹ SYNOPSIS πŸ¦‹

int batadv_netlink_notify_hardif (struct batadv_priv *bat_priv , struct
batadv_hard_iface *hard_iface );

okay so it takes exactly two things and returns an int, that's the whole vibe πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv, aka the main character that's holding all the mesh interface information πŸ‘‘
  • hard_iface β€” the hard interface that got modified, the one that changed, the one we're here to talk about πŸ”₯

⭐ RETURN ⭐

  • 0 on success β€” slay, we ate πŸ’–
  • < 0 on error β€” not the vibe, something went wrong 😭

🌸 SEE ALSO 🌸

Kernel file ./net/batman-adv/netlink.c β€” and ngl, the whole extended friend group is here, fr fr:


πŸ’€ reminder bestie: the page says < 0 on error and that's it, so just check your return value and don't go inventing extra behaviour, ok? πŸ™ˆ

okay that's the whole page, ily, go read your kernel source 🌈

this gem dropped from ./net/batman-adv back in October 2026 β€” catch you in the next one, mwah πŸ§šπŸ’œ

πŸ“¦ where this page comes from