/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | linux_ioctl.h | 12 int linux_set_iface_flags(int sock, const char *ifname, int dev_up); 13 int linux_iface_up(int sock, const char *ifname); 14 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr); 15 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr); 16 int linux_br_add(int sock, const char *brname); 17 int linux_br_del(int sock, const char *brname); 18 int linux_br_add_if(int sock, const char *brname, const char *ifname); 19 int linux_br_del_if(int sock, const char *brname, const char *ifname);
|
H A D | linux_ioctl.c | 18 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) argument 23 if (sock < 0) 29 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { 46 if (ioctl(sock, SIOCSIFFLAGS, &ifr) != 0) { 58 int linux_iface_up(int sock, const char *ifname) argument 63 if (sock < 0) 69 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { 80 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) argument 86 if (ioctl(sock, SIOCGIFHWADDR, &ifr)) { 103 int linux_set_ifhwaddr(int sock, cons argument 136 linux_br_add(int sock, const char *brname) argument 148 linux_br_del(int sock, const char *brname) argument 160 linux_br_add_if(int sock, const char *brname, const char *ifname) argument 182 linux_br_del_if(int sock, const char *brname, const char *ifname) argument [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | linux_ioctl.h | 12 int linux_set_iface_flags(int sock, const char *ifname, int dev_up); 13 int linux_iface_up(int sock, const char *ifname); 14 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr); 15 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr); 16 int linux_br_add(int sock, const char *brname); 17 int linux_br_del(int sock, const char *brname); 18 int linux_br_add_if(int sock, const char *brname, const char *ifname); 19 int linux_br_del_if(int sock, const char *brname, const char *ifname);
|
H A D | linux_ioctl.c | 18 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) argument 23 if (sock < 0) 29 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { 46 if (ioctl(sock, SIOCSIFFLAGS, &ifr) != 0) { 58 int linux_iface_up(int sock, const char *ifname) argument 63 if (sock < 0) 69 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { 80 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) argument 86 if (ioctl(sock, SIOCGIFHWADDR, &ifr)) { 103 int linux_set_ifhwaddr(int sock, cons argument 136 linux_br_add(int sock, const char *brname) argument 148 linux_br_del(int sock, const char *brname) argument 160 linux_br_add_if(int sock, const char *brname, const char *ifname) argument 182 linux_br_del_if(int sock, const char *brname, const char *ifname) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | linux_ioctl.h | 12 int linux_set_iface_flags(int sock, const char *ifname, int dev_up); 13 int linux_iface_up(int sock, const char *ifname); 14 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr); 15 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr); 16 int linux_br_add(int sock, const char *brname); 17 int linux_br_del(int sock, const char *brname); 18 int linux_br_add_if(int sock, const char *brname, const char *ifname); 19 int linux_br_del_if(int sock, const char *brname, const char *ifname);
|
H A D | linux_ioctl.c | 18 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) argument 23 if (sock < 0) 29 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { 46 if (ioctl(sock, SIOCSIFFLAGS, &ifr) != 0) { 58 int linux_iface_up(int sock, const char *ifname) argument 63 if (sock < 0) 69 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { 80 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) argument 86 if (ioctl(sock, SIOCGIFHWADDR, &ifr)) { 103 int linux_set_ifhwaddr(int sock, cons argument 136 linux_br_add(int sock, const char *brname) argument 148 linux_br_del(int sock, const char *brname) argument 160 linux_br_add_if(int sock, const char *brname, const char *ifname) argument 182 linux_br_del_if(int sock, const char *brname, const char *ifname) argument [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | net_dgrm.h | 28 int Datagram_GetMessage (qsocket_t *sock); 29 int Datagram_SendMessage (qsocket_t *sock, sizebuf_t *data); 30 int Datagram_SendUnreliableMessage (qsocket_t *sock, sizebuf_t *data); 31 qboolean Datagram_CanSendMessage (qsocket_t *sock); 32 qboolean Datagram_CanSendUnreliableMessage (qsocket_t *sock); 33 void Datagram_Close (qsocket_t *sock);
|
H A D | net_loop.h | 27 int Loop_GetMessage (qsocket_t *sock); 28 int Loop_SendMessage (qsocket_t *sock, sizebuf_t *data); 29 int Loop_SendUnreliableMessage (qsocket_t *sock, sizebuf_t *data); 30 qboolean Loop_CanSendMessage (qsocket_t *sock); 31 qboolean Loop_CanSendUnreliableMessage (qsocket_t *sock); 32 void Loop_Close (qsocket_t *sock);
|
H A D | net_ser.h | 27 int Serial_GetMessage (qsocket_t *sock);
28 int Serial_SendMessage (qsocket_t *sock, sizebuf_t *data);
29 int Serial_SendUnreliableMessage (qsocket_t *sock, sizebuf_t *data);
30 qboolean Serial_CanSendMessage (qsocket_t *sock);
31 qboolean Serial_CanSendUnreliableMessage (qsocket_t *sock);
32 void Serial_Close (qsocket_t *sock);
|
H A D | net_loop.cpp | 127 int Loop_GetMessage (qsocket_t *sock) argument 132 if (sock->receiveMessageLength == 0) 135 ret = sock->receiveMessage[0]; 136 length = sock->receiveMessage[1] + (sock->receiveMessage[2] << 8); 139 SZ_Write (&net_message, &sock->receiveMessage[4], length); 142 sock->receiveMessageLength -= length; 144 if (sock->receiveMessageLength) 145 Q_memcpy(sock->receiveMessage, &sock 154 Loop_SendMessage(qsocket_t *sock, sizebuf_t *data) argument 188 Loop_SendUnreliableMessage(qsocket_t *sock, sizebuf_t *data) argument 220 Loop_CanSendMessage(qsocket_t *sock) argument 228 Loop_CanSendUnreliableMessage(qsocket_t *sock) argument 234 Loop_Close(qsocket_t *sock) argument [all...] |
H A D | net_vcr.h | 33 int VCR_GetMessage (qsocket_t *sock); 34 int VCR_SendMessage (qsocket_t *sock, sizebuf_t *data); 35 qboolean VCR_CanSendMessage (qsocket_t *sock); 36 void VCR_Close (qsocket_t *sock);
|
H A D | net_vcr.cpp | 77 static long getDriverDataAsLong(qsocket_t *sock) { argument 79 memcpy(&driverDataAsLong, &sock->driverdata, sizeof(long)); 83 int VCR_GetMessage (qsocket_t *sock) argument 87 if (host_time != next.time || next.op != VCR_OP_GETMESSAGE || next.session != getDriverDataAsLong(sock)) 106 int VCR_SendMessage (qsocket_t *sock, sizebuf_t *data) argument 110 if (host_time != next.time || next.op != VCR_OP_SENDMESSAGE || next.session != getDriverDataAsLong(sock)) 121 qboolean VCR_CanSendMessage (qsocket_t *sock) argument 125 if (host_time != next.time || next.op != VCR_OP_CANSENDMESSAGE || next.session != getDriverDataAsLong(sock)) 136 void VCR_Close (qsocket_t *sock) argument 154 qsocket_t *sock; local [all...] |
H A D | net_main.cpp | 87 #define sfunc net_drivers[sock->driver] 112 qsocket_t *sock; local 121 sock = net_freeSockets; 122 net_freeSockets = sock->next; 125 sock->next = net_activeSockets; 126 net_activeSockets = sock; 128 sock->disconnected = false; 129 sock->connecttime = net_time; 130 Q_strcpy (sock->address,"UNSET ADDRESS"); 131 sock 149 NET_FreeQSocket(qsocket_t *sock) argument 500 NET_Close(qsocket_t *sock) argument 540 NET_GetMessage(qsocket_t *sock) argument 625 NET_SendMessage(qsocket_t *sock, sizebuf_t *data) argument 656 NET_SendUnreliableMessage(qsocket_t *sock, sizebuf_t *data) argument 695 NET_CanSendMessage(qsocket_t *sock) argument 898 qsocket_t *sock; local [all...] |
H A D | net_dgrm.cpp | 44 #define sfunc net_landrivers[sock->landriver] 163 int Datagram_SendMessage (qsocket_t *sock, sizebuf_t *data) argument 176 if (sock->canSend == false) 180 Q_memcpy(sock->sendMessage, data->data, data->cursize); 181 sock->sendMessageLength = data->cursize; 196 packetBuffer.sequence = BigLong(sock->sendSequence++); 197 Q_memcpy (packetBuffer.data, sock->sendMessage, dataLen); 199 sock->canSend = false; 201 if (sfunc.Write (sock->socket, (byte *)&packetBuffer, packetLen, &sock 210 SendMessageNext(qsocket_t *sock) argument 243 ReSendMessage(qsocket_t *sock) argument 276 Datagram_CanSendMessage(qsocket_t *sock) argument 285 Datagram_CanSendUnreliableMessage(qsocket_t *sock) argument 291 Datagram_SendUnreliableMessage(qsocket_t *sock, sizebuf_t *data) argument 317 Datagram_GetMessage(qsocket_t *sock) argument 816 Datagram_Close(qsocket_t *sock) argument 838 qsocket_t *sock; local 1221 qsocket_t *sock; local [all...] |
/external/kernel-headers/original/linux/ |
H A D | net.h | 113 struct sock *sk; 128 int (*release) (struct socket *sock); 129 int (*bind) (struct socket *sock, 132 int (*connect) (struct socket *sock, 137 int (*accept) (struct socket *sock, 139 int (*getname) (struct socket *sock, 142 unsigned int (*poll) (struct file *file, struct socket *sock, 144 int (*ioctl) (struct socket *sock, unsigned int cmd, 146 int (*compat_ioctl) (struct socket *sock, unsigned int cmd, 148 int (*listen) (struct socket *sock, in [all...] |
/external/qemu/android/protocol/ |
H A D | fb-updates-proxy.h | 27 * sock - Socket descriptor for the service 35 ProxyFramebuffer* proxyFb_create(int sock, const char* protocol);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/ |
H A D | SocketConnector.java | 57 private Socket sock; field in class:SocketConnector 66 this.sock = new Socket(address, port); 67 remoteAddress = sock.getRemoteSocketAddress(); // for info purposes 71 sock.setTcpNoDelay(true); 73 in = sock.getInputStream(); 74 out = sock.getOutputStream(); 81 if( sock == null ) 87 if( sock == null ) 89 return sock.isConnected(); 96 Socket temp = sock; [all...] |
/external/apache-http/src/org/apache/http/conn/scheme/ |
H A D | PlainSocketFactory.java | 84 public Socket connectSocket(Socket sock, String host, int port, argument 96 if (sock == null) 97 sock = createSocket(); 107 sock.bind(isa); 119 sock.connect(remoteAddress, timeout); 123 return sock; 133 * @param sock the connected socket 139 public final boolean isSecure(Socket sock) argument 142 if (sock == null) { 148 if (sock [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/ |
H A D | UdpConnector.java | 52 private DatagramSocket sock = new DatagramSocket(); field in class:UdpConnector 70 this.sock = new DatagramSocket( localSocketAddress ); 74 sock.connect( remoteAddress ); 81 if( sock == null ) 87 if( sock == null ) 89 return sock.isConnected(); 95 DatagramSocket temp = sock; 96 sock = null; 120 sock.receive(packet); 140 sock [all...] |
/external/qemu/block/ |
H A D | nbd.c | 37 int sock; member in struct:BDRVNBDState 47 int sock; local 60 sock = unix_socket_outgoing(unixpath); 79 sock = tcp_socket_outgoing(hostname, port); 82 if (sock == -1) 85 ret = nbd_receive_negotiate(sock, &size, &blocksize); 89 s->sock = sock; 108 if (nbd_send_request(s->sock, &request) == -1) 111 if (nbd_receive_reply(s->sock, [all...] |
/external/apache-http/src/org/apache/http/conn/ |
H A D | MultihomePlainSocketFactory.java | 90 * @param sock socket to connect to any of the given addresses 100 public Socket connectSocket(Socket sock, String host, int port, argument 112 if (sock == null) 113 sock = createSocket(); 123 sock.bind(isa); 136 sock.connect(new InetSocketAddress(address, port), timeout); 142 sock = new Socket(); 150 return sock; 159 * @param sock the connected socket 165 public final boolean isSecure(Socket sock) argument [all...] |
/external/webkit/Tools/BuildSlaveSupport/ |
H A D | run-performance-tests | 59 my $sock = new IO::Socket::INET(LocalHost => $perfMaster, 64 die "Could not create socket for port $reportPort: $!\n" unless $sock; 70 my $new_sock = $sock->accept(); 74 close($sock);
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
H A D | eloop.h | 45 * @sock: File descriptor number for the socket 49 typedef void (*eloop_sock_handler)(int sock, void *eloop_ctx, void *sock_ctx); 90 * @sock: File descriptor number for the socket 102 int eloop_register_read_sock(int sock, eloop_sock_handler handler, 107 * @sock: File descriptor number for the socket 112 void eloop_unregister_read_sock(int sock); 116 * @sock: File descriptor number for the socket 129 int eloop_register_sock(int sock, eloop_event_type type, 135 * @sock: File descriptor number for the socket 136 * @type: Type of event for which sock wa [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | eloop.h | 39 * @sock: File descriptor number for the socket 43 typedef void (*eloop_sock_handler)(int sock, void *eloop_ctx, void *sock_ctx); 78 * @sock: File descriptor number for the socket 90 int eloop_register_read_sock(int sock, eloop_sock_handler handler, 95 * @sock: File descriptor number for the socket 100 void eloop_unregister_read_sock(int sock); 104 * @sock: File descriptor number for the socket 117 int eloop_register_sock(int sock, eloop_event_type type, 123 * @sock: File descriptor number for the socket 124 * @type: Type of event for which sock wa [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | eloop.h | 39 * @sock: File descriptor number for the socket 43 typedef void (*eloop_sock_handler)(int sock, void *eloop_ctx, void *sock_ctx); 78 * @sock: File descriptor number for the socket 90 int eloop_register_read_sock(int sock, eloop_sock_handler handler, 95 * @sock: File descriptor number for the socket 100 void eloop_unregister_read_sock(int sock); 104 * @sock: File descriptor number for the socket 117 int eloop_register_sock(int sock, eloop_event_type type, 123 * @sock: File descriptor number for the socket 124 * @type: Type of event for which sock wa [all...] |