Lines Matching refs:todrop
243 int todrop, acked, ourfinisacked, needoutput = 0;
810 todrop = ti->ti_len - tp->rcv_wnd;
811 m_adj(m, -todrop);
815 STAT(tcpstat.tcps_rcvbyteafterwin += todrop);
857 todrop = tp->rcv_nxt - ti->ti_seq;
858 if (todrop > 0) {
866 todrop--;
871 if (todrop > ti->ti_len
872 || (todrop == ti->ti_len && (tiflags & TH_FIN) == 0)) {
885 todrop = ti->ti_len;
887 STAT(tcpstat.tcps_rcvdupbyte += todrop);
890 STAT(tcpstat.tcps_rcvpartdupbyte += todrop);
892 m_adj(m, todrop);
893 ti->ti_seq += todrop;
894 ti->ti_len -= todrop;
895 if (ti->ti_urp > todrop)
896 ti->ti_urp -= todrop;
917 todrop = (ti->ti_seq+ti->ti_len) - (tp->rcv_nxt+tp->rcv_wnd);
918 if (todrop > 0) {
920 if (todrop >= ti->ti_len) {
948 STAT(tcpstat.tcps_rcvbyteafterwin += todrop);
949 m_adj(m, -todrop);
950 ti->ti_len -= todrop;