batadv_tt_local_set_pending(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tt_local_set_pending(9) β€” the Kernel API Manual, but make it make sense

okay so bestie, welcome to the batadv_tt_local_set_pending page from the kernel API manual πŸŽ€ this is a lil function from the batman-adv translation-table world, and honestly? it's giving "hold my spot, I'm not leaving yet" energy. periodt.


✨ NAME ✨

batadv_tt_local_set_pending β€” mark a local TT entry as pending removal 🌸

Like, the entry's not gone gone. It's just... on notice. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void batadv_tt_local_set_pending (struct batadv_priv *bat_priv ,
struct batadv_tt_local_entry *tt_local_entry , u16 flags , const char *message
);

no cap, that's the whole signature. copy it exactly, bestie, don't get creative 😌


πŸ‘‘ ARGUMENTS πŸ‘‘

  • bat_priv β€” the bat priv holding all the mesh interface information 🫢 this is the main-character struct, everything else lives inside it.
  • tt_local_entry β€” the local TT entry you're about to mark πŸ’– this is the one getting the pending-removal makeover.
  • flags β€” the TT change flags to announce together with the pending removal πŸŽ€ so the whole mesh knows what's up.
  • message β€” a debug message describing the reason for the change ⭐ like a lil caption on the post. keep it honest.

πŸ’€ DESCRIPTION πŸ’€

so what actually happens πŸ‘€ β€” you schedule the TT change announcement, and you set BATADV_TT_CLIENT_PENDING on the entry. that's the whole vibe.

but here's the part that matters, bestie: the entry is kept in the local table until the next TTVN increment πŸ”₯ so that a consistency-check response can still be answered. like, it's not ghosting the table yet β€” it's staying put so it can still reply when someone comes asking. iconic behavior tbh.

lowkey important: don't assume the entry is yeeted the moment you call this. it literally isn't. it stays until that TTVN increment, fr fr πŸ™ˆ

🌈 SEE ALSO 🌈

the kernel file this lives in is ./net/batman-adv/translation-table.c 🧚 and here's the full bestie roll call β€” every single one, no skipping:

batadv_compare_tt(9), batadv_choose_tt(9), batadv_tt_hash_find(9), batadv_tt_local_hash_find(9), batadv_tt_global_hash_find(9), batadv_tt_local_entry_release(9), batadv_tt_local_entry_put(9), batadv_tt_global_entry_release(9), batadv_tt_global_hash_count(9), batadv_tt_local_size_mod(9), batadv_tt_local_size_inc(9), batadv_tt_local_size_dec(9), batadv_tt_global_size_mod(9), batadv_tt_global_size_inc(9), batadv_tt_global_size_dec(9), batadv_tt_orig_list_entry_release(9), batadv_tt_orig_list_entry_put(9), batadv_tt_local_event(9), batadv_tt_len(9), batadv_tt_entries(9), batadv_tt_local_table_transmit_size(9), batadv_tt_local_init(9), batadv_tt_global_free(9), batadv_tt_local_add(9), batadv_tt_prepare_tvlv_global_data(9), batadv_tt_prepare_tvlv_local_data(9), batadv_tt_tvlv_container_update(9), batadv_tt_local_dump_entry(9), batadv_tt_local_dump_bucket(9), batadv_tt_local_dump(9), batadv_tt_local_remove(9), batadv_tt_local_purge_list(9), batadv_tt_local_purge(9), batadv_tt_local_table_free(9), batadv_tt_global_init(9), batadv_tt_changes_list_free(9), batadv_tt_global_orig_entry_find(9), batadv_tt_global_entry_has_orig(9), batadv_tt_global_sync_flags(9), batadv_tt_global_orig_entry_add(9), batadv_tt_global_add(9), batadv_transtable_best_orig(9), batadv_tt_global_dump_subentry(9), batadv_tt_global_dump_entry(9), batadv_tt_global_dump_bucket(9), batadv_tt_global_dump(9), _batadv_tt_global_del_orig_entry(9), batadv_tt_global_del_orig_list(9), batadv_tt_global_del_orig_node(9), batadv_tt_global_del_roaming(9), batadv_tt_global_del(9), batadv_tt_global_del_orig(9), batadv_tt_global_to_purge(9), batadv_tt_global_purge(9), batadv_tt_global_table_free(9), _batadv_is_ap_isolated(9), batadv_transtable_search(9), batadv_tt_global_crc(9), batadv_tt_local_crc(9), batadv_tt_req_node_release(9), batadv_tt_req_node_put(9), batadv_tt_req_list_free(9), batadv_tt_save_orig_buffer(9), batadv_tt_req_purge(9), batadv_tt_req_node_new(9), batadv_tt_local_valid(9), batadv_tt_global_valid(9), batadv_tt_tvlv_generate(9), batadv_tt_global_check_crc(9), batadv_tt_local_update_crc(9), batadv_tt_global_update_crc(9), batadv_send_tt_request(9), batadv_send_other_tt_response(9), batadv_send_my_tt_response(9), batadv_send_tt_response(9), _batadv_tt_update_changes(9), batadv_tt_fill_gtable(9), batadv_tt_update_changes(9), batadv_is_my_client(9), batadv_handle_tt_response(9), batadv_tt_roam_list_free(9), batadv_tt_roam_purge(9), batadv_tt_check_roam_count(9), batadv_send_roam_adv(9), batadv_tt_purge(9), batadv_tt_free(9), batadv_tt_local_set_flags(9), batadv_tt_local_purge_pending_clients(9), batadv_tt_local_commit_changes_nolock(9), batadv_tt_local_commit_changes(9), batadv_is_ap_isolated(9), batadv_tt_update_orig(9), batadv_tt_global_client_is_roaming(9), batadv_tt_local_client_is_roaming(9), batadv_tt_add_temporary_global_entry(9), batadv_tt_local_resize_to_mtu(9), batadv_tt_tvlv_ogm_handler_v1(9), batadv_tt_tvlv_unicast_handler_v1(9), batadv_roam_tvlv_unicast_handler_v1(9), batadv_tt_init(9), batadv_tt_global_is_isolated(9), batadv_tt_cache_init(9), batadv_tt_cache_destroy(9)


πŸ“ sign-off πŸ“

that's the page, bestie 🫢 straight from ./net/batman-adv, dated October 2026, and yes the whole thing is filed under batadv_tt_local_set_pending(9) πŸ’œ go answer that consistency check, you ate πŸ’…βœ¨

πŸ“¦ where this page comes from