/linux/samples/bpf/ |
A D | tcp_dumpstats_kern.c | 28 struct bpf_tcp_sock *tcp_sk; in _sockops() local 56 tcp_sk = bpf_tcp_sock(sk); in _sockops() 57 if (!tcp_sk) in _sockops() 63 tcp_sk->dsack_dups, tcp_sk->delivered); in _sockops() 65 tcp_sk->delivered_ce, tcp_sk->icsk_retransmits); in _sockops()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | tcp_rtt.c | 26 struct bpf_tcp_sock *tcp_sk; in _sockops() local 47 tcp_sk = bpf_tcp_sock(sk); in _sockops() 48 if (!tcp_sk) in _sockops() 53 storage->dsack_dups = tcp_sk->dsack_dups; in _sockops() 54 storage->delivered = tcp_sk->delivered; in _sockops() 55 storage->delivered_ce = tcp_sk->delivered_ce; in _sockops() 56 storage->icsk_retransmits = tcp_sk->icsk_retransmits; in _sockops()
|
A D | bpf_dctcp.c | 61 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 102 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 111 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 141 struct tcp_sock *tp = tcp_sk(sk); in dctcp_react_to_loss() 160 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ece_ack_cwr() 190 *prior_rcv_nxt = tcp_sk(sk)->rcv_nxt; in dctcp_ece_ack_update() 219 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in BPF_PROG()
|
A D | bpf_cubic.c | 158 return tcp_sk(sk)->tcp_mstamp; in bictcp_clock_us() 163 struct tcp_sock *tp = tcp_sk(sk); in bictcp_hystart_reset() 184 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in BPF_PROG() 196 delta = now - tcp_sk(sk)->lsndtime; in BPF_PROG() 383 struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS() 402 const struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS() 449 struct tcp_sock *tp = tcp_sk(sk); in hystart_update() 496 const struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS()
|
/linux/net/ipv4/ |
A D | tcp_timer.c | 32 start_ts = tcp_sk(sk)->retrans_stamp; in tcp_clamp_rto_to_user_timeout() 35 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout() 104 struct tcp_sock *tp = tcp_sk(sk); in tcp_out_of_resources() 218 start_ts = tcp_sk(sk)->retrans_stamp; in retransmits_timed_out() 234 struct tcp_sock *tp = tcp_sk(sk); in tcp_write_timeout() 316 tcp_mstamp_refresh(tcp_sk(sk)); in tcp_delack_timer_handler() 359 struct tcp_sock *tp = tcp_sk(sk); in tcp_probe_timer() 411 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_synack_timer() 450 struct tcp_sock *tp = tcp_sk(sk); in tcp_retransmit_timer() 610 tcp_mstamp_refresh(tcp_sk(sk)); in tcp_write_timer_handler() [all …]
|
A D | tcp_bbr.c | 268 struct tcp_sock *tp = tcp_sk(sk); in bbr_init_pacing_rate_from_rtt() 287 struct tcp_sock *tp = tcp_sk(sk); in bbr_set_pacing_rate() 305 struct tcp_sock *tp = tcp_sk(sk); in bbr_tso_segs_goal() 322 struct tcp_sock *tp = tcp_sk(sk); in bbr_save_cwnd() 333 struct tcp_sock *tp = tcp_sk(sk); in bbr_cwnd_event() 438 struct tcp_sock *tp = tcp_sk(sk); in bbr_packets_in_net_at_edt() 482 struct tcp_sock *tp = tcp_sk(sk); in bbr_set_cwnd_to_recover_or_restore() 521 struct tcp_sock *tp = tcp_sk(sk); in bbr_set_cwnd() 898 tcp_sk(sk)->snd_ssthresh = in bbr_check_drain() 1096 return tcp_sk(sk)->snd_cwnd; in bbr_undo_cwnd() [all …]
|
A D | tcp_input.c | 146 BPF_SOCK_OPS_TEST_FLAG(tcp_sk(sk), in bpf_skops_parse_hdr() 241 tcp_sk(sk)->advmss); in tcp_measure_rcv_mss() 340 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ecn_check_ce() 461 struct tcp_sock *tp = tcp_sk(sk); in __tcp_grow_window() 498 struct tcp_sock *tp = tcp_sk(sk); in tcp_grow_window() 538 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_buffer_space() 574 struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_window() 676 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts() 702 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_space_adjust() 6350 tcp_sk(sk)->retrans_stamp = 0; in tcp_rcv_synrecv_state_fastopen() [all …]
|
A D | tcp_output.c | 68 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_new_data_sent() 122 struct tcp_sock *tp = tcp_sk(sk); in tcp_advertise_mss() 143 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_restart() 185 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_ack_sent() 261 struct tcp_sock *tp = tcp_sk(sk); in tcp_select_window() 324 struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send_syn() 368 struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send() 1253 tp = tcp_sk(sk); in __tcp_transmit_skb() 1421 tcp_sk(sk)->rcv_nxt); in tcp_transmit_skb() 4002 tcp_sk(sk)->snd_wl1 = tcp_sk(sk)->rcv_nxt - 1; in tcp_send_window_probe() [all …]
|
A D | tcp_recovery.c | 12 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_reo_wnd() 64 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_detect_loss() 101 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_mark_lost() 155 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_reo_timeout() 193 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_update_reo_wnd() 223 struct tcp_sock *tp = tcp_sk(sk); in tcp_newreno_mark_lost()
|
A D | tcp_dctcp.c | 79 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_init() 107 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ssthresh() 115 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_update_alpha() 149 struct tcp_sock *tp = tcp_sk(sk); in dctcp_react_to_loss() 187 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_get_info() 215 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in dctcp_cwnd_undo()
|
A D | tcp_westwood.c | 73 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init() 127 w->snd_una = tcp_sk(sk)->snd_una; in westwood_update_window() 165 const struct tcp_sock *tp = tcp_sk(sk); in westwood_fast_bw() 182 const struct tcp_sock *tp = tcp_sk(sk); in westwood_acked_count() 219 const struct tcp_sock *tp = tcp_sk(sk); in tcp_westwood_bw_rttmin() 242 struct tcp_sock *tp = tcp_sk(sk); in tcp_westwood_event()
|
A D | tcp_cubic.c | 115 return tcp_sk(sk)->tcp_mstamp; in bictcp_clock_us() 120 struct tcp_sock *tp = tcp_sk(sk); in bictcp_hystart_reset() 139 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in cubictcp_init() 149 delta = now - tcp_sk(sk)->lsndtime; in cubictcp_cwnd_event() 326 struct tcp_sock *tp = tcp_sk(sk); in cubictcp_cong_avoid() 343 const struct tcp_sock *tp = tcp_sk(sk); in cubictcp_recalc_ssthresh() 388 struct tcp_sock *tp = tcp_sk(sk); in hystart_update() 450 const struct tcp_sock *tp = tcp_sk(sk); in cubictcp_acked()
|
A D | tcp_cdg.c | 143 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_hystart_update() 244 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_backoff() 265 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_cong_avoid() 302 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_acked() 331 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_ssthresh() 348 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_cwnd_event() 376 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_init()
|
A D | tcp_rate.c | 42 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_skb_sent() 82 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_skb_delivered() 115 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_gen() 191 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_check_app_limited()
|
A D | tcp_fastopen.c | 171 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_add_skb() 260 tp = tcp_sk(child); in tcp_fastopen_create_child() 336 tcp_sk(sk)->fastopen_no_cookie || in tcp_fastopen_no_cookie() 432 tcp_sk(sk)->fastopen_client_fail = TFO_COOKIE_UNAVAILABLE; in tcp_fastopen_cookie_check() 446 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_defer_connect() 540 tcp_sk(sk)->syn_fastopen_ch = 1; in tcp_fastopen_active_should_disable() 552 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_active_disable_ofo_check() 579 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_active_detect_blackhole()
|
A D | tcp_highspeed.c | 102 struct tcp_sock *tp = tcp_sk(sk); in hstcp_init() 114 struct tcp_sock *tp = tcp_sk(sk); in hstcp_cong_avoid() 153 const struct tcp_sock *tp = tcp_sk(sk); in hstcp_ssthresh()
|
A D | tcp_dctcp.h | 6 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ece_ack_cwr() 35 *prior_rcv_nxt = tcp_sk(sk)->rcv_nxt; in dctcp_ece_ack_update()
|
A D | tcp.c | 413 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_sock() 597 struct tcp_sock *tp = tcp_sk(sk); in tcp_ioctl() 654 struct tcp_sock *tp = tcp_sk(sk); in tcp_skb_entail() 697 struct tcp_sock *tp = tcp_sk(sk); in tcp_push() 889 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_size_goal() 943 struct tcp_sock *tp = tcp_sk(sk); in tcp_build_frag() 1003 struct tcp_sock *tp = tcp_sk(sk); in do_tcp_sendpages() 1132 struct tcp_sock *tp = tcp_sk(sk); in tcp_sendmsg_fastopen() 1177 struct tcp_sock *tp = tcp_sk(sk); in tcp_sendmsg_locked() 2907 tcp_sk(sk)->highest_sack = NULL; in tcp_rtx_queue_purge() [all …]
|
A D | tcp_scalable.c | 20 struct tcp_sock *tp = tcp_sk(sk); in tcp_scalable_cong_avoid() 36 const struct tcp_sock *tp = tcp_sk(sk); in tcp_scalable_ssthresh()
|
A D | tcp_hybla.c | 39 tcp_sk(sk)->srtt_us / (rtt0 * USEC_PER_MSEC), in hybla_recalc_param() 48 struct tcp_sock *tp = tcp_sk(sk); in hybla_init() 92 struct tcp_sock *tp = tcp_sk(sk); in hybla_cong_avoid()
|
A D | tcp_illinois.c | 59 struct tcp_sock *tp = tcp_sk(sk); in rtt_reset() 224 struct tcp_sock *tp = tcp_sk(sk); in update_params() 262 struct tcp_sock *tp = tcp_sk(sk); in tcp_illinois_cong_avoid() 297 struct tcp_sock *tp = tcp_sk(sk); in tcp_illinois_ssthresh()
|
A D | tcp_yeah.c | 43 struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_init() 60 struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_cong_avoid() 189 const struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_ssthresh()
|
A D | tcp_bic.c | 77 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init() 142 struct tcp_sock *tp = tcp_sk(sk); in bictcp_cong_avoid() 163 const struct tcp_sock *tp = tcp_sk(sk); in bictcp_recalc_ssthresh()
|
/linux/include/net/ |
A D | tcp.h | 706 struct tcp_sock *tp = tcp_sk(sk); in tcp_fast_path_check() 1232 const struct tcp_sock *tp = tcp_sk(sk); in tcp_current_ssthresh() 1277 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited() 1302 s64 delay = tcp_sk(sk)->tcp_wstamp_ns - tcp_sk(sk)->tcp_clock_cache; in tcp_pacing_delay() 1387 struct tcp_sock *tp = tcp_sk(sk); in tcp_slow_start_after_idle_check() 1429 struct tcp_sock *tp = tcp_sk(sk); in tcp_adjust_rcv_ssthresh() 1459 const struct tcp_sock *tp = tcp_sk(sk); in tcp_epollin_ready() 1895 struct tcp_sock *tp = tcp_sk(sk); in tcp_push_pending_frames() 1923 return tcp_sk(sk)->highest_sack; in tcp_highest_sack() 1937 tcp_sk(sk)->highest_sack = new; in tcp_highest_sack_replace() [all …]
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A D | chtls_io.c | 110 struct tcp_sock *tp = tcp_sk(sk); in send_flowc_wr() 172 tp = tcp_sk(sk); in send_tx_flowc_wr() 607 tp = tcp_sk(sk); in chtls_push_frames() 732 struct tcp_sock *tp = tcp_sk(sk); in should_push() 822 struct tcp_sock *tp = tcp_sk(sk); in skb_entail() 1011 struct tcp_sock *tp = tcp_sk(sk); in chtls_sendmsg() 1239 tp = tcp_sk(sk); in chtls_sendpage() 1342 struct tcp_sock *tp = tcp_sk(sk); in chtls_select_window() 1413 tp = tcp_sk(sk); in chtls_cleanup_rbuf() 1435 struct tcp_sock *tp = tcp_sk(sk); in chtls_pt_recvmsg() [all …]
|