batadv_netlink_hardif_fill(9)
π batadv_netlink_hardif_fill β Kernel API Manual β¨
okay so bestie, welcome to the glow-up of batadv_netlink_hardif_fill, straight out of the Kernel API Manual. this is the little function that β¨fillsβ¨ a message with hardif attributes β like, it's the one doing the packing, and honestly? iconic. π
πΈ NAME πΈ
batadv_netlink_hardif_fill β Fill message with hardif attributes π
π¦ SYNOPSIS π¦
int batadv_netlink_hardif_fill (struct sk_buff *msg , struct batadv_priv
*bat_priv , struct batadv_hard_iface *hard_iface , enum
batadv_nl_commands cmd , u32 portid , u32 seq , int flags , struct
netlink_callback *cb );
no cap, that signature is a whole meal. eight arguments. she's committed. π₯
π ARGUMENTS π
msgβ the Netlink message to dump into π«Ά like, this is the canvas, and we're painting on it.bat_privβ the bat priv with all the mesh interface information π§ all the lore lives here.hard_ifaceβ hard interface which was modified β the main character of this particular call, fr fr.cmdβ type of message to generate π tells you what kind of message we're cooking up.portidβ Port making netlink request π¬ the port that's asking.seqβ sequence number for message π’ so everything stays in order, periodt.flagsβ Additional flags for message π© the extra little vibe settings.cbβ Control block containing additional options π the little bag of extras.
β RETURN β
0 on success, or a negative error number in case of failure π β so yeah, check it, bestie. zero means slay, negative means something went sideways.
π SEE ALSO π
Kernel file ./net/batman-adv/netlink.c enum π
and the whole friend group, because she does not exist in a vacuum:
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_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_register(9)batadv_netlink_unregister(9)
iykyk π
mwah, that's the whole page π«Ά this came from ./net/batman-adv, dated October 2026, and the manual itself is batadv_netlink_hardif_fill(9) β go read the source bestie, it's giving main character energy π
β¨
π¦ 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