batadv_hard_if_event_meshif(9)
π batadv_hard_if_event_meshif(9) β the mesh-interface event handler bestie
okay so real talk, this is a page from the kernel API manual, aka the batman-adv docs, and we're talking about batadv_hard_if_event_meshif(9). Yes it's a mouthful, yes you'll get it, i believe in you π«Ά
β¨ NAME β¨
batadv_hard_if_event_meshif β it handles events for mesh interfaces. that's it, that's the vibe. when a mesh interface has Something Happen To It, this is the function that shows up to deal with it π
πΈ SYNOPSIS πΈ
int batadv_hard_if_event_meshif (unsigned long event , struct net_device *net_dev );
like, two things go in, an int comes out. main character energy fr π₯
π ARGUMENTS π
eventβ theNETDEV_*event that needs handling. yes, the*is doing a lot of work there, it's a whole family of events and this is whichever one just happened β¨net_devβ thenet_devicethat generated the event. the little guy who caused all this drama π
β RETURN β
it gives you back a NOTIFY_* result. no cap, that's the whole return story π
π¦ SEE ALSO π¦
okay bestie, buckle up, because this list is long β it's giving "the whole friend group showed up to the function." these are all in the kernel file ./net/batman-adv/hard-interface.c, and every single one of them is a (9) page:
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)β note the double underscore, she's the private one π€«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_hardif_min_mtu(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_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?? that's thirty-five of them?? she knows everyone at this party π iykyk π
a lil heads up: this page comes from ./net/batman-adv and it's dated October 2026. so yes, future-dated docs are a thing and we're just living in it π§
anyway that's the whole page, you ate that, go read the other thirty-five now π bye bestie!! π
π¦ 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