aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tipc.h
diff options
context:
space:
mode:
authorLijun Chen <chenli@nortel.com>2006-10-17 00:59:42 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-18 22:55:22 -0400
commiteb409460b1abec0e2a1f9c9d07019f4157a6d6bc (patch)
tree5402d4e64b1ad7f5e433cf7f222688402e8d7ad5 /include/linux/tipc.h
parentfc144deec6403c17e6d3f6a6574f701420f166ed (diff)
[TIPC]: Added subscription cancellation capability
This patch allows a TIPC application to cancel an existing topology service subscription by re-requesting the subscription with the TIPC_SUB_CANCEL filter bit set. (All other bits of the cancel request must match the original subscription request.) Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Per Liden <per.liden@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tipc.h')
-rw-r--r--include/linux/tipc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tipc.h b/include/linux/tipc.h
index 243a15f54002..bea469455a0c 100644
--- a/include/linux/tipc.h
+++ b/include/linux/tipc.h
@@ -129,6 +129,7 @@ static inline unsigned int tipc_node(__u32 addr)
129 129
130#define TIPC_SUB_PORTS 0x01 /* filter for port availability */ 130#define TIPC_SUB_PORTS 0x01 /* filter for port availability */
131#define TIPC_SUB_SERVICE 0x02 /* filter for service availability */ 131#define TIPC_SUB_SERVICE 0x02 /* filter for service availability */
132#define TIPC_SUB_CANCEL 0x04 /* cancel a subscription */
132#if 0 133#if 0
133/* The following filter options are not currently implemented */ 134/* The following filter options are not currently implemented */
134#define TIPC_SUB_NO_BIND_EVTS 0x04 /* filter out "publish" events */ 135#define TIPC_SUB_NO_BIND_EVTS 0x04 /* filter out "publish" events */