batadv_dat_c..._dump_bucket(9)
π batadv_dat_c..._dump_bucket(9) β the Kernel API Manual, bestie edition π
okay so real quick, this is a page from the Kernel API Manual and it's all about batadv_dat_cache_dump_bucket β say that five times fast, i dare u π
β¨ NAME β¨
batadv_dat_cache_dump_bucket β dumps exactly one bucket of the DAT cache table out to a netlink socket. one bucket. not the whole table. she's doing her one (1) job and she's slaying it π
πΈ SYNOPSIS πΈ
int batadv_dat_cache_dump_bucket (struct sk_buff *msg , u32 portid ,
struct netlink_callback *cb , struct batadv_hashtable *hash , unsigned
int bucket , int *idx_skip );
like yes she returns an int, and yes there are six whole arguments, we'll get to every single one, don't stress π«Ά
π ARGUMENTS π
msgβ the buffer for the message, aka where the output goes. it's giving "hold my data" energy πportidβ the netlink port. that's the address she's sending to, no cap β¨cbβ the Control block containing additional options. the little side-car of extra settings, iconic π«hashβ the hash to dump. this is the table we're picking a bucket out of π¦bucketβ the bucket index to dump. literally which bucket. that one. right there πidx_skipβ how many entries to skip. yes bestie, we're skipping, sometimes u gotta skip π
β RETURN β
0 or error code. that's it, that's the whole vibe β zero means we ate, anything else means something went sideways π
π SEE ALSO π
the kernel file lives at ./net/batman-adv/distributed-arp-table.c, and after that it's basically the entire batman-adv extended family reunion β every single one of these, no skipping (unlike idx_skip, we do NOT skip here π€):
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_is_orig_node_eligible(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(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)
and that's the whole page bestie, go dump a bucket πͺ£β¨
π cute sign-off time: this lil page came from./net/batman-adv, dated October 2026, and she answers to the namebatadv_dat_c..._dump_bucket(9). mwah ππ¦
π¦ 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