diff options
author | Jon Maloy <jon.maloy@ericsson.com> | 2018-02-15 04:40:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-16 15:26:34 -0500 |
commit | da0a75e86ae230f92743c073843d3ea35bd061af (patch) | |
tree | 0d9399dc7925997a99590a8c65788768cf5aa588 /net/tipc/subscr.h | |
parent | 242e82cc95f6b4e83e1771f9915edcb2a63708e1 (diff) |
tipc: some prefix changes
Since we now have removed struct tipc_subscriber from the code, and
only struct tipc_subscription remains, there is no longer need for long
and awkward prefixes to distinguish between their pertaining functions.
We now change all tipc_subscrp_* prefixes to tipc_sub_*. This is
a purely cosmetic change.
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/subscr.h')
-rw-r--r-- | net/tipc/subscr.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net/tipc/subscr.h b/net/tipc/subscr.h index 2d35f1046754..720932896ba6 100644 --- a/net/tipc/subscr.h +++ b/net/tipc/subscr.h | |||
@@ -51,7 +51,7 @@ struct tipc_conn; | |||
51 | * @seq: name sequence associated with subscription | 51 | * @seq: name sequence associated with subscription |
52 | * @timer: timer governing subscription duration (optional) | 52 | * @timer: timer governing subscription duration (optional) |
53 | * @nameseq_list: adjacent subscriptions in name sequence's subscription list | 53 | * @nameseq_list: adjacent subscriptions in name sequence's subscription list |
54 | * @subscrp_list: adjacent subscriptions in subscriber's subscription list | 54 | * @sub_list: adjacent subscriptions in subscriber's subscription list |
55 | * @evt: template for events generated by subscription | 55 | * @evt: template for events generated by subscription |
56 | */ | 56 | */ |
57 | struct tipc_subscription { | 57 | struct tipc_subscription { |
@@ -59,7 +59,7 @@ struct tipc_subscription { | |||
59 | struct tipc_server *server; | 59 | struct tipc_server *server; |
60 | struct timer_list timer; | 60 | struct timer_list timer; |
61 | struct list_head nameseq_list; | 61 | struct list_head nameseq_list; |
62 | struct list_head subscrp_list; | 62 | struct list_head sub_list; |
63 | struct tipc_event evt; | 63 | struct tipc_event evt; |
64 | int conid; | 64 | int conid; |
65 | bool inactive; | 65 | bool inactive; |
@@ -71,17 +71,17 @@ struct tipc_subscription *tipc_sub_subscribe(struct tipc_server *srv, | |||
71 | int conid); | 71 | int conid); |
72 | void tipc_sub_unsubscribe(struct tipc_subscription *sub); | 72 | void tipc_sub_unsubscribe(struct tipc_subscription *sub); |
73 | 73 | ||
74 | int tipc_subscrp_check_overlap(struct tipc_name_seq *seq, u32 found_lower, | 74 | int tipc_sub_check_overlap(struct tipc_name_seq *seq, u32 found_lower, |
75 | u32 found_upper); | 75 | u32 found_upper); |
76 | void tipc_subscrp_report_overlap(struct tipc_subscription *sub, | 76 | void tipc_sub_report_overlap(struct tipc_subscription *sub, |
77 | u32 found_lower, u32 found_upper, | 77 | u32 found_lower, u32 found_upper, |
78 | u32 event, u32 port, u32 node, | 78 | u32 event, u32 port, u32 node, |
79 | u32 scope, int must); | 79 | u32 scope, int must); |
80 | int tipc_topsrv_start(struct net *net); | 80 | int tipc_topsrv_start(struct net *net); |
81 | void tipc_topsrv_stop(struct net *net); | 81 | void tipc_topsrv_stop(struct net *net); |
82 | 82 | ||
83 | void tipc_subscrp_put(struct tipc_subscription *subscription); | 83 | void tipc_sub_put(struct tipc_subscription *subscription); |
84 | void tipc_subscrp_get(struct tipc_subscription *subscription); | 84 | void tipc_sub_get(struct tipc_subscription *subscription); |
85 | 85 | ||
86 | #define TIPC_FILTER_MASK (TIPC_SUB_PORTS | TIPC_SUB_SERVICE | TIPC_SUB_CANCEL) | 86 | #define TIPC_FILTER_MASK (TIPC_SUB_PORTS | TIPC_SUB_SERVICE | TIPC_SUB_CANCEL) |
87 | 87 | ||