batadv_frag_purge_orig(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_frag_purge_orig β€” the kernel API manual, bestie edition πŸŽ€

Okay so real talk, the manual page is literally called batadv_frag_purge_orig and it lives in the kernel API manual, and today we're gonna make it make sense, mkay? ✨


🌸 NAME 🌸

batadv_frag_purge_orig β€” free fragments associated to an orig πŸ’–

Like, it yeets the fragments that are tied to an orig. That's the whole vibe. No cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

void batadv_frag_purge_orig (struct batadv_orig_node *orig_node , bool
(*check_cb)(struct batadv_frag_table_entry *) );

Not me obsessing over a void return β€” it gives "I do the work and I don't ask for credit" main character energy fr fr. πŸ’…


✨ ARGUMENTS ✨

  • orig_node β€” the originator you're freeing fragments from 🫢 like, this is the node, and the fragments belong to it, and we are releasing them. Bye bestie!
  • check_cb β€” an optional function that tells you if an entry should be purged πŸ‘€ it's a callback, it takes a struct batadv_frag_table_entry *, and it's literally the bouncer at the club deciding who gets in (or, uh, who gets out 🫠). Skip it and, well, it's optional β€” that's the whole point, iykyk.
lowkey important: check_cb is optional, but if you do pass it, it's the thing that decides whether an entry gets purged. It's giving "you had one job and it was quality control" 😭

🌈 SEE ALSO 🌈

Kernel file ./net/batman-adv/fragmentation.c β€” and the whole friend group, because fragmentation in batman-adv is a family πŸ§šπŸ’œ:

Go read all of them. Not a suggestion. Okay it's a suggestion but like, a strong one πŸ’€


πŸ’€ reminder that this is a kernel API page β€” the docs are your bestie but the source is the truth. Slay responsibly.

okay that's the whole page, mwah πŸ’– so like, this came out of ./net/batman-adv and it's dated October 2026 β€” screenshot it, frame it, put it on the fridge, batadv_frag_purge_orig(9) ate and left no crumbs πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from