Lines Matching refs:start_seq
995 static u32 tcp_dsack_seen(struct tcp_sock *tp, u32 start_seq, in tcp_dsack_seen() argument
1000 if (!before(start_seq, end_seq)) in tcp_dsack_seen()
1003 seq_len = end_seq - start_seq; in tcp_dsack_seen()
1219 u32 start_seq, u32 end_seq) in tcp_is_sackblock_valid() argument
1222 if (after(end_seq, tp->snd_nxt) || !before(start_seq, end_seq)) in tcp_is_sackblock_valid()
1226 if (!before(start_seq, tp->snd_nxt)) in tcp_is_sackblock_valid()
1232 if (after(start_seq, tp->snd_una)) in tcp_is_sackblock_valid()
1242 if (!before(start_seq, tp->undo_marker)) in tcp_is_sackblock_valid()
1252 return !before(start_seq, end_seq - tp->max_window); in tcp_is_sackblock_valid()
1260 u32 start_seq_0 = get_unaligned_be32(&sp[0].start_seq); in tcp_check_dsack()
1268 u32 start_seq_1 = get_unaligned_be32(&sp[1].start_seq); in tcp_check_dsack()
1303 u32 start_seq, u32 end_seq) in tcp_match_skb_to_sack() argument
1310 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq) && in tcp_match_skb_to_sack()
1314 after(TCP_SKB_CB(skb)->end_seq, start_seq)) { in tcp_match_skb_to_sack()
1316 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq); in tcp_match_skb_to_sack()
1319 pkt_len = start_seq - TCP_SKB_CB(skb)->seq; in tcp_match_skb_to_sack()
1353 u32 start_seq, u32 end_seq, in tcp_sacktag_one() argument
1365 before(start_seq, state->reord)) in tcp_sacktag_one()
1366 state->reord = start_seq; in tcp_sacktag_one()
1391 if (before(start_seq, in tcp_sacktag_one()
1393 before(start_seq, state->reord)) in tcp_sacktag_one()
1394 state->reord = start_seq; in tcp_sacktag_one()
1417 before(start_seq, TCP_SKB_CB(tp->lost_skb_hint)->seq)) in tcp_sacktag_one()
1443 u32 start_seq = TCP_SKB_CB(skb)->seq; /* start of newly-SACKed */ in tcp_shifted_skb() local
1444 u32 end_seq = start_seq + shifted; /* end of newly-SACKed */ in tcp_shifted_skb()
1455 start_seq, end_seq, dup_sack, pcount, in tcp_shifted_skb()
1552 u32 start_seq, u32 end_seq, in tcp_shift_skb_data() argument
1583 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq) && in tcp_shift_skb_data()
1597 if (!after(TCP_SKB_CB(skb)->end_seq, start_seq)) in tcp_shift_skb_data()
1606 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq); in tcp_shift_skb_data()
1691 u32 start_seq, u32 end_seq, in tcp_sacktag_walk() argument
1708 next_dup->start_seq, in tcp_sacktag_walk()
1720 start_seq, end_seq, dup_sack); in tcp_sacktag_walk()
1730 start_seq, in tcp_sacktag_walk()
1799 if (before(next_dup->start_seq, skip_to_seq)) { in tcp_maybe_skipping_dsack()
1800 skb = tcp_sacktag_skip(skb, sk, next_dup->start_seq); in tcp_maybe_skipping_dsack()
1802 next_dup->start_seq, next_dup->end_seq, in tcp_maybe_skipping_dsack()
1855 sp[used_sacks].start_seq = get_unaligned_be32(&sp_wire[i].start_seq); in tcp_sacktag_write_queue()
1859 sp[used_sacks].start_seq, in tcp_sacktag_write_queue()
1895 if (after(sp[j].start_seq, sp[j + 1].start_seq)) { in tcp_sacktag_write_queue()
1915 while (tcp_sack_cache_ok(tp, cache) && !cache->start_seq && in tcp_sacktag_write_queue()
1921 u32 start_seq = sp[i].start_seq; in tcp_sacktag_write_queue() local
1931 !before(start_seq, cache->end_seq)) in tcp_sacktag_write_queue()
1936 after(end_seq, cache->start_seq)) { in tcp_sacktag_write_queue()
1939 if (before(start_seq, cache->start_seq)) { in tcp_sacktag_write_queue()
1940 skb = tcp_sacktag_skip(skb, sk, start_seq); in tcp_sacktag_write_queue()
1943 start_seq, in tcp_sacktag_write_queue()
1944 cache->start_seq, in tcp_sacktag_write_queue()
1972 if (!before(start_seq, tcp_highest_sack_seq(tp))) { in tcp_sacktag_write_queue()
1977 skb = tcp_sacktag_skip(skb, sk, start_seq); in tcp_sacktag_write_queue()
1981 start_seq, end_seq, dup_sack); in tcp_sacktag_write_queue()
1989 tp->recv_sack_cache[i].start_seq = 0; in tcp_sacktag_write_queue()
3268 const u32 start_seq = scb->seq; in tcp_clean_rtx_queue() local
3297 if (before(start_seq, reord)) in tcp_clean_rtx_queue()
3298 reord = start_seq; in tcp_clean_rtx_queue()
4446 if (!after(seq, sp->end_seq) && !after(sp->start_seq, end_seq)) { in tcp_sack_extend()
4447 if (before(seq, sp->start_seq)) in tcp_sack_extend()
4448 sp->start_seq = seq; in tcp_sack_extend()
4471 tp->duplicate_sack[0].start_seq = seq; in tcp_dsack_set()
4493 if (TCP_SKB_CB(skb)->seq == tcp_sk(sk)->duplicate_sack[0].start_seq && in tcp_rcv_spurious_retrans()
4533 if (tcp_sack_extend(sp, swalk->start_seq, swalk->end_seq)) { in tcp_sack_maybe_coalesce()
4618 sp->start_seq = seq; in tcp_sack_new_ofo_skb()
4639 if (!before(tp->rcv_nxt, sp->start_seq)) { in tcp_sack_remove()
4835 tp->selective_acks[0].start_seq = seq; in tcp_data_queue_ofo()