/external/wpa_supplicant/ |
driver_hostap.c | 32 int sock; member in struct:wpa_driver_hostap_data 48 if (ioctl(drv->sock, PRISM2_IOCTL_HOSTAPD, &iwr) < 0) { 95 if (ioctl(drv->sock, PRISM2_IOCTL_PRISM2_PARAM, &iwr) < 0) { 258 if (ioctl(drv->sock, PRISM2_IOCTL_RESET, &iwr) < 0) { 467 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 468 if (drv->sock < 0) { 494 close(drv->sock);
|
driver_prism54.c | 31 int sock; member in struct:wpa_driver_prism54_data 51 if (ioctl(drv->sock, PRISM54_HOSTAPD, &iwr) < 0) { 347 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 348 if (drv->sock < 0) { 362 close(drv->sock);
|
driver_bsd.c | 33 int sock; /* open socket for 802.11 ioctls */ member in struct:wpa_driver_bsd_data 54 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { 73 if (ioctl(drv->sock, SIOCG80211, &ireq) < 0) { 91 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { 108 if (ioctl(drv->sock, SIOCG80211, &ireq) < 0) { 123 if (ioctl(drv->sock, SIOCGIFFLAGS, (caddr_t)&ifr) < 0) { 139 if (ioctl(drv->sock, SIOCSIFFLAGS, (caddr_t)&ifr) < 0) { 457 wpa_driver_bsd_event_receive(int sock, void *ctx, void *sock_ctx) 468 n = read(sock, buf, sizeof(buf)); 703 drv->sock = socket(PF_INET, SOCK_DGRAM, 0) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_hostap.c | 30 int sock; member in struct:wpa_driver_hostap_data 46 if (ioctl(drv->sock, PRISM2_IOCTL_HOSTAPD, &iwr) < 0) { 93 if (ioctl(drv->sock, PRISM2_IOCTL_PRISM2_PARAM, &iwr) < 0) { 256 if (ioctl(drv->sock, PRISM2_IOCTL_RESET, &iwr) < 0) { 463 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 464 if (drv->sock < 0) { 490 close(drv->sock);
|
driver_prism54.c | 29 int sock; member in struct:wpa_driver_prism54_data 49 if (ioctl(drv->sock, PRISM54_HOSTAPD, &iwr) < 0) { 344 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 345 if (drv->sock < 0) { 359 close(drv->sock);
|
driver_bsd.c | 37 int sock; /* open socket for 802.11 ioctls */ member in struct:wpa_driver_bsd_data 58 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { 77 if (ioctl(drv->sock, SIOCG80211, &ireq) < 0) { 95 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { 112 if (ioctl(drv->sock, SIOCG80211, &ireq) < 0) { 127 if (ioctl(drv->sock, SIOCGIFFLAGS, (caddr_t)&ifr) < 0) { 143 if (ioctl(drv->sock, SIOCSIFFLAGS, (caddr_t)&ifr) < 0) { 460 wpa_driver_bsd_event_receive(int sock, void *ctx, void *sock_ctx) 471 n = read(sock, buf, sizeof(buf)); 706 drv->sock = socket(PF_INET, SOCK_DGRAM, 0) [all...] |
/frameworks/base/opengl/libs/GLES2_dbg/test/ |
test_socket.cpp | 36 int sock; member in class:SocketContextTest 40 SocketContextTest() : sock(-1) { 55 sock = socks[1]; 63 close(sock); 79 ASSERT_EQ(sizeof(len), send(sock, &len, sizeof(len), 0)); 80 ASSERT_EQ(str.length(), send(sock, str.data(), str.length(), 0)); 85 ASSERT_EQ(0, ioctl(sock, FIONREAD, &available)); 88 ASSERT_EQ(sizeof(len), recv(sock, &len, sizeof(len), 0)); 94 ASSERT_EQ(len, recv(sock, buffer, len, 0)); 105 ASSERT_EQ(0, ioctl(sock, FIONREAD, &available)) [all...] |
/external/kernel-headers/original/linux/ |
dccp.h | 369 extern int dccp_parse_options(struct sock *sk, struct sk_buff *skb); 438 * @dccps_role - Role of this sock, one of %dccp_role 475 static inline struct dccp_sock *dccp_sk(const struct sock *sk) 480 static inline struct dccp_minisock *dccp_msk(const struct sock *sk) 485 static inline int dccp_service_not_initialized(const struct sock *sk) 490 static inline const char *dccp_role(const struct sock *sk)
|
tcp.h | 164 #include <net/sock.h> 361 static inline struct tcp_sock *tcp_sk(const struct sock *sk) 375 static inline struct tcp_timewait_sock *tcp_twsk(const struct sock *sk)
|
/dalvik/vm/jdwp/ |
JdwpSocket.cpp | 278 static bool isFdReadable(int sock) 285 FD_SET(sock, &readfds); 289 count = select(sock+1, &readfds, NULL, NULL, &tv); 293 if (FD_ISSET(sock, &readfds)) /* make sure it's our fd */ 348 int sock; local 357 sock = accept(netState->listenSock, &addr.addrPlain, &addrlen); 358 if (sock < 0 && errno != EINTR) { 367 } while (sock < 0); 374 netState->clientSock = sock;
|
/external/chromium/net/socket/ |
transport_client_socket_unittest.cc | 57 virtual void DidClose(ListenSocket* sock) {} 102 ListenSocket *sock = NULL; local 111 sock = ListenSocket::Listen("127.0.0.1", port, this); 112 if (sock) 115 ASSERT_TRUE(sock != NULL); 116 listen_sock_ = sock;
|
/bionic/libc/unistd/ |
socketcalls.c | 106 int accept(int sock, struct sockaddr *adresse, socklen_t *longueur) 110 t[0] = (unsigned long) sock;
|
/external/strace/ |
Android.mk | 9 resource.c signal.c sock.c system.c term.c time.c \
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp.c | 932 int sock = -1; local 941 sock = socket(AF_INET, SOCK_DGRAM, 0); 942 if (sock < 0) 946 if (ioctl(sock, SIOCGIFADDR, &req) < 0) { 958 if (ioctl(sock, SIOCGIFHWADDR, &req) < 0) { 974 close(sock); 978 if (sock >= 0) 979 close(sock); [all...] |
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
NdefPushServer.java | 66 ConnectionThread(LlcpSocket sock) { 68 mSock = sock;
|
/external/bluetooth/bluez/health/ |
mcap_internal.h | 131 int mcap_send_data(int sock, const void *buf, uint32_t size);
|
/external/bluetooth/bluez/lib/bluetooth/ |
bnep.h | 125 int sock; /* Connected socket */ member in struct:bnep_connadd_req
|
/external/chromium/chrome/browser/debugger/ |
devtools_remote_listen_socket_unittest.h | 99 virtual bool Send(SOCKET sock, const std::string& str);
|
/external/chromium/net/base/ |
listen_socket.h | 58 virtual void DidClose(ListenSocket *sock) = 0;
|
listen_socket_unittest.cc | 177 bool ListenSocketTester::Send(SOCKET sock, const std::string& str) { 179 int send_len = HANDLE_EINTR(send(sock, str.data(), len, 0)); 203 void ListenSocketTester::DidClose(ListenSocket *sock) {
|
/external/chromium/net/server/ |
http_server.h | 61 explicit Connection(HttpServer* server, ListenSocket* sock);
|
/external/openssl/apps/ |
s_apps.h | 159 int init_client(int *sock, char *server, int port, int type);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractClientConnAdapter.java | 333 Socket sock = conn.getSocket(); local 334 if (sock instanceof SSLSocket) { 335 result = ((SSLSocket)sock).getSession();
|
/external/chromium/third_party/libjingle/source/talk/base/ |
asynctcpsocket.cc | 52 AsyncSocket* sock = factory->CreateAsyncSocket(SOCK_STREAM); local 60 return (sock) ? new AsyncTCPSocket(sock, listen) : NULL;
|
/external/dropbear/ |
svr-main.c | 33 static size_t listensockets(int *sock, size_t sockcount, int *maxfd); 395 static size_t listensockets(int *sock, size_t sockcount, int *maxfd) { 408 nsock = dropbear_listen(svr_opts.addresses[i], svr_opts.ports[i], &sock[sockpos],
|