Lines Matching refs:num_sacks
1093 struct tcp_sack_block_wire *sp, int num_sacks, in tcp_check_dsack() argument
1105 } else if (num_sacks > 1) { in tcp_check_dsack()
1668 int num_sacks = min(TCP_NUM_SACKS, (ptr[1] - TCPOLEN_SACK_BASE) >> 3); in tcp_sacktag_write_queue() local
1681 num_sacks, prior_snd_una); in tcp_sacktag_write_queue()
1699 for (i = 0; i < num_sacks; i++) { in tcp_sacktag_write_queue()
4302 for (this_sack = 1; this_sack < tp->rx_opt.num_sacks;) { in tcp_sack_maybe_coalesce()
4309 tp->rx_opt.num_sacks--; in tcp_sack_maybe_coalesce()
4310 for (i = this_sack; i < tp->rx_opt.num_sacks; i++) in tcp_sack_maybe_coalesce()
4322 int cur_sacks = tp->rx_opt.num_sacks; in tcp_sack_new_ofo_skb()
4349 tp->rx_opt.num_sacks--; in tcp_sack_new_ofo_skb()
4359 tp->rx_opt.num_sacks++; in tcp_sack_new_ofo_skb()
4367 int num_sacks = tp->rx_opt.num_sacks; in tcp_sack_remove() local
4372 tp->rx_opt.num_sacks = 0; in tcp_sack_remove()
4376 for (this_sack = 0; this_sack < num_sacks;) { in tcp_sack_remove()
4385 for (i = this_sack+1; i < num_sacks; i++) in tcp_sack_remove()
4387 num_sacks--; in tcp_sack_remove()
4393 tp->rx_opt.num_sacks = num_sacks; in tcp_sack_remove()
4569 tp->rx_opt.num_sacks = 1; in tcp_data_queue_ofo()
4807 if (tp->rx_opt.num_sacks) in tcp_data_queue()
5469 } else if (tcp_is_sack(tp) && tp->rx_opt.num_sacks > 0) { in tcp_validate_incoming()
5474 for (this_sack = 1; this_sack < tp->rx_opt.num_sacks; in tcp_validate_incoming()