batadv_send_unicast_skb(9)
π 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 abatadvheader 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:
batadv_send_skb_packet(9)batadv_send_broadcast_skb(9)batadv_send_skb_to_orig(9)batadv_send_skb_push_fill_unicast(9)batadv_send_skb_prepare_unicast(9)batadv_send_skb_prepare_unicast_4addr(9)batadv_send_skb_unicast(9)batadv_send_skb_via_tt_generic(9)batadv_send_skb_via_gw(9)batadv_forw_packet_free(9)batadv_forw_packet_alloc(9)batadv_forw_packet_was_stolen(9)batadv_forw_packet_steal(9)batadv_forw_packet_list_steal(9)batadv_forw_packet_list_free(9)batadv_forw_packet_queue(9)batadv_forw_packet_bcast_queue(9)batadv_forw_packet_ogmv1_queue(9)batadv_forw_bcast_packet_to_list(9)batadv_forw_bcast_packet_if(9)batadv_send_no_broadcast(9)__batadv_forw_bcast_packet(9)batadv_forw_bcast_packet(9)batadv_send_bcast_packet(9)batadv_forw_packet_bcasts_left(9)batadv_forw_packet_bcasts_dec(9)batadv_forw_packet_is_rebroadcast(9)batadv_send_outstanding_bcast_packet(9)batadv_purge_outstanding_packets(9)
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
- 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