Home
last modified time | relevance | path

Searched refs:tcp_sk (Results 1 – 42 of 42) sorted by relevance

/linux-4.4.14/net/ipv4/
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()
142 start_ts = tcp_sk(sk)->retrans_stamp; in retransmits_timed_out()
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()
277 if (!test_and_set_bit(TCP_DELACK_TIMER_DEFERRED, &tcp_sk(sk)->tsq_flags)) in tcp_delack_timer()
287 struct tcp_sock *tp = tcp_sk(sk); in tcp_probe_timer()
341 req = tcp_sk(sk)->fastopen_rsk; in tcp_fastopen_synack_timer()
365 struct tcp_sock *tp = tcp_sk(sk); in tcp_retransmit_timer()
547 if (!test_and_set_bit(TCP_WRITE_TIMER_DEFERRED, &tcp_sk(sk)->tsq_flags)) in tcp_write_timer()
[all …]
Dtcp_westwood.c72 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init()
125 w->snd_una = tcp_sk(sk)->snd_una; in westwood_update_window()
163 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_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()
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()
549 struct tcp_sock *tp = tcp_sk(sk); in tcp_syn_options()
677 struct tcp_sock *tp = tcp_sk(sk); in tcp_established_options()
[all …]
Dtcp_input.c165 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss()
181 unsigned int quickacks = tcp_sk(sk)->rcv_wnd / (2 * icsk->icsk_ack.rcv_mss); in tcp_incr_quickack()
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()
361 struct tcp_sock *tp = tcp_sk(sk); in tcp_grow_window()
389 u32 mss = tcp_sk(sk)->advmss; in tcp_fixup_rcvbuf()
410 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_buffer_space()
446 struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_window()
471 const struct tcp_sock *tp = tcp_sk(sk); in tcp_initialize_rcv_mss()
545 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts()
[all …]
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()
349 return max(tcp_sk(sk)->snd_cwnd, ca->undo_cwnd); in tcp_cdg_undo_cwnd()
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_cubic.c131 struct tcp_sock *tp = tcp_sk(sk); in bictcp_hystart_reset()
151 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
161 delta = now - tcp_sk(sk)->lsndtime; in bictcp_cwnd_event()
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()
378 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in bictcp_undo_cwnd()
391 struct tcp_sock *tp = tcp_sk(sk); in hystart_update()
442 const struct tcp_sock *tp = tcp_sk(sk); in bictcp_acked()
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_dctcp.c86 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_bic.c78 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
143 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_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_hybla.c38 tcp_sk(sk)->srtt_us / (rtt0 * USEC_PER_MSEC), in hybla_recalc_param()
47 struct tcp_sock *tp = tcp_sk(sk); in hybla_init()
91 struct tcp_sock *tp = tcp_sk(sk); in hybla_cong_avoid()
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_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()
276 u32 mtu = tcp_sk(sk)->mtu_info; in tcp_v4_mtu_reduced()
411 tp = tcp_sk(sk); in tcp_v4_err()
690 ip_send_unicast_reply(*this_cpu_ptr(net->ipv4.tcp_sk), in tcp_v4_send_reset()
775 ip_send_unicast_reply(*this_cpu_ptr(net->ipv4.tcp_sk), in tcp_v4_send_ack()
809 tcp_sk(sk)->snd_nxt; in tcp_v4_reqsk_send_ack()
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()
[all …]
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_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.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()
618 struct tcp_sock *tp = tcp_sk(sk); in skb_entail()
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()
1035 const struct tcp_sock *tp = tcp_sk(sk); in select_size()
1067 struct tcp_sock *tp = tcp_sk(sk); in tcp_sendmsg_fastopen()
1092 struct tcp_sock *tp = tcp_sk(sk); in tcp_sendmsg()
[all …]
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_vegas.c72 const struct tcp_sock *tp = tcp_sk(sk); in vegas_enable()
166 struct tcp_sock *tp = tcp_sk(sk); in tcp_vegas_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()
454 struct tcp_sock *newtp = tcp_sk(newsk); in tcp_create_openreq_child()
821 tcp_sk(child)->segs_in += max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_child_process()
Dtcp_recovery.c24 struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_mark_lost()
Dtcp_cong.c419 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_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.c155 tp = tcp_sk(child); 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()
Dinet_connection_sock.c777 BUG_ON(tcp_sk(child)->fastopen_rsk != req); in inet_child_forget()
786 tcp_sk(child)->fastopen_rsk = NULL; in inet_child_forget()
Daf_inet.c614 tcp_sk(sk)->fastopen_req && in __inet_stream_connect()
615 tcp_sk(sk)->fastopen_req->data ? 1 : 0; in __inet_stream_connect()
/linux-4.4.14/include/net/
Dtcp.h502 unsigned long last_overflow = tcp_sk(sk)->rx_opt.ts_recent_stamp; in tcp_synq_overflow()
506 tcp_sk(sk)->rx_opt.ts_recent_stamp = now; in tcp_synq_overflow()
512 unsigned long last_overflow = tcp_sk(sk)->rx_opt.ts_recent_stamp; in tcp_synq_no_recent_overflow()
648 struct tcp_sock *tp = tcp_sk(sk); in tcp_fast_path_check()
1026 const struct tcp_sock *tp = tcp_sk(sk); in tcp_current_ssthresh()
1082 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()
1113 if (!tcp_sk(sk)->packets_out && !inet_csk(sk)->icsk_pending) in tcp_check_probe_timer()
1184 struct tcp_sock *tp = tcp_sk(sk); in tcp_slow_start_after_idle_check()
1249 int fin_timeout = tcp_sk(sk)->linger2 ? : sysctl_tcp_fin_timeout; in tcp_fin_time()
1456 tcp_clear_all_retrans_hints(tcp_sk(sk)); in tcp_write_queue_purge()
[all …]
/linux-4.4.14/net/ipv6/
Dtcp_ipv6.c120 struct tcp_sock *tp = tcp_sk(sk); in tcp_v6_connect()
310 dst = inet6_csk_update_pmtu(sk, tcp_sk(sk)->mtu_info); in tcp_v6_mtu_reduced()
366 tp = tcp_sk(sk); in tcp_v6_err()
746 struct sock *ctl_sk = net->ipv6.tcp_sk; in tcp_v6_send_response()
936 tcp_rsk(req)->snt_isn + 1 : tcp_sk(sk)->snd_nxt, in tcp_v6_reqsk_send_ack()
1006 newtp = tcp_sk(newsk); in tcp_v6_syn_recv_sock()
1071 newtp = tcp_sk(newsk); in tcp_v6_syn_recv_sock()
1121 if (tcp_sk(sk)->rx_opt.user_mss && in tcp_v6_syn_recv_sock()
1122 tcp_sk(sk)->rx_opt.user_mss < newtp->advmss) in tcp_v6_syn_recv_sock()
1123 newtp->advmss = tcp_sk(sk)->rx_opt.user_mss; in tcp_v6_syn_recv_sock()
[all …]
Dsyncookies.c142 struct tcp_sock *tp = tcp_sk(sk); in cookie_v6_check()
/linux-4.4.14/net/core/
Drequest_sock.c105 tcp_sk(sk)->fastopen_rsk = NULL; in reqsk_fastopen_remove()
Dsock.c881 sk->sk_tskey = tcp_sk(sk)->snd_una; in sock_setsockopt()
/linux-4.4.14/include/net/netns/
Dipv6.h72 struct sock *tcp_sk; member
Dipv4.h58 struct sock * __percpu *tcp_sk; member
/linux-4.4.14/include/linux/
Dtcp.h359 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() function
389 tcp_sk(sk)->fastopen_rsk != NULL); in tcp_passive_fastopen()
/linux-4.4.14/net/rds/
Dtcp.c81 return tcp_sk(tc->t_sock->sk)->snd_nxt; in rds_tcp_snd_nxt()
86 return tcp_sk(tc->t_sock->sk)->snd_una; in rds_tcp_snd_una()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_lib.c565 tp = tcp_sk(sk); 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()
/linux-4.4.14/net/sunrpc/
Dsvcsock.c1370 tcp_sk(sk)->nonagle |= TCP_NAGLE_OFF; in svc_tcp_init()
Dxprtsock.c2261 tcp_sk(sk)->nonagle |= TCP_NAGLE_OFF; in xs_tcp_finish_connecting()