aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/bcast.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-12-29 20:55:27 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-12-29 21:53:30 -0500
commit7f9ab6ac2e79b9658eba7c8e3ad8a4392d308057 (patch)
treee168521bd8e4630d31dfe674609810a92c1d1012 /net/tipc/bcast.c
parent6765fd677168df46dbed3cb4c32b9104ce2d3e83 (diff)
tipc: rename struct bcbearer* to tipc_bcbearer*
This changes both the struct bcbearer and struct bcbearer_pair to have the "tipc_" prefix. Runtime behaviour is unchanged. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/bcast.c')
-rw-r--r--net/tipc/bcast.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index e88da1cfe3db..c24690fbaa7f 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -46,7 +46,7 @@
46#define BCLINK_WIN_DEFAULT 20 /* bcast link window size (default) */ 46#define BCLINK_WIN_DEFAULT 20 /* bcast link window size (default) */
47 47
48/** 48/**
49 * struct bcbearer_pair - a pair of bearers used by broadcast link 49 * struct tipc_bcbearer_pair - a pair of bearers used by broadcast link
50 * @primary: pointer to primary bearer 50 * @primary: pointer to primary bearer
51 * @secondary: pointer to secondary bearer 51 * @secondary: pointer to secondary bearer
52 * 52 *
@@ -54,13 +54,13 @@
54 * to be paired. 54 * to be paired.
55 */ 55 */
56 56
57struct bcbearer_pair { 57struct tipc_bcbearer_pair {
58 struct tipc_bearer *primary; 58 struct tipc_bearer *primary;
59 struct tipc_bearer *secondary; 59 struct tipc_bearer *secondary;
60}; 60};
61 61
62/** 62/**
63 * struct bcbearer - bearer used by broadcast link 63 * struct tipc_bcbearer - bearer used by broadcast link
64 * @bearer: (non-standard) broadcast bearer structure 64 * @bearer: (non-standard) broadcast bearer structure
65 * @media: (non-standard) broadcast media structure 65 * @media: (non-standard) broadcast media structure
66 * @bpairs: array of bearer pairs 66 * @bpairs: array of bearer pairs
@@ -74,11 +74,11 @@ struct bcbearer_pair {
74 * prevented through use of the spinlock "bc_lock". 74 * prevented through use of the spinlock "bc_lock".
75 */ 75 */
76 76
77struct bcbearer { 77struct tipc_bcbearer {
78 struct tipc_bearer bearer; 78 struct tipc_bearer bearer;
79 struct tipc_media media; 79 struct tipc_media media;
80 struct bcbearer_pair bpairs[MAX_BEARERS]; 80 struct tipc_bcbearer_pair bpairs[MAX_BEARERS];
81 struct bcbearer_pair bpairs_temp[TIPC_MAX_LINK_PRI + 1]; 81 struct tipc_bcbearer_pair bpairs_temp[TIPC_MAX_LINK_PRI + 1];
82 struct tipc_node_map remains; 82 struct tipc_node_map remains;
83 struct tipc_node_map remains_new; 83 struct tipc_node_map remains_new;
84}; 84};
@@ -100,10 +100,10 @@ struct tipc_bclink {
100 struct tipc_node *retransmit_to; 100 struct tipc_node *retransmit_to;
101}; 101};
102 102
103static struct bcbearer bcast_bearer; 103static struct tipc_bcbearer bcast_bearer;
104static struct tipc_bclink bcast_link; 104static struct tipc_bclink bcast_link;
105 105
106static struct bcbearer *bcbearer = &bcast_bearer; 106static struct tipc_bcbearer *bcbearer = &bcast_bearer;
107static struct tipc_bclink *bclink = &bcast_link; 107static struct tipc_bclink *bclink = &bcast_link;
108static struct link *bcl = &bcast_link.link; 108static struct link *bcl = &bcast_link.link;
109 109
@@ -677,8 +677,8 @@ static int tipc_bcbearer_send(struct sk_buff *buf,
677 677
678void tipc_bcbearer_sort(void) 678void tipc_bcbearer_sort(void)
679{ 679{
680 struct bcbearer_pair *bp_temp = bcbearer->bpairs_temp; 680 struct tipc_bcbearer_pair *bp_temp = bcbearer->bpairs_temp;
681 struct bcbearer_pair *bp_curr; 681 struct tipc_bcbearer_pair *bp_curr;
682 int b_index; 682 int b_index;
683 int pri; 683 int pri;
684 684