Searched refs:main_sd (Results 1 - 2 of 2) sorted by relevance
/external/valgrind/auxprogs/ |
H A D | valgrind-listener.c | 254 int main_sd, new_sd; local 297 main_sd = socket(AF_INET, SOCK_STREAM, 0); 298 if (main_sd < 0) { 306 if (setsockopt(main_sd, SOL_SOCKET, SO_REUSEADDR, 317 if (bind(main_sd, (struct sockaddr *) &server_addr, 323 res = listen(main_sd,M_CONNECTIONS); 338 ufd.fd = main_sd; 346 new_sd = accept(main_sd, (struct sockaddr *)&client_addr,
|
H A D | valgrind-di-server.c | 1068 int main_sd, new_sd; local 1105 main_sd = socket(AF_INET, SOCK_STREAM, 0); 1106 if (main_sd < 0) { 1114 if (setsockopt(main_sd, SOL_SOCKET, SO_REUSEADDR, 1125 if (bind(main_sd, (struct sockaddr *) &server_addr, 1131 res = listen(main_sd, M_CONNECTIONS); 1151 ufd.fd = main_sd; 1159 new_sd = accept(main_sd, (struct sockaddr *)&client_addr,
|
Completed in 189 milliseconds