summaryrefslogtreecommitdiff
path: root/net/tipc/netlink.h
diff options
context:
space:
mode:
authorRichard Alpe <richard.alpe@ericsson.com>2014-11-20 12:29:08 +0300
committerDavid S. Miller <davem@davemloft.net>2014-11-21 23:01:29 +0300
commit35b9dd7607f049466a66427e58818b29aeae9ea7 (patch)
treea196d3a4323d4fe9bf265858fad61e7b5aebcb85 /net/tipc/netlink.h
parent0655f6a8635b1b66f2434d5556b1044c14b1ccaf (diff)
downloadlinux-35b9dd7607f049466a66427e58818b29aeae9ea7.tar.xz
tipc: add bearer get/dump to new netlink api
Add TIPC_NL_BEARER_GET command to the new tipc netlink API. This command supports dumping all data about all bearers or getting all information about a specific bearer. The information about a bearer includes name, link priorities and domain. Netlink logical layout of bearer get message: -> bearer -> name Netlink logical layout of returned bearer information: -> bearer -> name -> link properties -> priority -> tolerance -> window -> domain Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-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/netlink.h')
-rw-r--r--net/tipc/netlink.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/tipc/netlink.h b/net/tipc/netlink.h
index e9980c0e2207..e34a3fca7d3d 100644
--- a/net/tipc/netlink.h
+++ b/net/tipc/netlink.h
@@ -38,4 +38,10 @@
extern struct genl_family tipc_genl_v2_family;
+struct tipc_nl_msg {
+ struct sk_buff *skb;
+ u32 portid;
+ u32 seq;
+};
+
#endif