• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/bsd/netinet/

Lines Matching refs:start

144 	head_blk.start = rcv_start;
154 tcp_seq start = tp->sackblks[i].start;
156 if (SEQ_GEQ(start, end) || SEQ_LEQ(start, tp->rcv_nxt)) {
160 } else if (SEQ_LEQ(head_blk.start, end) &&
161 SEQ_GEQ(head_blk.end, start)) {
166 if (SEQ_GT(head_blk.start, start))
167 head_blk.start = start;
174 saved_blks[num_saved].start = start;
184 if (SEQ_GT(head_blk.start, tp->rcv_nxt)) {
237 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end)
251 hole->start = start;
253 hole->rxmit = start;
277 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end,
283 hole = tcp_sackhole_alloc(tp, start, end);
406 sack_blocks[num_sack_blks].start = tp->snd_una;
416 sack.start = ntohl(sack.start);
418 if (SEQ_GT(sack.end, sack.start) &&
419 SEQ_GT(sack.start, tp->snd_una) &&
420 SEQ_GT(sack.start, th_ack) &&
421 SEQ_LT(sack.start, tp->snd_max) &&
473 if (SEQ_LT(tp->snd_fack, sblkp->start)) {
481 temp = tcp_sackhole_insert(tp, tp->snd_fack,sblkp->start,NULL);
484 *newbytes_acked += (sblkp->end - sblkp->start);
498 SEQ_LT(tp->snd_fack, sblkp->start))
518 if (SEQ_GEQ(sblkp->start, cur->end)) {
526 if (SEQ_LEQ(sblkp->end, cur->start)) {
534 tp->sackhint.sack_bytes_rexmit -= (cur->rxmit - cur->start);
535 if (SEQ_LEQ(sblkp->start, cur->start)) {
539 *newbytes_acked += (cur->end - cur->start);
552 /* Move start of hole forward */
553 *newbytes_acked += (sblkp->end - cur->start);
556 cur->start = sblkp->end;
557 cur->rxmit = SEQ_MAX(cur->rxmit, cur->start);
563 *newbytes_acked += (cur->end - sblkp->start);
566 cur->end = sblkp->start;
573 *newbytes_acked += (sblkp->end - sblkp->start);
583 - temp->start);
585 cur->end = sblkp->start;
598 tp->sackhint.sack_bytes_rexmit += (cur->rxmit - cur->start);
600 * Testing sblkp->start against cur->start tells us whether
604 if (SEQ_LEQ(sblkp->start, cur->start))
673 *sack_bytes_rexmt += (p->rxmit - p->start);
676 *sack_bytes_rexmt += (p->rxmit - p->start);
691 * (start == rxmit), since we have not yet retransmitted from them. Therefore,
693 * one node following the current hint with (start == rxmit == end).
694 * But that can't happen, (start == end) means that all the data in that hole
751 if (SEQ_GEQ(tp->snd_nxt, p->start))
754 tp->snd_nxt = p->start;
781 sndhole_bytes += (sndhole->end - sndhole->start);