batadv_is_or...ode_eligible(9)
π 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_nodeunder 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:
enum batadv_bootpop(9)enum batadv_boothtype(9)enum batadv_dhcpoptioncode(9)enum batadv_dhcptype(9)struct batadv_dhcp_packet(9)struct batadv_dhcp_header(9)struct batadv_dhcp_option_header(9)batadv_dat_start_timer(9)batadv_dat_entry_release(9)batadv_dat_entry_put(9)batadv_dat_to_purge(9)__batadv_dat_purge(9)batadv_dat_purge(9)batadv_compare_dat(9)batadv_arp_hw_src(9)batadv_arp_ip_src(9)batadv_arp_hw_dst(9)batadv_arp_ip_dst(9)batadv_hash_dat(9)batadv_dat_entry_hash_find(9)batadv_dat_entry_add(9)batadv_dbg_arp(9)batadv_choose_next_candidate(9)batadv_dat_select_candidates(9)batadv_dat_forward_data(9)batadv_dat_tvlv_container_update(9)batadv_dat_status_update(9)batadv_dat_tvlv_ogm_handler_v1(9)batadv_dat_hash_free(9)batadv_dat_init(9)batadv_dat_free(9)batadv_dat_cache_dump_entry(9)batadv_dat_cache_dump_bucket(9)batadv_dat_cache_dump(9)batadv_arp_get_type(9)batadv_dat_get_vid(9)batadv_dat_arp_create_reply(9)batadv_dat_snoop_outgoing_arp_request(9)batadv_dat_snoop_incoming_arp_request(9)batadv_dat_snoop_outgoing_arp_reply(9)batadv_dat_snoop_incoming_arp_reply(9)batadv_dat_check_dhcp_ipudp(9)batadv_dat_check_dhcp(9)batadv_dat_get_dhcp_message_type(9)batadv_dat_dhcp_get_yiaddr(9)batadv_dat_get_dhcp_chaddr(9)batadv_dat_put_dhcp(9)batadv_dat_check_dhcp_ack(9)batadv_dat_snoop_outgoing_dhcp_ack(9)batadv_dat_snoop_incoming_dhcp_ack(9)batadv_dat_drop_broadcast_packet(9)
Source/version: ./net/batman-adv Β· date: October 2026 β and thatβs the cute sign-off, bestie π«Άπβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms