Lines Matching defs:todrop
1527 int rstreason, todrop, win, incforsyn = 0;
2129 todrop = tlen - tp->rcv_wnd;
2130 m_adj(m, -todrop);
2134 TCPSTAT_ADD(tcps_rcvbyteafterwin, todrop);
2279 todrop = tp->rcv_nxt - th->th_seq;
2280 if (todrop > 0) {
2288 todrop--;
2293 if (todrop > tlen
2294 || (todrop == tlen && (thflags & TH_FIN) == 0)) {
2307 todrop = tlen;
2309 TCPSTAT_ADD(tcps_rcvdupbyte, todrop);
2312 TCPSTAT_ADD(tcps_rcvpartdupbyte, todrop);
2317 if ((todrop > 0) && (tp->t_flags & TF_SACK_PERMIT)) {
2319 th->th_seq + todrop);
2326 drop_hdrlen += todrop; /* drop from the top afterwards */
2327 th->th_seq += todrop;
2328 tlen -= todrop;
2329 if (th->th_urp > todrop)
2330 th->th_urp -= todrop;
2364 todrop = (th->th_seq + tlen) - (tp->rcv_nxt + tp->rcv_wnd);
2365 if (todrop > 0) {
2367 if (todrop >= tlen) {
2382 TCPSTAT_ADD(tcps_rcvbyteafterwin, todrop);
2383 m_adj(m, -todrop);
2384 tlen -= todrop;
3303 * Partial overlap, recorded at todrop