__batadv_dat_purge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __batadv_dat_purge(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the Kernel API Manual entry for __batadv_dat_purge(9). it's giving β€œtiny utility function with a big SEE ALSO list” energy, and we're gonna get through every single reference together. 🫢


✨ NAME ✨

__batadv_dat_purge β€” delete entries from the DAT local storage πŸ’…

πŸ› οΈ SYNOPSIS πŸ› οΈ

void __batadv_dat_purge (struct batadv_priv *bat_priv , bool
       (*to_purge)(struct batadv_dat_entry *) );

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information ✨
  • to_purge β€” function in charge of deciding whether an entry has to be purged or not. This function takes the dat_entry as argument and has to return a boolean value: true if the entry has to be deleted, false otherwise 🫢

πŸ’… DESCRIPTION πŸ’…

okay so __batadv_dat_purge() loops over each entry in the DAT local storage and deletes it if and only if the to_purge function passed as an argument returns true. that's the whole plot, no cap: the callback decides, and the purge only happens on true. πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

bestie, this list is LONG and we are not skipping a single one. same order, all the facts:


sign-off time, bestie: source/version is ./net/batman-adv, and the date on this one is October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from