Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Dtcp.h415 void tcp_clear_retrans(struct tcp_sock *tp);
424 void tcp_disable_fack(struct tcp_sock *tp);
572 void tcp_skb_mark_lost_uncond_verify(struct tcp_sock *tp, struct sk_buff *skb);
585 static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize) in tcp_bound_to_half_wnd()
629 static inline u32 __tcp_set_rto(const struct tcp_sock *tp) in __tcp_set_rto()
634 static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) in __tcp_fast_path_on()
641 static inline void tcp_fast_path_on(struct tcp_sock *tp) in tcp_fast_path_on()
648 struct tcp_sock *tp = tcp_sk(sk); in tcp_fast_path_check()
679 static inline u32 tcp_min_rtt(const struct tcp_sock *tp) in tcp_min_rtt()
688 static inline u32 tcp_receive_window(const struct tcp_sock *tp) in tcp_receive_window()
[all …]
/linux-4.4.14/net/ipv4/
Dtcp_input.c210 static void tcp_ecn_queue_cwr(struct tcp_sock *tp) in tcp_ecn_queue_cwr()
216 static void tcp_ecn_accept_cwr(struct tcp_sock *tp, const struct sk_buff *skb) in tcp_ecn_accept_cwr()
222 static void tcp_ecn_withdraw_cwr(struct tcp_sock *tp) in tcp_ecn_withdraw_cwr()
227 static void __tcp_ecn_check_ce(struct tcp_sock *tp, const struct sk_buff *skb) in __tcp_ecn_check_ce()
257 static void tcp_ecn_check_ce(struct tcp_sock *tp, const struct sk_buff *skb) in tcp_ecn_check_ce()
263 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_synack()
269 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_syn()
275 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo()
289 const struct tcp_sock *tp = tcp_sk(sk); in tcp_sndbuf_expand()
344 struct tcp_sock *tp = tcp_sk(sk); in __tcp_grow_window()
[all …]
Dtcp_output.c75 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()
123 struct tcp_sock *tp = tcp_sk(sk); in tcp_advertise_mss()
144 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_restart()
161 static void tcp_event_data_sent(struct tcp_sock *tp, in tcp_event_data_sent()
268 struct tcp_sock *tp = tcp_sk(sk); in tcp_select_window()
317 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send_synack()
329 struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send_syn()
372 struct tcp_sock *tp = tcp_sk(sk); in tcp_ecn_send()
412 static inline bool tcp_urg_mode(const struct tcp_sock *tp) in tcp_urg_mode()
[all …]
Dtcp_dctcp.c76 static void dctcp_reset(const struct tcp_sock *tp, struct dctcp *ca) in dctcp_reset()
86 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_init()
115 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ssthresh()
129 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ce_state_0_to_1()
159 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ce_state_1_to_0()
188 const struct tcp_sock *tp = tcp_sk(sk); in dctcp_update_alpha()
Dtcp_highspeed.c101 struct tcp_sock *tp = tcp_sk(sk); in hstcp_init()
113 struct tcp_sock *tp = tcp_sk(sk); in hstcp_cong_avoid()
152 const struct tcp_sock *tp = tcp_sk(sk); in hstcp_ssthresh()
Dtcp_cdg.c141 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_hystart_update()
242 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_backoff()
263 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_cong_avoid()
300 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_acked()
329 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_ssthresh()
355 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_cwnd_event()
383 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_init()
Dtcp_scalable.c20 struct tcp_sock *tp = tcp_sk(sk); in tcp_scalable_cong_avoid()
34 const struct tcp_sock *tp = tcp_sk(sk); in tcp_scalable_ssthresh()
Dtcp_westwood.c163 const struct tcp_sock *tp = tcp_sk(sk); in westwood_fast_bw()
180 const struct tcp_sock *tp = tcp_sk(sk); in westwood_acked_count()
217 const struct tcp_sock *tp = tcp_sk(sk); in tcp_westwood_bw_rttmin()
240 struct tcp_sock *tp = tcp_sk(sk); in tcp_westwood_event()
Dtcp_recovery.c24 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_mark_lost()
82 void tcp_rack_advance(struct tcp_sock *tp, in tcp_rack_advance()
Dtcp_illinois.c58 struct tcp_sock *tp = tcp_sk(sk); in rtt_reset()
222 struct tcp_sock *tp = tcp_sk(sk); in update_params()
260 struct tcp_sock *tp = tcp_sk(sk); in tcp_illinois_cong_avoid()
295 struct tcp_sock *tp = tcp_sk(sk); in tcp_illinois_ssthresh()
Dtcp_timer.c57 struct tcp_sock *tp = tcp_sk(sk); in tcp_out_of_resources()
114 struct tcp_sock *tp = tcp_sk(sk); in tcp_mtu_probing()
162 struct tcp_sock *tp = tcp_sk(sk); in tcp_write_timeout()
221 struct tcp_sock *tp = tcp_sk(sk); in tcp_delack_timer_handler()
287 struct tcp_sock *tp = tcp_sk(sk); in tcp_probe_timer()
365 struct tcp_sock *tp = tcp_sk(sk); in tcp_retransmit_timer()
578 struct tcp_sock *tp = tcp_sk(sk); in tcp_keepalive_timer()
Dtcp_yeah.c44 struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_init()
72 struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_cong_avoid()
206 const struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_ssthresh()
Dtcp_bic.c143 struct tcp_sock *tp = tcp_sk(sk); in bictcp_cong_avoid()
163 const struct tcp_sock *tp = tcp_sk(sk); in bictcp_recalc_ssthresh()
185 const struct tcp_sock *tp = tcp_sk(sk); in bictcp_undo_cwnd()
Dtcp_vegas.c72 const struct tcp_sock *tp = tcp_sk(sk); in vegas_enable()
159 static inline u32 tcp_vegas_ssthresh(struct tcp_sock *tp) in tcp_vegas_ssthresh()
166 struct tcp_sock *tp = tcp_sk(sk); in tcp_vegas_cong_avoid()
Dtcp_cubic.c131 struct tcp_sock *tp = tcp_sk(sk); in bictcp_hystart_reset()
338 struct tcp_sock *tp = tcp_sk(sk); in bictcp_cong_avoid()
357 const struct tcp_sock *tp = tcp_sk(sk); in bictcp_recalc_ssthresh()
391 struct tcp_sock *tp = tcp_sk(sk); in hystart_update()
442 const struct tcp_sock *tp = tcp_sk(sk); in bictcp_acked()
Dtcp.c383 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_sock()
454 const struct tcp_sock *tp = tcp_sk(sk); in tcp_poll()
550 struct tcp_sock *tp = tcp_sk(sk); in tcp_ioctl()
605 static inline void tcp_mark_push(struct tcp_sock *tp, struct sk_buff *skb) in tcp_mark_push()
611 static inline bool forced_push(const struct tcp_sock *tp) in forced_push()
618 struct tcp_sock *tp = tcp_sk(sk); in skb_entail()
635 static inline void tcp_mark_urg(struct tcp_sock *tp, int flags) in tcp_mark_urg()
663 struct tcp_sock *tp = tcp_sk(sk); in tcp_push()
857 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_size_goal()
892 struct tcp_sock *tp = tcp_sk(sk); in do_tcp_sendpages()
[all …]
Dtcp_cong.c377 u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) in tcp_slow_start()
391 void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) in tcp_cong_avoid_ai()
419 struct tcp_sock *tp = tcp_sk(sk); in tcp_reno_cong_avoid()
438 const struct tcp_sock *tp = tcp_sk(sk); in tcp_reno_ssthresh()
Dtcp_htcp.c69 const struct tcp_sock *tp = tcp_sk(sk); in htcp_cwnd_undo()
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()
Dtcp_lp.c135 struct tcp_sock *tp = tcp_sk(sk); in tcp_lp_remote_hz_estimator()
188 struct tcp_sock *tp = tcp_sk(sk); in tcp_lp_owd_calculator()
265 struct tcp_sock *tp = tcp_sk(sk); in tcp_lp_pkts_acked()
Dtcp_veno.c119 struct tcp_sock *tp = tcp_sk(sk); in tcp_veno_cong_avoid()
192 const struct tcp_sock *tp = tcp_sk(sk); in tcp_veno_ssthresh()
Dtcp_hybla.c47 struct tcp_sock *tp = tcp_sk(sk); in hybla_init()
91 struct tcp_sock *tp = tcp_sk(sk); in hybla_cong_avoid()
Dtcp_diag.c28 const struct tcp_sock *tp = tcp_sk(sk); in tcp_diag_get_info()
Dtcp_minisocks.c270 const struct tcp_sock *tp = tcp_sk(sk); in tcp_time_wait()
372 const struct tcp_sock *tp = tcp_sk(sk_listener); in tcp_openreq_init_rwin()
403 static void tcp_ecn_openreq_child(struct tcp_sock *tp, in tcp_ecn_openreq_child()
454 struct tcp_sock *newtp = tcp_sk(newsk); in tcp_create_openreq_child()
Dtcp_ipv4.c111 struct tcp_sock *tp = tcp_sk(sk); in tcp_twsk_unique()
145 struct tcp_sock *tp = tcp_sk(sk); in tcp_v4_connect()
360 struct tcp_sock *tp; in tcp_v4_err()
877 const struct tcp_sock *tp = tcp_sk(sk); in tcp_md5_do_lookup()
918 struct tcp_sock *tp = tcp_sk(sk); in tcp_md5_do_add()
977 struct tcp_sock *tp = tcp_sk(sk); in tcp_clear_md5_list()
1263 struct tcp_sock *newtp; in tcp_v4_syn_recv_sock()
1484 struct tcp_sock *tp = tcp_sk(sk); in tcp_prequeue()
1788 struct tcp_sock *tp = tcp_sk(sk); in tcp_v4_destroy_sock()
2160 const struct tcp_sock *tp = tcp_sk(sk); in get_tcp4_sock()
[all …]
Dtcp_metrics.c371 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_metrics()
491 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_metrics()
617 struct tcp_sock *tp = tcp_sk(sk); in tcp_fetch_timewait_stamp()
644 struct tcp_sock *tp = tcp_sk(sk); in tcp_remember_stamp()
Dtcp_fastopen.c132 struct tcp_sock *tp; in tcp_fastopen_create_child()
Dtcp_probe.c110 const struct tcp_sock *tp = tcp_sk(sk); in jtcp_rcv_established()
Dsyncookies.c300 struct tcp_sock *tp = tcp_sk(sk); in cookie_v4_check()
/linux-4.4.14/include/linux/
Dtcp.h132 struct tcp_sock { struct
359 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() argument
361 return (struct tcp_sock *)sk; in tcp_sk()
400 static inline void tcp_move_syn(struct tcp_sock *tp, in tcp_move_syn()
407 static inline void tcp_saved_syn_free(struct tcp_sock *tp) in tcp_saved_syn_free()
Dipv6.h255 struct tcp_sock tcp;
/linux-4.4.14/net/ipv6/
Dsyncookies.c142 struct tcp_sock *tp = tcp_sk(sk); in cookie_v6_check()
Dtcp_ipv6.c120 struct tcp_sock *tp = tcp_sk(sk); in tcp_v6_connect()
328 struct tcp_sock *tp; in tcp_v6_err()
983 struct tcp_sock *newtp; in tcp_v6_syn_recv_sock()
1187 struct tcp_sock *tp; in tcp_v6_do_rcv()
1698 const struct tcp_sock *tp = tcp_sk(sp); in get_tcp6_sock()
/linux-4.4.14/Documentation/networking/
Dtcp.txt15 The following variables are used in the tcp_sock for congestion control:
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_lib.c555 struct tcp_sock *tp; in ksocknal_lib_push_conn()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_debugfs.c393 struct tcp_sock *tp = tcp_sk(connection->data.socket->sk); in in_flight_summary_show()