batadv_pre_doit(9)
π batadv_pre_doit(9) β like, the prep era of a batman-adv genl doit request
okay bestie, welcome to batadv_pre_doit(9), a page from the Kernel API Manual. Think of this little function as the getting-ready-with-me vlog that happens before the main character (that's the doit request) walks out the door. It's the prep. It's the vibe check. It's giving "hold on, let me fix my hair first." π
β¨ NAME β¨
batadv_pre_doit β literally just Prepare batman-adv genl doit request. That's it, that's the whole job. No cap. π¦
πΈ SYNOPSIS πΈ
int batadv_pre_doit (const struct genl_split_ops *ops , struct sk_buff
*skb , struct genl_info *info );
so it returns an int, takes those three things, and honestly? iconic signature. π
π ARGUMENTS π
opsβ the netlink operation that got requested. like, the specific request that walked in the room. πskbβ the Netlink message carrying the request data. this is the whole message bestie, handle with care. πinfoβ receiver information. all the little deets about who's on the receiving end. π«Ά
β RETURN β
Returns 0 on success, or a negative error number if something went wrong. soooo basically if you get a negative back, that's the ick. π
π₯ SEE ALSO π₯
the whole friend group, fr fr β say hi to all of them:
- Kernel file
./net/batman-adv/netlink.cβ plusenum batadv_netlink_multicast_groups(9)andenum 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_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_post_doit(9)batadv_netlink_register(9)batadv_netlink_unregister(9)
lowkey the SEE ALSO section is a whole group chat and you're not allowed to leave anyone on read. π
alright bestie, that's the page! this one lives in the source tree at ./net/batman-adv, dated October 2026, and yes β she's still batadv_pre_doit(9). mwah, go prep that request. ππ§ββοΈ
π¦ 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