/linux-6.3-rc2/net/ipv4/ |
A D | tcp_input.c | 328 if (TCP_SKB_CB(skb)->seq != TCP_SKB_CB(skb)->end_seq) in tcp_ecn_accept_cwr() 1493 TCP_SKB_CB(prev)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_shifted_skb() 1494 TCP_SKB_CB(prev)->eor = TCP_SKB_CB(skb)->eor; in tcp_shifted_skb() 3619 if ((TCP_SKB_CB(skb)->seq != TCP_SKB_CB(skb)->end_seq) && in tcp_oow_rate_limited() 4486 if (TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq && in tcp_send_dupack() 4664 if (TCP_SKB_CB(from)->seq != TCP_SKB_CB(to)->end_seq) in tcp_try_coalesce() 4681 TCP_SKB_CB(to)->end_seq = TCP_SKB_CB(from)->end_seq; in tcp_try_coalesce() 4682 TCP_SKB_CB(to)->ack_seq = TCP_SKB_CB(from)->ack_seq; in tcp_try_coalesce() 4987 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(skb)->seq + size; in tcp_send_rcvq() 5024 if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in tcp_data_queue() [all …]
|
A D | tcp_output.c | 1506 TCP_SKB_CB(skb2)->eor = TCP_SKB_CB(skb)->eor; in tcp_skb_fragment_eor() 1576 TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; in tcp_fragment() 1577 TCP_SKB_CB(buff)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_fragment() 1578 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tcp_fragment() 1584 TCP_SKB_CB(buff)->sacked = TCP_SKB_CB(skb)->sacked; in tcp_fragment() 1599 TCP_SKB_CB(buff)->tx = TCP_SKB_CB(skb)->tx; in tcp_fragment() 2145 TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; in tso_fragment() 2147 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tso_fragment() 2408 TCP_SKB_CB(nskb)->seq = TCP_SKB_CB(skb)->seq; in tcp_mtu_probe() 2427 TCP_SKB_CB(nskb)->eor = TCP_SKB_CB(skb)->eor; in tcp_mtu_probe() [all …]
|
A D | tcp_minisocks.c | 110 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process() 125 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq) { in tcp_timewait_state_process() 134 TCP_SKB_CB(skb)->end_seq != tcptw->tw_rcv_nxt + 1) in tcp_timewait_state_process() 139 tcptw->tw_rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_timewait_state_process() 167 (TCP_SKB_CB(skb)->seq == tcptw->tw_rcv_nxt && in tcp_timewait_state_process() 168 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process() 212 (after(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process() 218 TCP_SKB_CB(skb)->tcp_tw_isn = isn; in tcp_timewait_state_process() 634 if (TCP_SKB_CB(skb)->seq == tcp_rsk(req)->rcv_isn && in tcp_check_req() 734 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req() [all …]
|
A D | tcp_rate.c | 65 TCP_SKB_CB(skb)->tx.first_tx_mstamp = tp->first_tx_mstamp; in tcp_rate_skb_sent() 66 TCP_SKB_CB(skb)->tx.delivered_mstamp = tp->delivered_mstamp; in tcp_rate_skb_sent() 67 TCP_SKB_CB(skb)->tx.delivered = tp->delivered; in tcp_rate_skb_sent() 68 TCP_SKB_CB(skb)->tx.delivered_ce = tp->delivered_ce; in tcp_rate_skb_sent() 69 TCP_SKB_CB(skb)->tx.is_app_limited = tp->app_limited ? 1 : 0; in tcp_rate_skb_sent() 84 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rate_skb_delivered()
|
A D | tcp_fastopen.c | 173 if (TCP_SKB_CB(skb)->end_seq == tp->rcv_nxt) in tcp_fastopen_add_skb() 193 TCP_SKB_CB(skb)->seq++; in tcp_fastopen_add_skb() 194 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_SYN; in tcp_fastopen_add_skb() 196 tp->rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_fastopen_add_skb() 205 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_fastopen_add_skb() 284 tp->rcv_nxt = TCP_SKB_CB(skb)->seq + 1; in tcp_fastopen_create_child() 350 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen() 564 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_fastopen_active_disable_ofo_check()
|
A D | tcp_ipv4.c | 1854 if (TCP_SKB_CB(tail)->end_seq != TCP_SKB_CB(skb)->seq || in tcp_add_backlog() 1855 TCP_SKB_CB(tail)->ip_dsfield != TCP_SKB_CB(skb)->ip_dsfield || in tcp_add_backlog() 1856 ((TCP_SKB_CB(tail)->tcp_flags | in tcp_add_backlog() 1880 TCP_SKB_CB(tail)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_add_backlog() 1882 if (likely(!before(TCP_SKB_CB(skb)->ack_seq, TCP_SKB_CB(tail)->ack_seq))) { in tcp_add_backlog() 1883 TCP_SKB_CB(tail)->ack_seq = TCP_SKB_CB(skb)->ack_seq; in tcp_add_backlog() 1896 TCP_SKB_CB(tail)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_add_backlog() 1960 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_fill_cb() 1964 TCP_SKB_CB(skb)->tcp_tw_isn = 0; in tcp_v4_fill_cb() 1966 TCP_SKB_CB(skb)->sacked = 0; in tcp_v4_fill_cb() [all …]
|
A D | tcp.c | 932 if (skb && TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in tcp_remove_empty_skb() 1032 TCP_SKB_CB(skb)->end_seq += copy; in tcp_build_frag() 1420 TCP_SKB_CB(skb)->end_seq += copy; in tcp_sendmsg_locked() 1426 TCP_SKB_CB(skb)->eor = 1; in tcp_sendmsg_locked() 1650 offset = seq - TCP_SKB_CB(skb)->seq; in tcp_recv_skb() 2064 offset = *seq - TCP_SKB_CB(skb)->seq; in tcp_zc_handle_leftover() 2067 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_zc_handle_leftover() 2258 offset = seq - TCP_SKB_CB(skb)->seq; in tcp_zerocopy_receive() 2263 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_zerocopy_receive() 2624 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_recvmsg_locked() [all …]
|
A D | tcp_recovery.c | 68 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rack_detect_loss() 227 if (TCP_SKB_CB(skb)->sacked & TCPCB_LOST) in tcp_newreno_mark_lost()
|
A D | syncookies.c | 304 treq->syn_tos = TCP_SKB_CB(skb)->ip_dsfield; in cookie_tcp_reqsk_alloc() 327 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
|
/linux-6.3-rc2/net/mptcp/ |
A D | syncookies.c | 48 seq = TCP_SKB_CB(skb)->seq; in mptcp_join_entry_hash() 50 seq = TCP_SKB_CB(skb)->seq - 1; in mptcp_join_entry_hash()
|
A D | options.c | 37 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in mptcp_parse_option() 44 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_ACK) { in mptcp_parse_option() 338 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) in mptcp_parse_option() 411 subflow->snd_isn = TCP_SKB_CB(skb)->end_seq; in mptcp_syn_options() 465 subflow->snd_isn != TCP_SKB_CB(skb)->seq || in mptcp_established_options_mp() 839 if (unlikely(skb && TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) { in mptcp_established_options() 937 if (TCP_SKB_CB(skb)->seq == subflow->ssn_offset + 1 && in check_fully_established() 938 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq && in check_fully_established() 950 if (TCP_SKB_CB(skb)->seq != subflow->ssn_offset + 1) { in check_fully_established() 1193 if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in mptcp_incoming_options()
|
A D | subflow.c | 174 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_check_req() 203 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_check_req() 272 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq - 1; in mptcp_subflow_init_cookie_req() 278 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq - 1; in mptcp_subflow_init_cookie_req() 474 subflow->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_finish_connect() 987 offset = seq - TCP_SKB_CB(skb)->seq; in validate_data_csum() 1067 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) in get_mapping_status() 1069 TCP_SKB_CB(skb)->seq, in get_mapping_status() 1070 TCP_SKB_CB(skb)->end_seq, in get_mapping_status() 1071 TCP_SKB_CB(skb)->tcp_flags); in get_mapping_status() [all …]
|
A D | fastopen.c | 42 MPTCP_SKB_CB(skb)->has_rxtstamp = TCP_SKB_CB(skb)->has_rxtstamp; in mptcp_fastopen_subflow_synack_set_params()
|
A D | protocol.c | 354 has_rxtstamp = TCP_SKB_CB(skb)->has_rxtstamp; in __mptcp_move_skb() 674 offset = seq - TCP_SKB_CB(skb)->seq; in __mptcp_move_skbs_from_subflow() 675 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in __mptcp_move_skbs_from_subflow() 1256 TCP_SKB_CB(skb)->eor = 1; in mptcp_sendmsg_frag() 1318 TCP_SKB_CB(skb)->end_seq += copy; in mptcp_sendmsg_frag() 1323 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in mptcp_sendmsg_frag()
|
/linux-6.3-rc2/net/ipv6/ |
A D | tcp_ipv6.c | 799 if (!TCP_SKB_CB(skb)->tcp_tw_isn && in tcp_v6_init_req() 1192 memmove(IP6CB(skb), &TCP_SKB_CB(skb)->header.h6, in tcp_v6_restore_cb() 1542 if (TCP_SKB_CB(opt_skb)->end_seq == tp->rcv_nxt && in tcp_v6_do_rcv() 1573 memmove(&TCP_SKB_CB(skb)->header.h6, IP6CB(skb), in tcp_v6_fill_cb() 1577 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v6_fill_cb() 1578 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb() 1580 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb() 1581 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v6_fill_cb() 1582 TCP_SKB_CB(skb)->tcp_tw_isn = 0; in tcp_v6_fill_cb() 1584 TCP_SKB_CB(skb)->sacked = 0; in tcp_v6_fill_cb() [all …]
|
A D | syncookies.c | 191 if (ipv6_opt_accepted(sk, skb, &TCP_SKB_CB(skb)->header.h6) || in cookie_v6_check()
|
/linux-6.3-rc2/include/net/ |
A D | tcp.h | 924 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_iif() 938 if (skb && ipv6_l3mdev_skb(TCP_SKB_CB(skb)->header.h6.flags)) in tcp_v6_sdif() 939 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_sdif() 956 if (skb && ipv4_l3mdev_skb(TCP_SKB_CB(skb)->header.h4.flags)) in tcp_v4_sdif() 957 return TCP_SKB_CB(skb)->header.h4.iif; in tcp_v4_sdif() 967 return TCP_SKB_CB(skb)->tcp_gso_segs; in tcp_skb_pcount() 972 TCP_SKB_CB(skb)->tcp_gso_segs = segs; in tcp_skb_pcount_set() 977 TCP_SKB_CB(skb)->tcp_gso_segs += segs; in tcp_skb_pcount_add() 983 return TCP_SKB_CB(skb)->tcp_gso_size; in tcp_skb_mss() 988 return likely(!TCP_SKB_CB(skb)->eor); in tcp_skb_can_collapse_to() [all …]
|
/linux-6.3-rc2/net/tls/ |
A D | tls_strp.c | 325 seq = TCP_SKB_CB(skb)->seq; in tls_strp_check_no_dup() 332 if (TCP_SKB_CB(skb)->seq != seq) in tls_strp_check_no_dup()
|
A D | tls_device.c | 240 TCP_SKB_CB(skb)->eor = 1; in tls_device_resync_tx() 1198 TCP_SKB_CB(skb)->eor = 1; in tls_set_device_offload()
|
A D | tls_sw.c | 2285 TCP_SKB_CB(skb)->seq + strp->stm.offset); in tls_rx_msg_size()
|