batadv_mcas...all_ip_count(9)
π batadv_mcast_forw_want_all_ip_count β Kernel API Manual π
okay so bestie, welcome to the batadv_mcast_forw_want_all_ip_count page, straight out of the Kernel API Manual β¨ this one's a tiny little function with a big personality, and she's about counting up all the nodes that are like "yes give me ALL the multicast, idc what it is" π
πΈ NAME πΈ
batadv_mcast_forw_want_all_ip_count β count nodes with unspecific mcast interest π
like, "unspecific" meaning they just want everything, no filter, no pickiness, periodt.
π¦ SYNOPSIS π¦
int batadv_mcast_forw_want_all_ip_count (struct batadv_priv *bat_priv ,
struct ethhdr *ethhdr );
that's literally it, she's small but she's doing her job π«Ά
β¨ ARGUMENTS β¨
bat_privβ the bat priv with all the mesh interface information π§ this is the main character struct holding everything you need to know about the mesh interfaceethhdrβ ethernet header of a packet π¦ the packet's little ID card, basically
β RETURN β
here's the tea β this function gives you back a number, and which number depends on what kind of packet that ethhdr is repping:
- if the given
ethhdris from an IPv4 packet β the number of nodes which want all IPv4 multicast traffic π₯ - if it matches an IPv6 packet β the number of nodes which want all IPv6 traffic π
either way you're getting a count of the want-it-all besties, just for the right protocol π
π SEE ALSO π
there's a whole friend group here ngl, the entire batadv_mcast_* extended universe fr fr π every single one of these is linked below, no cap, nothing skipped:
- 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_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)
anyway bestie that's the whole page π this one lives in ./net/batman-adv and the version vibes are dated October 2026 β iconic, timeless, slay π go read the source, ily, bye ππ
π¦ 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