batadv_mcas...acket_hdrlen(9)
π NAME π
batadv_mcast_forw_packet_hdrlen β multicast packet header length, bestie
okay so real quick, this whole thing lives in the batadv_mcas...acket_hdrlen(9) section of the Kernel API Manual β like that's the manual name, it's giving "long function name, tiny screen" energy π but we move π
β¨ SYNOPSIS β¨
unsigned int batadv_mcast_forw_packet_hdrlen (unsigned int num_dests );
that's the whole vibe check. one function, one arg, returns an unsigned int. slay.
π ARGUMENTS π
num_destsβ the number of destination nodes. literally just how many dests you're counting for π₯
π¦ DESCRIPTION π¦
okay so what this does is it calculates the total batman-adv multicast packet header length for a given number of destination nodes β and like, <italic>excluding</italic> the outer ethernet frame, okay? don't forget that part, it's important π
so: you hand it num_dests, it hands you back the header length. no cap, that's the whole job. lowkey iconic for how focused it is π
πΈ RETURN πΈ
returns the calculated total batman-adv multicast packet header length. that's it, that's the return. periodt β¨
π SEE ALSO π
the whole friend group, fr fr β go say hi to all of them π«Ά
Kernel file ./net/batman-adv/multicast_forw.cβ the source file it lives in, iykyk πbatadv_mcast_forw_skb_push(9)batadv_mcast_forw_push_padding(9)batadv_mcast_forw_push_est_padding(9)batadv_mcast_forw_orig_entry(9)batadv_mcast_forw_push_dest(9)batadv_mcast_forw_push_dests_list(9)batadv_mcast_forw_push_tt(9)batadv_mcast_forw_push_want_all(9)batadv_mcast_forw_push_want_rtr(9)batadv_mcast_forw_scrape(9)batadv_mcast_forw_push_scrape_padding(9)batadv_mcast_forw_push_insert_padding(9)batadv_mcast_forw_push_adjust_padding(9)batadv_mcast_forw_push_dests(9)batadv_mcast_forw_push_tracker(9)batadv_mcast_forw_push_tvlvs(9)batadv_mcast_forw_push_hdr(9)batadv_mcast_forw_scrub_dests(9)batadv_mcast_forw_shrink_fill(9)batadv_mcast_forw_shrink_pack_dests(9)batadv_mcast_forw_shrink_align_offset(9)batadv_mcast_forw_shrink_update_headers(9)batadv_mcast_forw_shrink_move_headers(9)batadv_mcast_forw_shrink_tracker(9)batadv_mcast_forw_packet(9)batadv_mcast_forw_tracker_tvlv_handler(9)batadv_mcast_forw_expand_head(9)batadv_mcast_forw_push(9)batadv_mcast_forw_mcsend(9)
and that's the page bestie!! π source is ./net/batman-adv, dated October 2026, and the manual is batadv_mcas...acket_hdrlen(9) β mwah, go read some kernel source, ily πβ¨π¦
π¦ 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