batadv_send...fill_unicast(9)
π batadv_send...fill_unicast(9) π¦
okay so this is from the Kernel API Manual, bestie β we're deep in kernel land today and honestly? iconic behavior. sit down, grab a boba, let's go π
β¨ NAME β¨
batadv_send_skb_push_fill_unicast β extend the buffer and initialize the common fields for unicast packets
like, it pushes space onto the front of the skb and then fills in the shared unicast header bits. that's the whole vibe. π
πΈ SYNOPSIS πΈ
bool batadv_send_skb_push_fill_unicast (struct sk_buff *skb , int
hdr_size , struct batadv_orig_node *orig_node );
π ARGUMENTS π
skbβ the skb carrying the unicast header to initialize. yes, that skb. the main character. πhdr_sizeβ amount of bytes to push at the beginning of the skb. it's giving "how much room do we need up front" energy.orig_nodeβ the destination node. where it's going, who it's for, the whole point fr fr π«Ά
β RETURN β
falseβ if the buffer extension was not possible. sad. πtrueβ otherwise. slay. β¨
no in-between, no maybes β it's a bool, it tells you straight. ngl that's the healthiest communication style tbh π
π SEE ALSO π
first up, the kernel file this lives in β it's ./net/batman-adv/send.c π
and now the whole friend group, all of them (9), no cap:
batadv_send_skb_packet(9)batadv_send_broadcast_skb(9)batadv_send_unicast_skb(9)batadv_send_skb_to_orig(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)
that's the roster. read them, love them, iykyk π§
ok that's the page!! go push some headers bestie, you've got this π
and that's a wrap, mwah π β brought to you by the source ./net/batman-adv, dated October 2026, still out here serving batadv_send...fill_unicast(9) realness π
π¦ 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