diff options
Diffstat (limited to 'net/tipc/node.h')
| -rw-r--r-- | net/tipc/node.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/tipc/node.h b/net/tipc/node.h index 63e2e8ead2fe..7cbb8cec1a93 100644 --- a/net/tipc/node.h +++ b/net/tipc/node.h | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | * net/tipc/node.h: Include file for TIPC node management routines | 2 | * net/tipc/node.h: Include file for TIPC node management routines |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2000-2006, Ericsson AB | 4 | * Copyright (c) 2000-2006, Ericsson AB |
| 5 | * Copyright (c) 2005, 2010-2011, Wind River Systems | 5 | * Copyright (c) 2005, 2010-2014, 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 |
| @@ -66,6 +66,7 @@ | |||
| 66 | * @link_cnt: number of links to node | 66 | * @link_cnt: number of links to node |
| 67 | * @signature: node instance identifier | 67 | * @signature: node instance identifier |
| 68 | * @bclink: broadcast-related info | 68 | * @bclink: broadcast-related info |
| 69 | * @rcu: rcu struct for tipc_node | ||
| 69 | * @acked: sequence # of last outbound b'cast message acknowledged by node | 70 | * @acked: sequence # of last outbound b'cast message acknowledged by node |
| 70 | * @last_in: sequence # of last in-sequence b'cast message received from node | 71 | * @last_in: sequence # of last in-sequence b'cast message received from node |
| 71 | * @last_sent: sequence # of last b'cast message sent by node | 72 | * @last_sent: sequence # of last b'cast message sent by node |
| @@ -89,6 +90,7 @@ struct tipc_node { | |||
| 89 | int working_links; | 90 | int working_links; |
| 90 | int block_setup; | 91 | int block_setup; |
| 91 | u32 signature; | 92 | u32 signature; |
| 93 | struct rcu_head rcu; | ||
| 92 | struct { | 94 | struct { |
| 93 | u32 acked; | 95 | u32 acked; |
| 94 | u32 last_in; | 96 | u32 last_in; |
| @@ -107,7 +109,7 @@ extern struct list_head tipc_node_list; | |||
| 107 | 109 | ||
| 108 | struct tipc_node *tipc_node_find(u32 addr); | 110 | struct tipc_node *tipc_node_find(u32 addr); |
| 109 | struct tipc_node *tipc_node_create(u32 addr); | 111 | struct tipc_node *tipc_node_create(u32 addr); |
| 110 | void tipc_node_delete(struct tipc_node *n_ptr); | 112 | void tipc_node_stop(void); |
| 111 | void tipc_node_attach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr); | 113 | void tipc_node_attach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr); |
| 112 | void tipc_node_detach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr); | 114 | void tipc_node_detach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr); |
| 113 | void tipc_node_link_down(struct tipc_node *n_ptr, struct tipc_link *l_ptr); | 115 | void tipc_node_link_down(struct tipc_node *n_ptr, struct tipc_link *l_ptr); |
