diff options
author | Patrick McHardy <kaber@trash.net> | 2011-01-14 08:12:37 -0500 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-01-14 08:12:37 -0500 |
commit | 0134e89c7bcc9fde1da962c82a120691e185619f (patch) | |
tree | 3e03335cf001019a2687d161e956de4f73379984 /net/tipc/net.h | |
parent | c7066f70d9610df0b9406cc635fc09e86136e714 (diff) | |
parent | 6faee60a4e82075853a437831768cc9e2e563e4e (diff) |
Merge branch 'master' of git://1984.lsi.us.es/net-next-2.6
Conflicts:
net/ipv4/route.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
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); |