tipc_nametbl_lookup_anycast(9)
π 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->nodeunchanged and returntrueβ - If lookup is successful, set the
sk->nodeandsk->ref(== portid) which represent the bound socket and returntrueπ― - 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:
struct service_range(9)struct tipc_service(9)service_range_foreach_match(9)service_range_match_first(9)service_range_match_next(9)tipc_publ_create(9)tipc_service_create(9)tipc_service_remove_publ(9)tipc_service_subscribe(9)tipc_nametbl_withdraw(9)tipc_nametbl_subscribe(9)tipc_nametbl_unsubscribe(9)tipc_service_delete(9)
mwah π β source/version ./net/tipc, date October 2026, and this iconic page is tipc_nametbl_lookup_anycast(9) π¦π
π¦ 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