batadv_mcas...acket_hdrlen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🫢


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