tipc: add ioctl to fetch link names
authorErik Hugne <erik.hugne@ericsson.com>
Thu, 24 Apr 2014 14:26:47 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Apr 2014 16:13:24 +0000 (12:13 -0400)
commit78acb1f9b898e85fa2c1e28e700b54b66b288e8d
tree0520313d3d6afcc42d7aaf27fbe699e8bc71e2d5
parenta89778d8baf19cd7e728d81121a294a06cedaad1
tipc: add ioctl to fetch link names

We add a new ioctl for AF_TIPC that can be used to fetch the
logical name for a link to a remote node on a given bearer. This
should be used in combination with link state subscriptions.
The logical name size limit definitions are moved to tipc.h, as
they are now also needed by the new ioctl.

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tipc.h
include/uapi/linux/tipc_config.h
net/tipc/node.c
net/tipc/node.h
net/tipc/socket.c