batadv_tvlv..._packet_buff(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tvlv..._packet_buff(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this is the page for batadv_tvlv..._packet_buff(9) and honestly it's giving "small function, big responsibilities" energy. Let's get into it 🫢


✨ NAME ✨

batadv_tvlv_realloc_packet_buff β€” reallocate packet buffer to accommodate requested packet size

like, it resizes the buffer so the packet you want to shove in there actually fits. lowkey iconic of it πŸ’–


🌸 SYNOPSIS 🌸

bool batadv_tvlv_realloc_packet_buff (struct batadv_ogm_buf *ogm_buff ,
size_t additional_packet_len );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ogm_buff β€” ogm packet buffer. that's the buffer we're out here reallocating, no cap πŸŽ€
  • additional_packet_len β€” requested additional packet size on top of minimum size. so it's not the total size bestie, it's extra size stacked on top of the minimum, iykyk ✨

πŸ’€ RETURN πŸ’€

returns true if the packet buffer could be changed to the requested size, and false otherwise. so like… vibe check on whether the realloc popped off or not 😭


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/batman-adv/tvlv.c β€” and the whole friend group:


main character energy only in ./net/batman-adv β€” that's the source, bestie. and this page is stamped October 2026 🌈

that's the whole page, periodt πŸ’œ go forth and realloc responsibly, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from