.. | .. |
---|
58 | 58 | * @node: network address of publishing socket's node |
---|
59 | 59 | * @port: publishing port |
---|
60 | 60 | * @key: publication key, unique across the cluster |
---|
| 61 | + * @id: publication id |
---|
61 | 62 | * @binding_node: all publications from the same node which bound this one |
---|
62 | 63 | * - Remote publications: in node->publ_list |
---|
63 | 64 | * Used by node/name distr to withdraw publications when node is lost |
---|
.. | .. |
---|
69 | 70 | * Used by closest_first and multicast receive lookup algorithms |
---|
70 | 71 | * @all_publ: all publications identical to this one, whatever node and scope |
---|
71 | 72 | * Used by round-robin lookup algorithm |
---|
| 73 | + * @list: to form a list of publications in temporal order |
---|
72 | 74 | * @rcu: RCU callback head used for deferred freeing |
---|
73 | 75 | */ |
---|
74 | 76 | struct publication { |
---|
.. | .. |
---|
79 | 81 | u32 node; |
---|
80 | 82 | u32 port; |
---|
81 | 83 | u32 key; |
---|
| 84 | + u32 id; |
---|
82 | 85 | struct list_head binding_node; |
---|
83 | 86 | struct list_head binding_sock; |
---|
84 | 87 | struct list_head local_publ; |
---|
85 | 88 | struct list_head all_publ; |
---|
| 89 | + struct list_head list; |
---|
86 | 90 | struct rcu_head rcu; |
---|
87 | 91 | }; |
---|
88 | 92 | |
---|
.. | .. |
---|
102 | 106 | struct list_head cluster_scope; |
---|
103 | 107 | rwlock_t cluster_scope_lock; |
---|
104 | 108 | u32 local_publ_count; |
---|
| 109 | + u32 rc_dests; |
---|
| 110 | + u32 snd_nxt; |
---|
105 | 111 | }; |
---|
106 | 112 | |
---|
107 | 113 | int tipc_nl_name_table_dump(struct sk_buff *skb, struct netlink_callback *cb); |
---|