batadv_send_skb_via_gw(9)
π batadv_send_skb_via_gw(9) β like, the Kernel API Manual era π
okay so bestie, welcome to the batadv_send_skb_via_gw glow-up page β¨ this is the Kernel API Manual entry, and honestly? it's giving "small function, big responsibilities" energy π
πΈ NAME πΈ
batadv_send_skb_via_gw β send an skb via gateway lookup π
β¨ SYNOPSIS β¨
int batadv_send_skb_via_gw (struct batadv_priv *bat_priv , struct
sk_buff *skb , unsigned short vid );
literally that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
bat_privβ the bat priv with all the mesh interface information, like the main character carrying every single detail of the mesh interface around with her πΌskbβ payload to send, the lil package itself π¦vidβ the vid to be used to search the translation table, iykyk π
π DESCRIPTION π
Look up the currently selected gateway. π
Wrap the given skb into a batman-adv unicast header and send this frame to this gateway node. It's basically gift-wrapping your packet and handing it to the gateway bestie πβ‘οΈπ periodt.
π RETURN π
NET_XMIT_DROPin case of error πNET_XMIT_SUCCESSotherwise πβ¨
fr fr, those are the only two vibes you're getting back π
π₯ SEE ALSO π₯
Kernel file ./net/batman-adv/send.c β and honestly the whole friend group is here, so let's go π
batadv_send_skb_packet(9)batadv_send_broadcast_skb(9)batadv_send_unicast_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_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)
that's the whole page, bestie, stay hydrated and keep your skbs safe π π§ββοΈ
signing off from ./net/batman-adv β dated October 2026 β mwah π π
π¦ 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