aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/msg.h
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 13:59:18 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-01 16:57:48 -0500
commit51a8e4dee7653698ba4c6e7de71053665f075273 (patch)
tree94d90bd650f0dd8ab542cc5c948d6ddf6501a107 /net/tipc/msg.h
parent08c80e9a031df0a8f0269477a32f5eae47d7a146 (diff)
tipc: Remove prototype code for supporting inter-cluster routing
Eliminates routines and data structures that were intended to allow TIPC to route messages to other clusters. Currently, TIPC supports only networks consisting of a single cluster within a single zone, so this code is unnecessary. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/msg.h')
-rw-r--r--net/tipc/msg.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h
index c1b6217838e6..68b65ef3e74b 100644
--- a/net/tipc/msg.h
+++ b/net/tipc/msg.h
@@ -540,7 +540,7 @@ static inline struct tipc_msg *msg_get_wrapped(struct tipc_msg *m)
540#define MSG_BUNDLER 6 540#define MSG_BUNDLER 6
541#define LINK_PROTOCOL 7 541#define LINK_PROTOCOL 7
542#define CONN_MANAGER 8 542#define CONN_MANAGER 8
543#define ROUTE_DISTRIBUTOR 9 543#define ROUTE_DISTRIBUTOR 9 /* obsoleted */
544#define CHANGEOVER_PROTOCOL 10 544#define CHANGEOVER_PROTOCOL 10
545#define NAME_DISTRIBUTOR 11 545#define NAME_DISTRIBUTOR 11
546#define MSG_FRAGMENTER 12 546#define MSG_FRAGMENTER 12
@@ -819,11 +819,6 @@ static inline void msg_set_remote_node(struct tipc_msg *m, u32 a)
819 msg_set_word(m, msg_hdr_sz(m)/4, a); 819 msg_set_word(m, msg_hdr_sz(m)/4, a);
820} 820}
821 821
822static inline void msg_set_dataoctet(struct tipc_msg *m, u32 pos)
823{
824 msg_data(m)[pos + 4] = 1;
825}
826
827/* 822/*
828 * Segmentation message types 823 * Segmentation message types
829 */ 824 */