Home
last modified time | relevance | path

Searched refs:raw_socket (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dtestrelayserver.h69 rtc::AsyncSocket* raw_socket = socket->Accept(NULL); in OnAccept() local
70 if (raw_socket) { in OnAccept()
72 (!ssl) ? raw_socket : in OnAccept()
73 new rtc::AsyncSSLServerSocket(raw_socket), false); in OnAccept()
/external/webrtc/webrtc/base/
Dtestechoserver.h44 AsyncSocket* raw_socket = socket->Accept(NULL); in OnAccept() local
45 if (raw_socket) { in OnAccept()
46 AsyncTCPSocket* packet_socket = new AsyncTCPSocket(raw_socket, false); in OnAccept()
/external/autotest/client/bin/net/
Dnet_utils_unittest.py91 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
891 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1025 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1027 sock = net_utils.raw_socket('eth0')
1047 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1049 sock = net_utils.raw_socket('eth0')
1063 sock = net_utils.raw_socket('eth0')
1075 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1077 sock = net_utils.raw_socket('eth0')
1093 sock = net_utils.raw_socket('eth0')
[all …]
Dnet_utils.py126 self._socket.bind((name, raw_socket.ETH_P_ALL))
386 self._socket.bind((self._name, raw_socket.ETH_P_ALL))
462 class raw_socket(object): class
474 self._socket_timeout = raw_socket.SOCKET_TIMEOUT
557 time_left -= raw_socket.SOCKET_TIMEOUT
561 time_left -= raw_socket.SOCKET_TIMEOUT