| /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_input.c | 124 void clean_acked_data_enable(struct tcp_sock *tp, in clean_acked_data_enable() 132 void clean_acked_data_disable(struct tcp_sock *tp) in clean_acked_data_disable() 252 struct tcp_sock *tp = tcp_sk(sk); in tcp_measure_rcv_mss() 346 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_ecn_check() 389 static bool tcp_accecn_process_option(struct tcp_sock *tp, in tcp_accecn_process_option() 477 static void tcp_count_delivered_ce(struct tcp_sock *tp, u32 ecn_count) in tcp_count_delivered_ce() 483 static void tcp_count_delivered(struct tcp_sock *tp, u32 delivered, in tcp_count_delivered() 502 struct tcp_sock *tp = tcp_sk(sk); in __tcp_accecn_process() 585 struct tcp_sock *tp = tcp_sk(sk); in tcp_accecn_process() 607 const struct tcp_sock *tp = tcp_sk(sk); in tcp_sndbuf_expand() [all …]
|
| H A D | tcp_output.c | 55 void noinline tcp_mstamp_refresh(struct tcp_sock *tp) in tcp_mstamp_refresh() 86 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_new_data_sent() 115 const struct tcp_sock *tp = tcp_sk(sk); in tcp_acceptable_seq() 141 struct tcp_sock *tp = tcp_sk(sk); in tcp_advertise_mss() 162 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_restart() 179 static void tcp_event_data_sent(struct tcp_sock *tp, in tcp_event_data_sent() 200 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_ack_sent() 270 /* Chose a new window to advertise, update state in tcp_sock for the 277 struct tcp_sock *tp = tcp_sk(sk); in tcp_select_window() 345 struct tcp_sock *t in tcp_ecn_send() [all...] |
| H A D | tcp_timer.c | 31 const struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_rto_to_user_timeout() 109 struct tcp_sock *tp = tcp_sk(sk); in tcp_out_of_resources() 219 struct tcp_sock *tp = tcp_sk(sk); in retransmits_timed_out() 246 struct tcp_sock *tp = tcp_sk(sk); in tcp_write_timeout() 312 struct tcp_sock *tp = tcp_sk(sk); in tcp_delack_timer_handler() 395 struct tcp_sock *tp = tcp_sk(sk); in tcp_probe_timer() 445 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_rto_stats() 462 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_synack_timer() 502 const struct tcp_sock *tp = tcp_sk(sk); in tcp_rtx_probe0_timed_out() 539 struct tcp_sock *tp = tcp_sk(sk); in tcp_retransmit_timer() [all …]
|
| 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_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_minisocks.c | 294 const struct tcp_sock *tp = tcp_sk(sk); in tcp_time_wait_init() 329 struct tcp_sock *tp = tcp_sk(sk); in tcp_time_wait() 436 const struct tcp_sock *tp = tcp_sk(sk_listener); in tcp_openreq_init_rwin() 475 struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_openreq_child() 525 static void smc_check_reset_syn_req(const struct tcp_sock *oldtp, in smc_check_reset_syn_req() 527 struct tcp_sock *newtp) in smc_check_reset_syn_req() 554 const struct tcp_sock *oldtp; in tcp_create_openreq_child() 555 struct tcp_sock *newtp; in tcp_create_openreq_child() 567 /* Now setup tcp_sock */ in tcp_create_openreq_child()
|
| H A D | tcp_fastopen.c | 259 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_add_skb() 330 struct tcp_sock *tp; in tcp_fastopen_create_child() 541 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_defer_connect() 647 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_active_disable_ofo_check() 677 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_active_detect_blackhole()
|
| H A D | tcp_hybla.c | 48 struct tcp_sock *tp = tcp_sk(sk); in hybla_init() 92 struct tcp_sock *tp = tcp_sk(sk); in hybla_cong_avoid()
|
| H A D | tcp_htcp.c | 105 const struct tcp_sock *tp = tcp_sk(sk); in measure_achieved_throughput() 224 const struct tcp_sock *tp = tcp_sk(sk); in htcp_recalc_ssthresh() 233 struct tcp_sock *tp = tcp_sk(sk); in htcp_cong_avoid()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | tcp_ca_write_sk_pacing.c | 11 static unsigned int tcp_left_out(const struct tcp_sock *tp) 16 static unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_left_out() 36 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
|
| H A D | bpf_dctcp.c | 53 static void dctcp_reset(const struct tcp_sock *tp, struct bpf_dctcp *ca) 64 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_reset() 112 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 121 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 151 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 170 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
|
| H A D | bpf_tracing_net.h | 178 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() 180 return (struct tcp_sock *)sk; in tcp_sk() 183 static inline bool tcp_in_slow_start(const struct tcp_sock *tp) in tcp_in_slow_start() 190 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()
|
| H A D | tcp_ca_untrusted_btf_write.c | 13 struct tcp_sock *tp; in BPF_PROG() 18 tp = bpf_rdonly_cast(p, bpf_core_type_id_kernel(struct tcp_sock)); in BPF_PROG()
|
| H A D | bpf_cubic.c | 25 extern __u32 tcp_slow_start(struct tcp_sock *tp, __u32 acked) __ksym; 26 extern void tcp_cong_avoid_ai(struct tcp_sock *tp, __u32 w, __u32 acked) __ksym; 165 struct tcp_sock *tp = tcp_sk(sk); in bictcp_hystart_reset() 392 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 412 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG() 460 struct tcp_sock *tp = tcp_sk(sk); in hystart_update() 509 const 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()
|
| H A D | bpf_cc_cubic.c | 40 const struct tcp_sock *tp = tcp_sk(sk); in before() 70 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_pacing_rate() 120 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
|
| H A D | bpf_iter_tcp4.c | 69 static bool tcp_in_initial_slowstart(const struct tcp_sock *tcp) in tcp_in_initial_slowstart() 74 static int dump_tcp_sock(struct seq_file *seq, struct tcp_sock *tp, in dump_tcp_sock() 202 struct tcp_sock *tp; in dump_tcp4()
|
| H A D | mptcp_sock.c | 34 struct tcp_sock *tsk; in _sockops()
|
| H A D | test_sock_fields.c | 44 struct tcp_sock { struct 132 struct tcp_sock *ktp; in egress_read_sock_fields()
|
| /linux/net/mptcp/ |
| H A D | fastopen.c | 14 struct tcp_sock *tp; in mptcp_fastopen_subflow_synack_set_params() 23 ssk = subflow->tcp_sock; in mptcp_fastopen_subflow_synack_set_params()
|
| /linux/include/linux/ |
| H A D | tcp.h | 197 struct tcp_sock { struct 561 #define tcp_sk(ptr) container_of_const(ptr, struct tcp_sock, inet_conn.icsk_inet.sk) 566 #define tcp_sk_rw(ptr) container_of(ptr, struct tcp_sock, inet_conn.icsk_inet.sk) 608 static inline void tcp_move_syn(struct tcp_sock *tp, in tcp_move_syn() 615 static inline void tcp_saved_syn_free(struct tcp_sock *tp) in tcp_saved_syn_free() 631 static inline u16 tcp_mss_clamp(const struct tcp_sock *tp, u16 mss) in tcp_mss_clamp()
|
| /linux/Documentation/networking/net_cachelines/ |
| H A D | index.rst | 16 tcp_sock
|
| /linux/include/trace/events/ |
| H A D | mptcp.h | 45 if (subflow->tcp_sock && sk_fullsock(subflow->tcp_sock)) 46 __entry->free = sk_stream_memory_free(subflow->tcp_sock);
|