aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/subscr.h
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2008-05-19 16:28:32 -0400
committerDavid S. Miller <davem@davemloft.net>2008-05-19 16:28:32 -0400
commit8e9501f5188d90eed737240453c32cad01849c96 (patch)
tree44bce2ae23d8e9b3b8b105fc8663fa32fd113dfe /net/tipc/subscr.h
parente15f880409c807bb589e9492263564e80f0de6e9 (diff)
tipc: Add support for customized subscription endianness
This patch enables TIPC's topology server code to do customized endianness conversions on a per-subscription basis. (This capability is needed to support the upcoming consolidation of subscriber and subscription object references.) Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/subscr.h')
-rw-r--r--net/tipc/subscr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/subscr.h b/net/tipc/subscr.h
index d95536832907..3e3e0265146e 100644
--- a/net/tipc/subscr.h
+++ b/net/tipc/subscr.h
@@ -49,6 +49,7 @@ typedef void (*tipc_subscr_event) (struct subscription *sub,
49 * @timeout: duration of subscription (in ms) 49 * @timeout: duration of subscription (in ms)
50 * @filter: event filtering to be done for subscription 50 * @filter: event filtering to be done for subscription
51 * @event_cb: routine invoked when a subscription event is detected 51 * @event_cb: routine invoked when a subscription event is detected
52 * @swap: indicates if subscriber uses opposite endianness in its messages
52 * @evt: template for events generated by subscription 53 * @evt: template for events generated by subscription
53 * @subscription_list: adjacent subscriptions in subscriber's subscription list 54 * @subscription_list: adjacent subscriptions in subscriber's subscription list
54 * @nameseq_list: adjacent subscriptions in name sequence's subscription list 55 * @nameseq_list: adjacent subscriptions in name sequence's subscription list
@@ -61,6 +62,7 @@ struct subscription {
61 u32 timeout; 62 u32 timeout;
62 u32 filter; 63 u32 filter;
63 tipc_subscr_event event_cb; 64 tipc_subscr_event event_cb;
65 int swap;
64 struct tipc_event evt; 66 struct tipc_event evt;
65 struct list_head subscription_list; 67 struct list_head subscription_list;
66 struct list_head nameseq_list; 68 struct list_head nameseq_list;