batadv_mcast...hif_get_ipv4(9)
π batadv_mcast...hif_get_ipv4(9) π
okay so this is a page from the Kernel API Manual and bestie, it's a whole little function with a whole lot of friends. it's batadv_mcast_mla_meshif_get_ipv4 β the meshif IPv4 multicast listener collector. yes, that's a mouthful, we're gonna get through it together π«Ά
β¨ NAME β¨
batadv_mcast_mla_meshif_get_ipv4 β get meshif IPv4 multicast listeners π
πΈ SYNOPSIS πΈ
int batadv_mcast_mla_meshif_get_ipv4 (struct net_device *dev , struct
hlist_head *mcast_list , struct batadv_mcast_mla_flags *flags );
π ARGUMENTS π
devβ the device we're collecting multicast addresses from, like, the main character of this whole operation πmcast_listβ a list to put the found addresses into, it's the bag we're filling up πflagsβ flags indicating the new multicast state, iykyk β
π¦ DESCRIPTION π¦
so what this does is it collects the multicast addresses of IPv4 multicast listeners residing on this kernel on the given mesh interface, dev, and drops them into the given mcast_list. π
in general? multicast listeners provided by your multicast receiving applications run directly on this node. literally right here. no cap. π
π₯ RETURN π₯
-ENOMEMon memory allocation error π (the classic)- otherwise, the number of items added to the
mcast_listβ¨
π SEE ALSO π
first up, the kernel file itself: ./net/batman-adv/multicast.c β go read it, it's giving source of truth π
then, the whole entire friend group (yes, all of them, I'm not skipping a single one, we don't do that here) π§:
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_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_flags_dump(9)batadv_mcast_netlink_get_primary(9)batadv_mcast_flags_dump(9)batadv_mcast_free(9)batadv_mcast_purge_orig(9)
like I said. the whole group chat. π
that's the page, bestie! this one's from ./net/batman-adv, dated October 2026, and it's filed as batadv_mcast...hif_get_ipv4(9) β go forth and collect those listeners π¦πβ¨
π¦ 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