]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3aefc524555730df8fa2e224beafd061b218f7f
tree0520313d3d6afcc42d7aaf27fbe699e8bc71e2d5
parent47692496719dcf3ee3370125e9e10d791a68752a
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