batadv_throw_uevent(9)
π batadv_throw_uevent(9) β like, the whole vibe
okay so bestie, welcome to the Kernel API Manual page for batadv_throw_uevent(9) β yes that parenthetical 9 means kernel-space function, we love a section number, no cap π«Ά
β¨ NAME β¨
batadv_throw_uevent β send a uevent with batman-adv specific env data π
πΈ SYNOPSIS πΈ
int batadv_throw_uevent (struct batadv_priv *bat_priv , enum
batadv_uev_type type , enum batadv_uev_action action , const char *data
);
literally that's the whole signature, keep it exactly like that π
π¦ ARGUMENTS π¦
bat_privβ the bat priv holding all the mesh interface information. main character struct energy fr fr πtypeβ the subsystem type of event. it gets stored in the uevent'sBATTYPE. iykyk πactionβ the action type of event. stored in the uevent'sBATACTION. iconic β¨dataβ a string with extra info for the event, stored in the uevent'sBATDATA. but heads up: it's ignored forBATADV_UEV_DEL, so don't come for me when it does nothing there π
π§ RETURN π§
0 on success, or a negative error number if it fails. that's it, that's the tea π
π₯ SEE ALSO π₯
kernel file ./net/batman-adv/main.c plus the whole friend group:
batadv_init(9)batadv_exit(9)batadv_mesh_init(9)batadv_mesh_free(9)batadv_is_my_mac(9)batadv_max_header_len(9)batadv_skb_set_priority(9)batadv_recv_unhandled_packet(9)batadv_batman_skb_recv(9)batadv_recv_handler_init(9)batadv_recv_handler_register(9)batadv_recv_handler_unregister(9)batadv_get_vid(9)batadv_vlan_ap_isola_get(9)
go read them all bestie, they're lowkey all connected, it's giving syllabus ππ
and that's a wrap! this page lives in ./net/batman-adv, dated October 2026, and it's batadv_throw_uevent(9) β slay, bye! ππβ
π¦ 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