batadv_netlink_register(9)
β¨ batadv_netlink_register β¨
okay bestie, so this one is a kernel API manual page from the batadv (batman-adv) family, and it's literally the function that gets the whole genl netlink party started π
πΈ NAME πΈ
batadv_netlink_register β register the batadv genl netlink family π
π¦ SYNOPSIS π¦
int batadv_netlink_register (void );
π ARGUMENTS π
voidβ no arguments, bestie. nothing. nada. she takes zero inputs, she's lowkey self-sufficient like that π
β RETURN β
0 on success β slay π
or a negative error number if it fails π (so like, don't assume it worked, ok? check the vibe of that return value fr fr)
π SEE ALSO π
Like, there's a whole friend group here and you should probably meet them all:
- Kernel file
./net/batman-adv/netlink.cenum batadv_netlink_multicast_groups(9)enum batadv_genl_ops_flags(9)batadv_netlink_get_ifindex(9)batadv_netlink_mesh_fill_ap_isolation(9)batadv_netlink_set_mesh_ap_isolation(9)batadv_netlink_mesh_fill(9)batadv_netlink_notify_mesh(9)batadv_netlink_get_mesh(9)batadv_netlink_set_mesh(9)batadv_netlink_tp_meter_put(9)batadv_netlink_tpmeter_notify(9)batadv_netlink_tp_meter_start(9)batadv_netlink_tp_meter_cancel(9)batadv_netlink_hardif_fill(9)batadv_netlink_notify_hardif(9)batadv_netlink_cmd_get_hardif(9)batadv_netlink_set_hardif(9)batadv_netlink_dump_hardif(9)batadv_netlink_vlan_fill(9)batadv_netlink_notify_vlan(9)batadv_netlink_get_vlan(9)batadv_netlink_set_vlan(9)batadv_netlink_get_meshif_from_ifindex(9)batadv_netlink_get_meshif_from_info(9)batadv_netlink_get_meshif(9)batadv_netlink_get_hardif_from_ifindex(9)batadv_netlink_get_hardif_from_info(9)batadv_netlink_get_hardif(9)batadv_get_vlan_from_info(9)batadv_pre_doit(9)batadv_post_doit(9)batadv_netlink_unregister(9)
π quick heads up: batadv_netlink_unregister(9) is the one that takes the family back down, so this register/unregister pair is giving main character energy together. iykyk π«Ά
and that's the page, bestie!! come find me in ./net/batman-adv any time β this one's dated October 2026 and it's from the Kernel API Manual, xoxo ππ§π
π¦ 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