batadv_tt_gl..._dump_bucket(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ batadv_tt_global_dump_bucket β€” Kernel API Manual (section 9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– the title up top gets truncated to batadv_tt_gl..._dump_bucket(9) because terminal headers are dramatic like that, but the real name is batadv_tt_global_dump_bucket(9) and we're gonna learn it together, no cap 🫢


✨ NAME ✨

batadv_tt_global_dump_bucket β€” dump one TT local bucket into a message πŸ’…


🌸 SYNOPSIS 🌸

int batadv_tt_global_dump_bucket (struct sk_buff *msg , u32 portid , u32
seq , struct batadv_priv *bat_priv , struct hlist_head *head , int
*idx_s , int *sub );

πŸŽ€ ARGUMENTS πŸŽ€

  • msg β€” the netlink message we're dumping into 🎁 (it's the canvas, we're the artist)
  • portid β€” the port making the netlink request, iykyk πŸ‘‘
  • seq β€” the sequence number of the netlink message, so everybody knows which request is which πŸ”’
  • bat_priv β€” the bat priv holding all the mesh interface information πŸ¦‡ like, the whole vibe of the mesh lives in here
  • head β€” pointer to the list containing the global TT entries πŸ“‹
  • idx_s β€” number of entries to skip ⏭️
  • sub β€” number of entries to skip ⏭️ (yeah, same description as idx_s, the docs said what they said, I'm just relaying it fr fr)

⭐ RETURN ⭐

An error code, or 0 on success 🌈 β€” 0 is the slay outcome, anything else is the 😭 outcome.


πŸ’œ SEE ALSO πŸ’œ

It lives in the kernel file ./net/batman-adv/translation-table.c πŸ“ and honestly? the whole translation-table friend group shows up here. First up, the hashing + lookup besties: 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).

Then the size-modification crew, lowkey iconic: 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).

The dump squad right here πŸ—‘οΈβœ¨: batadv_tt_local_dump_entry(9), batadv_tt_local_dump_bucket(9), batadv_tt_local_dump(9), batadv_tt_local_set_pending(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(9).

The delete/purge girlies πŸ’€: _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).

CRC + request-node energy 🧚: 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).

Sending responses and updating changes, main character energy πŸ‘‘: 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).

Roaming + purge + free, the whole era 🌸: 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).

And the final boss row πŸ†: 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).


okay that was a LOT of cross-references but we got through it together 🫢 don't skip any of them, they're all part of the family.

that's the whole page bestie!! πŸ’– this cutie comes to you from ./net/batman-adv, dated October 2026, and yes the header version is still wearing its truncated batadv_tt_gl..._dump_bucket(9) name tag because it's quirky like that πŸŽ€βœ¨ periodt.

πŸ“¦ where this page comes from