/external/webrtc/webrtc/base/ |
socketaddresspair.h | 14 #include "webrtc/base/socketaddress.h" 24 SocketAddressPair(const SocketAddress& srs, const SocketAddress& dest); 26 const SocketAddress& source() const { return src_; } 27 const SocketAddress& destination() const { return dest_; } 35 SocketAddress src_; 36 SocketAddress dest_;
|
asyncresolverinterface.h | 15 #include "webrtc/base/socketaddress.h" 26 virtual void Start(const SocketAddress& addr) = 0; 28 virtual bool GetResolvedAddress(int family, SocketAddress* addr) const = 0; 35 SocketAddress address() const { 36 SocketAddress addr;
|
natsocketfactory.h | 19 #include "webrtc/base/socketaddress.h" 32 const SocketAddress& local_addr, SocketAddress* nat_addr) = 0; 40 NATSocketFactory(SocketFactory* factory, const SocketAddress& nat_udp_addr, 41 const SocketAddress& nat_tcp_addr); 52 const SocketAddress& local_addr, 53 SocketAddress* nat_addr) override; 57 SocketAddress nat_udp_addr_; 58 SocketAddress nat_tcp_addr_; 81 class TranslatorMap : private std::map<SocketAddress, Translator*> [all...] |
socketaddress.h | 28 class SocketAddress { 31 SocketAddress(); 35 SocketAddress(const std::string& hostname, int port); 39 SocketAddress(uint32_t ip_as_host_order_integer, int port); 42 SocketAddress(const IPAddress& ip, int port); 45 SocketAddress(const SocketAddress& addr); 57 SocketAddress& operator=(const SocketAddress& addr); 125 friend std::ostream& operator<<(std::ostream& os, const SocketAddress& addr) [all...] |
natserver.h | 26 // Change how routes (socketaddress pairs) are compared based on the type of 41 size_t operator()(const SocketAddress& r) const; 42 bool operator()(const SocketAddress& r1, const SocketAddress& r2) const; 64 const SocketAddress& internal_udp_addr, 65 const SocketAddress& internal_tcp_addr, 66 SocketFactory* external, const SocketAddress& external_ip); 69 SocketAddress internal_udp_address() const { 73 SocketAddress internal_tcp_address() const { 79 size_t size, const SocketAddress& addr [all...] |
socketaddress.cc | 11 #include "webrtc/base/socketaddress.h" 41 SocketAddress::SocketAddress() { 45 SocketAddress::SocketAddress(const std::string& hostname, int port) { 50 SocketAddress::SocketAddress(uint32_t ip_as_host_order_integer, int port) { 55 SocketAddress::SocketAddress(const IPAddress& ip, int port) { 60 SocketAddress::SocketAddress(const SocketAddress& addr) [all...] |
virtualsocketserver.h | 121 bool CloseTcpConnections(const SocketAddress& addr_local, 122 const SocketAddress& addr_remote); 132 int Bind(VirtualSocket* socket, SocketAddress* addr); 135 int Bind(VirtualSocket* socket, const SocketAddress& addr); 138 VirtualSocket* LookupBinding(const SocketAddress& addr); 140 int Unbind(const SocketAddress& addr, VirtualSocket* socket); 143 void AddConnection(const SocketAddress& client, 144 const SocketAddress& server, 148 VirtualSocket* LookupConnection(const SocketAddress& client, 149 const SocketAddress& server) [all...] |
asyncudpsocket.h | 28 const SocketAddress& bind_address); 32 const SocketAddress& bind_address); 36 SocketAddress GetLocalAddress() const override; 37 SocketAddress GetRemoteAddress() const override; 43 const SocketAddress& addr,
|
testclient.h | 26 Packet(const SocketAddress& a, const char* b, size_t s); 30 SocketAddress addr; 43 SocketAddress address() const { return socket_->GetLocalAddress(); } 44 SocketAddress remote_address() const { return socket_->GetRemoteAddress(); } 58 int SendTo(const char* buf, size_t size, const SocketAddress& dest); 67 bool CheckNextPacket(const char* buf, size_t len, SocketAddress* addr); 84 const SocketAddress& remote_addr,
|
macasyncsocket.h | 36 SocketAddress GetLocalAddress() const override; 37 SocketAddress GetRemoteAddress() const override; 38 int Bind(const SocketAddress& addr) override; 39 int Connect(const SocketAddress& addr) override; 43 const SocketAddress& addr) override; 45 int RecvFrom(void* buffer, size_t length, SocketAddress* out_addr) override; 47 MacAsyncSocket* Accept(SocketAddress* out_addr) override; 62 int DoConnect(const SocketAddress& addr); 72 // Translate the SocketAddress into a CFDataRef to pass to CF socket 74 static CFDataRef CopyCFAddress(const SocketAddress& address) [all...] |
socketaddress_unittest.cc | 16 #include "webrtc/base/socketaddress.h" 37 SocketAddress addr; 45 SocketAddress addr(IPAddress(0x01020304), 5678); 54 SocketAddress addr("1.2.3.4", 5678); 63 SocketAddress addr2(kTestV6AddrString, 1234); 75 SocketAddress addr("255.255.255.255", 5678); 84 SocketAddress addr("a.b.com", 5678); 93 SocketAddress from("1.2.3.4", 5678); 94 SocketAddress addr(from); 103 SocketAddress from("1.2.3.4", 5678) [all...] |
asyncsocket.h | 28 AsyncSocket* Accept(SocketAddress* paddr) override = 0; 53 SocketAddress GetLocalAddress() const override; 54 SocketAddress GetRemoteAddress() const override; 55 int Bind(const SocketAddress& addr) override; 56 int Connect(const SocketAddress& addr) override; 58 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override; 60 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override; 62 AsyncSocket* Accept(SocketAddress* paddr) override;
|
testclient_unittest.cc | 20 void TestUdpInternal(const SocketAddress& loopback) { 27 SocketAddress addr = client.address(), from; 34 void TestTcpInternal(const SocketAddress& loopback) { 45 SocketAddress addr = client.address(), from; 55 TestUdpInternal(SocketAddress("127.0.0.1", 0)); 65 TestUdpInternal(SocketAddress("::1", 0)); 73 TestTcpInternal(SocketAddress("127.0.0.1", 0)); 83 TestTcpInternal(SocketAddress("::1", 0));
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
ProxyDetector.java | 20 import java.net.SocketAddress; 25 * {@link java.net.SocketAddress}. This class performs network requests to resolve address names, 36 ProxyParameters proxyFor(SocketAddress targetServerAddress) throws IOException;
|
ProxySocketAddress.java | 21 import java.net.SocketAddress; 24 * A data structure to associate a {@link SocketAddress} with {@link ProxyParameters}. 26 final class ProxySocketAddress extends SocketAddress { 29 private final SocketAddress address; 33 ProxySocketAddress(SocketAddress address, ProxyParameters proxyParameters) { 42 public SocketAddress getAddress() {
|
/external/webrtc/webrtc/p2p/base/ |
stunserver.h | 33 const rtc::SocketAddress& remote_addr, 38 const rtc::SocketAddress& addr); 40 const rtc::SocketAddress& addr); 42 const rtc::SocketAddress& addr); 44 const rtc::SocketAddress& addr); 48 const StunMessage& msg, const rtc::SocketAddress& addr, 53 const rtc::SocketAddress& addr); 57 const rtc::SocketAddress& remote_addr,
|
packetsocketfactory.h | 32 virtual AsyncPacketSocket* CreateUdpSocket(const SocketAddress& address, 36 const SocketAddress& local_address, 44 const SocketAddress& local_address, 45 const SocketAddress& remote_address,
|
basicpacketsocketfactory.h | 29 AsyncPacketSocket* CreateUdpSocket(const SocketAddress& local_address, 32 AsyncPacketSocket* CreateServerTcpSocket(const SocketAddress& local_address, 36 AsyncPacketSocket* CreateClientTcpSocket(const SocketAddress& local_address, 37 const SocketAddress& remote_address, 46 const SocketAddress& local_address,
|
teststunserver.h | 15 #include "webrtc/base/socketaddress.h" 24 const rtc::SocketAddress& addr) { 34 void set_fake_stun_addr(const rtc::SocketAddress& addr) { 42 const rtc::SocketAddress& remote_addr) override { 53 rtc::SocketAddress fake_stun_addr_;
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/ |
SocketAddressValidator.java | 21 import java.net.SocketAddress; 24 * Verifies whether or not the given {@link SocketAddress} is valid. 33 public boolean isValidSocketAddress(SocketAddress address) { 43 public boolean isValidSocketAddress(SocketAddress address) { 51 boolean isValidSocketAddress(SocketAddress address);
|
/external/deqp/framework/delibs/decpp/ |
deSocket.cpp | 32 // SocketAddress 34 SocketAddress::SocketAddress (void) 41 SocketAddress::~SocketAddress (void) 46 void SocketAddress::setHost (const char* host) 49 throw std::runtime_error("SocketAddress::setHost()"); 52 void SocketAddress::setPort (int port) 55 throw std::runtime_error("SocketAddress::setPort()"); 58 void SocketAddress::setFamily (deSocketFamily family [all...] |
deSocket.hpp | 41 class SocketAddress 44 SocketAddress (void); 45 ~SocketAddress (void); 66 SocketAddress (const SocketAddress& other); 67 SocketAddress& operator= (const SocketAddress& other); 83 void listen (const SocketAddress& address); 84 Socket* accept (SocketAddress& clientAddress) { return accept(clientAddress.getPtr()); } 87 void connect (const SocketAddress& address) [all...] |
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
Grpc.java | 19 import java.net.SocketAddress; 34 public static final Attributes.Key<SocketAddress> TRANSPORT_ATTR_REMOTE_ADDR =
|
EquivalentAddressGroup.java | 20 import java.net.SocketAddress; 26 * A group of {@link SocketAddress}es that are considered equivalent when channel makes connections. 35 private final List<SocketAddress> addrs; 39 * {@link SocketAddress} docs say that the addresses are immutable, so we cache the hashCode. 46 public EquivalentAddressGroup(List<SocketAddress> addrs) { 53 public EquivalentAddressGroup(List<SocketAddress> addrs, Attributes attrs) { 65 public EquivalentAddressGroup(SocketAddress addr) { 72 public EquivalentAddressGroup(SocketAddress addr, Attributes attrs) { 79 public List<SocketAddress> getAddresses() {
|
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/ |
FakeSocketAddress.java | 19 import java.net.SocketAddress; 21 final class FakeSocketAddress extends SocketAddress {
|