/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)
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
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...] |
driver_ipw.c | 33 int sock; member in struct:wpa_driver_ipw_data 106 if (ioctl(drv->sock, IPW_IOCTL_WPA_SUPPLICANT, &iwr) < 0) { 424 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 425 if (drv->sock < 0) { 439 close(drv->sock);
|
/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;
|
/external/wpa_supplicant_8/src/drivers/ |
driver_hostap.c | 41 int sock; /* raw packet socket for driver access */ member in struct:hostap_driver_data 209 static void handle_read(int sock, void *eloop_ctx, void *sock_ctx) 215 len = recv(sock, buf, sizeof(buf), 0); 230 drv->sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); 231 if (drv->sock < 0) { 236 if (eloop_register_read_sock(drv->sock, handle_read, drv, NULL)) { 243 if (ioctl(drv->sock, SIOCGIFINDEX, &ifr) != 0) { 258 if (bind(drv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 263 return linux_get_ifhwaddr(drv->sock, drv->iface, own_addr); 275 res = send(drv->sock, msg, len, 0) [all...] |
/bionic/libc/unistd/ |
socketcalls.c | 106 int accept(int sock, struct sockaddr *adresse, socklen_t *longueur) 110 t[0] = (unsigned long) sock;
|
/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/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/mdnsresponder/mDNSShared/ |
dnsextd.h | 112 TCPSocket * sock; member in struct:EventSource
|
/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],
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_common.c | 81 static void process_watch_exception(int sock, void *eloop_ctx, void *sock_ctx) 87 static void process_watch_read(int sock, void *eloop_ctx, void *sock_ctx) 93 static void process_watch_write(int sock, void *eloop_ctx, void *sock_ctx)
|
/external/openssh/ |
clientloop.c | 1699 int remote_id, sock; local 1768 int sock; local 1807 int sock; local [all...] |
ssh-agent.c | 1000 int len, sock; local 1012 sock = accept(sockets[i].fd, 1014 if (sock < 0) { 1019 if (getpeereid(sock, &euid, &egid) < 0) { 1021 sock, strerror(errno)); 1022 close(sock); 1029 close(sock); 1032 new_socket(AUTH_CONNECTION, sock); 1130 int sock, fd, ch, result, saved_errno; local 1255 sock = socket(AF_UNIX, SOCK_STREAM, 0) [all...] |
/external/stressapptest/src/ |
worker.h | 507 virtual bool CloseSocket(int sock); 508 virtual bool Connect(int sock); 509 virtual bool SendPage(int sock, struct page_entry *src); 510 virtual bool ReceivePage(int sock, struct page_entry *dst); 523 virtual void SetSock(int sock);
|
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 415 p->sock = q->sock; 417 p->sock = -1; 531 p->sock = q->sock; 533 p->sock = -1; 916 return p->sock;
|