batadv_netlink_mesh_fill(9)
β¨ batadv_netlink_mesh_fill β¨
okay so bestie, welcome to batadv_netlink_mesh_fill(9) β the Kernel API Manual page you didn't know you needed π«Ά this one lives in the batman-adv netlink corner of the kernel, and it is literally here to fill a message with mesh attributes. that's the whole vibe. let's get into it π
πΈ NAME πΈ
batadv_netlink_mesh_fill β Fill message with mesh attributes β¨
π¦ SYNOPSIS π¦
int batadv_netlink_mesh_fill (struct sk_buff *msg , struct batadv_priv
*bat_priv , enum batadv_nl_commands cmd , u32 portid , u32 seq , int
flags );
π ARGUMENTS π
okay so here's the cast of characters, and every single one of them matters, no cap π
msgβ the Netlink message to dump into π this is the thing getting filled, main character energy fr.bat_privβ the bat priv with all the mesh interface information π¦ like, all of it. the whole mesh interface tea.cmdβ type of message to generate β¨ which flavour of message we're making here.portidβ Port making netlink request π¨ the port that's out here asking.seqβ sequence number for message π’ gotta keep track, iykyk.flagsβ Additional flags for message π© extra flags, as a treat.
π RETURN π
0 on success, or a negative error number in case of failure π β so like, zero is the slay, negative is the not-slay. periodt.
π₯ SEE ALSO π₯
bestie there is a whole friend group here and i'm obsessed π first up, this lives in the Kernel file ./net/batman-adv/netlink.c, next to enum batadv_netlink_multicast_groups(9), and then the full squad:
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_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_register(9)batadv_netlink_unregister(9)
like, the way that list just goes on and on? iconic. go read them all, they're all right there k? π§
and that's the page, bestie!! π this one shipped out of ./net/batman-adv with a date stamp of October 2026, all under the batadv_netlink_mesh_fill(9) name in the Kernel API Manual π mwah, go fill some messages β¨π
π¦ 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