Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dtcp_input.c1016 u32 seq_len, dup_segs = 1; in tcp_dsack_seen() local
1026 dup_segs = DIV_ROUND_UP(seq_len, tp->mss_cache); in tcp_dsack_seen()
1030 tp->dsack_dups += dup_segs; in tcp_dsack_seen()
1047 state->sack_delivered += dup_segs; in tcp_dsack_seen()
1049 return dup_segs; in tcp_dsack_seen()
1280 u32 dup_segs; in tcp_check_dsack() local
1295 dup_segs = tcp_dsack_seen(tp, start_seq_0, end_seq_0, state); in tcp_check_dsack()
1296 if (!dup_segs) { /* Skip dubious DSACK */ in tcp_check_dsack()
1301 NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPDSACKRECVSEGS, dup_segs); in tcp_check_dsack()
1307 tp->undo_retrans = max_t(int, 0, tp->undo_retrans - dup_segs); in tcp_check_dsack()