Home
last modified time | relevance | path

Searched refs:ticks (Results 1 – 7 of 7) sorted by relevance

/openthread-3.7.0/third_party/tcplp/bsdtcp/
Dtcp_timer.c90 uint32_t ticks = tcplp_sys_get_ticks(); in tcp_timer_keep() local
119 if (ticks - tp->t_rcvtime >= TP_KEEPIDLE(tp) + TP_MAXIDLE(tp)) in tcp_timer_keep()
174 uint32_t ticks = tcplp_sys_get_ticks(); in tcp_timer_persist() local
206 (ticks - tp->t_rcvtime >= tcp_maxpersistidle || in tcp_timer_persist()
207 ticks - tp->t_rcvtime >= TCP_REXMTVAL(tp) * tcp_totbackoff)) { in tcp_timer_persist()
218 (ticks - tp->t_rcvtime) >= TCPTV_PERSMAX) { in tcp_timer_persist()
242 uint32_t ticks = tcplp_sys_get_ticks(); in tcp_timer_2msl() local
310 if (ticks - tp->t_rcvtime <= TP_MAXIDLE(tp)) { in tcp_timer_2msl()
334 uint32_t ticks = tcplp_sys_get_ticks(); in tcp_timer_rexmt() local
393 tp->t_badrxtwin = ticks + (tp->t_srtt >> (TCP_RTT_SHIFT + 1)); in tcp_timer_rexmt()
Dtcp_input.c1037 uint32_t ticks = tcplp_sys_get_ticks(); in tcp_do_segment() local
1061 tp->t_rcvtime = ticks; in tcp_do_segment()
1247 (int)(ticks - tp->t_badrxtwin) < 0) { in tcp_do_segment()
1272 tp->t_rttlow > ticks - tp->t_rtttime) in tcp_do_segment()
1273 tp->t_rttlow = ticks - tp->t_rtttime; in tcp_do_segment()
1275 ticks - tp->t_rtttime); in tcp_do_segment()
1603 tp->t_starttime = ticks; in tcp_do_segment()
1973 tp->t_starttime = ticks; in tcp_do_segment()
2309 (int)(ticks - tp->t_badrxtwin) < 0) in tcp_do_segment()
2335 if (!tp->t_rttlow || tp->t_rttlow > ticks - tp->t_rtttime) in tcp_do_segment()
[all …]
Dtcp_subr.c96 uint32_t ticks = tcplp_sys_get_ticks(); in initialize_tcb() local
139 tp->t_rcvtime = ticks; in initialize_tcb()
Dtcp_output.c125 uint32_t ticks = tcplp_sys_get_ticks(); in tcp_output() local
148 if (idle && ticks - tp->t_rcvtime >= tp->t_rxtcur) in tcp_output()
1247 tp->t_rtttime = ticks; in tcp_output()
/openthread-3.7.0/src/core/meshcop/
Dtimestamp.cpp124 uint16_t ticks = GetTicks(); in AdvanceRandomTicks() local
126 ticks += Random::NonCrypto::GetUint32InRange(1, kMaxTicks + 1); in AdvanceRandomTicks()
128 if (ticks > kMaxTicks) in AdvanceRandomTicks()
130 ticks -= (kMaxTicks + 1); in AdvanceRandomTicks()
134 SetTicks(ticks); in AdvanceRandomTicks()
/openthread-3.7.0/tools/tcat_ble_client/dataset/
Ddataset_entries.py64 self.ticks = 0
74 self.ticks = (value >> 1) & 0x7FFF
78 value = (self.seconds << 16) | (self.ticks << 1) | self.ubit
90 self.ticks = 0
100 self.ticks = (value >> 1) & 0x7FFF
104 value = (self.seconds << 16) | (self.ticks << 1) | self.ubit
/openthread-3.7.0/tests/scripts/thread-cert/
Dmle.py968 ticks = struct.unpack(">H", data.read(2))[0]
971 timestamp_ticks = ticks >> 1
972 u = ticks & 0x01
1010 ticks = struct.unpack(">H", data.read(2))[0]
1013 timestamp_ticks = ticks >> 1
1014 u = ticks & 0x01