Searched refs:portrange_last (Results 1 – 1 of 1) sorted by relevance
54 static int portrange_first, portrange_last; variable82 if (portrange_last == 0) { in generate_random_port()83 portrange_last = get_int_via_sysctlbyname(PORTRANGE_LAST); in generate_random_port()84 printf("Port range upper bound: %d\n", portrange_last); in generate_random_port()89 random_port = rand() % (portrange_last - portrange_first) + in generate_random_port()