diff options
Diffstat (limited to 'net/tipc/bearer.h')
-rw-r--r-- | net/tipc/bearer.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index d696f9e414e3..148ed04493ac 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h | |||
@@ -145,16 +145,7 @@ extern struct tipc_bearer tipc_bearers[]; | |||
145 | /* | 145 | /* |
146 | * TIPC routines available to supported media types | 146 | * TIPC routines available to supported media types |
147 | */ | 147 | */ |
148 | int tipc_register_media(u32 media_type, | 148 | int tipc_register_media(struct media *m_ptr); |
149 | char *media_name, int (*enable)(struct tipc_bearer *), | ||
150 | void (*disable)(struct tipc_bearer *), | ||
151 | int (*send_msg)(struct sk_buff *, | ||
152 | struct tipc_bearer *, struct tipc_media_addr *), | ||
153 | char *(*addr2str)(struct tipc_media_addr *a, | ||
154 | char *str_buf, int str_size), | ||
155 | struct tipc_media_addr *bcast_addr, const u32 bearer_priority, | ||
156 | const u32 link_tolerance, /* [ms] */ | ||
157 | const u32 send_window_limit); | ||
158 | 149 | ||
159 | void tipc_recv_msg(struct sk_buff *buf, struct tipc_bearer *tb_ptr); | 150 | void tipc_recv_msg(struct sk_buff *buf, struct tipc_bearer *tb_ptr); |
160 | 151 | ||