batadv_netlink_set_hardif(9)
π batadv_netlink_set_hardif(9) β a lil page from the Kernel API Manual bestie
okay so real talk, this is one of those kernel-doc pages from the Kernel API Manual, and it's honestly giving "small function, big friend group" energy. It's batadv_netlink_set_hardif, and yes she's a kernel symbol so she does have a manual page, slay.
β¨ NAME β¨
batadv_netlink_set_hardif β Set hardif attributes π
that's it, that's the whole vibe. She sets attributes on a hardif. Iconic behaviour tbh.
π¦ SYNOPSIS π¦
int batadv_netlink_set_hardif (struct sk_buff *skb , struct genl_info
*info );
like look at her. returns an int, takes two pointers, does her little thing. no cap. π
πΈ ARGUMENTS πΈ
skbβ the Netlink message with the request data inside it. it's the whole reason we're here, the main character of the packet world fr fr π¨infoβ the receiver information. it's giving "who's asking and what do they want", and we love her for it π«Ά
β RETURN β
Returns 0 on success, or a negative error number if it didn't work out π that's it. binary mood: either slaying or a negative errno. no in-between.
π SEE ALSO π
okay this is the part where she tags the whole group chat in. literally everyone's here, iykyk π
Also peep the kernel file ./net/batman-adv/netlink.c and enum, and then:
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_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)
every single one, accounted for. not me being thorough πβ¨
heads up bestie: this page is generated from the kernel source in ./net/batman-adv, and the version we're looking at is dated October 2026. so if the calendar says otherwise, that's just how the kernel docs roll, don't come for me π
okay that's the whole page, mwah π go forth and set those hardif attributes, you absolute legend πππ§
π¦ 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