Searched refs:TCP_SKB_CB (Results 1 – 18 of 18) sorted by relevance
| /linux/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() 3596 if ((TCP_SKB_CB(skb)->seq != TCP_SKB_CB(skb)->end_seq) && in tcp_oow_rate_limited() 4460 if (TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq && in tcp_send_dupack() 4638 if (TCP_SKB_CB(from)->seq != TCP_SKB_CB(to)->end_seq) in tcp_try_coalesce() 4655 TCP_SKB_CB(to)->end_seq = TCP_SKB_CB(from)->end_seq; in tcp_try_coalesce() 4656 TCP_SKB_CB(to)->ack_seq = TCP_SKB_CB(from)->ack_seq; in tcp_try_coalesce() 4958 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(skb)->seq + size; in tcp_send_rcvq() 4994 if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in tcp_data_queue() [all …]
|
| A D | tcp_output.c | 1509 TCP_SKB_CB(skb2)->eor = TCP_SKB_CB(skb)->eor; in tcp_skb_fragment_eor() 1579 TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; in tcp_fragment() 1580 TCP_SKB_CB(buff)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_fragment() 1581 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tcp_fragment() 1587 TCP_SKB_CB(buff)->sacked = TCP_SKB_CB(skb)->sacked; in tcp_fragment() 1602 TCP_SKB_CB(buff)->tx = TCP_SKB_CB(skb)->tx; in tcp_fragment() 2133 TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; in tso_fragment() 2135 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tso_fragment() 2396 TCP_SKB_CB(nskb)->seq = TCP_SKB_CB(skb)->seq; in tcp_mtu_probe() 2415 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() 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() 592 if (TCP_SKB_CB(skb)->seq == tcp_rsk(req)->rcv_isn && in tcp_check_req() 693 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req() 704 if (paws_reject || !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_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() 83 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() 283 tp->rcv_nxt = TCP_SKB_CB(skb)->seq + 1; in tcp_fastopen_create_child() 349 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen() 562 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_fastopen_active_disable_ofo_check()
|
| A D | tcp_ipv4.c | 1848 if (TCP_SKB_CB(tail)->end_seq != TCP_SKB_CB(skb)->seq || in tcp_add_backlog() 1849 TCP_SKB_CB(tail)->ip_dsfield != TCP_SKB_CB(skb)->ip_dsfield || in tcp_add_backlog() 1850 ((TCP_SKB_CB(tail)->tcp_flags | in tcp_add_backlog() 1874 TCP_SKB_CB(tail)->end_seq = TCP_SKB_CB(skb)->end_seq; in tcp_add_backlog() 1876 if (likely(!before(TCP_SKB_CB(skb)->ack_seq, TCP_SKB_CB(tail)->ack_seq))) { in tcp_add_backlog() 1877 TCP_SKB_CB(tail)->ack_seq = TCP_SKB_CB(skb)->ack_seq; in tcp_add_backlog() 1890 TCP_SKB_CB(tail)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_add_backlog() 1951 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_fill_cb() 1955 TCP_SKB_CB(skb)->tcp_tw_isn = 0; in tcp_v4_fill_cb() 1957 TCP_SKB_CB(skb)->sacked = 0; in tcp_v4_fill_cb() [all …]
|
| A D | tcp.c | 931 if (skb && TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in tcp_remove_empty_skb() 993 TCP_SKB_CB(skb)->end_seq += copy; in tcp_build_frag() 1376 TCP_SKB_CB(skb)->end_seq += copy; in tcp_sendmsg_locked() 1382 TCP_SKB_CB(skb)->eor = 1; in tcp_sendmsg_locked() 1589 offset = seq - TCP_SKB_CB(skb)->seq; in tcp_recv_skb() 1917 offset = *seq - TCP_SKB_CB(skb)->seq; in tcp_zc_handle_leftover() 1920 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_zc_handle_leftover() 2110 offset = seq - TCP_SKB_CB(skb)->seq; in tcp_zerocopy_receive() 2115 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_zerocopy_receive() 2477 if (TCP_SKB_CB(skb)->has_rxtstamp) { in tcp_recvmsg_locked() [all …]
|
| A D | tcp_recovery.c | 72 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rack_detect_loss() 230 if (TCP_SKB_CB(skb)->sacked & TCPCB_LOST) in tcp_newreno_mark_lost()
|
| A D | syncookies.c | 300 treq->syn_tos = TCP_SKB_CB(skb)->ip_dsfield; in cookie_tcp_reqsk_alloc() 323 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
|
| /linux/net/mptcp/ |
| A D | options.c | 36 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in mptcp_parse_option() 42 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_ACK) in mptcp_parse_option() 332 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) in mptcp_parse_option() 404 subflow->snd_isn = TCP_SKB_CB(skb)->end_seq; in mptcp_syn_options() 458 subflow->snd_isn != TCP_SKB_CB(skb)->seq || in mptcp_established_options_mp() 808 if (unlikely(skb && TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) { in mptcp_established_options() 901 if (TCP_SKB_CB(skb)->seq == subflow->ssn_offset + 1 && in check_fully_established() 902 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq && in check_fully_established() 914 if (TCP_SKB_CB(skb)->seq != subflow->ssn_offset + 1) { in check_fully_established() 1152 if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq) { in mptcp_incoming_options()
|
| A D | subflow.c | 172 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_check_req() 201 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_check_req() 270 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq - 1; in mptcp_subflow_init_cookie_req() 276 subflow_req->ssn_offset = TCP_SKB_CB(skb)->seq - 1; in mptcp_subflow_init_cookie_req() 410 subflow->ssn_offset = TCP_SKB_CB(skb)->seq; in subflow_finish_connect() 868 offset = seq - TCP_SKB_CB(skb)->seq; in validate_data_csum() 951 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) in get_mapping_status() 953 TCP_SKB_CB(skb)->seq, in get_mapping_status() 954 TCP_SKB_CB(skb)->end_seq, in get_mapping_status() 955 TCP_SKB_CB(skb)->tcp_flags); in get_mapping_status() [all …]
|
| 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 | protocol.c | 356 has_rxtstamp = TCP_SKB_CB(skb)->has_rxtstamp; in __mptcp_move_skb() 668 offset = seq - TCP_SKB_CB(skb)->seq; in __mptcp_move_skbs_from_subflow() 669 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in __mptcp_move_skbs_from_subflow() 1265 TCP_SKB_CB(skb)->eor = 1; in mptcp_sendmsg_frag() 1327 TCP_SKB_CB(skb)->end_seq += copy; in mptcp_sendmsg_frag() 1332 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in mptcp_sendmsg_frag()
|
| /linux/net/ipv6/ |
| A D | tcp_ipv6.c | 842 if (!TCP_SKB_CB(skb)->tcp_tw_isn && in tcp_v6_init_req() 1229 memmove(IP6CB(skb), &TCP_SKB_CB(skb)->header.h6, in tcp_v6_restore_cb() 1578 if (TCP_SKB_CB(opt_skb)->end_seq == tp->rcv_nxt && in tcp_v6_do_rcv() 1610 memmove(&TCP_SKB_CB(skb)->header.h6, IP6CB(skb), in tcp_v6_fill_cb() 1614 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v6_fill_cb() 1615 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb() 1617 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb() 1618 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v6_fill_cb() 1619 TCP_SKB_CB(skb)->tcp_tw_isn = 0; in tcp_v6_fill_cb() 1621 TCP_SKB_CB(skb)->sacked = 0; in tcp_v6_fill_cb() [all …]
|
| A D | syncookies.c | 189 if (ipv6_opt_accepted(sk, skb, &TCP_SKB_CB(skb)->header.h6) || in cookie_v6_check()
|
| /linux/include/net/ |
| A D | tcp.h | 909 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_iif() 923 if (skb && ipv6_l3mdev_skb(TCP_SKB_CB(skb)->header.h6.flags)) in tcp_v6_sdif() 924 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_sdif() 941 if (skb && ipv4_l3mdev_skb(TCP_SKB_CB(skb)->header.h4.flags)) in tcp_v4_sdif() 942 return TCP_SKB_CB(skb)->header.h4.iif; in tcp_v4_sdif() 952 return TCP_SKB_CB(skb)->tcp_gso_segs; in tcp_skb_pcount() 957 TCP_SKB_CB(skb)->tcp_gso_segs = segs; in tcp_skb_pcount_set() 962 TCP_SKB_CB(skb)->tcp_gso_segs += segs; in tcp_skb_pcount_add() 968 return TCP_SKB_CB(skb)->tcp_gso_size; in tcp_skb_mss() 973 return likely(!TCP_SKB_CB(skb)->eor); in tcp_skb_can_collapse_to() [all …]
|
| /linux/net/tls/ |
| A D | tls_device.c | 228 TCP_SKB_CB(skb)->eor = 1; in tls_device_resync_tx() 1119 TCP_SKB_CB(skb)->eor = 1; in tls_set_device_offload()
|
| A D | tls_sw.c | 2135 TCP_SKB_CB(skb)->seq + rxm->offset); in tls_read_size()
|
Completed in 687 milliseconds