batadv_hardif_min_mtu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the netdev struct 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