STRUCT PUBLICATION(9)
π NAME
struct publication β bestie, this struct is literally the little info card that says "hey, this service address (or range of addresses) is published" β¨ It's the tea about a published service address or a published service range π
Ngl this one lives in the Kernel API Manual, so likeβ¦ kernel-adjacent glamour, you know? π
π¦ SYNOPSIS
struct publication {
struct tipc_service_range sr;
struct tipc_socket_addr sk;
u16 scope;
u32 key;
u32 id;
struct list_head binding_node;
struct list_head binding_sock;
struct list_head local_publ;
struct list_head all_publ;
struct list_head list;
struct rcu_head rcu;
};
πΈ Members
srβ the service range this publication is representing, periodt π«skβ the address of the socket that's bound to this publication π«Άscopeβ the scope of the publication, and it's one of exactly two:TIPC_NODE_SCOPEorTIPC_CLUSTER_SCOPEπkeyβ the publication key, and it's unique across the cluster, no cap πidβ the publication id πbinding_nodeβ every publication from the same node that bound this one π Check the receipts:- Remote publications: they live in
node->publ_list; used by node/name distr to withdraw publications when the node is lost π - Local/node scope publications: they're in the
name_table->node_scopelist π§ - Local/cluster scope publications: they're in the
name_table->cluster_scopelist π
- Remote publications: they live in
binding_sockβ all publications from the same socket which bound this one. Used by the socket to withdraw publications when the socket is unbound/released πlocal_publβ list of identical publications made from this node. Used by closest_first and multicast receive lookup algorithms πall_publβ all publications identical to this one, whatever node and scope. Used by the round-robin lookup algorithm βlistβ forms a list of publications in temporal order π¦rcuβ RCU callback head used for deferred freeing (it's giving "I'll clean up later" energy) π
π SEE ALSO
- Kernel file
./net/tipc/name_table.h struct name_table(9)π₯
okay that's the whole page, you ate that π«Ά Source is ./net/tipc, dated October 2026 β icon behaviour only, mwah π slay and read your kernel headers! π§ββοΈβ¨
π¦ 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