def getnretrans(first_rert, timeout):
    n = 0
    while True:
        timeout -= first_rert
        if timeout < 0:
            break
        first_rert *= 2.0
        n += 1
    return n
dataset/ETHPy150Open sippy/b2bua/sippy/Rtp_proxy_client_udp.py/getnretrans/original