.. | .. |
---|
47 | 47 | |
---|
48 | 48 | /** |
---|
49 | 49 | * struct tipc_subscription - TIPC network topology subscription object |
---|
50 | | - * @subscriber: pointer to its subscriber |
---|
51 | | - * @seq: name sequence associated with subscription |
---|
| 50 | + * @kref: reference count for this subscription |
---|
| 51 | + * @net: network namespace associated with subscription |
---|
52 | 52 | * @timer: timer governing subscription duration (optional) |
---|
53 | | - * @nameseq_list: adjacent subscriptions in name sequence's subscription list |
---|
| 53 | + * @service_list: adjacent subscriptions in name sequence's subscription list |
---|
54 | 54 | * @sub_list: adjacent subscriptions in subscriber's subscription list |
---|
55 | 55 | * @evt: template for events generated by subscription |
---|
| 56 | + * @conid: connection identifier of topology server |
---|
| 57 | + * @inactive: true if this subscription is inactive |
---|
| 58 | + * @lock: serialize up/down and timer events |
---|
56 | 59 | */ |
---|
57 | 60 | struct tipc_subscription { |
---|
58 | 61 | struct kref kref; |
---|
.. | .. |
---|
63 | 66 | struct tipc_event evt; |
---|
64 | 67 | int conid; |
---|
65 | 68 | bool inactive; |
---|
66 | | - spinlock_t lock; /* serialize up/down and timer events */ |
---|
| 69 | + spinlock_t lock; |
---|
67 | 70 | }; |
---|
68 | 71 | |
---|
69 | 72 | struct tipc_subscription *tipc_sub_subscribe(struct net *net, |
---|