diff options
Diffstat (limited to 'net/tipc/net.h')
| -rw-r--r-- | net/tipc/net.h | 17 | 
1 files changed, 3 insertions, 14 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h index aa431ef8b7b..b52b9748b5e 100644 --- a/net/tipc/net.h +++ b/net/tipc/net.h @@ -39,21 +39,10 @@  struct tipc_node; -/** - * struct network - TIPC network structure - * @nodes: array of pointers to all nodes within cluster - * @highest_node: id of highest numbered node within cluster - * @links: number of (unicast) links to cluster - */ - -struct network { -	struct tipc_node **nodes; -	u32 highest_node; -	atomic_t links; -}; - +extern struct tipc_node **tipc_nodes; +extern u32 tipc_highest_node; +extern atomic_t tipc_num_links; -extern struct network tipc_net;  extern rwlock_t tipc_net_lock;  void tipc_net_route_msg(struct sk_buff *buf);  |