OpenCloudOS-Kernel/net/tipc
Richard Alpe fd3cf2ad51 tipc: add net dump to new netlink api
Add TIPC_NL_NET_GET command to the new tipc netlink API.

This command dumps the network id of the node.

Netlink logical layout of returned network data:
-> net
    -> id

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>
2014-11-21 15:01:31 -05:00
..
Kconfig tipc: add InfiniBand media type 2013-04-17 14:18:33 -04:00
Makefile tipc: remove files ref.h and ref.c 2014-08-23 11:18:35 -07:00
addr.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
addr.h tipc: explicitly include core.h in addr.h 2014-02-13 17:49:13 -05:00
bcast.c tipc: add link get/dump to new netlink api 2014-11-21 15:01:30 -05:00
bcast.h tipc: add link get/dump to new netlink api 2014-11-21 15:01:30 -05:00
bearer.c tipc: add media set to new netlink api 2014-11-21 15:01:31 -05:00
bearer.h tipc: add media set to new netlink api 2014-11-21 15:01:31 -05:00
config.c tipc: use registry when scanning sockets 2014-08-23 11:18:34 -07:00
config.h tipc: obsolete the remote management feature 2014-03-27 13:08:36 -04:00
core.c tipc: remove files ref.h and ref.c 2014-08-23 11:18:35 -07:00
core.h tipc: add bearer disable/enable to new netlink api 2014-11-21 15:01:29 -05:00
discover.c tipc: clean up neigbor discovery message reception 2014-05-14 15:19:48 -04:00
discover.h tipc: fix race in disc create/delete 2014-04-22 21:17:53 -04:00
eth_media.c tipc: improve and extend media address conversion functions 2014-05-14 15:19:48 -04:00
ib_media.c tipc: improve and extend media address conversion functions 2014-05-14 15:19:48 -04:00
link.c tipc: add link stat reset to new netlink api 2014-11-21 15:01:31 -05:00
link.h tipc: add link stat reset to new netlink api 2014-11-21 15:01:31 -05:00
log.c tipc: remove print_buf and deprecated log buffer code 2012-07-13 19:34:43 -04:00
msg.c tipc: spelling errors 2014-10-30 16:56:41 -04:00
msg.h tipc: use pseudo message to wake up sockets after link congestion 2014-08-23 11:18:33 -07:00
name_distr.c tipc: fix sparse warnings 2014-09-10 14:00:58 -07:00
name_distr.h tipc: add name distributor resiliency queue 2014-09-01 17:51:48 -07:00
name_table.c tipc: add name distributor resiliency queue 2014-09-01 17:51:48 -07:00
name_table.h tipc: cosmetic realignment of function arguments 2013-06-17 15:53:01 -07:00
net.c tipc: add net dump to new netlink api 2014-11-21 15:01:31 -05:00
net.h tipc: add net dump to new netlink api 2014-11-21 15:01:31 -05:00
netlink.c tipc: add net dump to new netlink api 2014-11-21 15:01:31 -05:00
netlink.h tipc: add publication dump to new netlink api 2014-11-21 15:01:30 -05:00
node.c tipc: add node get/dump to new netlink api 2014-11-21 15:01:31 -05:00
node.h tipc: add node get/dump to new netlink api 2014-11-21 15:01:31 -05:00
node_subscr.c tipc: eliminate case of writing to freed memory 2014-06-27 12:50:54 -07:00
node_subscr.h tipc: avoid to asynchronously notify subscriptions 2014-05-05 17:26:44 -04:00
server.c net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
server.h tipc: remove all enabled flags from all tipc components 2014-02-22 00:00:15 -05:00
socket.c tipc: add publication dump to new netlink api 2014-11-21 15:01:30 -05:00
socket.h tipc: add publication dump to new netlink api 2014-11-21 15:01:30 -05:00
subscr.c tipc: remove include file port.h 2014-08-23 11:18:35 -07:00
subscr.h tipc: cosmetic realignment of function arguments 2013-06-17 15:53:01 -07:00
sysctl.c tipc: add name distributor resiliency queue 2014-09-01 17:51:48 -07:00