batadv_wifi...evice_insert(9)
πΈ NAME πΈ
batadv_wifi_net_device_insert β bestie, this one saves the info about a wifi net_device π
So like, the manual page we're reading is batadv_wifi_net_device_insert(9), from the Kernel API Manual, and it's basically the function that tucks away what it knows about a wireless network device. Iconic little record-keeper behavior, honestly.
β¨ SYNOPSIS β¨
int batadv_wifi_net_device_insert (struct net_device *net_dev , u32
wifi_flags );
π ARGUMENTS π
net_devβ thenet_deviceyou're adding tobatadv_wifi_net_devices. That's the one going in the list, no cap π«Άwifi_flagsβ the already-extractedbatadv_hard_iface_wifi_flagsof anet_device. It got pulled out earlier, you're just handing it over.
π RETURN π
0on success β¨- a negative value on error π (that's it, that's the vibe)
Heads up bestie: positive numbers are not part of the deal here β success is 0, failure is negative. Keep that mental note π
π¦ SEE ALSO π¦
The kernel file lives at ./net/batman-adv/hard-interface.c, and it's surrounded by the whole squad of related functions β go read these if you want the full lore, iykyk π
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_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)
And that's the whole page, bestie! π§ This one came from ./net/batman-adv, dated October 2026, and it's filed under batadv_wifi_net_device_insert(9) β 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