Searched refs:main_sd (Results 1 – 1 of 1) sorted by relevance
/external/valgrind/main/auxprogs/ |
D | valgrind-listener.c | 238 int main_sd, new_sd; in main() local 266 main_sd = socket(AF_INET, SOCK_STREAM, 0); in main() 267 if (main_sd < 0) { in main() 275 if (setsockopt(main_sd, SOL_SOCKET, SO_REUSEADDR, in main() 286 if (bind(main_sd, (struct sockaddr *) &server_addr, in main() 292 res = listen(main_sd,M_CONNECTIONS); in main() 307 ufd.fd = main_sd; in main() 315 new_sd = accept(main_sd, (struct sockaddr *)&client_addr, in main()
|