batadv_mcast...w_orig_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_mcast_forw_orig_entry

okay so bestie, welcome to the Kernel API Manual β€” yes we're reading kernel docs together, this is our life now, and honestly? iconic. grab a matcha πŸ“


✨ NAME ✨

batadv_mcast_forw_orig_entry β€” get the orig_node out of an hlist node πŸŽ€

🌸 SYNOPSIS 🌸

struct batadv_orig_node * batadv_mcast_forw_orig_entry (struct
       hlist_node *node , size_t entry_offset );

like, you hand it a node and an offset and it hands you back the orig_node, no cap πŸ’–

πŸ¦‹ ARGUMENTS πŸ¦‹

  • node β€” the hlist node you want the orig_node from, bestie. that's the whole assignment.
  • entry_offset β€” the offset of that hlist node within the orig_node struct. yes it's a size_t, yes you need it, no you cannot skip it πŸ™ˆ

πŸ‘‘ RETURN πŸ‘‘

The orig_node containing the hlist node on success β€” slay ✨ β€” and NULL on error 😭 (which is the vibe check failing, fr).

ngl, always check for that NULL. it's giving "i forgot to check and now everything is on fire" energy πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/batman-adv/multicast_forw.c β€” that's the mothership, go read her 🫢

and then the whole friend group, in the order the page gives them:

twenty-nine links, we counted, we do not gatekeep πŸ’œ


that's the page, periodt πŸ’… shoutout to the ./net/batman-adv girlies and to October 2026 for the timestamp β€” this one's for you, iykyk 🌈⭐🧚

πŸ“¦ where this page comes from