batadv_v_gw_dump_entry(9)
π batadv_v_gw_dump_entry β like, the whole glow-up
okay so bestie, welcome to the batadv_v_gw_dump_entry(9) page from the Kernel API Manual πβ¨ β yes, we're in kernel-doc territory, grab a lil snack, this one's actually short and sweet π
β¨ NAME β¨
batadv_v_gw_dump_entry β Dump a gateway into a message π
no cap, that's the whole vibe: one gateway node, one netlink message, get it in there π
π¦ SYNOPSIS π¦
int batadv_v_gw_dump_entry (struct sk_buff *msg , u32 portid , struct
netlink_callback *cb , struct batadv_priv *bat_priv , struct
batadv_gw_node *gw_node );
she takes five arguments and returns an int, main character energy honestly π
πΈ ARGUMENTS πΈ
like, meet the cast π«Ά
msgβ the Netlink message she's dumping into π that's the destination, the whole point of the operationportidβ the port making the netlink request π (yes, which port, we're being specific)cbβ the control block, and it's carrying additional options on top π the little briefcase of extra settingsbat_privβ the bat priv π¦ holding all the mesh interface information, like every single mesh-interface deet lives heregw_nodeβ the gateway to be dumped β¨ the actual star of the show, the node getting written into the message
β RETURN β
An error code, or 0 on success π so like, zero is the slay outcome, anything else is the universe telling you something went sideways ππ
π₯ SEE ALSO π₯
literally the entire bat_v.c friend group, they all live in ./net/batman-adv/bat_v.c in the kernel source, iykyk π§ββοΈ
batadv_v_iface_activate(9)batadv_v_iface_enable(9)batadv_v_iface_disable(9)batadv_v_primary_iface_set(9)batadv_v_iface_update_mac(9)batadv_v_hardif_neigh_init(9)batadv_v_neigh_dump_neigh(9)batadv_v_neigh_dump_hardif(9)batadv_v_neigh_dump(9)batadv_v_orig_dump_subentry(9)batadv_v_orig_dump_entry(9)batadv_v_orig_dump_bucket(9)batadv_v_orig_dump(9)batadv_v_neigh_cmp(9)batadv_v_neigh_is_sob(9)batadv_v_init_sel_class(9)batadv_v_gw_throughput_get(9)batadv_v_gw_get_best_gw_node(9)batadv_v_gw_is_eligible(9)batadv_v_gw_dump(9)batadv_v_hardif_init(9)batadv_v_mesh_init(9)batadv_v_mesh_free(9)batadv_v_init(9)batadv_v_deinit(9)
heads up bestie, thatbat_v.creference is the Kernel file./net/batman-adv/bat_v.cβ that's where you'll find her π«Ά
that's the whole page, no skips, no cuts π mwah π
source/version: ./net/batman-adv πΈ dated: October 2026 π
and the page you just read is batadv_v_gw_dump_entry(9) β periodt. π
β¨
π¦ 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