/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
SocketStream.cpp | 40 SocketStream::SocketStream(int sock, size_t bufSize) : 42 m_sock(sock),
|
/sdk/emulator/opengl/system/OpenglSystemCommon/ |
QemuPipeStream.cpp | 32 QemuPipeStream::QemuPipeStream(int sock, size_t bufSize) : 34 m_sock(sock),
|
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 147 getHWaddr(int sock, char const *ifname, unsigned char *hwaddr) 158 if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) { 282 int sock; local 319 if ((sock = socket(AF_LOCAL, SOCK_DGRAM, 0)) < 0) { 325 if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) { 338 getHWaddr(sock, ifname, hwaddr); 344 if (ioctl(sock, SIOCGIFMTU, &ifr) < 0) { 356 if (close(sock) < 0) { 517 * sock -- socket to send to 526 sendPacket(PPPoEConnection *conn, int sock, PPPoEPacket *pkt, int size [all...] |
pppoe.h | 284 int sendPacket(PPPoEConnection *conn, int sock, PPPoEPacket *pkt, int size); 285 int receivePacket(int sock, PPPoEPacket *pkt, int *size); 296 void asyncReadFromEth(PPPoEConnection *conn, int sock, int clampMss); 297 void syncReadFromEth(PPPoEConnection *conn, int sock, int clampMss);
|
/external/qemu/android/protocol/ |
core-commands-proxy.c | 35 int sock; member in struct:CoreCmdProxy 329 _coreCmdProxy.sock = core_connection_get_socket(_coreCmdProxy.core_connection); 330 _coreCmdProxy.sync_writer = syncsocket_init(_coreCmdProxy.sock); 336 _coreCmdProxy.sync_reader = syncsocket_init(_coreCmdProxy.sock);
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_none.c | 58 static void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) 64 /* TODO: receive frame (e.g., recv() using sock */
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_none.c | 52 static void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) 58 /* TODO: receive frame (e.g., recv() using sock */
|
/hardware/ti/wlan/wl1271/platforms/os/linux/inc/ |
WlanDrvIf.h | 116 struct sock *wl_sock; /* The OS socket used for sending it the driver events */
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 144 int sock; local 167 sock = socket(AF_UNIX, SOCK_STREAM, 0); 168 if (sock < 0) { 172 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); 177 if (TEMP_FAILURE_RETRY(connect(sock, (const struct sockaddr*) (void*) &proxy_addr, 179 close(sock); 184 proxy = fdopen(sock,"r+");
|
/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...] |
/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)
|
/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/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;
|
/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
|