batadv_mcas...ant_all_rtr6(9)
π batadv_mcast_forw_want_all_rtr6 π
okay bestie, welcome to batadv_mcas...ant_all_rtr6(9) β that's the Kernel API Manual page for this one very specific mcast forwarding function, and yes the title is truncated like that, it's not a typo, it's just how the manpage generator woke up that morning π
β¨ NAME β¨
batadv_mcast_forw_want_all_rtr6 β forward to nodes with want-all-rtr6
π¦ SYNOPSIS π¦
int batadv_mcast_forw_want_all_rtr6 (struct batadv_priv *bat_priv ,
struct sk_buff *skb , unsigned short vid );
that's the whole signature, no cap. three args, one int return, iconic behavior π
π ARGUMENTS π
bat_privβ the bat priv with all the mesh interface information. it's literally the main character of the whole file, it knows everything about your mesh interfaces π«Άskbβ The multicast packet to transmit. this is the actual frame going out the door, so please treat it nicely πvidβ the vlan identifier. yep, just the vlan id, keeping it cute and short πΈ
π DESCRIPTION π
so what does it actually do. it sends copies of a frame with multicast destination to any node with a BATADV_MCAST_WANT_NO_RTR6 flag unset. that's the lowkey important bit: the flag has to be unset for a node to get a copy β we're looking for the nodes that haven't said "no rtr6 pls" π
and for each one of those destination nodes, a transmission is performed via a batman-adv unicast packet. so it's one unicast packet per destination node, fr fr β multicast frame in, a whole bunch of unicast transmissions out, that's the vibe π«
π₯ RETURN π₯
NET_XMIT_DROPβ happens on memory allocation failure π (rip, no memory, no packet)NET_XMIT_SUCCESSβ otherwise π
π§ SEE ALSO π§
the kernel file itself lives at ./net/batman-adv/multicast.c, and here's the entire friend group, every single one, no skipping, 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_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_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, the whole batadv_mcast_* family tree showed up to the group chat and honestly? obsessed π
and that's the page!! this little beauty lives in ./net/batman-adv, dated October 2026, and you found it under the name batadv_mcas...ant_all_rtr6(9) β mwah, go read the source bestie, 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