aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tipc.h
diff options
context:
space:
mode:
authorLijun Chen <chenli@nortel.com>2006-10-16 21:59:42 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-18 19:55:22 -0700
commiteb409460b1abec0e2a1f9c9d07019f4157a6d6bc (patch)
tree5402d4e64b1ad7f5e433cf7f222688402e8d7ad5 /include/linux/tipc.h
parentfc144deec6403c17e6d3f6a6574f701420f166ed (diff)
downloadkernel_samsung_aries-eb409460b1abec0e2a1f9c9d07019f4157a6d6bc.zip
kernel_samsung_aries-eb409460b1abec0e2a1f9c9d07019f4157a6d6bc.tar.gz
kernel_samsung_aries-eb409460b1abec0e2a1f9c9d07019f4157a6d6bc.tar.bz2
[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 243a15f..bea4694 100644
--- a/include/linux/tipc.h
+++ b/include/linux/tipc.h
@@ -129,6 +129,7 @@ static inline unsigned int tipc_node(__u32 addr)
#define TIPC_SUB_PORTS 0x01 /* filter for port availability */
#define TIPC_SUB_SERVICE 0x02 /* filter for service availability */
+#define TIPC_SUB_CANCEL 0x04 /* cancel a subscription */
#if 0
/* The following filter options are not currently implemented */
#define TIPC_SUB_NO_BIND_EVTS 0x04 /* filter out "publish" events */