]> 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)
commit1471aa282100ee34b79ddf3ee5a8ecf0aeccdc35
treed798193490f920228a538594fb7422d264d888fa
parenta6732844847048fff3827ff04b4ce8d225cac967
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