tipc: dump monitor attributes
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Tue, 26 Jul 2016 06:47:22 +0000 (08:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jul 2016 21:26:42 +0000 (14:26 -0700)
commitcf6f7e1d51090772d5ff7355aaf0fcff17f20d1a
treef80b57ee326824ceda895bab95b821eb14b9b9d1
parentff0d3e78a67a8edd09688f073361de9ed8abf9dc
tipc: dump monitor attributes

In this commit, we dump the monitor attributes when queried.
The link monitor attributes are separated into two kinds:
1. general attributes per bearer
2. specific attributes per node/peer
This style resembles the socket attributes and the nametable
publications per socket.

Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tipc_netlink.h
net/tipc/monitor.c
net/tipc/monitor.h
net/tipc/netlink.c
net/tipc/node.c
net/tipc/node.h