Lines Matching refs:num_dupack
2000 static void tcp_add_reno_sack(struct sock *sk, int num_dupack, bool ece_ack) in tcp_add_reno_sack() argument
2002 if (num_dupack) { in tcp_add_reno_sack()
2007 tp->sacked_out += num_dupack; in tcp_add_reno_sack()
2754 static void tcp_process_loss(struct sock *sk, int flag, int num_dupack, in tcp_process_loss() argument
2773 if (flag & FLAG_DATA_SACKED || num_dupack) in tcp_process_loss()
2799 if (after(tp->snd_nxt, tp->high_seq) && num_dupack) in tcp_process_loss()
2800 tcp_add_reno_sack(sk, num_dupack, flag & FLAG_ECE); in tcp_process_loss()
2881 int num_dupack, int *ack_flag, int *rexmit) in tcp_fastretrans_alert() argument
2887 bool do_lost = num_dupack || ((flag & FLAG_DATA_SACKED) && in tcp_fastretrans_alert()
2936 tcp_add_reno_sack(sk, num_dupack, ece_ack); in tcp_fastretrans_alert()
2954 tcp_process_loss(sk, flag, num_dupack, rexmit); in tcp_fastretrans_alert()
2965 tcp_add_reno_sack(sk, num_dupack, ece_ack); in tcp_fastretrans_alert()
3694 int num_dupack = 0; in tcp_ack() local
3818 num_dupack = 1; in tcp_ack()
3821 num_dupack = max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_ack()
3823 tcp_fastretrans_alert(sk, prior_snd_una, num_dupack, &flag, in tcp_ack()
3845 tcp_fastretrans_alert(sk, prior_snd_una, num_dupack, &flag, in tcp_ack()
3866 tcp_fastretrans_alert(sk, prior_snd_una, num_dupack, &flag, in tcp_ack()