/external/bluetooth/bluedroid/hci/src/ |
btsnoop.c | 445 static int s_listen = -1; variable 461 s_listen = socket(AF_INET, SOCK_STREAM, 0); 463 if (s_listen < 0) 465 ALOGE("listener not created: listen fd %d", s_listen); 477 result = setsockopt(s_listen, SOL_SOCKET, SO_REUSEADDR, &n, sizeof(n)); 484 result = bind(s_listen, (struct sockaddr *) &servaddr, srvlen); 489 result = listen(s_listen, 1); 496 s = accept(s_listen, (struct sockaddr *) &cliaddr, &clilen); 536 if (s_listen > 0) 537 close(s_listen); [all...] |
/external/netperf/ |
nettest_sdp.c | 1572 SOCKET s_listen,s_data; local 1915 SOCKET s_listen,s_data; local 2999 SOCKET s_listen,s_data; local [all...] |
nettest_bsd.c | 4232 SOCKET s_listen,s_data; local 4573 SOCKET s_listen,s_data; local 7549 SOCKET s_listen,s_data; local 8647 SOCKET s_listen,s_data; local 9685 SOCKET s_listen,s_data; local 10758 SOCKET s_listen,s_data; local 11731 SOCKET s_listen,s_data; local [all...] |
nettest_unix.c | 714 SOCKET s_listen,s_data; 804 s_listen = create_unix_socket(AF_UNIX, 807 if (s_listen == INVALID_SOCKET) { 824 if (bind(s_listen, 829 close(s_listen); 873 if (listen(s_listen, 5) == SOCKET_ERROR) { 875 close(s_listen); 883 if (getsockname(s_listen, 887 close(s_listen); 922 if ((s_data=accept(s_listen, 709 SOCKET s_listen,s_data; local 3031 SOCKET s_listen,s_data; local [all...] |
nettest_xti.c | 1249 SOCKET s_listen,s_data; local 4539 SOCKET s_listen,s_data; local 5550 SOCKET s_listen,s_data; local [all...] |
nettest_sctp.c | 1066 int s_listen,s_data; local 3268 int s_listen, s_data; local [all...] |
nettest_dlpi.c | 3331 SOCKET s_listen,data_descriptor; local [all...] |