Lines Matching refs:sacked
1087 __u8 sacked = TCP_SKB_CB(skb)->sacked; in tcp_mark_skb_lost() local
1090 if (sacked & TCPCB_SACKED_ACKED) in tcp_mark_skb_lost()
1094 if (sacked & TCPCB_LOST) { in tcp_mark_skb_lost()
1095 if (sacked & TCPCB_SACKED_RETRANS) { in tcp_mark_skb_lost()
1097 TCP_SKB_CB(skb)->sacked &= ~TCPCB_SACKED_RETRANS; in tcp_mark_skb_lost()
1105 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST; in tcp_mark_skb_lost()
1346 struct tcp_sacktag_state *state, u8 sacked, in tcp_sacktag_one() argument
1354 if (dup_sack && (sacked & TCPCB_RETRANS)) { in tcp_sacktag_one()
1358 if ((sacked & TCPCB_SACKED_ACKED) && in tcp_sacktag_one()
1365 return sacked; in tcp_sacktag_one()
1367 if (!(sacked & TCPCB_SACKED_ACKED)) { in tcp_sacktag_one()
1368 tcp_rack_advance(tp, sacked, end_seq, xmit_time); in tcp_sacktag_one()
1370 if (sacked & TCPCB_SACKED_RETRANS) { in tcp_sacktag_one()
1375 if (sacked & TCPCB_LOST) { in tcp_sacktag_one()
1376 sacked &= ~(TCPCB_LOST|TCPCB_SACKED_RETRANS); in tcp_sacktag_one()
1381 if (!(sacked & TCPCB_RETRANS)) { in tcp_sacktag_one()
1397 if (sacked & TCPCB_LOST) { in tcp_sacktag_one()
1398 sacked &= ~TCPCB_LOST; in tcp_sacktag_one()
1403 sacked |= TCPCB_SACKED_ACKED; in tcp_sacktag_one()
1419 if (dup_sack && (sacked & TCPCB_SACKED_RETRANS)) { in tcp_sacktag_one()
1420 sacked &= ~TCPCB_SACKED_RETRANS; in tcp_sacktag_one()
1424 return sacked; in tcp_sacktag_one()
1448 tcp_sacktag_one(sk, state, TCP_SKB_CB(skb)->sacked, in tcp_shifted_skb()
1476 TCP_SKB_CB(prev)->sacked |= (TCP_SKB_CB(skb)->sacked & TCPCB_EVER_RETRANS); in tcp_shifted_skb()
1558 (TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_RETRANS)) == TCPCB_SACKED_RETRANS) in tcp_shift_skb_data()
1571 if ((TCP_SKB_CB(prev)->sacked & TCPCB_TAGBITS) != TCPCB_SACKED_ACKED) in tcp_shift_skb_data()
1659 ((TCP_SKB_CB(skb)->sacked & TCPCB_TAGBITS) != TCPCB_SACKED_ACKED) || in tcp_shift_skb_data()
1731 TCP_SKB_CB(skb)->sacked = in tcp_sacktag_walk()
1734 TCP_SKB_CB(skb)->sacked, in tcp_sacktag_walk()
1741 if (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED) in tcp_sacktag_walk()
1812 TCP_SKB_CB(ack_skb)->sacked); in tcp_sacktag_write_queue()
2110 is_reneg = head && (TCP_SKB_CB(head)->sacked & TCPCB_SACKED_ACKED); in tcp_timeout_mark_lost()
2123 TCP_SKB_CB(skb)->sacked &= ~TCPCB_SACKED_ACKED; in tcp_timeout_mark_lost()
2363 if (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED) in tcp_mark_head_lost()
2369 if (!(TCP_SKB_CB(skb)->sacked & TCPCB_LOST)) in tcp_mark_head_lost()
2405 return (TCP_SKB_CB(skb)->sacked & TCPCB_RETRANS) && in tcp_skb_spurious_retrans()
2443 if (unlikely(skb && TCP_SKB_CB(skb)->sacked & TCPCB_EVER_RETRANS)) in tcp_any_retrans_done()
2484 TCP_SKB_CB(skb)->sacked &= ~TCPCB_LOST; in tcp_undo_cwnd_reduction()
3240 u8 sacked = scb->sacked; in tcp_clean_rtx_queue() local
3257 if (unlikely(sacked & TCPCB_RETRANS)) { in tcp_clean_rtx_queue()
3258 if (sacked & TCPCB_SACKED_RETRANS) in tcp_clean_rtx_queue()
3261 } else if (!(sacked & TCPCB_SACKED_ACKED)) { in tcp_clean_rtx_queue()
3273 if (sacked & TCPCB_SACKED_ACKED) { in tcp_clean_rtx_queue()
3278 tcp_rack_advance(tp, sacked, scb->end_seq, in tcp_clean_rtx_queue()
3281 if (sacked & TCPCB_LOST) in tcp_clean_rtx_queue()
3324 if (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED) in tcp_clean_rtx_queue()
3821 if (TCP_SKB_CB(skb)->sacked) in tcp_ack()
3914 if (TCP_SKB_CB(skb)->sacked) { in tcp_ack()
4087 TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th; in tcp_parse_options()