diff options
Diffstat (limited to 'net/tipc/node.h')
| -rw-r--r-- | net/tipc/node.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/tipc/node.h b/net/tipc/node.h index b61716a8218e..67513c3c852c 100644 --- a/net/tipc/node.h +++ b/net/tipc/node.h | |||
| @@ -58,7 +58,9 @@ enum { | |||
| 58 | TIPC_WAIT_PEER_LINKS_DOWN = (1 << 1), | 58 | TIPC_WAIT_PEER_LINKS_DOWN = (1 << 1), |
| 59 | TIPC_WAIT_OWN_LINKS_DOWN = (1 << 2), | 59 | TIPC_WAIT_OWN_LINKS_DOWN = (1 << 2), |
| 60 | TIPC_NOTIFY_NODE_DOWN = (1 << 3), | 60 | TIPC_NOTIFY_NODE_DOWN = (1 << 3), |
| 61 | TIPC_NOTIFY_NODE_UP = (1 << 4) | 61 | TIPC_NOTIFY_NODE_UP = (1 << 4), |
| 62 | TIPC_WAKEUP_USERS = (1 << 5), | ||
| 63 | TIPC_WAKEUP_BCAST_USERS = (1 << 6) | ||
| 62 | }; | 64 | }; |
| 63 | 65 | ||
| 64 | /** | 66 | /** |
| @@ -115,6 +117,8 @@ struct tipc_node { | |||
| 115 | int working_links; | 117 | int working_links; |
| 116 | u32 signature; | 118 | u32 signature; |
| 117 | struct list_head nsub; | 119 | struct list_head nsub; |
| 120 | struct sk_buff_head waiting_sks; | ||
| 121 | struct list_head conn_sks; | ||
| 118 | struct rcu_head rcu; | 122 | struct rcu_head rcu; |
| 119 | }; | 123 | }; |
| 120 | 124 | ||
| @@ -133,6 +137,8 @@ struct sk_buff *tipc_node_get_links(const void *req_tlv_area, int req_tlv_space) | |||
| 133 | struct sk_buff *tipc_node_get_nodes(const void *req_tlv_area, int req_tlv_space); | 137 | struct sk_buff *tipc_node_get_nodes(const void *req_tlv_area, int req_tlv_space); |
| 134 | int tipc_node_get_linkname(u32 bearer_id, u32 node, char *linkname, size_t len); | 138 | int tipc_node_get_linkname(u32 bearer_id, u32 node, char *linkname, size_t len); |
| 135 | void tipc_node_unlock(struct tipc_node *node); | 139 | void tipc_node_unlock(struct tipc_node *node); |
| 140 | int tipc_node_add_conn(u32 dnode, u32 port, u32 peer_port); | ||
| 141 | void tipc_node_remove_conn(u32 dnode, u32 port); | ||
| 136 | 142 | ||
| 137 | static inline void tipc_node_lock(struct tipc_node *node) | 143 | static inline void tipc_node_lock(struct tipc_node *node) |
| 138 | { | 144 | { |
