diff options
author | Jon Maloy <jon.maloy@ericsson.com> | 2017-10-13 05:04:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-13 11:46:00 -0400 |
commit | 38077b8ef831daba55913f7e24732b062d0bdebb (patch) | |
tree | 4978469c4e0187b6b535f917a1190e68f5b94b1e /net/tipc/node.h | |
parent | 23998835be98a6842e5698fa1824f404c7de850d (diff) |
tipc: add ability to obtain node availability status from other files
In the coming commits, functions at the socket level will need the
ability to read the availability status of a given node. We therefore
introduce a new function for this purpose, while renaming the existing
static function currently having the wanted name.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.h')
-rw-r--r-- | net/tipc/node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/node.h b/net/tipc/node.h index 898c22916984..8db59feb122f 100644 --- a/net/tipc/node.h +++ b/net/tipc/node.h | |||
@@ -76,6 +76,7 @@ void tipc_node_broadcast(struct net *net, struct sk_buff *skb); | |||
76 | int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port); | 76 | int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port); |
77 | void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port); | 77 | void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port); |
78 | int tipc_node_get_mtu(struct net *net, u32 addr, u32 sel); | 78 | int tipc_node_get_mtu(struct net *net, u32 addr, u32 sel); |
79 | bool tipc_node_is_up(struct net *net, u32 addr); | ||
79 | u16 tipc_node_get_capabilities(struct net *net, u32 addr); | 80 | u16 tipc_node_get_capabilities(struct net *net, u32 addr); |
80 | int tipc_nl_node_dump(struct sk_buff *skb, struct netlink_callback *cb); | 81 | int tipc_nl_node_dump(struct sk_buff *skb, struct netlink_callback *cb); |
81 | int tipc_nl_node_dump_link(struct sk_buff *skb, struct netlink_callback *cb); | 82 | int tipc_nl_node_dump_link(struct sk_buff *skb, struct netlink_callback *cb); |