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>
This commit is contained in:
committed by
David S. Miller
parent
e15f880409
commit
8e9501f518
@@ -49,6 +49,7 @@ typedef void (*tipc_subscr_event) (struct subscription *sub,
|
||||
* @timeout: duration of subscription (in ms)
|
||||
* @filter: event filtering to be done for subscription
|
||||
* @event_cb: routine invoked when a subscription event is detected
|
||||
* @swap: indicates if subscriber uses opposite endianness in its messages
|
||||
* @evt: template for events generated by subscription
|
||||
* @subscription_list: adjacent subscriptions in subscriber's subscription list
|
||||
* @nameseq_list: adjacent subscriptions in name sequence's subscription list
|
||||
@@ -61,6 +62,7 @@ struct subscription {
|
||||
u32 timeout;
|
||||
u32 filter;
|
||||
tipc_subscr_event event_cb;
|
||||
int swap;
|
||||
struct tipc_event evt;
|
||||
struct list_head subscription_list;
|
||||
struct list_head nameseq_list;
|
||||
|
Reference in New Issue
Block a user