Lines Matching defs:gap
548 * Add a new piece to the tcp reassembly queue. If the gap at the beginning
2250 int32_t gap;
2820 gap = seg_seq - tcp->tcp_rnxt;
2821 rgap = tcp->tcp_rwnd - (gap + seg_len);
2823 * gap is the amount of sequence space between what we expect to see
2824 * and what we got for seg_seq. A positive value for gap means
2827 if (gap < 0) {
2839 (seg_len > -gap ? -gap : seg_len));
2841 seg_len += gap;
2864 if (SEQ_GEQ(seg_seq + seg_len - gap, tcp->tcp_rack) &&
2877 seg_len -= gap;
2880 "tcp_rput: unacceptable, gap %d, rgap %d, "
2883 gap, rgap, flags, seg_seq, seg_ack,
2924 /* Fix seg_seq, and chew the gap off the front. */
2926 urp += gap;
2931 gap += (uint_t)(mp->b_wptr - mp->b_rptr);
2932 if (gap > 0) {
2933 mp->b_rptr = mp->b_wptr - gap;
2939 } while (gap < 0);
2998 * (gap >= 0) handles the wraparound of the sequence
3036 if (gap == 0 && urp == 0)
3157 * A gap is filled and the seq num and len
3158 * of the gap match that of a previously