diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-12-29 20:58:42 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-12-29 21:53:30 -0500 |
commit | a18c4bc3ea3c23f658655b1eee4f62cb71d51efd (patch) | |
tree | 573ab87dd9826f1956bb3a17e481842284ad8321 /net/tipc/bearer.h | |
parent | 7f9ab6ac2e79b9658eba7c8e3ad8a4392d308057 (diff) |
tipc: rename struct link* to struct tipc_link*
This converts the following:
struct link -> struct tipc_link
struct link_req -> struct tipc_link_req
struct link_name -> struct tipc_link_name
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/bearer.h')
-rw-r--r-- | net/tipc/bearer.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index af01ca23a6d7..348065480f2e 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h | |||
@@ -144,7 +144,7 @@ struct tipc_bearer { | |||
144 | u32 window; | 144 | u32 window; |
145 | u32 tolerance; | 145 | u32 tolerance; |
146 | u32 identity; | 146 | u32 identity; |
147 | struct link_req *link_req; | 147 | struct tipc_link_req *link_req; |
148 | struct list_head links; | 148 | struct list_head links; |
149 | struct list_head cong_links; | 149 | struct list_head cong_links; |
150 | int active; | 150 | int active; |
@@ -157,7 +157,7 @@ struct bearer_name { | |||
157 | char if_name[TIPC_MAX_IF_NAME]; | 157 | char if_name[TIPC_MAX_IF_NAME]; |
158 | }; | 158 | }; |
159 | 159 | ||
160 | struct link; | 160 | struct tipc_link; |
161 | 161 | ||
162 | extern struct tipc_bearer tipc_bearers[]; | 162 | extern struct tipc_bearer tipc_bearers[]; |
163 | 163 | ||
@@ -188,12 +188,13 @@ struct sk_buff *tipc_media_get_names(void); | |||
188 | struct sk_buff *tipc_bearer_get_names(void); | 188 | struct sk_buff *tipc_bearer_get_names(void); |
189 | void tipc_bearer_add_dest(struct tipc_bearer *b_ptr, u32 dest); | 189 | void tipc_bearer_add_dest(struct tipc_bearer *b_ptr, u32 dest); |
190 | void tipc_bearer_remove_dest(struct tipc_bearer *b_ptr, u32 dest); | 190 | void tipc_bearer_remove_dest(struct tipc_bearer *b_ptr, u32 dest); |
191 | void tipc_bearer_schedule(struct tipc_bearer *b_ptr, struct link *l_ptr); | 191 | void tipc_bearer_schedule(struct tipc_bearer *b_ptr, struct tipc_link *l_ptr); |
192 | struct tipc_bearer *tipc_bearer_find(const char *name); | 192 | struct tipc_bearer *tipc_bearer_find(const char *name); |
193 | struct tipc_bearer *tipc_bearer_find_interface(const char *if_name); | 193 | struct tipc_bearer *tipc_bearer_find_interface(const char *if_name); |
194 | struct tipc_media *tipc_media_find(const char *name); | 194 | struct tipc_media *tipc_media_find(const char *name); |
195 | int tipc_bearer_resolve_congestion(struct tipc_bearer *b_ptr, struct link *l_ptr); | 195 | int tipc_bearer_resolve_congestion(struct tipc_bearer *b_ptr, |
196 | int tipc_bearer_congested(struct tipc_bearer *b_ptr, struct link *l_ptr); | 196 | struct tipc_link *l_ptr); |
197 | int tipc_bearer_congested(struct tipc_bearer *b_ptr, struct tipc_link *l_ptr); | ||
197 | void tipc_bearer_stop(void); | 198 | void tipc_bearer_stop(void); |
198 | void tipc_bearer_lock_push(struct tipc_bearer *b_ptr); | 199 | void tipc_bearer_lock_push(struct tipc_bearer *b_ptr); |
199 | 200 | ||