batadv_tt_global_dump_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tt_global_dump_entry(9) πŸ’…

okay so real talk, bestie β€” this is the manual page for batadv_tt_global_dump_entry from the kernel API manual (the (9) section, that's the kernel internals one, very backstage-pass energy 🎟️✨). Buckle up, we're going into the translation-table mines together and honestly? it's giving main character.


✨ NAME ✨

batadv_tt_global_dump_entry β€” Dump one TT global entry into a message 🫢


🌸 SYNOPSIS 🌸

int batadv_tt_global_dump_entry (struct sk_buff *msg , u32 portid , u32
seq , struct batadv_priv *bat_priv , struct batadv_tt_common_entry
*common , int *sub_s );

πŸŽ€ ARGUMENTS πŸŽ€

  • msg β€” the netlink message you're dumping into πŸ’Œ like, this is the envelope, the whole point
  • portid β€” the port making the netlink request, iykyk who's asking
  • seq β€” the sequence number of the netlink message πŸ”’ gotta keep the order right or it's chaos
  • bat_priv β€” the bat priv holding all the mesh interface information πŸ‘‘ the big boss struct with everything in it
  • common β€” the tt local & tt global common data, shared data for both sides of the TT universe
  • sub_s β€” number of entries to skip ⏭️ (it's a pointer to an int, so yes, it can vibe-check you back)

πŸ¦‹ DESCRIPTION πŸ¦‹

This function assumes the caller holds rcu_read_lock. πŸ”’

no cap, that's the whole description. hold the lock or don't call it, bestie. this is not a drill πŸ’€

⭐ RETURN ⭐

Error code, or 0 on success. 😌 zero is the slay outcome, anything else is the "we need to talk" outcome.


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/batman-adv/translation-table.c β€” the whole friend group lives here πŸ’– and here's literally every single one of them, no gatekeeping:


okay that's the whole page, you ate that πŸ“πŸ’œ

one tiny reminder before you go: rcu_read_lock held by the caller, always. the function said so, and the function does not lie 🫢

and that's a wrap bestie β€” brought to you by ./net/batman-adv, dated October 2026, from the batadv_tt_global_dump_entry(9) page itself πŸ’…βœ¨ no cap, that's the real source and date, bye! πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from