aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/node.h')
-rw-r--r--net/tipc/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/tipc/node.h b/net/tipc/node.h
index 2ebf9e8b50fd..522d6f3157b3 100644
--- a/net/tipc/node.h
+++ b/net/tipc/node.h
@@ -117,6 +117,7 @@ struct tipc_node {
117 u32 signature; 117 u32 signature;
118 struct list_head nsub; 118 struct list_head nsub;
119 struct sk_buff_head waiting_sks; 119 struct sk_buff_head waiting_sks;
120 struct list_head conn_sks;
120 struct rcu_head rcu; 121 struct rcu_head rcu;
121}; 122};
122 123
@@ -135,6 +136,8 @@ struct sk_buff *tipc_node_get_links(const void *req_tlv_area, int req_tlv_space)
135struct sk_buff *tipc_node_get_nodes(const void *req_tlv_area, int req_tlv_space); 136struct sk_buff *tipc_node_get_nodes(const void *req_tlv_area, int req_tlv_space);
136int tipc_node_get_linkname(u32 bearer_id, u32 node, char *linkname, size_t len); 137int tipc_node_get_linkname(u32 bearer_id, u32 node, char *linkname, size_t len);
137void tipc_node_unlock(struct tipc_node *node); 138void tipc_node_unlock(struct tipc_node *node);
139int tipc_node_add_conn(u32 dnode, u32 port, u32 peer_port);
140void tipc_node_remove_conn(u32 dnode, u32 port);
138 141
139static inline void tipc_node_lock(struct tipc_node *node) 142static inline void tipc_node_lock(struct tipc_node *node)
140{ 143{