diff options
Diffstat (limited to 'net/tipc/bearer.h')
| -rw-r--r-- | net/tipc/bearer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index cfe77c4b20f9..af01ca23a6d7 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h | |||
| @@ -74,7 +74,7 @@ struct tipc_media_addr { | |||
| 74 | struct tipc_bearer; | 74 | struct tipc_bearer; |
| 75 | 75 | ||
| 76 | /** | 76 | /** |
| 77 | * struct media - TIPC media information available to internal users | 77 | * struct tipc_media - TIPC media information available to internal users |
| 78 | * @send_msg: routine which handles buffer transmission | 78 | * @send_msg: routine which handles buffer transmission |
| 79 | * @enable_bearer: routine which enables a bearer | 79 | * @enable_bearer: routine which enables a bearer |
| 80 | * @disable_bearer: routine which disables a bearer | 80 | * @disable_bearer: routine which disables a bearer |
| @@ -90,7 +90,7 @@ struct tipc_bearer; | |||
| 90 | * @name: media name | 90 | * @name: media name |
| 91 | */ | 91 | */ |
| 92 | 92 | ||
| 93 | struct media { | 93 | struct tipc_media { |
| 94 | int (*send_msg)(struct sk_buff *buf, | 94 | int (*send_msg)(struct sk_buff *buf, |
| 95 | struct tipc_bearer *b_ptr, | 95 | struct tipc_bearer *b_ptr, |
| 96 | struct tipc_media_addr *dest); | 96 | struct tipc_media_addr *dest); |
| @@ -139,7 +139,7 @@ struct tipc_bearer { | |||
| 139 | struct tipc_media_addr addr; /* initalized by media */ | 139 | struct tipc_media_addr addr; /* initalized by media */ |
| 140 | char name[TIPC_MAX_BEARER_NAME]; | 140 | char name[TIPC_MAX_BEARER_NAME]; |
| 141 | spinlock_t lock; | 141 | spinlock_t lock; |
| 142 | struct media *media; | 142 | struct tipc_media *media; |
| 143 | u32 priority; | 143 | u32 priority; |
| 144 | u32 window; | 144 | u32 window; |
| 145 | u32 tolerance; | 145 | u32 tolerance; |
| @@ -164,7 +164,7 @@ extern struct tipc_bearer tipc_bearers[]; | |||
| 164 | /* | 164 | /* |
| 165 | * TIPC routines available to supported media types | 165 | * TIPC routines available to supported media types |
| 166 | */ | 166 | */ |
| 167 | int tipc_register_media(struct media *m_ptr); | 167 | int tipc_register_media(struct tipc_media *m_ptr); |
| 168 | 168 | ||
| 169 | void tipc_recv_msg(struct sk_buff *buf, struct tipc_bearer *tb_ptr); | 169 | void tipc_recv_msg(struct sk_buff *buf, struct tipc_bearer *tb_ptr); |
| 170 | 170 | ||
| @@ -191,7 +191,7 @@ 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 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 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, struct link *l_ptr); |
| 196 | int tipc_bearer_congested(struct tipc_bearer *b_ptr, struct link *l_ptr); | 196 | int tipc_bearer_congested(struct tipc_bearer *b_ptr, struct link *l_ptr); |
| 197 | void tipc_bearer_stop(void); | 197 | void tipc_bearer_stop(void); |
