batadv_recv_bcast_packet(9)
π batadv_recv_bcast_packet(9) β the Kernel API Manual glow-up β¨
okay so bestie, welcome to the Kernel API Manual page for batadv_recv_bcast_packet(9) β yes the title is a whole mouthful but we move π«Ά. this is the little function that handles incoming broadcast packets, and honestly? it's giving traffic-cop-but-make-it-cute energy π
β¨ NAME β¨
batadv_recv_bcast_packet β literally just process incoming broadcast packet, that's the whole vibe π₯
π¦ SYNOPSIS π¦
int batadv_recv_bcast_packet (struct sk_buff *skb , struct
batadv_hard_iface *recv_if );
so she takes two things and gives you back an int, periodt π
keep the spacing exactly like that, the compiler does not care about aesthetics but we do π
πΈ ARGUMENTS πΈ
skbβ the incoming packet buffer, aka the whole entire package being handed to you, no cap π¦recv_ifβ the incoming hard interface, aka which NIC this lil packet strolled in through π§
β RETURN β
NET_RX_SUCCESSβ slay, it worked, success era πNET_RX_DROPβ not slay, failure era, the packet gets dropped π
that's it, those are the only two outcomes, highkey simple fr fr
π SEE ALSO π
so if you're the kind of bestie who goes down the rabbit hole (respect π«Ά), these all live in the Kernel file ./net/batman-adv/routing.c and they're all so worth a little scroll:
_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_frag_packet(9)batadv_recv_mcast_packet(9)
like, that's the whole friend group, the entire roster, iykyk π
and that's the page!! mwah π this lil manual lives in ./net/batman-adv, dated October 2026, and it's always gonna be batadv_recv_bcast_packet(9) to me πβ¨
π¦ 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