batadv_netli...otify_hardif(9)
π NAME π
batadv_netlink_notify_hardif β bestie, this one sends hardif attributes to the listener β¨
(also hi, you're reading the Kernel API Manual, welcome to the group chat π«Ά)
π¦ SYNOPSIS π¦
int batadv_netlink_notify_hardif (struct batadv_priv *bat_priv , struct
batadv_hard_iface *hard_iface );
okay so it takes exactly two things and returns an int, that's the whole vibe π
π ARGUMENTS π
bat_privβ the bat priv, aka the main character that's holding all the mesh interface information πhard_ifaceβ the hard interface that got modified, the one that changed, the one we're here to talk about π₯
β RETURN β
0on success β slay, we ate π< 0on error β not the vibe, something went wrong π
πΈ SEE ALSO πΈ
Kernel file ./net/batman-adv/netlink.c β and ngl, the whole extended friend group is here, fr fr:
enum 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_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_register(9)batadv_netlink_unregister(9)
π reminder bestie: the page says < 0 on error and that's it, so just check your return value and don't go inventing extra behaviour, ok? π
okay that's the whole page, ily, go read your kernel source π
this gem dropped from ./net/batman-adv back in October 2026 β catch you in the next one, mwah π§π
π¦ 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