Searched refs:ports_avail (Results 1 – 1 of 1) sorted by relevance
719 unsigned int ports_avail = 65536u - (unsigned short)daemon->min_port; in random_sock() local720 int tries = ports_avail < 30 ? 3 * ports_avail : 100; in random_sock()733 port = htons(daemon->min_port + (port % ((unsigned short)ports_avail))); in random_sock()