Lines Matching refs:sack
6950 bbr_proc_sack_blk(struct tcpcb *tp, struct tcp_bbr *bbr, struct sackblk *sack, in bbr_proc_sack_blk() argument
6959 start = sack->start; in bbr_proc_sack_blk()
6960 end = sack->end; in bbr_proc_sack_blk()
7013 tp, bbr, sack, to, prsm); in bbr_proc_sack_blk()
7290 struct sackblk sack, sack_blocks[TCP_MAX_SACK + 1]; in bbr_log_ack() local
7517 &sack, sizeof(sack)); in bbr_log_ack()
7518 sack.start = ntohl(sack.start); in bbr_log_ack()
7519 sack.end = ntohl(sack.end); in bbr_log_ack()
7520 if (SEQ_GT(sack.end, sack.start) && in bbr_log_ack()
7521 SEQ_GT(sack.start, ack_point) && in bbr_log_ack()
7522 SEQ_LT(sack.start, tp->snd_max) && in bbr_log_ack()
7523 SEQ_GT(sack.end, ack_point) && in bbr_log_ack()
7524 SEQ_LEQ(sack.end, tp->snd_max)) { in bbr_log_ack()
7526 (SEQ_LT(sack.end, last_seq)) && in bbr_log_ack()
7527 ((sack.end - sack.start) < (p_maxseg / 8))) { in bbr_log_ack()
7535 sack_blocks[num_sack_blks] = sack; in bbr_log_ack()
7537 } else if (SEQ_LEQ(sack.start, th_ack) && in bbr_log_ack()
7538 SEQ_LEQ(sack.end, th_ack)) { in bbr_log_ack()
7542 tcp_record_dsack(tp, sack.start, sack.end, 0); in bbr_log_ack()
7564 sack = sack_blocks[i]; in bbr_log_ack()
7566 sack_blocks[j] = sack; in bbr_log_ack()