batadv_netl...d_get_hardif(9)
π NAME π
batadv_netlink_cmd_get_hardif β bestie, this one gets the hardif attributes β¨
So like, if you're hanging out in the batman-adv netlink world (from the Kernel API Manual, iykyk π«Ά) and you need the hardif attributes fetched, this is the little function that does it.
π SYNOPSIS π
int batadv_netlink_cmd_get_hardif (struct sk_buff *skb , struct
genl_info *info );
πΈ ARGUMENTS πΈ
skbβ the netlink message carrying the request data, aka the whole reason we're here πinfoβ the receiver information. yes that's literally what it's called, she's the receiver info, she received π
β RETURN β
0 on success, or a negative error number if it didn't work out π (no cap, that's the whole return contract)
π¦ SEE ALSO π¦
Okay so the kernel file we're living in is ./net/batman-adv/netlink.c, and there's also an enum situation going on. Here's the full friend group, no one gets left out:
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_notify_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)
and that's the page, bestie π this whole thing is just chillin' in ./net/batman-adv and the version vibes are dated October 2026 β go read the batman-adv source if you wanna see her in her natural habitat, ily, 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