Home
last modified time | relevance | path

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

/external/rust/crates/quiche/src/
Dpacket.rs483 let pn_win = 1 << pn_nbits; in decode_pkt_num() localVariable
484 let pn_hwin = pn_win / 2; in decode_pkt_num()
485 let pn_mask = pn_win - 1; in decode_pkt_num()
488 if candidate_pn + pn_hwin <= expected_pn && candidate_pn < (1 << 62) - pn_win in decode_pkt_num()
490 return candidate_pn + pn_win; in decode_pkt_num()
493 if candidate_pn > expected_pn + pn_hwin && candidate_pn >= pn_win { in decode_pkt_num()
494 return candidate_pn - pn_win; in decode_pkt_num()