Home | History | Annotate | Download | only in netinet

Lines Matching refs:rcv_nxt

768 	 * Present data to user, advancing rcv_nxt through
774 if (q == NULL || q->ipqe_seq != tp->rcv_nxt)
779 tp->rcv_nxt += q->ipqe_len;
997 todrop = vp->rcv_nxt - th->th_seq;
1028 th->th_seq != vp->rcv_nxt) {
1063 todrop = (th->th_seq + tlen) - (vp->rcv_nxt + vp->rcv_wnd);
1070 * th->th_seq + tlen - vp->rcv_nxt - vp->rcv_wnd >= tlen
1071 * th->th_seq - vp->rcv_nxt - vp->rcv_wnd >= 0
1072 * th->th_seq >= vp->rcv_nxt + vp->rcv_wnd
1083 SEQ_GT(th->th_seq, vp->rcv_nxt)) {
1098 if (vp->rcv_wnd == 0 && th->th_seq == vp->rcv_nxt) {
1113 if (th->th_seq != vp->rcv_nxt)
1818 th->th_seq == tp->rcv_nxt &&
1921 tp->rcv_nxt += tlen;
1925 * rcv_nxt.
1927 tp->rcv_up = tp->rcv_nxt;
2038 tp->rcv_wnd = imax(win, (int)(tp->rcv_adv - tp->rcv_nxt));
2052 * initialize tp->rcv_nxt and tp->irs
2211 * receive window. If segment begins before rcv_nxt, drop leading
2214 todrop = tp->rcv_nxt - th->th_seq;
2245 } else if ((tiflags & TH_RST) && th->th_seq != tp->rcv_nxt) {
2280 todrop = (th->th_seq + tlen) - (tp->rcv_nxt + tp->rcv_wnd);
2286 * th->th_seq + tlen - tp->rcv_nxt - tp->rcv_wnd >= tlen
2287 * th->th_seq - tp->rcv_nxt - tp->rcv_wnd >= 0
2288 * th->th_seq >= tp->rcv_nxt + tp->rcv_wnd
2303 SEQ_GT(th->th_seq, tp->rcv_nxt)) {
2318 if (tp->rcv_wnd == 0 && th->th_seq == tp->rcv_nxt) {
2370 if (th->th_seq != tp->rcv_nxt)
2406 if (tp->rcv_nxt == th->th_seq) {
2514 if (tlen && th->th_seq != tp->rcv_nxt &&
2715 (tp->rcv_up - tp->rcv_nxt) - 1;
2737 if (SEQ_GT(tp->rcv_nxt, tp->rcv_up))
2738 tp->rcv_up = tp->rcv_nxt;
2764 if (th->th_seq == tp->rcv_nxt &&
2768 tp->rcv_nxt += tlen;
2794 len = so->so_rcv.sb_hiwat - (tp->rcv_adv - tp->rcv_nxt);
2810 tp->rcv_nxt++;