Searched refs:todrop (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12-stable/sys/netinet/tcp_stacks/ |
| D | rack_bbr_common.c | 454 int32_t todrop; in ctf_drop_checks() local 460 todrop = tp->rcv_nxt - th->th_seq; in ctf_drop_checks() 461 if (todrop > 0) { in ctf_drop_checks() 469 todrop--; in ctf_drop_checks() 474 if (todrop > tlen in ctf_drop_checks() 475 || (todrop == tlen && (thflags & TH_FIN) == 0)) { in ctf_drop_checks() 487 todrop = tlen; in ctf_drop_checks() 489 TCPSTAT_ADD(tcps_rcvdupbyte, todrop); in ctf_drop_checks() 492 TCPSTAT_ADD(tcps_rcvpartdupbyte, todrop); in ctf_drop_checks() 497 if ((todrop > 0) && (tp->t_flags & TF_SACK_PERMIT)) { in ctf_drop_checks() [all …]
|
| D | rack.c | 1754 int32_t todrop; in rack_drop_checks() local 1760 todrop = tp->rcv_nxt - th->th_seq; in rack_drop_checks() 1761 if (todrop > 0) { in rack_drop_checks() 1769 todrop--; in rack_drop_checks() 1774 if (todrop > tlen in rack_drop_checks() 1775 || (todrop == tlen && (thflags & TH_FIN) == 0)) { in rack_drop_checks() 1787 todrop = tlen; in rack_drop_checks() 1789 TCPSTAT_ADD(tcps_rcvdupbyte, todrop); in rack_drop_checks() 1792 TCPSTAT_ADD(tcps_rcvpartdupbyte, todrop); in rack_drop_checks() 1799 th->th_seq + todrop); in rack_drop_checks() [all …]
|
| /freebsd-12-stable/sys/netinet/ |
| D | tcp_input.c | 1521 int rstreason, todrop, win, incforsyn = 0; in tcp_do_segment() local 2113 todrop = tlen - tp->rcv_wnd; in tcp_do_segment() 2114 m_adj(m, -todrop); in tcp_do_segment() 2118 TCPSTAT_ADD(tcps_rcvbyteafterwin, todrop); in tcp_do_segment() 2280 todrop = tp->rcv_nxt - th->th_seq; in tcp_do_segment() 2281 if (todrop > 0) { in tcp_do_segment() 2289 todrop--; in tcp_do_segment() 2294 if (todrop > tlen in tcp_do_segment() 2295 || (todrop == tlen && (thflags & TH_FIN) == 0)) { in tcp_do_segment() 2308 todrop = tlen; in tcp_do_segment() [all …]
|
| /freebsd-12-stable/contrib/gcclibs/libdecnumber/ |
| D | decNumber.c | 1746 Int todrop = ideal - a->exponent; /* most we can drop */ in decNumberSquareRoot() local 1748 if (todrop < 0) in decNumberSquareRoot() 1754 if (dropped < todrop) in decNumberSquareRoot() 1755 todrop = dropped; /* clamp to those available */ in decNumberSquareRoot() 1756 if (todrop > 0) in decNumberSquareRoot() 1758 decShiftToLeast (a->lsu, D2U (a->digits), todrop); in decNumberSquareRoot() 1759 a->exponent += todrop; /* maintain numerical value */ in decNumberSquareRoot() 1760 a->digits -= todrop; /* new length */ in decNumberSquareRoot()
|