batadv_mcast...w_orig_entry(9)
π 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 theorig_nodefrom, bestie. that's the whole assignment.entry_offsetβ the offset of that hlist node within theorig_nodestruct. yes it's asize_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:
batadv_mcast_forw_skb_push(9)batadv_mcast_forw_push_padding(9)batadv_mcast_forw_push_est_padding(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_packet_hdrlen(9)batadv_mcast_forw_expand_head(9)batadv_mcast_forw_push(9)batadv_mcast_forw_mcsend(9)
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
- 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