batadv_v_orig_dump_subentry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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