HomeSort by relevance Sort by last modified time
    Searched refs:sock (Results 126 - 150 of 248) sorted by null

1 2 3 4 56 7 8 910

  /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();
  /external/chromium/net/socket/
tcp_client_socket_unittest.cc 42 virtual void DidClose(ListenSocket* sock) {}
73 ListenSocket *sock = NULL; local
82 sock = ListenSocket::Listen("127.0.0.1", port, this);
83 if (sock)
86 ASSERT_TRUE(sock != NULL);
87 listen_sock_ = sock;
  /external/ipsec-tools/src/racoon/
session.c 218 if (FD_ISSET(p->sock, &rfds))
219 isakmp_handler(p->sock);
306 if (p->sock >= FD_SETSIZE) {
310 FD_SET(p->sock, &mask0);
311 nfds = (nfds > p->sock ? nfds : p->sock);
  /external/wpa_supplicant/
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 */
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_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);
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/
filter.h 144 struct sock;
147 extern int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk);
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)
  /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/chromium/net/base/
listen_socket.h 55 virtual void DidClose(ListenSocket *sock) = 0;
  /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 */
  /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 */
  /system/wlan/ti/wilink_6_1/platforms/os/linux/inc/
WlanDrvIf.h 114 struct sock *wl_sock; /* The OS socket used for sending it the driver events */
  /dalvik/vm/jdwp/
JdwpSocket.c 274 static bool isFdReadable(int sock)
281 FD_SET(sock, &readfds);
285 count = select(sock+1, &readfds, NULL, NULL, &tv);
289 if (FD_ISSET(sock, &readfds)) /* make sure it's our fd */
344 int sock; local
353 sock = accept(netState->listenSock, &addr.addrPlain, &addrlen);
354 if (sock < 0 && errno != EINTR) {
363 } while (sock < 0);
370 netState->clientSock = sock;
  /bionic/libc/unistd/
socketcalls.c 106 int accept(int sock, struct sockaddr *adresse, socklen_t *longueur)
110 t[0] = (unsigned long) sock;
  /development/simulator/wrapsim/
SimMgr.c 640 int sock = -1; local
649 sock = socket(AF_UNIX, SOCK_STREAM, 0);
650 if (sock < 0) {
658 cc = connect(sock, (struct sockaddr*) &addr, SUN_LEN(&addr));
667 gWrapSim.simulatorFd = sock;
668 sock = -1;
674 if (sock >= 0)
675 _ws_close(sock);
  /external/strace/
Android.mk 11 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...]

Completed in 204 milliseconds

1 2 3 4 56 7 8 910