]> asedeno.scripts.mit.edu Git - linux.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)
commit3e5cf362c34b14c8d01d19d4b821fb35e1779862
treed798193490f920228a538594fb7422d264d888fa
parent79741a38b4a2538a68342c45b813ecb9dd648ee8
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