/external/kernel-headers/original/asm-x86/ |
H A D | socket.h | 1 #include <asm-generic/socket.h>
|
/external/qemu/slirp/ |
H A D | socket.h | 17 * Our socket structure 20 struct socket { struct 21 struct socket *so_next,*so_prev; /* For a linked list of sockets */ 23 int s; /* The actual socket */ 38 u_int8_t so_emu; /* Is the socket emulated? */ 40 u_char so_type; /* Type of socket, UDP or TCP */ 44 u_int so_expire; /* When the socket will expire */ 46 int so_queued; /* Number of packets queued from this socket */ 72 #define SS_FACCEPTONCE 0x200 /* If set, the SS_FACCEPTCONN socket will die after one accept */ 74 extern struct socket tc [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | basicpacketsocketfactory.cc | 56 talk_base::AsyncSocket* socket = local 58 if (!socket) { 61 if (BindSocket(socket, address, min_port, max_port) < 0) { 63 << socket->GetError(); 64 delete socket; 67 return new talk_base::AsyncUDPSocket(socket); 73 talk_base::AsyncSocket* socket = local 75 if (!socket) { 79 if (BindSocket(socket, local_address, min_port, max_port) < 0) { 81 << socket 97 talk_base::AsyncSocket* socket = local 136 BindSocket( AsyncSocket* socket, const SocketAddress& local_address, int min_port, int max_port) argument [all...] |
H A D | socketstream.h | 41 explicit SocketStream(AsyncSocket* socket); 44 void Attach(AsyncSocket* socket); 60 void OnConnectEvent(AsyncSocket* socket); 61 void OnReadEvent(AsyncSocket* socket); 62 void OnWriteEvent(AsyncSocket* socket); 63 void OnCloseEvent(AsyncSocket* socket, int err);
|
H A D | ssladapter.h | 39 SSLAdapter(AsyncSocket* socket) argument 40 : AsyncSocketAdapter(socket), ignore_bad_cert_(false) { } 46 // If StartSSL is called while the socket is closed or connecting, the SSL 47 // negotiation will begin as soon as the socket connects. 51 static SSLAdapter* Create(AsyncSocket* socket);
|
/external/apache-http/src/org/apache/http/impl/ |
H A D | SocketHttpClientConnection.java | 61 private Socket socket = null; field in class:SocketHttpClientConnection 80 final Socket socket, 83 return new SocketInputBuffer(socket, buffersize, params); 87 final Socket socket, 90 return new SocketOutputBuffer(socket, buffersize, params); 94 final Socket socket, 96 if (socket == null) { 102 this.socket = socket; 107 createSessionInputBuffer(socket, buffersiz 79 createSessionInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument 86 createSessionOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument 93 bind( final Socket socket, final HttpParams params) argument [all...] |
H A D | SocketHttpServerConnection.java | 61 private Socket socket = null; field in class:SocketHttpServerConnection 80 final Socket socket, 83 return new SocketInputBuffer(socket, buffersize, params); 87 final Socket socket, 90 return new SocketOutputBuffer(socket, buffersize, params); 93 protected void bind(final Socket socket, final HttpParams params) throws IOException { argument 94 if (socket == null) { 100 this.socket = socket; 105 createHttpDataReceiver(socket, buffersiz 79 createHttpDataReceiver( final Socket socket, int buffersize, final HttpParams params) argument 86 createHttpDataTransmitter( final Socket socket, int buffersize, final HttpParams params) argument [all...] |
H A D | DefaultHttpClientConnection.java | 56 final Socket socket, 58 if (socket == null) { 65 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params)); 66 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); 70 socket.setSoLinger(linger > 0, linger); 72 super.bind(socket, params); 55 bind( final Socket socket, final HttpParams params) argument
|
H A D | DefaultHttpServerConnection.java | 55 public void bind(final Socket socket, final HttpParams params) throws IOException { argument 56 if (socket == null) { 63 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params)); 64 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); 68 socket.setSoLinger(linger > 0, linger); 70 super.bind(socket, params);
|
/external/qemu/slirp-android/ |
H A D | socket.h | 17 * Our socket structure 20 struct socket { struct 21 struct socket *so_next,*so_prev; /* For a linked list of sockets */ 23 int s; /* The actual socket */ 39 u_int8_t so_emu; /* Is the socket emulated? */ 41 u_char so_type; /* Type of socket, UDP or TCP */ 45 u_int so_expire; /* When the socket will expire */ 47 int so_queued; /* Number of packets queued from this socket */ 73 #define SS_FACCEPTONCE 0x200 /* If set, the SS_FACCEPTCONN socket will die after one accept */ 77 extern struct socket tc [all...] |
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
H A D | Socks5BytestreamSession.java | 35 /* the underlying socket of the SOCKS5 Bytestream */
36 private final Socket socket;
field in class:Socks5BytestreamSession 41 protected Socks5BytestreamSession(Socket socket, boolean isDirect) {
argument 42 this.socket = socket;
69 return this.socket.getInputStream();
73 return this.socket.getOutputStream();
78 return this.socket.getSoTimeout();
87 this.socket.setSoTimeout(timeout);
95 this.socket [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
H A D | basicpacketsocketfactory.cc | 62 talk_base::AsyncSocket* socket = local 65 if (!socket) { 68 if (BindSocket(socket, address, min_port, max_port) < 0) { 70 << socket->GetError(); 71 delete socket; 74 return new talk_base::AsyncUDPSocket(socket); 86 talk_base::AsyncSocket* socket = local 89 if (!socket) { 93 if (BindSocket(socket, local_address, min_port, max_port) < 0) { 95 << socket 126 talk_base::AsyncSocket* socket = local 177 BindSocket( AsyncSocket* socket, const SocketAddress& local_address, int min_port, int max_port) argument [all...] |
/external/chromium_org/net/socket/ |
H A D | ssl_server_socket_openssl.cc | 6 #include "net/socket/ssl_server_socket.h" 19 SSLServerSocket* CreateSSLServerSocket(StreamSocket* socket, argument 24 delete socket;
|
/external/chromium_org/tools/android/common/ |
H A D | net.h | 14 int DisableNagle(int socket); 17 int DeferAccept(int socket);
|
H A D | net.cc | 9 #include <sys/socket.h> 16 int DisableNagle(int socket) { argument 18 return setsockopt(socket, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on)); 21 int DeferAccept(int socket) { argument 23 return setsockopt(socket, IPPROTO_TCP, TCP_DEFER_ACCEPT, &on, sizeof(on));
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | socket.c | 10 int socket(int domain, int type, int protocol) { function
|
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | SocketInputBuffer.java | 54 private final Socket socket; field in class:SocketInputBuffer 57 final Socket socket, 61 if (socket == null) { 64 this.socket = socket; 70 init(socket.getInputStream(), 8192, params); 77 int oldtimeout = this.socket.getSoTimeout(); 79 this.socket.setSoTimeout(timeout); 87 socket.setSoTimeout(oldtimeout); 106 int oldTimeout = this.socket 56 SocketInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument [all...] |
H A D | SocketOutputBuffer.java | 52 final Socket socket, 56 if (socket == null) { 64 init(socket.getOutputStream(), 8192, params); 51 SocketOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument
|
/external/chromium_org/third_party/tlslite/test/ |
H A D | twistedclient.py | 3 import socket namespace 5 s = socket.socket()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | proxyserver.h | 54 void OnConnectRequest(AsyncProxyServerSocket* socket, 56 void OnInternalRead(AsyncSocket* socket); 57 void OnInternalWrite(AsyncSocket* socket); 58 void OnInternalClose(AsyncSocket* socket, int err); 59 void OnExternalConnect(AsyncSocket* socket); 60 void OnExternalRead(AsyncSocket* socket); 61 void OnExternalWrite(AsyncSocket* socket); 62 void OnExternalClose(AsyncSocket* socket, int err); 64 static void Read(AsyncSocket* socket, FifoBuffer* buffer); 65 static void Write(AsyncSocket* socket, FifoBuffe 105 WrapSocket(AsyncSocket* socket) argument [all...] |
H A D | socketstream.h | 41 explicit SocketStream(AsyncSocket* socket); 44 void Attach(AsyncSocket* socket); 60 void OnConnectEvent(AsyncSocket* socket); 61 void OnReadEvent(AsyncSocket* socket); 62 void OnWriteEvent(AsyncSocket* socket); 63 void OnCloseEvent(AsyncSocket* socket, int err);
|
H A D | ssladapter.h | 39 explicit SSLAdapter(AsyncSocket* socket) argument 40 : AsyncSocketAdapter(socket), ignore_bad_cert_(false) { } 46 // If StartSSL is called while the socket is closed or connecting, the SSL 47 // negotiation will begin as soon as the socket connects. 51 static SSLAdapter* Create(AsyncSocket* socket);
|
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
H A D | Platform.java | 54 public void tagSocket(Socket socket) throws SocketException { argument 55 SocketTagger.get().tag(socket); 58 public void untagSocket(Socket socket) throws SocketException { argument 59 SocketTagger.get().untag(socket); 66 public void enableTlsExtensions(SSLSocket socket, String uriHost) { argument 67 if (socket instanceof OpenSSLSocketImpl) { 68 OpenSSLSocketImpl openSSLSocket = (OpenSSLSocketImpl) socket; 74 public void supportTlsIntolerantServer(SSLSocket socket) { argument 75 socket.setEnabledProtocols(new String[]{"SSLv3"}); 81 public byte[] getNpnSelectedProtocol(SSLSocket socket) { argument 91 setNpnProtocols(SSLSocket socket, byte[] npnProtocols) argument 115 getMtu(Socket socket) argument 129 connectSocket(Socket socket, InetSocketAddress address, int connectTimeout) argument [all...] |
/external/kernel-headers/original/linux/ |
H A D | net.h | 22 #include <asm/socket.h> 49 SS_UNCONNECTED, /* unconnected to any socket */ 51 SS_CONNECTED, /* connected to socket */ 69 * @SOCK_STREAM: stream (connection) socket 70 * @SOCK_DGRAM: datagram (conn.less) socket 71 * @SOCK_RAW: raw socket 73 * @SOCK_SEQPACKET: sequential packet socket 74 * @SOCK_DCCP: Datagram Congestion Control Protocol socket 78 * When adding some new socket type please 79 * grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket 107 struct socket { struct [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLSocketImplTest.java | 68 SSLSocket socket = null; 72 socket = new SSLSocketImpl(JSSETestData.getSSLParameters()); 73 socket.connect( 75 ((SSLSocketImpl) socket).init(); 76 socket.setUseClientMode(true); 79 final SSLSocket s = socket; 103 socket.close(); 114 if (socket != null) { 116 socket.close(); 128 SSLSocket socket [all...] |