batadv_frag_skb_buffer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_frag_skb_buffer(9) ✨

okay so bestie, welcome to the <pink>batadv_frag_skb_buffer</pink> page from the Kernel API Manual β€” this is the batman-adv fragmentation lore and honestly it's lowkey iconic πŸ’…


🌸 NAME 🌸

batadv_frag_skb_buffer β€” buffer a fragment for later merging, bestie πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bool batadv_frag_skb_buffer (struct sk_buff **skb , struct
       batadv_orig_node *orig_node_src );

πŸ’– ARGUMENTS πŸ’–

  • skb β€” the skb you wanna buffer, periodt πŸ’«
  • orig_node_src β€” the originator that the skb is received from, iykyk πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

so the whole vibe here: add the fragment to the buffer, and merge fragments if possible 🫢

and there are three possible outcomes, no cap:

  1. Packet is merged β€” return true and set *skb to the merged packet ✨
  2. Packet is buffered β€” return true and set *skb to NULL πŸ’€
  3. Error β€” return false and free skb 😭

πŸ‘‘ RETURN πŸ‘‘

returns true when the packet is merged or buffered, and false when skb is not used 🌈


⭐ SEE ALSO ⭐

kernel file ./net/batman-adv/fragmentation.c plus the whole bestie squad:


and that's the page, bestie πŸ§šπŸ’œ this one's from ./net/batman-adv, dated October 2026, and it's all about batadv_frag_skb_buffer(9) β€” go forth and fragment slay πŸ’…πŸ“

πŸ“¦ where this page comes from