summaryrefslogtreecommitdiffstats
path: root/net/tipc/netlink.h
diff options
context:
space:
mode:
authorRichard Alpe <richard.alpe@ericsson.com>2014-11-20 10:29:11 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-21 15:01:30 -0500
commit1a1a143daf84db95dd7212086042004a3abb7bc2 (patch)
treeac69d87fa4ab8434bf69f0121a51d83a48cf728d /net/tipc/netlink.h
parent34b78a127c4fd57cf3d5c64031693d10a8e0fae1 (diff)
downloadop-kernel-dev-1a1a143daf84db95dd7212086042004a3abb7bc2.zip
op-kernel-dev-1a1a143daf84db95dd7212086042004a3abb7bc2.tar.gz
tipc: add publication dump to new netlink api
Add TIPC_NL_PUBL_GET command to the new tipc netlink API. This command supports dumping of all publications for a specific socket. Netlink logical layout of request message: -> socket -> reference Netlink logical layout of response message: -> publication -> type -> lower -> upper 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/netlink.h b/net/tipc/netlink.h
index e34a3fc..1425c68 100644
--- a/net/tipc/netlink.h
+++ b/net/tipc/netlink.h
@@ -37,6 +37,7 @@
#define _TIPC_NETLINK_H
extern struct genl_family tipc_genl_v2_family;
+int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***buf);
struct tipc_nl_msg {
struct sk_buff *skb;
OpenPOWER on IntegriCloud