Searched refs:MAX_PORT (Results 1 – 1 of 1) sorted by relevance
34 #define MAX_PORT 32766 macro40 return static_cast<int>(rnd * (MAX_PORT - MIN_PORT + 1)); in get_random_port_offset()49 GPR_ASSERT(orig_counter_val < (MAX_PORT - MIN_PORT + 1)); in grpc_pick_unused_port_or_die()51 (s_initial_offset + orig_counter_val) % (MAX_PORT - MIN_PORT + 1); in grpc_pick_unused_port_or_die()