Home
last modified time | relevance | path

Searched refs:todrop (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c551 int32_t todrop; in ctf_drop_checks() local
557 todrop = tp->rcv_nxt - th->th_seq; in ctf_drop_checks()
558 if (todrop > 0) { in ctf_drop_checks()
566 todrop--; in ctf_drop_checks()
571 if (todrop > tlen in ctf_drop_checks()
572 || (todrop == tlen && (thflags & TH_FIN) == 0)) { in ctf_drop_checks()
584 todrop = tlen; in ctf_drop_checks()
586 KMOD_TCPSTAT_ADD(tcps_rcvdupbyte, todrop); in ctf_drop_checks()
589 KMOD_TCPSTAT_ADD(tcps_rcvpartdupbyte, todrop); in ctf_drop_checks()
594 if ((todrop > 0) && (tp->t_flags & TF_SACK_PERMIT)) { in ctf_drop_checks()
[all …]
H A Dbbr.c8742 int32_t todrop; in bbr_do_syn_sent() local
8877 todrop = tlen - tp->rcv_wnd; in bbr_do_syn_sent()
8878 m_adj(m, -todrop); in bbr_do_syn_sent()
8882 KMOD_TCPSTAT_ADD(tcps_rcvbyteafterwin, todrop); in bbr_do_syn_sent()
H A Drack.c12854 int32_t todrop; in rack_do_syn_sent() local
13003 todrop = tlen - tp->rcv_wnd; in rack_do_syn_sent()
13004 m_adj(m, -todrop); in rack_do_syn_sent()
13008 KMOD_TCPSTAT_ADD(tcps_rcvbyteafterwin, todrop); in rack_do_syn_sent()
/freebsd/sys/netinet/
H A Dtcp_input.c1525 int rstreason, todrop, win, incforsyn = 0; in tcp_do_segment() local
2124 todrop = tlen - tp->rcv_wnd; in tcp_do_segment()
2125 m_adj(m, -todrop); in tcp_do_segment()
2129 TCPSTAT_ADD(tcps_rcvbyteafterwin, todrop); in tcp_do_segment()
2274 todrop = tp->rcv_nxt - th->th_seq; in tcp_do_segment()
2275 if (todrop > 0) { in tcp_do_segment()
2283 todrop--; in tcp_do_segment()
2288 if (todrop > tlen in tcp_do_segment()
2289 || (todrop == tlen && (thflags & TH_FIN) == 0)) { in tcp_do_segment()
2302 todrop = tlen; in tcp_do_segment()
[all …]