diff options
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r-- | net/tipc/link.h | 73 |
1 files changed, 36 insertions, 37 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h index c2553f073757..2d3c157f707d 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h | |||
@@ -221,44 +221,43 @@ struct link { | |||
221 | 221 | ||
222 | struct port; | 222 | struct port; |
223 | 223 | ||
224 | struct link *link_create(struct bearer *b_ptr, const u32 peer, | 224 | struct link *tipc_link_create(struct bearer *b_ptr, const u32 peer, |
225 | const struct tipc_media_addr *media_addr); | 225 | const struct tipc_media_addr *media_addr); |
226 | void link_delete(struct link *l_ptr); | 226 | void tipc_link_delete(struct link *l_ptr); |
227 | void link_changeover(struct link *l_ptr); | 227 | void tipc_link_changeover(struct link *l_ptr); |
228 | void link_send_duplicate(struct link *l_ptr, struct link *dest); | 228 | void tipc_link_send_duplicate(struct link *l_ptr, struct link *dest); |
229 | void link_reset_fragments(struct link *l_ptr); | 229 | void tipc_link_reset_fragments(struct link *l_ptr); |
230 | int link_is_up(struct link *l_ptr); | 230 | int tipc_link_is_up(struct link *l_ptr); |
231 | int link_is_active(struct link *l_ptr); | 231 | int tipc_link_is_active(struct link *l_ptr); |
232 | void link_start(struct link *l_ptr); | 232 | void tipc_link_start(struct link *l_ptr); |
233 | u32 link_push_packet(struct link *l_ptr); | 233 | u32 tipc_link_push_packet(struct link *l_ptr); |
234 | void link_stop(struct link *l_ptr); | 234 | void tipc_link_stop(struct link *l_ptr); |
235 | struct sk_buff *link_cmd_config(const void *req_tlv_area, int req_tlv_space, u16 cmd); | 235 | struct sk_buff *tipc_link_cmd_config(const void *req_tlv_area, int req_tlv_space, u16 cmd); |
236 | struct sk_buff *link_cmd_show_stats(const void *req_tlv_area, int req_tlv_space); | 236 | struct sk_buff *tipc_link_cmd_show_stats(const void *req_tlv_area, int req_tlv_space); |
237 | struct sk_buff *link_cmd_reset_stats(const void *req_tlv_area, int req_tlv_space); | 237 | struct sk_buff *tipc_link_cmd_reset_stats(const void *req_tlv_area, int req_tlv_space); |
238 | void link_reset(struct link *l_ptr); | 238 | void tipc_link_reset(struct link *l_ptr); |
239 | int link_send(struct sk_buff *buf, u32 dest, u32 selector); | 239 | int tipc_link_send(struct sk_buff *buf, u32 dest, u32 selector); |
240 | int link_send_buf(struct link *l_ptr, struct sk_buff *buf); | 240 | int tipc_link_send_buf(struct link *l_ptr, struct sk_buff *buf); |
241 | u32 link_get_max_pkt(u32 dest,u32 selector); | 241 | u32 tipc_link_get_max_pkt(u32 dest,u32 selector); |
242 | int link_send_sections_fast(struct port* sender, | 242 | int tipc_link_send_sections_fast(struct port* sender, |
243 | struct iovec const *msg_sect, | 243 | struct iovec const *msg_sect, |
244 | const u32 num_sect, | 244 | const u32 num_sect, |
245 | u32 destnode); | 245 | u32 destnode); |
246 | 246 | int tipc_link_send_long_buf(struct link *l_ptr, struct sk_buff *buf); | |
247 | int link_send_long_buf(struct link *l_ptr, struct sk_buff *buf); | 247 | void tipc_link_tunnel(struct link *l_ptr, struct tipc_msg *tnl_hdr, |
248 | void link_tunnel(struct link *l_ptr, struct tipc_msg *tnl_hdr, | 248 | struct tipc_msg *msg, u32 selector); |
249 | struct tipc_msg *msg, u32 selector); | 249 | void tipc_link_recv_bundle(struct sk_buff *buf); |
250 | void link_recv_bundle(struct sk_buff *buf); | 250 | int tipc_link_recv_fragment(struct sk_buff **pending, |
251 | int link_recv_fragment(struct sk_buff **pending, | 251 | struct sk_buff **fb, |
252 | struct sk_buff **fb, | 252 | struct tipc_msg **msg); |
253 | struct tipc_msg **msg); | 253 | void tipc_link_send_proto_msg(struct link *l_ptr, u32 msg_typ, int prob, u32 gap, |
254 | void link_send_proto_msg(struct link *l_ptr, u32 msg_typ, int prob, u32 gap, | 254 | u32 tolerance, u32 priority, u32 acked_mtu); |
255 | u32 tolerance, u32 priority, u32 acked_mtu); | 255 | void tipc_link_push_queue(struct link *l_ptr); |
256 | void link_push_queue(struct link *l_ptr); | 256 | u32 tipc_link_defer_pkt(struct sk_buff **head, struct sk_buff **tail, |
257 | u32 link_defer_pkt(struct sk_buff **head, struct sk_buff **tail, | ||
258 | struct sk_buff *buf); | 257 | struct sk_buff *buf); |
259 | void link_wakeup_ports(struct link *l_ptr, int all); | 258 | void tipc_link_wakeup_ports(struct link *l_ptr, int all); |
260 | void link_set_queue_limits(struct link *l_ptr, u32 window); | 259 | void tipc_link_set_queue_limits(struct link *l_ptr, u32 window); |
261 | void link_retransmit(struct link *l_ptr, struct sk_buff *start, u32 retransmits); | 260 | void tipc_link_retransmit(struct link *l_ptr, struct sk_buff *start, u32 retransmits); |
262 | 261 | ||
263 | /* | 262 | /* |
264 | * Link sequence number manipulation routines (uses modulo 2**16 arithmetic) | 263 | * Link sequence number manipulation routines (uses modulo 2**16 arithmetic) |