batadv_v_orig_dump_subentry(9)
β¨ NAME β¨
batadv_v_orig_dump_subentry - Dump an originator subentry into a message
Okay so bestie, this is the batadv_v_orig_dump_subentry(9) page from the Kernel API Manual, and it's literally the function that dumps an originator subentry into a message. Iconic behavior. π
πΈ SYNOPSIS πΈ
int batadv_v_orig_dump_subentry (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing , struct batadv_orig_node *orig_node , struct batadv_neigh_node *neigh_node , bool best );
π ARGUMENTS π
msgβ the Netlink message you're dumping into, bestie. That's the whole vibe. πportidβ the port making the netlink request. π«Άseqβ the sequence number of the netlink message. Gotta keep the order cute and correct. π’bat_privβ the bat priv with all the mesh interface information. It's giving "everything bagel" but for mesh info. π₯―if_outgoingβ limit the dump to entries with this outgoing interface. Very "stay in your lane, but make it networking." π¦orig_nodeβ the originator to dump. Main character originator energy. πneigh_nodeβ single hops neighbour. Say hi to the neighbor for me. π‘bestβ is the best originator? Like, is this one the bestie of originators? π
β RETURN β
Error code, or 0 on success. So bestie: 0 means slay, anything else means check the error code. π
π SEE ALSO π
This one lives in the kernel file ./net/batman-adv/bat_v.c, and the related bestie roll call is 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_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_entry(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), and batadv_v_deinit(9). No cap, the whole group chat is there. π«Ά
Cute sign-off time: this page is stamped October 2026, comes from ./net/batman-adv, and is serving batadv_v_orig_dump_subentry(9) realness. Bye bestie, go dump those subentries responsibly. π
β¨
π¦ 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