batadv_hardif_min_mtu(9)
π batadv_hardif_min_mtu(9) β the kernel API manual, bestie edition
okay so this is from the Kernel API Manual, and today's main character is batadv_hardif_min_mtu(9). she's a little function with one job and she does it flawlessly β¨
β¨ NAME β¨
batadv_hardif_min_mtu β literally just: calculate the maximum MTU for a mesh interface π
β¨ SYNOPSIS β¨
int batadv_hardif_min_mtu (struct net_device *mesh_iface );
β¨ ARGUMENTS β¨
mesh_ifaceβ thenetdevstruct of the mesh interface. that's it, that's the whole vibe check π¦
β¨ RETURN β¨
she gives you back the MTU for the mesh-interface β and heads up, it's limited by the minimal MTU of all the active slave interfaces π so if one of your slaves is being a low-MTU little hater, that's the number everyone gets. group project rules, bestie π
β¨ SEE ALSO β¨
this is the part where the whole friend group shows up, and yes, you do need to know all of them π«Ά
Kernel file ./net/batman-adv/hard-interface.c plus, in no particular order and also in this exact particular order:
batadv_hardif_release(9), batadv_hardif_get_by_netdev(9), batadv_getlink_net(9), batadv_mutual_parents(9), batadv_is_on_batman_iface(9), batadv_is_valid_iface(9), __batadv_get_real_netdev(9), batadv_get_real_netdev(9), batadv_is_wext_netdev(9), batadv_is_cfg80211_netdev(9), batadv_wifi_flags_evaluate(9), batadv_netdev_get_wifi_flags(9), batadv_hardif_get_wifi_flags(9), batadv_is_wifi_hardif(9), batadv_hardif_no_broadcast(9), batadv_hardif_get_active(9), batadv_primary_if_update_addr(9), batadv_primary_if_select(9), batadv_hardif_is_iface_up(9), batadv_check_known_mac_addr(9), batadv_hardif_recalc_extra_skbroom(9), batadv_update_min_mtu(9), batadv_hardif_activate_interface(9), batadv_hardif_deactivate_interface(9), batadv_hardif_enable_interface(9), batadv_hardif_disable_interface(9), batadv_hard_if_event_meshif(9), batadv_wifi_net_device_insert(9), batadv_wifi_net_device_remove(9), batadv_wifi_net_device_update(9), batadv_wifi_net_device_unregister(9), batadv_wifi_net_device_event(9), batadv_hard_if_event(9), batadv_wifi_net_devices_init(9), batadv_wifi_net_devices_deinit(9)
like. the whole roster. the entire ensemble cast. iykyk π
alright that's the page! it's sourced from ./net/batman-adv, dated October 2026, and it's filed under batadv_hardif_min_mtu(9) β so if you need her again you know exactly where to look π mwah, go read the source bestie, slay π§
π¦ 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