Lines Matching refs:num_dupack
2064 static void tcp_add_reno_sack(struct sock *sk, int num_dupack, bool ece_ack) in tcp_add_reno_sack() argument
2066 if (num_dupack) { in tcp_add_reno_sack()
2071 tp->sacked_out += num_dupack; in tcp_add_reno_sack()
2917 static void tcp_process_loss(struct sock *sk, int flag, int num_dupack, in tcp_process_loss() argument
2936 if (flag & FLAG_DATA_SACKED || num_dupack) in tcp_process_loss()
2962 if (after(tp->snd_nxt, tp->high_seq) && num_dupack) in tcp_process_loss()
2963 tcp_add_reno_sack(sk, num_dupack, flag & FLAG_ECE); in tcp_process_loss()
3044 int num_dupack, int *ack_flag, int *rexmit) in tcp_fastretrans_alert() argument
3050 bool do_lost = num_dupack || ((flag & FLAG_DATA_SACKED) && in tcp_fastretrans_alert()
3099 tcp_add_reno_sack(sk, num_dupack, ece_ack); in tcp_fastretrans_alert()
3117 tcp_process_loss(sk, flag, num_dupack, rexmit); in tcp_fastretrans_alert()
3130 tcp_add_reno_sack(sk, num_dupack, ece_ack); in tcp_fastretrans_alert()
3868 int num_dupack = 0; in tcp_ack() local
3997 num_dupack = 1; in tcp_ack()
4000 num_dupack = max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_ack()
4002 tcp_fastretrans_alert(sk, prior_snd_una, num_dupack, &flag, in tcp_ack()
4024 tcp_fastretrans_alert(sk, prior_snd_una, num_dupack, &flag, in tcp_ack()
4045 tcp_fastretrans_alert(sk, prior_snd_una, num_dupack, &flag, in tcp_ack()