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>
This commit is contained in:

committed by
David S. Miller

parent
5be9c08671
commit
38206d5939
@@ -102,7 +102,7 @@ static const struct genl_ops tipc_genl_v2_ops[] = {
|
||||
{
|
||||
.cmd = TIPC_NL_LINK_GET,
|
||||
.doit = tipc_nl_node_get_link,
|
||||
.dumpit = tipc_nl_link_dump,
|
||||
.dumpit = tipc_nl_node_dump_link,
|
||||
.policy = tipc_nl_policy,
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user