| /linux-6.15/net/ipv4/ |
| H A D | tcp_input.c | 357 if (TCP_SKB_CB(skb)->seq != TCP_SKB_CB(skb)->end_seq) in tcp_ecn_accept_cwr() 1544 TCP_SKB_CB(prev)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_shifted_skb() 1545 TCP_SKB_CB(prev)->eor = TCP_SKB_CB(skb)->eor; in tcp_shifted_skb() 3773 if ((TCP_SKB_CB(skb)->seq != TCP_SKB_CB(skb)->end_seq) && in tcp_oow_rate_limited() 4734 if (TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq && in tcp_send_dupack() 4912 if (TCP_SKB_CB(from)->seq != TCP_SKB_CB(to)->end_seq) in tcp_try_coalesce() 4924 TCP_SKB_CB(to)->end_seq = TCP_SKB_CB(from)->end_seq; in tcp_try_coalesce() 4925 TCP_SKB_CB(to)->ack_seq = TCP_SKB_CB(from)->ack_seq; in tcp_try_coalesce() 5231 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(skb)->seq + size; in tcp_send_rcvq() 5268 if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in tcp_data_queue() [all …]
|
| H A D | tcp_output.c | 1590 TCP_SKB_CB(skb2)->eor = TCP_SKB_CB(skb)->eor; in tcp_skb_fragment_eor() 1658 TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; in tcp_fragment() 1659 TCP_SKB_CB(buff)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_fragment() 1660 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tcp_fragment() 1666 TCP_SKB_CB(buff)->sacked = TCP_SKB_CB(skb)->sacked; in tcp_fragment() 1681 TCP_SKB_CB(buff)->tx = TCP_SKB_CB(skb)->tx; in tcp_fragment() 2191 TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; in tso_fragment() 2193 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tso_fragment() 2426 TCP_SKB_CB(dst)->eor = TCP_SKB_CB(src)->eor; in tcp_eat_one_skb() 2525 TCP_SKB_CB(nskb)->seq = TCP_SKB_CB(skb)->seq; in tcp_mtu_probe() [all …]
|
| H 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()
|
| H A D | tcp_minisocks.c | 127 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process() 141 !after(TCP_SKB_CB(skb)->end_seq, rcv_nxt) || in tcp_timewait_state_process() 142 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq) { in tcp_timewait_state_process() 151 TCP_SKB_CB(skb)->end_seq != rcv_nxt + 1) in tcp_timewait_state_process() 156 twsk_rcv_nxt_update(tcptw, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process() 191 (TCP_SKB_CB(skb)->seq == rcv_nxt && in tcp_timewait_state_process() 192 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process() 238 (after(TCP_SKB_CB(skb)->seq, rcv_nxt) || in tcp_timewait_state_process() 796 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req() 803 !tcp_in_window(TCP_SKB_CB(skb)->seq, in tcp_check_req() [all …]
|
| H A D | tcp_fastopen.c | 174 if (TCP_SKB_CB(skb)->end_seq == tp->rcv_nxt) in tcp_fastopen_add_skb() 194 TCP_SKB_CB(skb)->seq++; in tcp_fastopen_add_skb() 195 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_SYN; in tcp_fastopen_add_skb() 197 tp->rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_fastopen_add_skb() 206 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_fastopen_add_skb() 285 tp->rcv_nxt = TCP_SKB_CB(skb)->seq + 1; in tcp_fastopen_create_child() 353 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen() 567 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_fastopen_active_disable_ofo_check()
|
| H A D | tcp_ipv4.c | 2060 if (TCP_SKB_CB(tail)->end_seq != TCP_SKB_CB(skb)->seq || 2061 TCP_SKB_CB(tail)->ip_dsfield != TCP_SKB_CB(skb)->ip_dsfield || 2062 ((TCP_SKB_CB(tail)->tcp_flags | 2066 ((TCP_SKB_CB(tail)->tcp_flags ^ 2085 TCP_SKB_CB(tail)->end_seq = TCP_SKB_CB(skb)->end_seq; 2087 if (likely(!before(TCP_SKB_CB(skb)->ack_seq, TCP_SKB_CB(tail)->ack_seq))) { 2088 TCP_SKB_CB(tail)->ack_seq = TCP_SKB_CB(skb)->ack_seq; 2101 TCP_SKB_CB(tail)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; 2173 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + 2178 TCP_SKB_CB(skb)->sacked = 0; [all …]
|
| H A D | tcp.c | 963 if (skb && TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in tcp_remove_empty_skb() 1297 TCP_SKB_CB(skb)->end_seq += copy; in tcp_sendmsg_locked() 1303 TCP_SKB_CB(skb)->eor = 1; in tcp_sendmsg_locked() 1546 offset = seq - TCP_SKB_CB(skb)->seq; in tcp_recv_skb() 1972 offset = *seq - TCP_SKB_CB(skb)->seq; in tcp_zc_handle_leftover() 1975 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_zc_handle_leftover() 2189 offset = seq - TCP_SKB_CB(skb)->seq; in tcp_zerocopy_receive() 2197 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_zerocopy_receive() 2665 offset = *seq - TCP_SKB_CB(skb)->seq; in tcp_recvmsg_locked() 2821 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_recvmsg_locked() [all …]
|
| H 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()
|
| H A D | syncookies.c | 287 treq->syn_tos = TCP_SKB_CB(skb)->ip_dsfield; in cookie_tcp_reqsk_init() 401 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
|
| H A D | tcp_bpf.c | 214 if (skb && TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in is_next_msg_fin()
|
| H A D | tcp_ao.c | 813 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in tcp_ao_transmit_skb()
|
| /linux-6.15/net/mptcp/ |
| H 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()
|
| H 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() 333 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) in mptcp_parse_option() 409 subflow->snd_isn = TCP_SKB_CB(skb)->end_seq; in mptcp_syn_options() 461 subflow->snd_isn != TCP_SKB_CB(skb)->seq || in mptcp_established_options_mp() 844 if (unlikely(skb && TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) { in mptcp_established_options() 942 if (TCP_SKB_CB(skb)->seq == subflow->ssn_offset + 1 && in check_fully_established() 943 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq && in check_fully_established() 955 if (TCP_SKB_CB(skb)->seq != subflow->ssn_offset + 1) { in check_fully_established() 1213 if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in mptcp_incoming_options()
|
| H A D | subflow.c | 191 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_check_req() 220 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_check_req() 292 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq - 1; in mptcp_subflow_init_cookie_req() 298 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq - 1; in mptcp_subflow_init_cookie_req() 540 subflow->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_finish_connect() 1045 offset = seq - TCP_SKB_CB(skb)->seq; in validate_data_csum() 1125 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) in get_mapping_status() 1127 TCP_SKB_CB(skb)->seq, in get_mapping_status() 1128 TCP_SKB_CB(skb)->end_seq, in get_mapping_status() 1129 TCP_SKB_CB(skb)->tcp_flags); in get_mapping_status() [all …]
|
| H A D | fastopen.c | 47 MPTCP_SKB_CB(skb)->has_rxtstamp = TCP_SKB_CB(skb)->has_rxtstamp; in mptcp_fastopen_subflow_synack_set_params()
|
| H A D | protocol.c | 293 has_rxtstamp = TCP_SKB_CB(skb)->has_rxtstamp; in __mptcp_move_skb() 608 offset = seq - TCP_SKB_CB(skb)->seq; in __mptcp_move_skbs_from_subflow() 609 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in __mptcp_move_skbs_from_subflow() 1186 TCP_SKB_CB(skb)->eor = 1; in mptcp_sendmsg_frag() 1244 TCP_SKB_CB(skb)->end_seq += copy; in mptcp_sendmsg_frag() 1249 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in mptcp_sendmsg_frag()
|
| /linux-6.15/include/net/ |
| H A D | tcp.h | 1069 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_iif() 1083 if (skb && ipv6_l3mdev_skb(TCP_SKB_CB(skb)->header.h6.flags)) in tcp_v6_sdif() 1084 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_sdif() 1102 return TCP_SKB_CB(skb)->header.h4.iif; in tcp_v4_sdif() 1112 return TCP_SKB_CB(skb)->tcp_gso_segs; in tcp_skb_pcount() 1117 TCP_SKB_CB(skb)->tcp_gso_segs = segs; in tcp_skb_pcount_set() 1122 TCP_SKB_CB(skb)->tcp_gso_segs += segs; in tcp_skb_pcount_add() 1128 return TCP_SKB_CB(skb)->tcp_gso_size; in tcp_skb_mss() 1133 return likely(!TCP_SKB_CB(skb)->eor); in tcp_skb_can_collapse_to() 2171 TCP_SKB_CB(skb)->eor = 1; in tcp_write_collapse_fence() [all …]
|
| /linux-6.15/net/ipv6/ |
| H A D | tcp_ipv6.c | 795 bool l3_slave = ipv6_l3mdev_skb(TCP_SKB_CB(skb)->header.h6.flags); in tcp_v6_init_req() 1351 memmove(IP6CB(skb), &TCP_SKB_CB(skb)->header.h6, 1701 if (TCP_SKB_CB(opt_skb)->end_seq == tp->rcv_nxt && 1733 memmove(&TCP_SKB_CB(skb)->header.h6, IP6CB(skb), 1737 TCP_SKB_CB(skb)->seq = ntohl(th->seq); 1738 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + 1740 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); 1741 TCP_SKB_CB(skb)->tcp_flags = tcp_flags_ntohs(th); 1742 TCP_SKB_CB(skb)->ip_dsfield = ipv6_get_dsfield(hdr); 1743 TCP_SKB_CB(skb)->sacked = 0; [all …]
|
| H A D | syncookies.c | 208 if (ipv6_opt_accepted(sk, skb, &TCP_SKB_CB(skb)->header.h6) || in cookie_v6_check()
|
| /linux-6.15/net/tls/ |
| H A D | tls_strp.c | 436 seq = TCP_SKB_CB(first)->seq; in tls_strp_check_queue_ok() 446 if (TCP_SKB_CB(skb)->seq != seq) in tls_strp_check_queue_ok()
|
| H A D | tls_sw.c | 2443 TCP_SKB_CB(skb)->seq + strp->stm.offset); in tls_rx_msg_size()
|
| /linux-6.15/net/core/ |
| H A D | filter.c | 12151 TCP_SKB_CB(skb)->txstamp_ack |= TSTAMP_ACK_BPF; in bpf_sock_ops_enable_tx_tstamp() 12152 skb_shinfo(skb)->tskey = TCP_SKB_CB(skb)->seq + skb->len - 1; in bpf_sock_ops_enable_tx_tstamp()
|
| H A D | skbuff.c | 5525 return TCP_SKB_CB(skb)->txstamp_ack & TSTAMP_ACK_SK; in skb_tstamp_tx_report_so_timestamping()
|