]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: introduce ioctl for fetching node identity
authorJon Maloy <jon.maloy@ericsson.com>
Wed, 25 Apr 2018 17:29:36 +0000 (19:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 15:05:41 +0000 (11:05 -0400)
commit745c8215077c8bed9dc44397b62f54ebf3378944
treed798193490f920228a538594fb7422d264d888fa
parent667d0059f728e5b0f0d5b1463474953da8789165
tipc: introduce ioctl for fetching node identity

After the introduction of a 128-bit node identity it may be difficult
for a user to correlate between this identity and the generated node
hash address.

We now try to make this easier by introducing a new ioctl() call for
fetching a node identity by using the hash value as key. This will
be particularly useful when we extend some of the commands in the
'tipc' tool, but we also expect regular user applications to need
this feature.

Acked-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>
include/uapi/linux/tipc.h
net/tipc/node.c
net/tipc/node.h
net/tipc/socket.c