Home
last modified time | relevance | path

Searched refs:TCP_TS_HZ (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/net/ipv4/
Dtcp_lp.c41 #define LP_RESOL TCP_TS_HZ
154 m = TCP_TS_HZ * in tcp_lp_remote_hz_estimator()
202 tp->rx_opt.rcv_tsecr * (LP_RESOL / TCP_TS_HZ); in tcp_lp_owd_calculator()
Dsyncookies.c79 return ts * (NSEC_PER_SEC / TCP_TS_HZ); in cookie_init_timestamp()
Dtcp_minisocks.c567 USEC_PER_SEC / TCP_TS_HZ); in tcp_create_openreq_child()
Dtcp_input.c710 if (likely(delta < INT_MAX / (USEC_PER_SEC / TCP_TS_HZ))) { in tcp_rcv_rtt_measure_ts()
713 delta_us = delta * (USEC_PER_SEC / TCP_TS_HZ); in tcp_rcv_rtt_measure_ts()
3129 if (likely(delta < INT_MAX / (USEC_PER_SEC / TCP_TS_HZ))) { in tcp_ack_update_rtt()
3132 seq_rtt_us = delta * (USEC_PER_SEC / TCP_TS_HZ); in tcp_ack_update_rtt()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dxdp_synproxy_kern.c39 #define TCP_TS_HZ 1000 macro
179 return ns / (NSEC_PER_SEC / TCP_TS_HZ); in tcp_ns_to_ts()
/linux-6.6.21/include/net/
Dtcp.h787 #define TCP_TS_HZ 1000 macro
802 return div_u64(tp->tcp_mstamp, USEC_PER_SEC / TCP_TS_HZ); in tcp_time_stamp()
808 return div_u64(ns, NSEC_PER_SEC / TCP_TS_HZ); in tcp_ns_to_ts()