diff options
Diffstat (limited to 'net/tipc/bearer.h')
-rw-r--r-- | net/tipc/bearer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index cc2d74e1f9f7..3b3fa26cb3dd 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h | |||
@@ -94,8 +94,8 @@ struct tipc_media { | |||
94 | void (*disable_bearer)(struct tipc_bearer *b_ptr); | 94 | void (*disable_bearer)(struct tipc_bearer *b_ptr); |
95 | int (*addr2str)(struct tipc_media_addr *a, char *str_buf, int str_size); | 95 | int (*addr2str)(struct tipc_media_addr *a, char *str_buf, int str_size); |
96 | int (*addr2msg)(struct tipc_media_addr *a, char *msg_area); | 96 | int (*addr2msg)(struct tipc_media_addr *a, char *msg_area); |
97 | int (*msg2addr)(struct tipc_media_addr *a, char *msg_area); | 97 | int (*msg2addr)(const struct tipc_bearer *b_ptr, |
98 | struct tipc_media_addr bcast_addr; | 98 | struct tipc_media_addr *a, char *msg_area); |
99 | u32 priority; | 99 | u32 priority; |
100 | u32 tolerance; | 100 | u32 tolerance; |
101 | u32 window; | 101 | u32 window; |
@@ -134,6 +134,7 @@ struct tipc_bearer { | |||
134 | char name[TIPC_MAX_BEARER_NAME]; | 134 | char name[TIPC_MAX_BEARER_NAME]; |
135 | spinlock_t lock; | 135 | spinlock_t lock; |
136 | struct tipc_media *media; | 136 | struct tipc_media *media; |
137 | struct tipc_media_addr bcast_addr; | ||
137 | u32 priority; | 138 | u32 priority; |
138 | u32 window; | 139 | u32 window; |
139 | u32 tolerance; | 140 | u32 tolerance; |