diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-01-16 16:21:04 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-01-16 16:21:04 -0500 |
commit | f652f6c5b7cfdf139f4155d78f397e99ae1c4acc (patch) | |
tree | 71c6344688bf56ea6aaf18c586ab69ff4f077ade /net/tipc/net.h | |
parent | 140e3008e7fe1526cbb12f8f07dbc273ac713b75 (diff) | |
parent | c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 (diff) |
Merge branch 'master' of /pub/scm/linux/kernel/git/jejb/scsi-post-merge-2.6 into for-linus
Diffstat (limited to 'net/tipc/net.h')
-rw-r--r-- | net/tipc/net.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h index de2b9ad8f646..4ae59ad04893 100644 --- a/net/tipc/net.h +++ b/net/tipc/net.h | |||
@@ -37,26 +37,26 @@ | |||
37 | #ifndef _TIPC_NET_H | 37 | #ifndef _TIPC_NET_H |
38 | #define _TIPC_NET_H | 38 | #define _TIPC_NET_H |
39 | 39 | ||
40 | struct _zone; | 40 | struct tipc_node; |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * struct network - TIPC network structure | 43 | * struct network - TIPC network structure |
44 | * @zones: array of pointers to all zones within network | 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 | ||
45 | */ | 47 | */ |
46 | 48 | ||
47 | struct network { | 49 | struct network { |
48 | struct _zone **zones; | 50 | struct tipc_node **nodes; |
51 | u32 highest_node; | ||
52 | u32 links; | ||
49 | }; | 53 | }; |
50 | 54 | ||
51 | 55 | ||
52 | extern struct network tipc_net; | 56 | extern struct network tipc_net; |
53 | extern rwlock_t tipc_net_lock; | 57 | extern rwlock_t tipc_net_lock; |
54 | 58 | ||
55 | void tipc_net_remove_as_router(u32 router); | ||
56 | void tipc_net_send_external_routes(u32 dest); | ||
57 | void tipc_net_route_msg(struct sk_buff *buf); | 59 | void tipc_net_route_msg(struct sk_buff *buf); |
58 | struct tipc_node *tipc_net_select_remote_node(u32 addr, u32 ref); | ||
59 | u32 tipc_net_select_router(u32 addr, u32 ref); | ||
60 | 60 | ||
61 | int tipc_net_start(u32 addr); | 61 | int tipc_net_start(u32 addr); |
62 | void tipc_net_stop(void); | 62 | void tipc_net_stop(void); |