tipc_nametbl_lookup_anycast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Bestie, welcome to the tipc_nametbl_lookup_anycast(9) page from the Kernel API Manual πŸ’– β€” this one does service instance to socket translation, and it’s lowkey iconic.


✨ SYNOPSIS ✨

bool tipc_nametbl_lookup_anycast (struct net *net , struct tipc_uaddr
       *ua , struct tipc_socket_addr *sk );

🫢 ARGUMENTS 🫢

  • net β€” network namespace 🌐
  • ua β€” service address to look up πŸ”Ž
  • sk β€” address to socket we want to find 🧦

πŸ’… DESCRIPTION πŸ’…

Okay so on entry, a non-zero sk->node means β€œhey, do this lookup on the node I’m pointing at” β€” and bestie, that node may not be this one. πŸ’«

On exit, the vibe check goes like this:

  • If lookup is deferred to another node, leave sk->node unchanged and return true βœ…
  • If lookup is successful, set the sk->node and sk->ref (== portid) which represent the bound socket and return true 🎯
  • If lookup fails, return false πŸ’€
Also note: for legacy users (node configured with Z.C.N address format), the we must look in the local binding list first 🫢

🌈 SEE ALSO 🌈

Kernel file ./net/tipc/name_table.c, plus these absolute legends:


mwah πŸ’‹ β€” source/version ./net/tipc, date October 2026, and this iconic page is tipc_nametbl_lookup_anycast(9) πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from