diff options
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r-- | net/tipc/link.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h index f98bc613de67..70967e637027 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h | |||
@@ -37,9 +37,8 @@ | |||
37 | #ifndef _TIPC_LINK_H | 37 | #ifndef _TIPC_LINK_H |
38 | #define _TIPC_LINK_H | 38 | #define _TIPC_LINK_H |
39 | 39 | ||
40 | #include "dbg.h" | 40 | #include "log.h" |
41 | #include "msg.h" | 41 | #include "msg.h" |
42 | #include "bearer.h" | ||
43 | #include "node.h" | 42 | #include "node.h" |
44 | 43 | ||
45 | #define PUSH_FAILED 1 | 44 | #define PUSH_FAILED 1 |
@@ -108,7 +107,6 @@ | |||
108 | * @long_msg_seq_no: next identifier to use for outbound fragmented messages | 107 | * @long_msg_seq_no: next identifier to use for outbound fragmented messages |
109 | * @defragm_buf: list of partially reassembled inbound message fragments | 108 | * @defragm_buf: list of partially reassembled inbound message fragments |
110 | * @stats: collects statistics regarding link activity | 109 | * @stats: collects statistics regarding link activity |
111 | * @print_buf: print buffer used to log link activity | ||
112 | */ | 110 | */ |
113 | 111 | ||
114 | struct link { | 112 | struct link { |
@@ -211,8 +209,6 @@ struct link { | |||
211 | u32 msg_lengths_total; | 209 | u32 msg_lengths_total; |
212 | u32 msg_length_profile[7]; | 210 | u32 msg_length_profile[7]; |
213 | } stats; | 211 | } stats; |
214 | |||
215 | struct print_buf print_buf; | ||
216 | }; | 212 | }; |
217 | 213 | ||
218 | struct port; | 214 | struct port; |
@@ -233,8 +229,8 @@ struct sk_buff *tipc_link_cmd_reset_stats(const void *req_tlv_area, int req_tlv_ | |||
233 | void tipc_link_reset(struct link *l_ptr); | 229 | void tipc_link_reset(struct link *l_ptr); |
234 | int tipc_link_send(struct sk_buff *buf, u32 dest, u32 selector); | 230 | int tipc_link_send(struct sk_buff *buf, u32 dest, u32 selector); |
235 | int tipc_link_send_buf(struct link *l_ptr, struct sk_buff *buf); | 231 | int tipc_link_send_buf(struct link *l_ptr, struct sk_buff *buf); |
236 | u32 tipc_link_get_max_pkt(u32 dest,u32 selector); | 232 | u32 tipc_link_get_max_pkt(u32 dest, u32 selector); |
237 | int tipc_link_send_sections_fast(struct port* sender, | 233 | int tipc_link_send_sections_fast(struct port *sender, |
238 | struct iovec const *msg_sect, | 234 | struct iovec const *msg_sect, |
239 | const u32 num_sect, | 235 | const u32 num_sect, |
240 | u32 destnode); | 236 | u32 destnode); |