batadv_last_bonding_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

batadv_last_bonding_get β€” okay so this one grabs the last_bonding_candidate of an orig_node, bestie. That's the whole vibe. ✨

Oh and hiii, welcome to the Kernel API Manual page for batadv_last_bonding_get(9) β€” you're gonna do great, I promise 🫢


πŸŽ€ SYNOPSIS

struct batadv_orig_ifinfo * batadv_last_bonding_get (struct
batadv_orig_node *orig_node );

Like, yes, she's a function that returns a struct batadv_orig_ifinfo * and takes one struct batadv_orig_node *orig_node. Iconic signature, no notes. πŸ‘‘


🌸 ARGUMENTS

  • orig_node β€” the originator node whose last_bonding_candidate you wanna retrieve. She's literally the main character here, give her what she needs πŸ’–

⭐ RETURN

You get back the last bonding candidate of the router β€” or NULL if it's not found. That's it, that's the whole return value, NULL means "nope, not here, not today" πŸ˜­πŸ™ˆ


πŸ¦‹ DESCRIPTION

The object comes back with its refcounter increased by 1. Lowkey important, highkey a whole thing β€” you're holding a ref now, so act like it, bestie πŸ’…πŸ”₯


🧚 SEE ALSO

Kernel file ./net/batman-adv/routing.c and all her friends in the group chat (fr fr, the whole squad):


Not me ending the page with the serious bits, but for real: batadv_last_bonding_get shows up under the source tree ./net/batman-adv in the October 2026 edition of the Kernel API Manual. Slay, go read the other pages, mwah πŸ’‹πŸŒˆ

that's the whole manpage, you ate that, periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from