batadv_frag_skb_buffer(9)
β¨ 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:
- Packet is merged β return
trueand set*skbto the merged packet β¨ - Packet is buffered β return
trueand set*skbtoNULLπ - Error β return
falseand freeskbπ
π 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:
batadv_frag_clear_chain(9)batadv_frag_purge_orig(9)batadv_frag_size_limit(9)batadv_frag_init_chain(9)batadv_frag_insert_packet(9)batadv_frag_merge_packets(9)batadv_skb_is_frag(9)batadv_frag_skb_fwd(9)batadv_frag_create(9)batadv_frag_send_packet(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms