diff options
author | Erik Hugne <erik.hugne@ericsson.com> | 2014-04-24 16:26:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-26 12:13:24 -0400 |
commit | a89778d8baf19cd7e728d81121a294a06cedaad1 (patch) | |
tree | 0b28a16308baf11df88b2557f0184156655c1cb7 /include/uapi/linux/tipc.h | |
parent | d42f157b3498a042d9930506d4b55ded5dcb35c0 (diff) | |
download | op-kernel-dev-a89778d8baf19cd7e728d81121a294a06cedaad1.zip op-kernel-dev-a89778d8baf19cd7e728d81121a294a06cedaad1.tar.gz |
tipc: add support for link state subscriptions
When links are established over a bearer plane, we create a node
local publication containing information about the peer node and
bearer plane. This allows TIPC applications to use the standard
TIPC topology server subscription mechanism to get notifications
when a link goes up or down.
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>
Diffstat (limited to 'include/uapi/linux/tipc.h')
-rw-r--r-- | include/uapi/linux/tipc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/tipc.h b/include/uapi/linux/tipc.h index 852373d..53cd790 100644 --- a/include/uapi/linux/tipc.h +++ b/include/uapi/linux/tipc.h @@ -87,6 +87,7 @@ static inline unsigned int tipc_node(__u32 addr) #define TIPC_CFG_SRV 0 /* configuration service name type */ #define TIPC_TOP_SRV 1 /* topology service name type */ +#define TIPC_LINK_STATE 2 /* link state name type */ #define TIPC_RESERVED_TYPES 64 /* lowest user-publishable name type */ /* |