Searched refs:fd_base (Results 1 – 1 of 1) sorted by relevance
52 int fd_base; variable187 fd = fd_base + arc4random_uniform(fd_num); in thread_close()205 fd = fd_base + arc4random_uniform(fd_num); in thread_bind()223 fd = fd_base + arc4random_uniform(fd_num); in thread_connect()419 fd_base = socket(af, type, proto); in main()420 if (fd_base < 0) in main()422 if (fd_base > INT_MAX - (int)fd_num) in main()423 err(1, "fd base %d and num %u overflow", fd_base, fd_num); in main()425 if (bind(fd_base, &su.su_sa, su.su_sa.sa_len) < 0) in main()427 if (closefrom(fd_base) < 0) in main()[all …]