batadv_hard_if_event(9)
π batadv_hard_if_event(9) β like, the kernel API manual bestie β¨
okay so real talk, you're reading the Kernel API Manual page for batadv_hard_if_event, and honestly? she's giving "quiet but crucial". let's get into it π
πΈ NAME
batadv_hard_if_event β the netdevice notifier callback for hard interfaces, periodt.
β¨ SYNOPSIS
int batadv_hard_if_event (struct notifier_block *this , unsigned long
event , void *ptr );
π«Ά ARGUMENTS
thisβ the notifier block. lowkey she's just there vibing, literally unused πeventβ theNETDEV_*event we're handling. main character energy, this is the actual occasion.ptrβ notifier info, pointing right at the affectednet_device. she knows exactly which interface we're talking about π
π¦ DESCRIPTION
So here's the vibe: this function dispatches netdevice events that affect potential or existing hard interfaces. that's it, that's the job π
but bestie, important note β mesh interfaces are handled separately, by batadv_hard_if_event_meshif. don't come for her, they're different departments, iykyk. π
β RETURN
NOTIFY_DONE β and that's on doing your part and handing the notification chain back politely π«‘
no cap, it just returns NOTIFY_DONE, no drama, no complications. we love a low-maintenance return value π
π SEE ALSO
Kernel file ./net/batman-adv/hard-interface.c and her entire friend group:
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_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_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_wifi_net_devices_init(9)batadv_wifi_net_devices_deinit(9)
and that's the page!! π this lil beauty lives out of ./net/batman-adv and was dated October 2026 β go off, hard-interface.c, we're obsessed π§β¨
π¦ 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