batadv_is_or...ode_eligible(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_is_or...ode_eligible(9) πŸ’–

🌸 NAME 🌸

batadv_is_orig_node_eligible β€” check whether a node can be a DHT candidate.

okay so this page is from the Kernel API Manual, and the title up top is batadv_is_or...ode_eligible(9) β€” but the actual function bestie is batadv_is_orig_node_eligible. It’s giving β€œcan this node be a DHT candidate?” energy, and we’re here for it πŸ’…βœ¨


✨ SYNOPSIS ✨

bool batadv_is_orig_node_eligible (struct batadv_dat_candidate *res ,
int select , batadv_dat_addr_t tmp_max , batadv_dat_addr_t max ,
batadv_dat_addr_t last_max , struct batadv_orig_node *candidate , struct
batadv_orig_node *max_orig_node );

πŸŽ€ ARGUMENTS πŸŽ€

  • res β€” the array with the already selected candidates. it’s the lil roster you’ve already built, bestie 🫢
  • select β€” number of already selected candidates. literally the count of who’s already made the cut ✨
  • tmp_max β€” address of the currently evaluated node. the address of the node we’re looking at right now πŸ‘€
  • max β€” current round max address. this round’s maximum address, no cap 🌈
  • last_max β€” address of the last selected candidate. the address of the candidate who got picked last time πŸŽ€
  • candidate β€” orig_node under evaluation. the node we’re currently evaluating, periodt πŸ¦‹
  • max_orig_node β€” last selected candidate. the candidate who was selected last πŸ”₯

πŸ’… RETURN πŸ’…

true if the node has been elected as next candidate β€” or false otherwise. that’s the whole vibe check πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./net/batman-adv/distributed-arp-table.c

the whole group chat also includes:


Source/version: ./net/batman-adv Β· date: October 2026 β€” and that’s the cute sign-off, bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from