batadv_send_unicast_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_send_unicast_skb(9) β€” like, the kernel API manual bestie ✨

okay so hi, this is the manual page for batadv_send_unicast_skb(9) from the Kernel API Manual β€” section 9, obvs. it's giving "one small function, whole lotta lore," and honestly? we're obsessed. let's get into it 🫢


✨ NAME ✨

batadv_send_unicast_skb β€” send a unicast packet to a neighbor. that's it, that's the vibe. one packet, one neighbor, no cap πŸ’Œ


πŸ¦‹ SYNOPSIS πŸ¦‹

int batadv_send_unicast_skb (struct sk_buff *skb , struct batadv_neigh_node *neigh );

πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the packet that's gonna be transmitted, bestie. important deets: it comes with a batadv header and no outer eth header. like, it's already dressed for the party, just not the outer layer πŸ’…
  • neigh β€” the neighbor that gets to be the next hop to the destination. main character of the routing moment fr fr 🌸

⭐ RETURN ⭐

so if something goes wrong, you get a negative errno code back. simple.

but here's the part where you need to listen: a success does not guarantee the frame will actually be transmitted 😭 it may still get dropped due to congestion or traffic shaping. so yeah β€” success means "we tried," not "it arrived." lowkey humble of it ngl πŸ’€


πŸ’œ SEE ALSO πŸ’œ

kernel file ./net/batman-adv/send.c and honestly the whole friend group:

like, that's a whole contact list. go say hi πŸ‘‹


okay that's the whole page, bestie β€” stay unicast, stay slay 🧚

source/version: ./net/batman-adv Β· dated October 2026 Β· you were reading batadv_send_unicast_skb(9) πŸ’–

πŸ“¦ where this page comes from