/external/chromium/chrome/browser/ |
process_singleton_linux.cc | 217 int sock = socket(PF_UNIX, SOCK_STREAM, 0); local 218 PCHECK(sock >= 0) << "socket() failed"; 220 int rv = SetNonBlocking(sock); 222 rv = SetCloseOnExec(sock); 225 return sock; 229 void SetupSocket(const std::string& path, int* sock, struct sockaddr_un* addr) { 230 *sock = SetupSocketOnly(); 916 int sock; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageChannel.java | 391 ((UDPMessageProcessor)this.messageProcessor).sock.send(keepalive); 705 DatagramSocket sock; local 713 sock = ((UDPMessageProcessor) messageProcessor).sock; 718 // sock = new DatagramSocket(0,sipStack.stackInetAddress); 721 sock = new DatagramSocket(); 724 sock.send(reply); 726 sock.close(); 769 DatagramSocket sock; local 771 sock = ((UDPMessageProcessor) messageProcessor).sock [all...] |
/external/wpa_supplicant/ |
driver_madwifi.c | 46 int sock; member in struct:wpa_driver_madwifi_data 72 if (ioctl(drv->sock, op, &iwr) < 0) { 155 if (ioctl(drv->sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { 175 if (ioctl(drv->sock, IEEE80211_IOCTL_SETOPTIE, &iwr) < 0) { 431 if (ioctl(drv->sock, SIOCSIWSCAN, &iwr) < 0) { 494 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 495 if (drv->sock < 0) 513 close(drv->sock); 545 close(drv->sock);
|
driver_atmel.c | 55 int sock; member in struct:wpa_driver_atmel_data 113 if (ioctl(drv->sock, ATMEL_WPA_IOCTL, &iwr) < 0) { 136 if (ioctl(drv->sock, ATMEL_WPA_IOCTL_PARAM, &iwr) < 0) { 472 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 473 if (drv->sock < 0) { 487 close(drv->sock);
|
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_6/wpa_supplicant/src/drivers/ |
driver_madwifi.c | 55 int sock; member in struct:wpa_driver_madwifi_data 82 if (ioctl(drv->sock, op, &iwr) < 0) { 165 if (ioctl(drv->sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { 185 if (ioctl(drv->sock, IEEE80211_IOCTL_SETOPTIE, &iwr) < 0) { 441 if (ioctl(drv->sock, SIOCSIWSCAN, &iwr) < 0) { 527 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 528 if (drv->sock < 0) 546 close(drv->sock); 578 close(drv->sock);
|
driver_atmel.c | 54 int sock; member in struct:wpa_driver_atmel_data 112 if (ioctl(drv->sock, ATMEL_WPA_IOCTL, &iwr) < 0) { 135 if (ioctl(drv->sock, ATMEL_WPA_IOCTL_PARAM, &iwr) < 0) { 469 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 470 if (drv->sock < 0) { 484 close(drv->sock);
|
/external/kernel-headers/original/linux/sunrpc/ |
xprt.h | 123 struct socket * sock; /* BSD socket layer */ member in struct:rpc_xprt 124 struct sock * inet; /* INET layer */ 205 void (*old_data_ready)(struct sock *, int); 206 void (*old_state_change)(struct sock *); 207 void (*old_write_space)(struct sock *);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
plugin.c | 190 int sock; local 197 sock = socket(AF_INET, SOCK_DGRAM, 0); 198 if (sock < 0) { 204 if (ioctl(sock, SIOCSIFMTU, &ifr) < 0) { 208 (void) close (sock);
|
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/ |
fb-updates-impl.c | 60 int sock; member in struct:FrameBufferImpl 116 ret = socket_recv(fbi->sock, fbi->reader_buffer + fbi->reader_offset, 218 fbi->sock = core_connection_get_socket(fbi->core_connection); 221 loopIo_init(fbi->io, looper, fbi->sock, 228 SyncSocket* sk = syncsocket_init(fbi->sock);
|
fb-updates-proxy.c | 53 int sock; member in struct:ProxyFramebuffer 256 proxyFb_create(int sock, const char* protocol) 264 ret->sock = sock; 276 loopIo_init(&ret->io, ret->looper, sock, _proxyFb_io_fun, ret);
|
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_8/src/drivers/ |
driver_bsd.c | 59 int sock; /* open socket for 802.11 ioctls */ member in struct:bsd_driver_data 87 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { 108 if (ioctl(drv->sock, SIOCG80211, ireq) < 0) { 149 if (ioctl(drv->sock, SIOCG80211NWID, &ifr) < 0 || 172 return ioctl(drv->sock, SIOCS80211NWID, &ifr); 187 if (ioctl(drv->sock, SIOCGIFMEDIA, &ifmr) < 0) { 206 if (ioctl(drv->sock, SIOCSIFMEDIA, &ifr) < 0) { 269 if (ioctl(drv->sock, SIOCGIFFLAGS, &ifr) < 0) { 279 if (ioctl(drv->sock, SIOCSIFFLAGS, &ifr) < 0) { 576 return ioctl(drv->sock, SIOCS80211CHANNEL, &creq) [all...] |
/external/dropbear/ |
svr-agentfwd.c | 47 static void agentaccept(struct Listener * listener, int sock); 98 static void agentaccept(struct Listener *UNUSED(listener), int sock) { 102 fd = accept(sock, NULL, NULL);
|
svr-x11fwd.c | 40 static void x11accept(struct Listener* listener, int sock); 101 static void x11accept(struct Listener* listener, int sock) { 111 fd = accept(sock, (struct sockaddr*)&addr, &len);
|
/frameworks/base/tests/CoreTests/android/core/ |
SocketTest.java | 122 Socket sock = serverSock.accept(); local 123 sock.getInputStream().read(); 124 sock.close(); 190 // Socket sock = new Socket(); 194 // sock.connect(new InetSocketAddress(NON_EXISTING_ADDRESS, 80), timeout); 204 // sock.close();
|
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
SocketStream.cpp | 40 SocketStream::SocketStream(int sock, size_t bufSize) : 42 m_sock(sock),
|
/development/tools/emulator/opengl/system/OpenglSystemCommon/ |
QemuPipeStream.cpp | 32 QemuPipeStream::QemuPipeStream(int sock, size_t bufSize) : 34 m_sock(sock),
|
/external/kernel-headers/original/linux/ |
filter.h | 144 struct sock; 147 extern int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk);
|
/external/qemu/proxy/ |
proxy_common.c | 541 int sock; local 549 sock = socket_create(addr.family, SOCKET_STREAM); 550 if (sock < 0) { 555 socket_set_nonblock(sock); 558 if (socket_connect(sock, &addr) == 0) { 561 socket_close(sock); 567 iolooper_add_write(looper, sock); 572 socket_close(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 | 58 static void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) 64 /* TODO: receive frame (e.g., recv() using sock */
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 140 int sock; local 163 sock = socket(AF_UNIX, SOCK_STREAM, 0); 164 if (sock < 0) { 168 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); 173 if (TEMP_FAILURE_RETRY(connect(sock, (const struct sockaddr*) (void*) &proxy_addr, 175 close(sock); 180 proxy = fdopen(sock,"r+");
|