batadv_recv_frag_packet(9)
okay bestie, welcome to the Kernel API Manual page for batadv_recv_frag_packet(9) β yes, the manual name is folded in right here at the top, no boring header line needed π
πΈ NAME πΈ
batadv_recv_frag_packet β process received fragment. That's the whole vibe: it handles a fragment that just showed up. π¦
β¨ SYNOPSIS β¨
Here's the signature, copied exactly so you can trust it:
int batadv_recv_frag_packet (struct sk_buff *skb , struct batadv_hard_iface *recv_if );
π ARGUMENTS π
skbβ the received fragment. This is the packet-ish thing being handed over.recv_ifβ interface that theskbis received on. Like the doorway it came through.
π₯ DESCRIPTION π₯
okay so this function is lowkey a three-way choose-your-own-adventure, and it does one of exactly three things:
- Forward fragment β if the assembled packet will exceed our MTU, it forwards the fragment.
- Buffer fragment β if we still lack further fragments, it buffers the fragment.
- Merge fragments β if we have all needed parts, it merges the fragments.
π RETURN π
NET_RX_SUCCESS on success, or NET_RX_DROP in case of failure. That's it β slay or drop, no in-between. π
π SEE ALSO π
Kernel file ./net/batman-adv/routing.c and the whole friend group:
_batadv_update_route(9)batadv_update_route(9)batadv_window_protected(9)batadv_check_management_packet(9)batadv_skb_decrement_ttl(9)batadv_recv_my_icmp_packet(9)batadv_recv_icmp_ttl_exceeded(9)batadv_recv_icmp_packet(9)batadv_check_unicast_packet(9)batadv_last_bonding_get(9)batadv_last_bonding_replace(9)batadv_find_router(9)batadv_route_unicast_packet(9)batadv_reroute_unicast_packet(9)batadv_check_unicast_ttvn(9)batadv_recv_unhandled_unicast_packet(9)batadv_recv_unicast_packet(9)batadv_recv_unicast_tvlv(9)batadv_recv_bcast_packet(9)batadv_recv_mcast_packet(9)
and that's the whole page, bestie π«Ά this cutie came from source/version ./net/batman-adv and is dated October 2026; title stays batadv_recv_frag_packet(9) πβ¨
π¦ 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