Home
last modified time | relevance | path

Searched refs:end_seq (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_input.c207 u32 diff = TCP_SKB_CB(skb)->end_seq - TCP_SKB_CB(cur)->seq; in tcp_nip_left_overlap()
217 u32 diff = TCP_SKB_CB(cur)->end_seq - TCP_SKB_CB(skb)->seq; in tcp_nip_right_overlap()
226 tcb->end_seq -= diff; in tcp_nip_right_overlap()
261 if (TCP_SKB_CB(from)->seq != TCP_SKB_CB(to)->end_seq) in tcp_nip_try_coalesce()
272 TCP_SKB_CB(to)->end_seq = TCP_SKB_CB(from)->end_seq; in tcp_nip_try_coalesce()
330 if (unlikely(!after(TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt))) { in tcp_nip_ofo_queue()
338 tcp_nip_rcv_nxt_update(tp, TCP_SKB_CB(skb)->end_seq); in tcp_nip_ofo_queue()
369 u32 end_seq; in tcp_nip_data_queue_ofo() local
388 end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_nip_data_queue_ofo()
417 if (!before(seq, TCP_SKB_CB(tp->ooo_last_skb)->end_seq)) { in tcp_nip_data_queue_ofo()
[all …]
Dtcp_nip_output.c136 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq); in tcp_nip_event_new_data_sent()
358 TCP_SKB_CB(skb)->end_seq = seq; in tcp_nip_init_nondata_skb()
369 tcb->end_seq += skb->len; in tcp_nip_connect_queue_skb()
374 WRITE_ONCE(tp->write_seq, tcb->end_seq); in tcp_nip_connect_queue_skb()
505 TCP_SKB_CB(skb)->tx.in_flight = TCP_SKB_CB(skb)->end_seq in __tcp_nip_transmit_skb()
614 tp->write_seq = TCP_SKB_CB(skb)->end_seq; in tcp_nip_queue_skb()
1000 TCP_SKB_CB(tskb)->end_seq++; in tcp_nip_send_fin()
1045 u32 end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_nip_snd_wnd_test() local
1048 end_seq = TCP_SKB_CB(skb)->seq + cur_mss; in tcp_nip_snd_wnd_test()
1050 return !after(end_seq, tcp_wnd_end(tp)); in tcp_nip_snd_wnd_test()
[all …]
Dtcp_nip.c513 u32 len = TCP_SKB_CB(skb)->end_seq - TCP_SKB_CB(skb)->seq; in tcp_nip_close()
1127 tp->selective_acks[0].end_seq = 0; in _tcp_sock_priv_init()
1195 tcb->end_seq = tp->write_seq; in skb_nip_entail()
1322 TCP_SKB_CB(skb)->end_seq += copy; in tcp_nip_sendmsg()
1384 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_nip_cleanup_rbuf()
1386 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_nip_cleanup_rbuf()
1670 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_nip_fill_cb()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_input.c327 if (TCP_SKB_CB(skb)->seq != TCP_SKB_CB(skb)->end_seq) in tcp_ecn_accept_cwr()
674 if (TCP_SKB_CB(skb)->end_seq - in tcp_rcv_rtt_measure_ts()
982 u32 end_seq, struct tcp_sacktag_state *state) in tcp_dsack_seen() argument
986 if (!before(start_seq, end_seq)) in tcp_dsack_seen()
989 seq_len = end_seq - start_seq; in tcp_dsack_seen()
1196 u32 start_seq, u32 end_seq) in tcp_is_sackblock_valid() argument
1199 if (after(end_seq, tp->snd_nxt) || !before(start_seq, end_seq)) in tcp_is_sackblock_valid()
1216 if (after(end_seq, tp->snd_una)) in tcp_is_sackblock_valid()
1223 if (!after(end_seq, tp->undo_marker)) in tcp_is_sackblock_valid()
1229 return !before(start_seq, end_seq - tp->max_window); in tcp_is_sackblock_valid()
[all …]
Dtcp_recovery.c83 tp->rack.end_seq, scb->end_seq)) in tcp_rack_detect_loss()
123 void tcp_rack_advance(struct tcp_sock *tp, u8 sacked, u32 end_seq, in tcp_rack_advance() argument
145 end_seq, tp->rack.end_seq)) { in tcp_rack_advance()
147 tp->rack.end_seq = end_seq; in tcp_rack_advance()
Dtcp_minisocks.c33 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()
711 if (paws_reject || !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_check_req()
[all …]
Dtcp_output.c71 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq); in tcp_event_new_data_sent()
402 TCP_SKB_CB(skb)->end_seq = seq; in tcp_init_nondata_skb()
670 *ptr++ = htonl(sp[this_sack].end_seq); in tcp_options_write()
1258 TCP_SKB_CB(skb)->tx.in_flight = TCP_SKB_CB(skb)->end_seq in __tcp_transmit_skb()
1385 if (after(tcb->end_seq, tp->snd_nxt) || tcb->seq == tcb->end_seq) in __tcp_transmit_skb()
1434 WRITE_ONCE(tp->write_seq, TCP_SKB_CB(skb)->end_seq); in tcp_queue_skb()
1579 TCP_SKB_CB(buff)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_fragment()
1580 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tcp_fragment()
1608 if (!before(tp->snd_nxt, TCP_SKB_CB(buff)->end_seq)) { in tcp_fragment()
1942 tp->snd_sml = TCP_SKB_CB(skb)->end_seq; in tcp_minshall_update()
[all …]
Dtcp_illinois.c49 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()
Dtcp_rate.c92 scb->end_seq, rs->last_end_seq)) { in tcp_rate_skb_delivered()
97 rs->last_end_seq = scb->end_seq; in tcp_rate_skb_delivered()
Dtcp_cubic.c100 u32 end_seq; /* end_seq of the round */ member
131 ca->end_seq = tp->snd_nxt; in bictcp_hystart_reset()
399 if (after(tp->snd_una, ca->end_seq)) in hystart_update()
Dtcp_fastopen.c190 if (TCP_SKB_CB(skb)->end_seq == tp->rcv_nxt) in tcp_fastopen_add_skb()
213 tp->rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_fastopen_add_skb()
366 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen()
Dtcp.c668 tcb->seq = tcb->end_seq = tp->write_seq; in skb_entail()
959 if (skb && TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in tcp_remove_empty_skb()
1053 TCP_SKB_CB(skb)->end_seq += copy; in do_tcp_sendpages()
1382 TCP_SKB_CB(skb)->end_seq += copy; in tcp_sendmsg_locked()
1542 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1544 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
2535 u32 len = TCP_SKB_CB(skb)->end_seq - TCP_SKB_CB(skb)->seq; in tcp_close()
2831 tp->duplicate_sack[0].end_seq = 0; in tcp_disconnect()
Dtcp_ipv4.c1815 if (TCP_SKB_CB(tail)->end_seq != TCP_SKB_CB(skb)->seq || in tcp_add_backlog()
1841 TCP_SKB_CB(tail)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_add_backlog()
1920 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_fill_cb()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_seqadj.c94 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()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c36 u64 end_seq; member
133 to->len, MPTCP_SKB_CB(from)->end_seq); in mptcp_try_coalesce()
134 MPTCP_SKB_CB(to)->end_seq = MPTCP_SKB_CB(from)->end_seq; in mptcp_try_coalesce()
144 if (MPTCP_SKB_CB(from)->map_seq != MPTCP_SKB_CB(to)->end_seq) in mptcp_ooo_try_coalesce()
158 u64 seq, end_seq, max_seq; in mptcp_data_queue_ofo() local
163 end_seq = MPTCP_SKB_CB(skb)->end_seq; in mptcp_data_queue_ofo()
195 if (!before64(seq, MPTCP_SKB_CB(msk->ooo_last_skb)->end_seq)) { in mptcp_data_queue_ofo()
211 if (before64(seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
212 if (!after64(end_seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
249 if (before64(end_seq, MPTCP_SKB_CB(skb1)->end_seq)) in mptcp_data_queue_ofo()
[all …]
Doptions.c340 subflow->snd_isn = TCP_SKB_CB(skb)->end_seq; in mptcp_syn_options()
737 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq && in check_fully_established()
942 if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in mptcp_incoming_options()
Dsubflow.c750 TCP_SKB_CB(skb)->end_seq, in get_mapping_status()
872 if (!before(tcp_sk(ssk)->copied_seq, TCP_SKB_CB(skb)->end_seq)) in mptcp_subflow_discard_data()
/kernel/linux/linux-5.10/net/tls/
Dtls_device.c165 if (info && !before(acked_seq, info->end_seq)) in tls_icsk_clean_acked()
169 if (before(acked_seq, info->end_seq)) in tls_icsk_clean_acked()
282 record->end_seq = tp->write_seq + record->len; in tls_push_record()
607 before(seq, info->end_seq - info->len)) { in tls_get_record()
630 last->end_seq)) in tls_get_record()
639 if (before(seq, info->end_seq)) { in tls_get_record()
641 after(info->end_seq, in tls_get_record()
642 context->retransmit_hint->end_seq)) { in tls_get_record()
1102 start_marker_record->end_seq = tcp_sk(sk)->write_seq; in tls_set_device_offload()
/kernel/linux/linux-5.10/include/linux/
Dtcp.h69 __be32 end_seq; member
74 u32 end_seq; member
216 u32 end_seq; /* Ending TCP sequence of the skb */ member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c89 __u32 end_seq; /* end_seq of the round */ member
167 ca->end_seq = tp->snd_nxt; in bictcp_hystart_reset()
396 if (hystart && after(ack, ca->end_seq)) in BPF_STRUCT_OPS()
/kernel/linux/linux-5.10/include/net/
Dtls.h167 u32 end_seq; member
400 return rec->end_seq - rec->len; in tls_record_start_seq()
Dtcp.h826 __u32 end_seq; /* SEQ + FIN + SYN + datalen */ member
2088 extern void tcp_rack_advance(struct tcp_sock *tp, u8 sacked, u32 end_seq,
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c1751 tx_info->prev_seq = record->end_seq; in chcr_end_part_handler()
2002 tls_end_offset = record->end_seq - tcp_seq; in chcr_ktls_xmit()
2005 tcp_seq, record->end_seq, tx_info->prev_seq, data_len); in chcr_ktls_xmit()
2012 tx_max = record->end_seq - in chcr_ktls_xmit()
2057 tcp_seq = record->end_seq; in chcr_ktls_xmit()
/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c1557 if (TCP_SKB_CB(opt_skb)->end_seq == tp->rcv_nxt && in tcp_v6_do_rcv()
1594 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()
/kernel/linux/linux-5.10/net/sched/
Dsch_cake.c1024 u32 end_a = get_unaligned_be32(&sack_a->end_seq); in cake_tcph_sack_compare()
1036 u32 end_b = get_unaligned_be32(&sack_tmp->end_seq); in cake_tcph_sack_compare()