Searched refs:EPHEMERAL_PORT (Results 1 – 1 of 1) sorted by relevance
514 static mut EPHEMERAL_PORT: u16 = 0; in get_ephemeral_port() variable516 if EPHEMERAL_PORT == 0 { in get_ephemeral_port()517 EPHEMERAL_PORT = (49152 + rand() % (65536 - 49152)) as u16; in get_ephemeral_port()525 if EPHEMERAL_PORT == 65535 { in get_ephemeral_port()526 EPHEMERAL_PORT = 49152; in get_ephemeral_port()528 EPHEMERAL_PORT += 1; in get_ephemeral_port()530 port = EPHEMERAL_PORT; in get_ephemeral_port()