Lines Matching refs:todrop
243 int todrop, acked, ourfinisacked, needoutput = 0;
804 todrop = ti->ti_len - tp->rcv_wnd;
805 m_adj(m, -todrop);
809 STAT(tcpstat.tcps_rcvbyteafterwin += todrop);
851 todrop = tp->rcv_nxt - ti->ti_seq;
852 if (todrop > 0) {
860 todrop--;
865 if (todrop > ti->ti_len
866 || (todrop == ti->ti_len && (tiflags & TH_FIN) == 0)) {
879 todrop = ti->ti_len;
881 STAT(tcpstat.tcps_rcvdupbyte += todrop);
884 STAT(tcpstat.tcps_rcvpartdupbyte += todrop);
886 m_adj(m, todrop);
887 ti->ti_seq += todrop;
888 ti->ti_len -= todrop;
889 if (ti->ti_urp > todrop)
890 ti->ti_urp -= todrop;
911 todrop = (ti->ti_seq+ti->ti_len) - (tp->rcv_nxt+tp->rcv_wnd);
912 if (todrop > 0) {
914 if (todrop >= ti->ti_len) {
942 STAT(tcpstat.tcps_rcvbyteafterwin += todrop);
943 m_adj(m, -todrop);
944 ti->ti_len -= todrop;