Home
last modified time | relevance | path

Searched refs:tcp_sock (Results 1 – 25 of 79) sorted by relevance

1234

/linux/net/ipv4/
A Dbpf_tcp_ca.c88 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()
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()
103 case offsetof(struct tcp_sock, app_limited): in bpf_tcp_ca_btf_struct_access()
[all …]
A Dtcp_recovery.c7 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()
A Dtcp.c425 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_sock()
619 struct tcp_sock *tp = tcp_sk(sk); in tcp_ioctl()
677 struct tcp_sock *tp = tcp_sk(sk); in tcp_skb_entail()
721 struct tcp_sock *tp = tcp_sk(sk); in tcp_push()
913 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_size_goal()
1007 struct tcp_sock *tp = tcp_sk(sk); in tcp_sendmsg_fastopen()
1053 struct tcp_sock *tp = tcp_sk(sk); in tcp_sendmsg_locked()
1367 struct tcp_sock *tp = tcp_sk(sk); in tcp_splice_eof()
1387 struct tcp_sock *tp = tcp_sk(sk); in tcp_recv_urg()
1460 struct tcp_sock *tp = tcp_sk(sk); in __tcp_cleanup_rbuf()
[all …]
A Dtcp_input.c361 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ecn_check_ce()
519 struct tcp_sock *tp = tcp_sk(sk); in tcp_grow_window()
559 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_buffer_space()
596 struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_window()
716 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts()
737 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_space_adjust()
816 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_data_recv()
871 struct tcp_sock *tp = tcp_sk(sk); in tcp_rtt_estimator()
1076 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reordering()
1129 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_skb_lost()
[all …]
A Dtcp_dctcp.c81 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()
A Dtcp_output.c70 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_new_data_sent()
125 struct tcp_sock *tp = tcp_sk(sk); in tcp_advertise_mss()
146 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_restart()
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()
335 struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send_syn()
379 struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send()
460 struct tcp_sock *tp, in mptcp_options_write()
1105 struct tcp_sock *tp; in tcp_tasklet_func()
1237 struct tcp_sock *tp = container_of(timer, struct tcp_sock, pacing_timer); in tcp_pace_kick()
[all …]
A Dtcp_bbr.c268 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 …]
A Dtcp_timer.c30 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()
381 struct tcp_sock *tp = tcp_sk(sk); in tcp_probe_timer()
430 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_rto_stats()
447 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_synack_timer()
522 struct tcp_sock *tp = tcp_sk(sk); in tcp_retransmit_timer()
757 struct tcp_sock *tp = tcp_sk(sk); in tcp_keepalive_timer()
[all …]
A Dtcp_highspeed.c102 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 Dtcp_rate.c42 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()
A Dtcp_cdg.c143 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 Dtcp_scalable.c20 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 Dtcp_westwood.c165 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 Dtcp_illinois.c59 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 Dtcp_yeah.c43 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 Dtcp_vegas.c73 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/
A Dtcp.h771 struct tcp_sock *tp = tcp_sk(sk); in tcp_fast_path_check()
1345 const struct tcp_sock *tp = tcp_sk(sk); in tcp_current_ssthresh()
1390 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()
1506 struct tcp_sock *tp = tcp_sk(sk); in tcp_slow_start_after_idle_check()
1575 struct tcp_sock *tp = tcp_sk(sk); in __tcp_adjust_rcv_ssthresh()
1612 const struct tcp_sock *tp = tcp_sk(sk); in tcp_epollin_ready()
2041 const struct tcp_sock *tp = tcp_sk(sk); in tcp_write_queue_empty()
2105 struct tcp_sock *tp = tcp_sk(sk); in tcp_push_pending_frames()
2346 const struct tcp_sock *tp = tcp_sk(sk); in tcp_get_current_key()
2498 struct tcp_sock *tp = tcp_sk(sk); in tcp_inq()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtcp_ca_write_sk_pacing.c13 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()
A Dbpf_dctcp.c59 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()
A Dbpf_tracing_net.h153 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk()
155 return (struct tcp_sock *)sk; in tcp_sk()
158 static inline bool tcp_in_slow_start(const struct tcp_sock *tp) in tcp_in_slow_start()
165 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()
A Dbpf_cubic.c31 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()
A Dcgrp_ls_attach_cgroup.c27 struct tcp_sock *tcp_sk; in set_cookie()
56 struct tcp_sock *tcp_sk; in update_cookie_sockops()
A Dbpf_cc_cubic.c49 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()
/linux/include/linux/
A Dtcp.h192 struct tcp_sock { struct
528 #define tcp_sk(ptr) container_of_const(ptr, struct tcp_sock, inet_conn.icsk_inet.sk)
533 #define tcp_sk_rw(ptr) container_of(ptr, struct tcp_sock, inet_conn.icsk_inet.sk)
575 static inline void tcp_move_syn(struct tcp_sock *tp, in tcp_move_syn()
582 static inline void tcp_saved_syn_free(struct tcp_sock *tp) in tcp_saved_syn_free()
598 static inline u16 tcp_mss_clamp(const struct tcp_sock *tp, u16 mss) in tcp_mss_clamp()
/linux/net/mptcp/
A Dfastopen.c14 struct tcp_sock *tp; in mptcp_fastopen_subflow_synack_set_params()
22 ssk = subflow->tcp_sock; in mptcp_fastopen_subflow_synack_set_params()

Completed in 86 milliseconds

1234