tipc: narrow down interface towards struct tipc_link
authorJon Paul Maloy <jon.maloy@ericsson.com>
Thu, 19 Nov 2015 19:30:46 +0000 (14:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 19:06:10 +0000 (14:06 -0500)
commit38206d5939068415c413ac253be6f364d06e672f
tree0325222bc72ed1ae0039ccb3f7d8300342b6dff9
parent5be9c086715c10fb9ae3ffc0ef580dc3a165f98a
tipc: narrow down interface towards struct tipc_link

We move the definition of struct tipc_link from link.h to link.c in
order to minimize its exposure to the rest of the code.

When needed, we define new functions to make it possible for external
entities to access and set data in the link.

Apart from the above, there are no functional changes.

Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c
net/tipc/link.c
net/tipc/link.h
net/tipc/netlink.c
net/tipc/netlink_compat.c
net/tipc/node.c
net/tipc/node.h