Lines Matching refs:sblkp
317 struct sackblk sack, sack_blocks[TCP_MAX_SACK + 1], *sblkp;
383 sblkp = &sack_blocks[num_sack_blks - 1]; /* Last SACK block */
384 if (SEQ_LT(tp->snd_fack, sblkp->start)) {
392 temp = tcp_sackhole_insert(tp, tp->snd_fack,sblkp->start,NULL);
394 tp->snd_fack = sblkp->end;
396 sblkp--;
406 while (sblkp >= sack_blocks &&
407 SEQ_LT(tp->snd_fack, sblkp->start))
408 sblkp--;
409 if (sblkp >= sack_blocks &&
410 SEQ_LT(tp->snd_fack, sblkp->end))
411 tp->snd_fack = sblkp->end;
413 } else if (SEQ_LT(tp->snd_fack, sblkp->end))
415 tp->snd_fack = sblkp->end;
422 while (sblkp >= sack_blocks && cur != NULL) {
423 if (SEQ_GEQ(sblkp->start, cur->end)) {
428 sblkp--;
431 if (SEQ_LEQ(sblkp->end, cur->start)) {
440 if (SEQ_LEQ(sblkp->start, cur->start)) {
442 if (SEQ_GEQ(sblkp->end, cur->end)) {
454 cur->start = sblkp->end;
459 if (SEQ_GEQ(sblkp->end, cur->end)) {
461 cur->end = sblkp->start;
468 temp = tcp_sackhole_insert(tp, sblkp->end,
477 cur->end = sblkp->start;
485 * Testing sblkp->start against cur->start tells us whether
489 if (SEQ_LEQ(sblkp->start, cur->start))
492 sblkp--;