__batadv_mcast_flags_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __batadv_mcast_flags_dump (9) 🌸

okay so bestie, welcome to the Kernel API Manual β€” this one's a kernel-internal function page, so no man 1 energy here, it's the real deep-lore stuff 🫢


✨ NAME ✨

__batadv_mcast_flags_dump β€” dumps the multicast flags table out to a netlink socket πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int __batadv_mcast_flags_dump (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_priv *bat_priv , long *bucket , long *idx );

it's giving "one function, six arguments, zero chill" and honestly? iconic. returns an int β€” remember that, it comes back πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • msg β€” buffer for the message. this is where the output goes, no cap πŸ“¨
  • portid β€” netlink port. the whole "who am i even talking to" situation πŸ”Œ
  • cb β€” Control block containing additional options. the ✨extra✨ setting, iykyk
  • bat_priv β€” the bat priv with all the mesh interface information. literally the main character of this whole file, holds all the meshif lore 🧚
  • bucket β€” current bucket to dump. we're going bucket by bucket, one at a time, methodically, slay πŸͺ£
  • idx β€” index in current bucket to the next entry to dump. points at which entry inside that bucket is up next πŸ“

🌈 RETURN 🌈

0 or error code. that's it, that's the whole vibe. zero means we ate, anything else means something went sideways 😭


πŸ’œ SEE ALSO πŸ’œ

lowkey the biggest friendship group in the whole kernel 🫢 these all hang out in the kernel file ./net/batman-adv/multicast.c:

batadv_mcast_start_timer(9), batadv_mcast_get_bridge(9), batadv_mcast_mla_rtr_flags_meshif_get_ipv4(9), batadv_mcast_mla_rtr_flags_meshif_get_ipv6(9), batadv_mcast_mla_rtr_flags_meshif_get(9), batadv_mcast_mla_rtr_flags_bridge_get(9), batadv_mcast_mla_rtr_flags_get(9), batadv_mcast_mla_forw_flags_get(9), batadv_mcast_mla_flags_get(9), batadv_mcast_mla_is_duplicate(9), batadv_mcast_mla_meshif_get_ipv4(9), batadv_mcast_mla_meshif_get_ipv6(9), batadv_mcast_mla_meshif_get(9), batadv_mcast_mla_br_addr_cpy(9), batadv_mcast_mla_bridge_get(9), batadv_mcast_mla_list_free(9), batadv_mcast_mla_tt_retract(9), batadv_mcast_mla_tt_add(9), batadv_mcast_querier_log(9), batadv_mcast_bridge_log(9), batadv_mcast_flags_log(9), batadv_mcast_mla_flags_update(9), __batadv_mcast_mla_update(9), batadv_mcast_mla_update(9), batadv_mcast_is_report_ipv4(9), batadv_mcast_forw_mode_check_ipv4(9), batadv_mcast_is_report_ipv6(9), batadv_mcast_forw_mode_check_ipv6(9), batadv_mcast_forw_mode_check(9), batadv_mcast_forw_want_all_ip_count(9), batadv_mcast_forw_rtr_count(9), batadv_mcast_forw_mode_by_count(9), batadv_mcast_forw_mode(9), batadv_mcast_forw_send_orig(9), batadv_mcast_forw_tt(9), batadv_mcast_forw_want_all_ipv4(9), batadv_mcast_forw_want_all_ipv6(9), batadv_mcast_forw_want_all(9), batadv_mcast_forw_want_all_rtr4(9), batadv_mcast_forw_want_all_rtr6(9), batadv_mcast_forw_want_rtr(9), batadv_mcast_forw_send(9), batadv_mcast_want_unsnoop_update(9), batadv_mcast_want_ipv4_update(9), batadv_mcast_want_ipv6_update(9), batadv_mcast_want_rtr4_update(9), batadv_mcast_want_rtr6_update(9), batadv_mcast_have_mc_ptype_update(9), batadv_mcast_tvlv_flags_get(9), batadv_mcast_tvlv_ogm_handler(9), batadv_mcast_init(9), batadv_mcast_mesh_info_put(9), batadv_mcast_flags_dump_entry(9), batadv_mcast_flags_dump_bucket(9), batadv_mcast_netlink_get_primary(9), batadv_mcast_flags_dump(9), batadv_mcast_free(9), batadv_mcast_purge_orig(9)

bestie this is a LOT of cross-references. like, sixty-ish friends. don't try to memorise them all in one sitting, drink some water πŸ“

and that's the whole page πŸ’–

big lil' sign-off: this one comes from ./net/batman-adv and it's dated October 2026 β€” so screenshot it now, it's basically vintage already πŸ“Έβœ¨ periodt.

πŸ“¦ where this page comes from