Searched refs:socket (Results 201 - 225 of 1466) sorted by relevance

1234567891011>>

/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLServerSocketImpl.java110 * Enables/disables the TLS Channel ID extension for this server socket.
117 * Checks whether the TLS Channel ID extension is enabled for this server socket.
168 OpenSSLSocketImpl socket = new OpenSSLSocketImpl(sslParameters);
169 socket.setChannelIdEnabled(channelIdEnabled);
170 implAccept(socket);
171 return socket;
/external/iproute2/tc/
H A Dp_tcp.c18 #include <sys/socket.h>
H A Dp_udp.c18 #include <sys/socket.h>
/external/kernel-headers/original/uapi/linux/
H A Dnet_tstamp.h12 #include <linux/socket.h> /* for SO_TIMESTAMPING */
68 * packets will not received a time stamp via the socket error
/external/qemu/slirp/
H A Dsbuf.h27 void sbappend _P((struct socket *, struct mbuf *));
H A Dsocket.c15 static void sofcantrcvmore(struct socket *so);
16 static void sofcantsendmore(struct socket *so);
26 struct socket *
27 solookup(struct socket *head, struct in_addr laddr, u_int lport,
30 struct socket *so;
41 return (struct socket *)NULL;
47 * Create a new socket, initialise the fields
51 struct socket *
54 struct socket *so;
56 so = (struct socket *)mallo
[all...]
/external/qemu/slirp-android/
H A Dsbuf.h27 void sbappend _P((struct socket *, struct mbuf *));
H A Dsocket.c20 static void sofcantrcvmore(struct socket *so);
21 static void sofcantsendmore(struct socket *so);
31 struct socket *
32 solookup(struct socket *head, uint32_t laddr, u_int lport,
35 struct socket *so;
46 return (struct socket *)NULL;
52 * Create a new socket, initialise the fields
56 struct socket *
59 struct socket *so;
61 so = (struct socket *)mallo
[all...]
/external/chromium_org/base/
H A Dasync_socket_io_handler.h14 // Extends the CancelableSyncSocket class to allow reading from a socket
17 // require a separate thread to read from the socket.
23 // SocketReader(base::CancelableSyncSocket* socket)
24 // : socket_(socket), buffer_() {
64 // thread's message loop (must be TYPE_IO), to do async reads from the socket
67 bool Initialize(base::SyncSocket::Handle socket,
70 // Attempts to read from the socket. The return value will be |false|
84 virtual void OnFileCanWriteWithoutBlocking(int socket) OVERRIDE {}
85 virtual void OnFileCanReadWithoutBlocking(int socket) OVERRIDE;
100 // |true| iff the message loop is watching the socket fo
[all...]
H A Dasync_socket_io_handler_win.cc58 bool AsyncSocketIoHandler::Initialize(base::SyncSocket::Handle socket, argument
65 socket_ = socket;
68 base::MessageLoopForIO::current()->RegisterIOHandler(socket, this);
/external/chromium_org/chrome/test/chromedriver/server/
H A Dserver.py7 import socket namespace
49 socket.create_connection(('127.0.0.1', port), 0.2).close()
50 except socket.error:
/external/chromium_org/device/bluetooth/
H A Dbluetooth_l2cap_channel_mac.h22 // Creates a new L2CAP channel wrapper with the given |socket| and native
25 BluetoothL2capChannelMac(BluetoothSocketMac* socket,
34 BluetoothSocketMac* socket,
40 virtual void SetSocket(BluetoothSocketMac* socket) OVERRIDE;
H A Dbluetooth_rfcomm_channel_mac.h22 // Creates a new RFCOMM channel wrapper with the given |socket| and native
25 BluetoothRfcommChannelMac(BluetoothSocketMac* socket,
34 BluetoothSocketMac* socket,
40 virtual void SetSocket(BluetoothSocketMac* socket) OVERRIDE;
/external/chromium_org/net/socket/
H A Dwebsocket_endpoint_lock_manager.h16 #include "net/socket/websocket_transport_client_socket_pool.h"
40 // Records the IPEndPoint associated with a particular socket. This is
43 // UnlockSocket() or UnlockEndpoint() is called. The |socket| pointer must not
46 void RememberSocket(StreamSocket* socket, const IPEndPoint& endpoint);
48 // Releases the lock on the endpoint that was associated with |socket| by
49 // RememberSocket(). If appropriate, triggers the next socket connection.
50 // Should be called exactly once for each |socket| that was passed to
53 void UnlockSocket(StreamSocket* socket);
56 // Removes any socket association that was recorded with RememberSocket(). If
88 StreamSocket* socket; member in struct:net::WebSocketEndpointLockManager::LockInfo
[all...]
/external/chromium_org/net/third_party/nss/ssl/
H A Dsslreveal.c13 /* given PRFileDesc, returns a copy of certificate associated with the socket
33 /* given PRFileDesc, returns a pointer to PinArg associated with the socket
51 /* given PRFileDesc, returns a pointer to the URL associated with the socket
74 SSL_HandshakeNegotiatedExtension(PRFileDesc * socket, argument
86 sslsocket = ssl_FindSocket(socket);
88 SSL_DBG(("%d: SSL[%d]: bad socket in HandshakeNegotiatedExtension",
89 SSL_GETPID(), socket));
98 /* now we know this socket went through ssl3_InitState() and
/external/chromium_org/remoting/base/
H A Dsocket_reader.cc13 #include "net/socket/socket.h"
29 void SocketReader::Init(net::Socket* socket, argument
31 DCHECK(socket);
34 socket_ = socket;
/external/chromium_org/third_party/webrtc/base/
H A Dautodetectproxy.h71 void OnConnectEvent(AsyncSocket * socket);
72 void OnReadEvent(AsyncSocket * socket);
73 void OnCloseEvent(AsyncSocket * socket, int error);
H A Dssladapter_unittest.cc26 rtc::AsyncSocket* socket = rtc::Thread::Current()-> local
30 socket->Bind(address);
32 return socket;
43 rtc::AsyncSocket* socket = CreateSocket(ssl_mode_); local
45 ssl_adapter_.reset(rtc::SSLAdapter::Create(socket));
89 void OnSSLAdapterReadEvent(rtc::AsyncSocket* socket) { argument
93 int read = socket->Recv(buffer, sizeof(buffer) - 1);
103 void OnSSLAdapterCloseEvent(rtc::AsyncSocket* socket, int error) { argument
105 // closing the socket! Let's close the socket her
173 OnServerSocketReadEvent(rtc::AsyncSocket* socket) argument
[all...]
H A Dtestclient.h35 // Creates a client that will send and receive with the given socket and
37 explicit TestClient(AsyncPacketSocket* socket);
43 // Checks that the socket moves to the specified connect state.
46 // Checks that the socket is connected to the remote side.
51 // Sends using the clients socket.
54 // Sends using the clients socket to the given destination.
78 // Slot for packets read on the socket.
79 void OnPacket(AsyncPacketSocket* socket, const char* buf, size_t len,
82 void OnReadyToSend(AsyncPacketSocket* socket);
/external/chromium_org/tools/telemetry/telemetry/core/forwarders/
H A Ddo_nothing_forwarder.py7 import socket namespace
73 with contextlib.closing(socket.socket()) as s:
/external/compiler-rt/test/tsan/
H A Dfd_socket_connect_norace.cc7 #include <sys/socket.h>
15 int c = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
26 int s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
H A Dfd_socket_norace.cc7 #include <sys/socket.h>
16 int c = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
30 int s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
/external/sepolicy/
H A Daccess_vectors34 # Define a common prefix for socket access vectors.
37 common socket
50 # socket-specific
222 class socket
223 inherits socket
226 inherits socket
236 inherits socket
242 inherits socket
277 inherits socket
280 inherits socket
[all...]
/external/strace/tests/
H A Dnet-accept-connect.c6 #include <sys/socket.h>
22 assert(socket(PF_LOCAL, SOCK_STREAM, 0) == 0);
40 assert(socket(PF_LOCAL, SOCK_STREAM, 0) == 1);
/external/valgrind/main/memcheck/tests/
H A Dsendmsg.c6 #include <sys/socket.h>
18 fd = socket (AF_INET, SOCK_DGRAM, 0);
21 perror ("socket()");
51 fd = socket (AF_INET, SOCK_DGRAM, 0);
54 perror ("socket()");

Completed in 358 milliseconds

1234567891011>>