Lines Matching defs:gap
2627 int32_t gap;
2970 gap = seg_seq - tcp->tcp_rnxt;
2971 rgap = tcp->tcp_rwnd - (gap + seg_len);
2973 * gap is the amount of sequence space between what we expect to see
2974 * and what we got for seg_seq. A positive value for gap means
2977 if (gap < 0) {
2988 (seg_len > -gap ? -gap : seg_len));
2990 seg_len += gap;
3013 seg_len -= gap;
3015 printf("tcp_rput: unacceptable, gap %d, rgap "
3018 gap, rgap, flags, seg_seq, seg_ack,
3058 /* Fix seg_seq, and chew the gap off the front. */
3064 gap += (uint_t)(mp->b_wptr - mp->b_rptr);
3065 if (gap > 0) {
3066 mp->b_rptr = mp->b_wptr - gap;
3072 } while (gap < 0);
3217 * A gap is filled and the seq num and len
3218 * of the gap match that of a previously
5207 int32_t gap;
5232 gap = seg_seq - tcp->tcp_rnxt;
5233 rgap = tcp->tcp_rwnd - (gap + seg_len);
5234 if (gap < 0) {
5237 (seg_len > -gap ? -gap : seg_len));
5238 seg_len += gap;
5265 /* Fix seg_seq, and chew the gap off the front. */
5269 if ((flags & TH_SYN) && gap > 0 && rgap < 0) {
6490 * Add a new piece to the tcp reassembly queue. If the gap at the beginning