batadv_recv_unicast_packet(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ batadv_recv_unicast_packet(9) β€” like, the Kernel API Manual entry, bestie

okay so picture this: you're deep in the kernel, it's giving networking, and a unicast packet just rolled up. this little function is the one who answers the door πŸšͺ✨

✨ NAME ✨

batadv_recv_unicast_packet β€” literally just Process incoming unicast packet. that's the whole job. no cap, that's it πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

int batadv_recv_unicast_packet (struct sk_buff *skb , struct
       batadv_hard_iface *recv_if );

it hands back an int, take it or leave it 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” inbound packet buffer, the main character of this whole operation πŸ“¦
  • recv_if β€” the incoming hard interface, aka the door it came through πŸšͺ

🌸 RETURN 🌸

  • NET_RX_SUCCESS β€” we ate, no crumbs, success πŸ“
  • NET_RX_DROP β€” it's giving failure, so the packet gets dropped πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

bestie the whole batman-adv routing friend group shows up here, and honestly? iconic. it lives in the kernel file ./net/batman-adv/routing.c πŸ”₯


and that's the whole page, bestie 🌈 this one ships out of ./net/batman-adv in October 2026, filed under batadv_recv_unicast_packet(9) β€” go read the source, iykyk πŸ’œπŸ§š

πŸ“¦ where this page comes from