Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dtcp_input.c992 u32 seq_len, dup_segs = 1; in tcp_dsack_seen() local
1002 dup_segs = DIV_ROUND_UP(seq_len, tp->mss_cache); in tcp_dsack_seen()
1006 tp->dsack_dups += dup_segs; in tcp_dsack_seen()
1023 state->sack_delivered += dup_segs; in tcp_dsack_seen()
1025 return dup_segs; in tcp_dsack_seen()
1256 u32 dup_segs; in tcp_check_dsack() local
1271 dup_segs = tcp_dsack_seen(tp, start_seq_0, end_seq_0, state); in tcp_check_dsack()
1272 if (!dup_segs) { /* Skip dubious DSACK */ in tcp_check_dsack()
1277 NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPDSACKRECVSEGS, dup_segs); in tcp_check_dsack()
1283 tp->undo_retrans = max_t(int, 0, tp->undo_retrans - dup_segs); in tcp_check_dsack()