diff options
Diffstat (limited to 'net/tipc/cluster.h')
-rw-r--r-- | net/tipc/cluster.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/tipc/cluster.h b/net/tipc/cluster.h index 21493f7beb95..aa1fd6ab4d11 100644 --- a/net/tipc/cluster.h +++ b/net/tipc/cluster.h | |||
@@ -40,26 +40,21 @@ | |||
40 | #include "addr.h" | 40 | #include "addr.h" |
41 | #include "net.h" | 41 | #include "net.h" |
42 | 42 | ||
43 | #define LOWEST_SLAVE 2048u | ||
44 | |||
45 | /** | 43 | /** |
46 | * struct cluster - TIPC cluster structure | 44 | * struct cluster - TIPC cluster structure |
47 | * @addr: network address of cluster | 45 | * @addr: network address of cluster |
48 | * @nodes: array of pointers to all nodes within cluster | 46 | * @nodes: array of pointers to all nodes within cluster |
49 | * @highest_node: id of highest numbered node within cluster | 47 | * @highest_node: id of highest numbered node within cluster |
50 | * @highest_slave: (used for secondary node support) | ||
51 | */ | 48 | */ |
52 | 49 | ||
53 | struct cluster { | 50 | struct cluster { |
54 | u32 addr; | 51 | u32 addr; |
55 | struct tipc_node **nodes; | 52 | struct tipc_node **nodes; |
56 | u32 highest_node; | 53 | u32 highest_node; |
57 | u32 highest_slave; | ||
58 | }; | 54 | }; |
59 | 55 | ||
60 | 56 | ||
61 | extern struct tipc_node **tipc_local_nodes; | 57 | extern struct tipc_node **tipc_local_nodes; |
62 | extern u32 tipc_highest_allowed_slave; | ||
63 | extern struct tipc_node_map tipc_cltr_bcast_nodes; | 58 | extern struct tipc_node_map tipc_cltr_bcast_nodes; |
64 | 59 | ||
65 | void tipc_cltr_remove_as_router(struct cluster *c_ptr, u32 router); | 60 | void tipc_cltr_remove_as_router(struct cluster *c_ptr, u32 router); |
@@ -70,12 +65,10 @@ void tipc_cltr_recv_routing_table(struct sk_buff *buf); | |||
70 | struct cluster *tipc_cltr_create(u32 addr); | 65 | struct cluster *tipc_cltr_create(u32 addr); |
71 | void tipc_cltr_delete(struct cluster *c_ptr); | 66 | void tipc_cltr_delete(struct cluster *c_ptr); |
72 | void tipc_cltr_attach_node(struct cluster *c_ptr, struct tipc_node *n_ptr); | 67 | void tipc_cltr_attach_node(struct cluster *c_ptr, struct tipc_node *n_ptr); |
73 | void tipc_cltr_send_slave_routes(struct cluster *c_ptr, u32 dest); | ||
74 | void tipc_cltr_broadcast(struct sk_buff *buf); | 68 | void tipc_cltr_broadcast(struct sk_buff *buf); |
75 | int tipc_cltr_init(void); | 69 | int tipc_cltr_init(void); |
76 | 70 | ||
77 | void tipc_cltr_bcast_new_route(struct cluster *c_ptr, u32 dest, u32 lo, u32 hi); | 71 | void tipc_cltr_bcast_new_route(struct cluster *c_ptr, u32 dest, u32 lo, u32 hi); |
78 | void tipc_cltr_send_local_routes(struct cluster *c_ptr, u32 dest); | ||
79 | void tipc_cltr_bcast_lost_route(struct cluster *c_ptr, u32 dest, u32 lo, u32 hi); | 72 | void tipc_cltr_bcast_lost_route(struct cluster *c_ptr, u32 dest, u32 lo, u32 hi); |
80 | 73 | ||
81 | static inline struct cluster *tipc_cltr_find(u32 addr) | 74 | static inline struct cluster *tipc_cltr_find(u32 addr) |