hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/tipc/name_table.h
....@@ -60,8 +60,8 @@
6060 * @key: publication key, unique across the cluster
6161 * @id: publication id
6262 * @binding_node: all publications from the same node which bound this one
63
- * - Remote publications: in node->publ_list
64
- * Used by node/name distr to withdraw publications when node is lost
63
+ * - Remote publications: in node->publ_list;
64
+ * Used by node/name distr to withdraw publications when node is lost
6565 * - Local/node scope publications: in name_table->node_scope list
6666 * - Local/cluster scope publications: in name_table->cluster_scope list
6767 * @binding_sock: all publications from the same socket which bound this one
....@@ -92,13 +92,16 @@
9292
9393 /**
9494 * struct name_table - table containing all existing port name publications
95
- * @seq_hlist: name sequence hash lists
95
+ * @services: name sequence hash lists
9696 * @node_scope: all local publications with node scope
9797 * - used by name_distr during re-init of name table
9898 * @cluster_scope: all local publications with cluster scope
9999 * - used by name_distr to send bulk updates to new nodes
100100 * - used by name_distr during re-init of name table
101
+ * @cluster_scope_lock: lock for accessing @cluster_scope
101102 * @local_publ_count: number of publications issued by this node
103
+ * @rc_dests: destination node counter
104
+ * @snd_nxt: next sequence number to be used
102105 */
103106 struct name_table {
104107 struct hlist_head services[TIPC_NAMETBL_SIZE];