]> 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)
commit84cc4b1b29e6c45847d85eab4180d6985dbf76e1
tree0520313d3d6afcc42d7aaf27fbe699e8bc71e2d5
parente49abf29d7bee54767e77b151b18aa3470d319e5
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