/linux/net/ipv4/ |
H A D | bpf_tcp_ca.c | 88 case offsetof(struct tcp_sock, snd_cwnd): in bpf_tcp_ca_btf_struct_access() 89 end = offsetofend(struct tcp_sock, snd_cwnd); in bpf_tcp_ca_btf_struct_access() 91 case offsetof(struct tcp_sock, snd_cwnd_cnt): in bpf_tcp_ca_btf_struct_access() 92 end = offsetofend(struct tcp_sock, snd_cwnd_cnt); in bpf_tcp_ca_btf_struct_access() 94 case offsetof(struct tcp_sock, snd_cwnd_stamp): in bpf_tcp_ca_btf_struct_access() 95 end = offsetofend(struct tcp_sock, snd_cwnd_stamp); in bpf_tcp_ca_btf_struct_access() 97 case offsetof(struct tcp_sock, snd_ssthresh): in bpf_tcp_ca_btf_struct_access() 98 end = offsetofend(struct tcp_sock, snd_ssthresh); in bpf_tcp_ca_btf_struct_access() 100 case offsetof(struct tcp_sock, ecn_flags): in bpf_tcp_ca_btf_struct_access() 101 end = offsetofend(struct tcp_sock, ecn_flags); in bpf_tcp_ca_btf_struct_access() [all …]
|
H A D | tcp.c | 402 static u64 tcp_compute_delivery_rate(const struct tcp_sock *tp) in tcp_compute_delivery_rate() 423 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_sock() 521 const struct tcp_sock *tp = tcp_sk(sk); in tcp_poll() 626 struct tcp_sock *tp = tcp_sk(sk); in tcp_ioctl() 671 void tcp_mark_push(struct tcp_sock *tp, struct sk_buff *skb) in tcp_mark_push() 677 static inline bool forced_push(const struct tcp_sock *tp) in forced_push() 684 struct tcp_sock *tp = tcp_sk(sk); in tcp_skb_entail() 699 static inline void tcp_mark_urg(struct tcp_sock *tp, int flags) in tcp_mark_urg() 728 struct tcp_sock *tp = tcp_sk(sk); in tcp_push() 920 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_size_goal() [all …]
|
H A D | tcp_recovery.c | 7 const struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_reo_wnd() 32 s32 tcp_rack_skb_timeout(struct tcp_sock *tp, struct sk_buff *skb, u32 reo_wnd) in tcp_rack_skb_timeout() 60 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_detect_loss() 97 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_mark_lost() 118 void tcp_rack_advance(struct tcp_sock *tp, u8 sacked, u32 end_seq, in tcp_rack_advance() 151 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_reo_timeout() 189 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_update_reo_wnd() 220 struct tcp_sock *tp = tcp_sk(sk); in tcp_newreno_mark_lost()
|
H A D | tcp_input.c | 122 void clean_acked_data_enable(struct tcp_sock *tp, in clean_acked_data_enable() 130 void clean_acked_data_disable(struct tcp_sock *tp) in clean_acked_data_disable() 250 struct tcp_sock *tp = tcp_sk(sk); in tcp_measure_rcv_mss() 342 static void tcp_ecn_queue_cwr(struct tcp_sock *tp) in tcp_ecn_queue_cwr() 362 static void tcp_ecn_withdraw_cwr(struct tcp_sock *tp) in tcp_ecn_withdraw_cwr() 369 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_ecn_check() 402 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_synack() 408 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_syn() 414 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo() 421 static void tcp_count_delivered_ce(struct tcp_sock *tp, u32 ecn_count) in tcp_count_delivered_ce() [all …]
|
H A D | tcp_dctcp.c | 81 static void dctcp_reset(const struct tcp_sock *tp, struct dctcp *ca) in dctcp_reset() 91 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_init() 121 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ssthresh() 129 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_update_alpha() 177 struct tcp_sock *tp = tcp_sk(sk); in dctcp_react_to_loss() 219 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_get_info() 246 struct tcp_sock *tp = tcp_sk(sk); in dctcp_cwnd_undo()
|
H A D | tcp_output.c | 55 void tcp_mstamp_refresh(struct tcp_sock *tp) in tcp_mstamp_refresh() 70 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_new_data_sent() 99 const struct tcp_sock *tp = tcp_sk(sk); in tcp_acceptable_seq() 125 struct tcp_sock *tp = tcp_sk(sk); in tcp_advertise_mss() 146 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_restart() 163 static void tcp_event_data_sent(struct tcp_sock *tp, in tcp_event_data_sent() 184 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_ack_sent() 262 struct tcp_sock *tp = tcp_sk(sk); in tcp_select_window() 325 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send_synack() 338 struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send_syn() [all …]
|
H A D | tcp_bbr.c | 268 struct tcp_sock *tp = tcp_sk(sk); in bbr_init_pacing_rate_from_rtt() 288 struct tcp_sock *tp = tcp_sk(sk); in bbr_set_pacing_rate() 306 struct tcp_sock *tp = tcp_sk(sk); in bbr_tso_segs_goal() 323 struct tcp_sock *tp = tcp_sk(sk); in bbr_save_cwnd() 334 struct tcp_sock *tp = tcp_sk(sk); in bbr_cwnd_event() 439 struct tcp_sock *tp = tcp_sk(sk); in bbr_packets_in_net_at_edt() 483 struct tcp_sock *tp = tcp_sk(sk); in bbr_set_cwnd_to_recover_or_restore() 522 struct tcp_sock *tp = tcp_sk(sk); in bbr_set_cwnd() 557 struct tcp_sock *tp = tcp_sk(sk); in bbr_is_next_cycle_phase() 593 struct tcp_sock *tp = tcp_sk(sk); in bbr_advance_cycle_phase() [all …]
|
H A D | tcp_timer.c | 30 const struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_rto_to_user_timeout() 107 struct tcp_sock *tp = tcp_sk(sk); in tcp_out_of_resources() 217 struct tcp_sock *tp = tcp_sk(sk); in retransmits_timed_out() 244 struct tcp_sock *tp = tcp_sk(sk); in tcp_write_timeout() 310 struct tcp_sock *tp = tcp_sk(sk); in tcp_delack_timer_handler() 391 struct tcp_sock *tp = tcp_sk(sk); in tcp_probe_timer() 441 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_rto_stats() 458 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_synack_timer() 496 const struct tcp_sock *tp = tcp_sk(sk); in tcp_rtx_probe0_timed_out() 533 struct tcp_sock *tp = tcp_sk(sk); in tcp_retransmit_timer() [all …]
|
H 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()
|
H A D | tcp_rate.c | 42 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_skb_sent() 83 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_skb_delivered() 120 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_gen() 196 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_check_app_limited()
|
H 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()
|
H A D | tcp_westwood.c | 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()
|
H 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()
|
H 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()
|
H 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()
|
H A D | tcp_vegas.c | 73 const struct tcp_sock *tp = tcp_sk(sk); in vegas_enable() 160 static inline u32 tcp_vegas_ssthresh(struct tcp_sock *tp) in tcp_vegas_ssthresh() 167 struct tcp_sock *tp = tcp_sk(sk); in tcp_vegas_cong_avoid()
|
/linux/include/net/ |
H A D | tcp.h | 386 static inline bool tcp_ecn_mode_any(const struct tcp_sock *tp) in tcp_ecn_mode_any() 391 static inline bool tcp_ecn_mode_rfc3168(const struct tcp_sock *tp) in tcp_ecn_mode_rfc3168() 396 static inline bool tcp_ecn_mode_accecn(const struct tcp_sock *tp) in tcp_ecn_mode_accecn() 401 static inline bool tcp_ecn_disabled(const struct tcp_sock *tp) in tcp_ecn_disabled() 406 static inline bool tcp_ecn_mode_pending(const struct tcp_sock *tp) in tcp_ecn_mode_pending() 411 static inline void tcp_ecn_mode_set(struct tcp_sock *tp, u8 mode) in tcp_ecn_mode_set() 438 void tcp_clear_retrans(struct tcp_sock *tp); 685 void tcp_mark_push(struct tcp_sock *tp, struct sk_buff *skb); 758 static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize) in tcp_bound_to_half_wnd() 809 static inline u32 __tcp_set_rto(const struct tcp_sock *tp) in __tcp_set_rto() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_dctcp.c | 59 static void dctcp_reset(const struct tcp_sock *tp, struct bpf_dctcp *ca) in dctcp_reset() 70 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 118 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 127 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 157 struct tcp_sock *tp = tcp_sk(sk); in dctcp_react_to_loss() 176 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ece_ack_cwr()
|
H A D | tcp_ca_write_sk_pacing.c | 13 static unsigned int tcp_left_out(const struct tcp_sock *tp) in tcp_left_out() 18 static unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_packets_in_flight() 38 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
|
H A D | bpf_tracing_net.h | 159 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_in_slow_start() 161 return (struct tcp_sock *)sk; in tcp_in_slow_start() 164 static inline bool tcp_in_slow_start(const struct tcp_sock *tp) in tcp_is_cwnd_limited() 171 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()
|
H A D | bpf_cubic.c | 31 extern __u32 tcp_slow_start(struct tcp_sock *tp, __u32 acked) __ksym; 32 extern void tcp_cong_avoid_ai(struct tcp_sock *tp, __u32 w, __u32 acked) __ksym; 171 struct tcp_sock *tp = tcp_sk(sk); in bictcp_hystart_reset() 388 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 408 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 456 struct tcp_sock *tp = tcp_sk(sk); in hystart_update() 505 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
|
H A D | bpf_cc_cubic.c | 49 const struct tcp_sock *tp = tcp_sk(sk); in tcp_update_pacing_rate() 79 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_reduction() 129 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
|
H A D | cgrp_ls_attach_cgroup.c | 27 struct tcp_sock *tcp_sk; in set_cookie() 56 struct tcp_sock *tcp_sk; in update_cookie_sockops()
|
/linux/include/linux/ |
H A D | tcp.h | 194 struct tcp_sock { struct 530 #define tcp_sk(ptr) container_of_const(ptr, struct tcp_sock, inet_conn.icsk_inet.sk) 535 #define tcp_sk_rw(ptr) container_of(ptr, struct tcp_sock, inet_conn.icsk_inet.sk) 577 static inline void tcp_move_syn(struct tcp_sock *tp, in tcp_move_syn() 584 static inline void tcp_saved_syn_free(struct tcp_sock *tp) in tcp_saved_syn_free() 600 static inline u16 tcp_mss_clamp(const struct tcp_sock *tp, u16 mss) in tcp_mss_clamp()
|
/linux/net/mptcp/ |
H A D | fastopen.c | 14 struct tcp_sock *tp; in mptcp_fastopen_subflow_synack_set_params() 22 ssk = subflow->tcp_sock; in mptcp_fastopen_subflow_synack_set_params()
|