diff options
Diffstat (limited to 'net/tipc/net.h')
-rw-r--r-- | net/tipc/net.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h index 4ae59ad04893..9eb4b9e220eb 100644 --- a/net/tipc/net.h +++ b/net/tipc/net.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * net/tipc/net.h: Include file for TIPC network routing code | 2 | * net/tipc/net.h: Include file for TIPC network routing code |
3 | * | 3 | * |
4 | * Copyright (c) 1995-2006, Ericsson AB | 4 | * Copyright (c) 1995-2006, Ericsson AB |
5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005, 2010-2011, Wind River Systems |
6 | * All rights reserved. | 6 | * All rights reserved. |
7 | * | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
@@ -37,23 +37,6 @@ | |||
37 | #ifndef _TIPC_NET_H | 37 | #ifndef _TIPC_NET_H |
38 | #define _TIPC_NET_H | 38 | #define _TIPC_NET_H |
39 | 39 | ||
40 | struct tipc_node; | ||
41 | |||
42 | /** | ||
43 | * struct network - TIPC network structure | ||
44 | * @nodes: array of pointers to all nodes within cluster | ||
45 | * @highest_node: id of highest numbered node within cluster | ||
46 | * @links: number of (unicast) links to cluster | ||
47 | */ | ||
48 | |||
49 | struct network { | ||
50 | struct tipc_node **nodes; | ||
51 | u32 highest_node; | ||
52 | u32 links; | ||
53 | }; | ||
54 | |||
55 | |||
56 | extern struct network tipc_net; | ||
57 | extern rwlock_t tipc_net_lock; | 40 | extern rwlock_t tipc_net_lock; |
58 | 41 | ||
59 | void tipc_net_route_msg(struct sk_buff *buf); | 42 | void tipc_net_route_msg(struct sk_buff *buf); |