From: Richard Alpe Date: Thu, 20 Nov 2014 09:29:10 +0000 (+0100) Subject: tipc: add sock dump to new netlink api X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~144^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b78a127c4fd57cf3d5c64031693d10a8e0fae1;p=pandora-kernel.git tipc: add sock dump to new netlink api Add TIPC_NL_SOCK_GET command to the new tipc netlink API. This command supports dumping of all available sockets with their associated connection or publication(s). It could be extended to reply with a single socket if the NLM_F_DUMP isn't set. The information about a socket includes reference, address, connection information / publication information. Netlink logical layout of response message: -> socket -> reference -> address [ -> connection -> node -> socket [ -> connected flag -> type -> instance ] ] [ -> publication flag ] Signed-off-by: Richard Alpe Reviewed-by: Erik Hugne Reviewed-by: Jon Maloy Acked-by: Ying Xue Signed-off-by: David S. Miller --- Reading git-diff-tree failed