diff options
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r-- | net/tipc/link.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h index 9e4e3673da76..be24d1fd5132 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h | |||
@@ -134,6 +134,8 @@ struct tipc_stats { | |||
134 | * @snt_nxt: next sequence number to use for outbound messages | 134 | * @snt_nxt: next sequence number to use for outbound messages |
135 | * @last_retransmitted: sequence number of most recently retransmitted message | 135 | * @last_retransmitted: sequence number of most recently retransmitted message |
136 | * @stale_count: # of identical retransmit requests made by peer | 136 | * @stale_count: # of identical retransmit requests made by peer |
137 | * @ackers: # of peers that needs to ack each packet before it can be released | ||
138 | * @acked: # last packet acked by a certain peer. Used for broadcast. | ||
137 | * @rcv_nxt: next sequence number to expect for inbound messages | 139 | * @rcv_nxt: next sequence number to expect for inbound messages |
138 | * @deferred_queue: deferred queue saved OOS b'cast message received from node | 140 | * @deferred_queue: deferred queue saved OOS b'cast message received from node |
139 | * @unacked_window: # of inbound messages rx'd without ack'ing back to peer | 141 | * @unacked_window: # of inbound messages rx'd without ack'ing back to peer |
@@ -143,6 +145,7 @@ struct tipc_stats { | |||
143 | * @wakeupq: linked list of wakeup msgs waiting for link congestion to abate | 145 | * @wakeupq: linked list of wakeup msgs waiting for link congestion to abate |
144 | * @long_msg_seq_no: next identifier to use for outbound fragmented messages | 146 | * @long_msg_seq_no: next identifier to use for outbound fragmented messages |
145 | * @reasm_buf: head of partially reassembled inbound message fragments | 147 | * @reasm_buf: head of partially reassembled inbound message fragments |
148 | * @bc_rcvr: marks that this is a broadcast receiver link | ||
146 | * @stats: collects statistics regarding link activity | 149 | * @stats: collects statistics regarding link activity |
147 | */ | 150 | */ |
148 | struct tipc_link { | 151 | struct tipc_link { |
@@ -201,6 +204,10 @@ struct tipc_link { | |||
201 | /* Fragmentation/reassembly */ | 204 | /* Fragmentation/reassembly */ |
202 | struct sk_buff *reasm_buf; | 205 | struct sk_buff *reasm_buf; |
203 | 206 | ||
207 | /* Broadcast */ | ||
208 | u16 ackers; | ||
209 | u16 acked; | ||
210 | |||
204 | /* Statistics */ | 211 | /* Statistics */ |
205 | struct tipc_stats stats; | 212 | struct tipc_stats stats; |
206 | }; | 213 | }; |