batadv_frag_size_limit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 batadv_frag_size_limit(9) β€” like, the kernel API manual bestie πŸ’…

okay so first things first, this page lives in the Kernel API Manual and it's all about one lil function called batadv_frag_size_limit. no cap, it's a whole vibe.


✨ NAME ✨

batadv_frag_size_limit β€” literally tells you the maximum possible size of packet to be fragmented. that's it. that's the whole job. iconic behavior honestly πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

size_t batadv_frag_size_limit (void );

she takes nothing, she returns a size_t. main character energy fr fr ⭐


πŸ’– ARGUMENTS πŸ’–

  • void β€” no arguments. none. zero. the void is voiding πŸ™ˆ

like, you don't pass her anything, she doesn't want anything, she's independent πŸ’…


πŸ”₯ RETURN πŸ”₯

the maximum size of payload that can be fragmented. that's the answer she hands back to you, and it's a size_t, so it's a nice chunky unsigned number. slay πŸ’œ


🌈 SEE ALSO 🌈

bestie you GOTTA check out the kernel file that this whole thing lives in, it's literally in ./net/batman-adv/fragmentation.c β€” go read it, iykyk πŸ‘‘

and then the whole friend group of frag functions, all of them, no skips:

πŸ’€ real talk: they're all listed in the same SEE ALSO blob as the kernel file ./net/batman-adv/fragmentation.c, so if you're out here reading this page you're lowkey also being told to go read all of those. do with that what you will 🫢

and that's the whole page!! πŸ“ this cutie came out of ./net/batman-adv, dated October 2026, and if you ever need to find her again just look up batadv_frag_size_limit(9). mwah πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from