Home
last modified time | relevance | path

Searched refs:main_sd (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/auxprogs/
Dvalgrind-listener.c254 int main_sd, new_sd; in main() local
297 main_sd = socket(AF_INET, SOCK_STREAM, 0); in main()
298 if (main_sd < 0) { in main()
306 if (setsockopt(main_sd, SOL_SOCKET, SO_REUSEADDR, in main()
317 if (bind(main_sd, (struct sockaddr *) &server_addr, in main()
323 res = listen(main_sd,M_CONNECTIONS); in main()
338 ufd.fd = main_sd; in main()
346 new_sd = accept(main_sd, (struct sockaddr *)&client_addr, in main()
Dvalgrind-di-server.c1068 int main_sd, new_sd; in main() local
1105 main_sd = socket(AF_INET, SOCK_STREAM, 0); in main()
1106 if (main_sd < 0) { in main()
1114 if (setsockopt(main_sd, SOL_SOCKET, SO_REUSEADDR, in main()
1125 if (bind(main_sd, (struct sockaddr *) &server_addr, in main()
1131 res = listen(main_sd, M_CONNECTIONS); in main()
1151 ufd.fd = main_sd; in main()
1159 new_sd = accept(main_sd, (struct sockaddr *)&client_addr, in main()