Home
last modified time | relevance | path

Searched refs:tcp_time_stamp (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/net/ipv4/
Dtcp_cubic.c158 u32 now = tcp_time_stamp; in bictcp_cwnd_event()
234 (s32)(tcp_time_stamp - ca->last_time) <= HZ / 32) in bictcp_update()
241 if (ca->epoch_start && tcp_time_stamp == ca->last_time) in bictcp_update()
245 ca->last_time = tcp_time_stamp; in bictcp_update()
248 ca->epoch_start = tcp_time_stamp; /* record beginning */ in bictcp_update()
279 t = (s32)(tcp_time_stamp - ca->epoch_start); in bictcp_update()
451 if (ca->epoch_start && (s32)(tcp_time_stamp - ca->epoch_start) < HZ) in bictcp_acked()
Dtcp_lp.c272 if (tcp_time_stamp > tp->rx_opt.rcv_tsecr) in tcp_lp_pkts_acked()
273 lp->inference = 3 * (tcp_time_stamp - tp->rx_opt.rcv_tsecr); in tcp_lp_pkts_acked()
276 if (lp->last_drop && (tcp_time_stamp - lp->last_drop < lp->inference)) in tcp_lp_pkts_acked()
313 lp->last_drop = tcp_time_stamp; in tcp_lp_pkts_acked()
Dtcp_bic.c87 (s32)(tcp_time_stamp - ca->last_time) <= HZ / 32) in bictcp_update()
91 ca->last_time = tcp_time_stamp; in bictcp_update()
94 ca->epoch_start = tcp_time_stamp; in bictcp_update()
Dtcp_timer.c62 if ((s32)(tcp_time_stamp - tp->lsndtime) > 2*TCP_RTO_MAX || !do_reset) in tcp_out_of_resources()
72 if ((s32)(tcp_time_stamp - tp->lsndtime) <= TCP_TIMEWAIT_LEN || in tcp_out_of_resources()
110 icsk->icsk_mtup.probe_timestamp = tcp_time_stamp; in tcp_mtu_probing()
155 return (tcp_time_stamp - start_ts) >= timeout; in retransmits_timed_out()
308 (s32)(tcp_time_stamp - start_ts) > icsk->icsk_user_timeout) in tcp_probe_timer()
408 if (tcp_time_stamp - tp->rcv_tstamp > TCP_RTO_MAX) { in tcp_retransmit_timer()
Dtcp_westwood.c71 w->rtt_win_sx = tcp_time_stamp; in tcp_westwood_init()
118 s32 delta = tcp_time_stamp - w->rtt_win_sx; in westwood_update_window()
142 w->rtt_win_sx = tcp_time_stamp; in westwood_update_window()
Dtcp_input.c419 tp->rcvq_space.time = tcp_time_stamp; in tcp_init_buffer_space()
440 tp->snd_cwnd_stamp = tcp_time_stamp; in tcp_init_buffer_space()
535 tcp_rcv_rtt_update(tp, tcp_time_stamp - tp->rcv_rtt_est.time, 1); in tcp_rcv_rtt_measure()
539 tp->rcv_rtt_est.time = tcp_time_stamp; in tcp_rcv_rtt_measure()
549 tcp_rcv_rtt_update(tp, tcp_time_stamp - tp->rx_opt.rcv_tsecr, 0); in tcp_rcv_rtt_measure_ts()
562 time = tcp_time_stamp - tp->rcvq_space.time; in tcp_rcv_space_adjust()
619 tp->rcvq_space.time = tcp_time_stamp; in tcp_rcv_space_adjust()
644 now = tcp_time_stamp; in tcp_event_data_recv()
1891 tp->snd_cwnd_stamp = tcp_time_stamp; in tcp_enter_loss()
2252 tp->snd_cwnd_stamp = tcp_time_stamp; in tcp_moderate_cwnd()
[all …]
Dtcp_output.c156 tp->snd_cwnd_stamp = tcp_time_stamp; in tcp_cwnd_restart()
165 const u32 now = tcp_time_stamp; in tcp_event_data_sent()
1360 icsk->icsk_mtup.probe_timestamp = tcp_time_stamp; in tcp_mtup_init()
1461 tp->snd_cwnd_stamp = tcp_time_stamp; in tcp_cwnd_application_limited()
1481 tp->snd_cwnd_stamp = tcp_time_stamp; in tcp_cwnd_validate()
1488 (s32)(tcp_time_stamp - tp->snd_cwnd_stamp) >= inet_csk(sk)->icsk_rto) in tcp_cwnd_validate()
1774 if ((s32)(tcp_time_stamp - tp->lsndtime) > 0) in tcp_tso_should_defer()
1843 delta = tcp_time_stamp - icsk->icsk_mtup.probe_timestamp; in tcp_mtu_check_reprobe()
1855 icsk->icsk_mtup.probe_timestamp = tcp_time_stamp; in tcp_mtu_check_reprobe()
2192 tlp_time_stamp = tcp_time_stamp + timeout; in tcp_schedule_loss_probe()
[all …]
Dtcp_htcp.c107 u32 now = tcp_time_stamp; in measure_achieved_throughput()
Dsyncookies.c85 u32 ts, ts_now = tcp_time_stamp; in cookie_init_timestamp()
Dtcp_ipv4.c475 tcp_time_stamp - tcp_skb_timestamp(skb)); in tcp_v4_err()
791 tcp_time_stamp + tcptw->tw_ts_offset, in tcp_v4_timewait_ack()
813 tcp_time_stamp, in tcp_v4_reqsk_send_ack()
Dtcp.c2595 tp->tsoffset = val - tcp_time_stamp; in do_tcp_setsockopt()
2639 u32 now = tcp_time_stamp; in tcp_get_info()
2862 val = tcp_time_stamp + tp->tsoffset; in do_tcp_getsockopt()
Dtcp_metrics.c576 tp->snd_cwnd_stamp = tcp_time_stamp; in tcp_init_metrics()
/linux-4.4.14/net/dccp/ccids/
Dccid2.h30 #define ccid2_time_stamp tcp_time_stamp
/linux-4.4.14/include/net/
Dtcp.h711 #define tcp_time_stamp ((__u32)(jiffies)) macro
1189 delta = tcp_time_stamp - tp->lsndtime; in tcp_slow_start_after_idle_check()
1243 return min_t(u32, tcp_time_stamp - icsk->icsk_ack.lrcvtime, in keepalive_time_elapsed()
1244 tcp_time_stamp - tp->rcv_tstamp); in keepalive_time_elapsed()
/linux-4.4.14/net/netfilter/
Dnf_synproxy_core.c155 opts->tsval = tcp_time_stamp & ~0x3f; in synproxy_init_timestamp_cookie()
/linux-4.4.14/net/ipv6/
Dtcp_ipv6.c922 tcp_time_stamp + tcptw->tw_ts_offset, in tcp_v6_timewait_ack()
938 tcp_time_stamp, req->ts_recent, sk->sk_bound_dev_if, in tcp_v6_reqsk_send_ack()