/Linux-v5.4/net/ipv4/ |
D | tcp_input.c | 585 if (TCP_SKB_CB(skb)->end_seq - in tcp_rcv_rtt_measure_ts() 1056 u32 start_seq, u32 end_seq) in tcp_is_sackblock_valid() argument 1059 if (after(end_seq, tp->snd_nxt) || !before(start_seq, end_seq)) in tcp_is_sackblock_valid() 1076 if (after(end_seq, tp->snd_una)) in tcp_is_sackblock_valid() 1083 if (!after(end_seq, tp->undo_marker)) in tcp_is_sackblock_valid() 1089 return !before(start_seq, end_seq - tp->max_window); in tcp_is_sackblock_valid() 1098 u32 end_seq_0 = get_unaligned_be32(&sp[0].end_seq); in tcp_check_dsack() 1106 u32 end_seq_1 = get_unaligned_be32(&sp[1].end_seq); in tcp_check_dsack() 1149 u32 start_seq, u32 end_seq) in tcp_match_skb_to_sack() argument 1157 !before(end_seq, TCP_SKB_CB(skb)->end_seq); in tcp_match_skb_to_sack() [all …]
|
D | tcp_recovery.c | 96 tp->rack.end_seq, scb->end_seq)) in tcp_rack_detect_loss() 135 void tcp_rack_advance(struct tcp_sock *tp, u8 sacked, u32 end_seq, in tcp_rack_advance() argument 157 end_seq, tp->rack.end_seq)) { in tcp_rack_advance() 159 tp->rack.end_seq = end_seq; in tcp_rack_advance()
|
D | tcp_minisocks.c | 33 static bool tcp_in_window(u32 seq, u32 end_seq, u32 s_win, u32 e_win) in tcp_in_window() argument 37 if (after(end_seq, s_win) && before(seq, e_win)) in tcp_in_window() 39 return seq == e_win && seq == end_seq; in tcp_in_window() 117 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process() 131 !after(TCP_SKB_CB(skb)->end_seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process() 132 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq) { in tcp_timewait_state_process() 141 TCP_SKB_CB(skb)->end_seq != tcptw->tw_rcv_nxt + 1) in tcp_timewait_state_process() 146 tcptw->tw_rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_timewait_state_process() 175 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process() 709 if (paws_reject || !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_check_req() [all …]
|
D | tcp_output.c | 70 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq); in tcp_event_new_data_sent() 400 TCP_SKB_CB(skb)->end_seq = seq; in tcp_init_nondata_skb() 518 *ptr++ = htonl(sp[this_sack].end_seq); in tcp_options_write() 1034 TCP_SKB_CB(skb)->tx.in_flight = TCP_SKB_CB(skb)->end_seq in __tcp_transmit_skb() 1152 if (after(tcb->end_seq, tp->snd_nxt) || tcb->seq == tcb->end_seq) in __tcp_transmit_skb() 1199 WRITE_ONCE(tp->write_seq, TCP_SKB_CB(skb)->end_seq); in tcp_queue_skb() 1344 TCP_SKB_CB(buff)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_fragment() 1345 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tcp_fragment() 1373 if (!before(tp->snd_nxt, TCP_SKB_CB(buff)->end_seq)) { in tcp_fragment() 1700 tp->snd_sml = TCP_SKB_CB(skb)->end_seq; in tcp_minshall_update() [all …]
|
D | tcp_illinois.c | 49 u32 end_seq; /* right edge of current RTT */ member 62 ca->end_seq = tp->snd_nxt; in rtt_reset() 265 if (after(ack, ca->end_seq)) in tcp_illinois_cong_avoid()
|
D | tcp_cubic.c | 100 u32 end_seq; /* end_seq of the round */ member 135 ca->end_seq = tp->snd_nxt; in bictcp_hystart_reset() 344 if (hystart && after(ack, ca->end_seq)) in bictcp_cong_avoid()
|
D | tcp_fastopen.c | 167 if (TCP_SKB_CB(skb)->end_seq == tp->rcv_nxt) in tcp_fastopen_add_skb() 190 tp->rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_fastopen_add_skb() 343 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen()
|
D | tcp.c | 657 tcb->seq = tcb->end_seq = tp->write_seq; in skb_entail() 1041 TCP_SKB_CB(skb)->end_seq += copy; in do_tcp_sendpages() 1368 TCP_SKB_CB(skb)->end_seq += copy; in tcp_sendmsg_locked() 1530 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf() 1532 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf() 2362 u32 len = TCP_SKB_CB(skb)->end_seq - TCP_SKB_CB(skb)->seq; in tcp_close() 2644 tp->duplicate_sack[0].end_seq = 0; in tcp_disconnect()
|
D | tcp_ipv4.c | 1696 if (TCP_SKB_CB(tail)->end_seq != TCP_SKB_CB(skb)->seq || in tcp_add_backlog() 1715 TCP_SKB_CB(tail)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_add_backlog() 1793 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_fill_cb()
|
/Linux-v5.4/net/netfilter/ |
D | nf_conntrack_seqadj.c | 94 if (after(ntohl(sack->end_seq) - seq->offset_before, in nf_ct_sack_block_adjust() 96 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust() 99 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust() 104 ntohl(sack->end_seq), ntohl(new_end_seq)); in nf_ct_sack_block_adjust() 109 sack->end_seq, new_end_seq, false); in nf_ct_sack_block_adjust() 111 sack->end_seq = new_end_seq; in nf_ct_sack_block_adjust()
|
/Linux-v5.4/include/linux/ |
D | tcp.h | 69 __be32 end_seq; member 74 u32 end_seq; member 209 u32 end_seq; /* Ending TCP sequence of the skb */ member
|
/Linux-v5.4/net/tls/ |
D | tls_device.c | 159 if (info && !before(acked_seq, info->end_seq)) in tls_icsk_clean_acked() 163 if (before(acked_seq, info->end_seq)) in tls_icsk_clean_acked() 266 record->end_seq = tp->write_seq + record->len; in tls_push_record() 588 before(seq, info->end_seq - info->len)) { in tls_get_record() 602 if (before(seq, info->end_seq)) { in tls_get_record() 604 after(info->end_seq, in tls_get_record() 605 context->retransmit_hint->end_seq)) { in tls_get_record() 973 start_marker_record->end_seq = tcp_sk(sk)->write_seq; in tls_set_device_offload()
|
/Linux-v5.4/include/net/ |
D | tls.h | 186 u32 end_seq; member 391 return rec->end_seq - rec->len; in tls_record_start_seq()
|
D | tcp.h | 806 __u32 end_seq; /* SEQ + FIN + SYN + datalen */ member 2008 extern void tcp_rack_advance(struct tcp_sock *tp, u8 sacked, u32 end_seq,
|
/Linux-v5.4/net/ipv6/ |
D | tcp_ipv6.c | 1431 if (TCP_SKB_CB(opt_skb)->end_seq == tp->rcv_nxt && in tcp_v6_do_rcv() 1468 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()
|
/Linux-v5.4/net/sched/ |
D | sch_cake.c | 986 u32 end_a = get_unaligned_be32(&sack_a->end_seq); in cake_tcph_sack_compare() 998 u32 end_b = get_unaligned_be32(&sack_tmp->end_seq); in cake_tcph_sack_compare()
|