batadv_recv_bcast_packet(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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