Home
last modified time | relevance | path

Searched refs:SocketAddress (Results 1 – 25 of 108) sorted by relevance

12345

/external/chromium/third_party/libjingle/source/talk/base/
Dsocketaddress.cc60 SocketAddress::SocketAddress() { in SocketAddress() function in talk_base::SocketAddress
64 SocketAddress::SocketAddress(const std::string& hostname, int port) { in SocketAddress() function in talk_base::SocketAddress
69 SocketAddress::SocketAddress(uint32 ip, int port) { in SocketAddress() function in talk_base::SocketAddress
74 SocketAddress::SocketAddress(const SocketAddress& addr) { in SocketAddress() function in talk_base::SocketAddress
78 void SocketAddress::Clear() { in Clear()
84 bool SocketAddress::IsNil() const { in IsNil()
88 bool SocketAddress::IsComplete() const { in IsComplete()
92 SocketAddress& SocketAddress::operator=(const SocketAddress& addr) { in operator =()
99 void SocketAddress::SetIP(uint32 ip) { in SetIP()
104 void SocketAddress::SetIP(const std::string& hostname) { in SetIP()
[all …]
Dsocketaddress.h43 class SocketAddress {
46 SocketAddress();
53 SocketAddress(const std::string& hostname, int port);
56 SocketAddress(uint32 ip, int port);
59 SocketAddress(const SocketAddress& addr);
71 SocketAddress& operator=(const SocketAddress& addr);
108 friend std::ostream& operator<<(std::ostream& os, const SocketAddress& addr);
137 bool operator ==(const SocketAddress& addr) const;
138 inline bool operator !=(const SocketAddress& addr) const {
143 bool operator <(const SocketAddress& addr) const;
[all …]
Dfirewallsocketserver.h70 const SocketAddress& addr = SocketAddress());
72 const SocketAddress& src, const SocketAddress& dst);
76 const SocketAddress& src, const SocketAddress& dst);
101 SocketAddress src;
102 SocketAddress dst;
123 const SocketAddress& addr = SocketAddress());
Dsocketaddresspair.h41 SocketAddressPair(const SocketAddress& srs, const SocketAddress& dest);
43 const SocketAddress& source() const { return src_; } in source()
44 const SocketAddress& destination() const { return dest_; } in destination()
52 SocketAddress src_;
53 SocketAddress dest_;
Dsocketadapters.h81 const SocketAddress&> SignalConnectRequest;
82 virtual void SendConnectResult(int err, const SocketAddress& addr) = 0;
93 virtual int Connect(const SocketAddress& addr);
118 const SocketAddress& proxy,
127 virtual int Connect(const SocketAddress& addr);
128 virtual SocketAddress GetRemoteAddress() const;
144 SocketAddress proxy_, dest_;
177 AsyncSocksProxySocket(AsyncSocket* socket, const SocketAddress& proxy,
180 virtual int Connect(const SocketAddress& addr);
181 virtual SocketAddress GetRemoteAddress() const;
[all …]
Dfirewallsocketserver.cc44 virtual int Connect(const SocketAddress& addr) { in Connect()
60 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) { in SendTo()
72 SocketAddress addr; in Recv()
75 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) { in RecvFrom()
99 virtual AsyncSocket* Accept(SocketAddress* paddr) { in Accept()
100 SocketAddress addr; in Accept()
144 const SocketAddress& addr) { in AddRule()
145 SocketAddress src, dst; in AddRule()
156 const SocketAddress& src, in AddRule()
157 const SocketAddress& dst) { in AddRule()
[all …]
Dwin32socketserver.h58 virtual SocketAddress GetLocalAddress() const;
59 virtual SocketAddress GetRemoteAddress() const;
60 virtual int Bind(const SocketAddress& addr);
61 virtual int Connect(const SocketAddress& addr);
63 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr);
65 virtual int RecvFrom(void *pv, size_t cb, SocketAddress *paddr);
67 virtual Win32Socket *Accept(SocketAddress *paddr);
78 int DoConnect(const SocketAddress& addr);
90 SocketAddress addr_; // address that we connected to (see DoConnect)
Dasyncsocket.h45 virtual AsyncSocket* Accept(SocketAddress* paddr) = 0;
62 virtual SocketAddress GetLocalAddress() const { in GetLocalAddress()
65 virtual SocketAddress GetRemoteAddress() const { in GetRemoteAddress()
68 virtual int Bind(const SocketAddress& addr) { in Bind()
71 virtual int Connect(const SocketAddress& addr) { in Connect()
77 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) { in SendTo()
83 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) { in RecvFrom()
89 virtual AsyncSocket* Accept(SocketAddress* paddr) { in Accept()
Dsocketpool.h53 virtual StreamInterface* RequestConnectedStream(const SocketAddress& remote,
69 virtual StreamInterface* RequestConnectedStream(const SocketAddress& remote,
74 typedef std::pair<SocketAddress, StreamInterface*> ConnectedStream;
98 virtual StreamInterface* RequestConnectedStream(const SocketAddress& remote,
118 virtual StreamInterface* RequestConnectedStream(const SocketAddress& remote,
127 SocketAddress remote_;
143 virtual StreamInterface* RequestConnectedStream(const SocketAddress& remote,
Dbasicpacketsocketfactory.h47 const SocketAddress& local_address, int min_port, int max_port);
49 const SocketAddress& local_address, int min_port, int max_port,
52 const SocketAddress& local_address, const SocketAddress& remote_address,
56 int BindSocket(AsyncSocket* socket, const SocketAddress& local_address,
Dasyncpacketsocket.h46 virtual SocketAddress GetLocalAddress(bool* allocated) const = 0;
49 virtual SocketAddress GetRemoteAddress() const = 0;
53 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr) = 0;
71 sigslot::signal2<AsyncPacketSocket*, const SocketAddress&> SignalAddressReady;
76 const SocketAddress&> SignalReadPacket;
Dasyncudpsocket.cc40 const SocketAddress& address) { in Create()
65 SocketAddress AsyncUDPSocket::GetLocalAddress(bool* allocated) const { in GetLocalAddress()
71 SocketAddress AsyncUDPSocket::GetRemoteAddress() const { in GetRemoteAddress()
80 const void *pv, size_t cb, const SocketAddress& addr) { in SendTo()
111 SocketAddress remote_addr; in OnReadEvent()
118 SocketAddress local_addr = socket_->GetLocalAddress(); in OnReadEvent()
Dpacketsocketfactory.h43 const SocketAddress& address, int min_port, int max_port) = 0;
45 const SocketAddress& local_address, int min_port, int max_port,
48 const SocketAddress& local_address, const SocketAddress& remote_address,
Dbasicpacketsocketfactory.cc54 const SocketAddress& address, int min_port, int max_port) { in CreateUdpSocket()
71 const SocketAddress& local_address, int min_port, int max_port, in CreateServerTcpSocket()
95 const SocketAddress& local_address, const SocketAddress& remote_address, in CreateClientTcpSocket()
137 AsyncSocket* socket, const SocketAddress& local_address, in BindSocket()
146 ret = socket->Bind(talk_base::SocketAddress(local_address.ip(), port)); in BindSocket()
Dsocket.h151 virtual SocketAddress GetLocalAddress() const = 0;
155 virtual SocketAddress GetRemoteAddress() const = 0;
157 virtual int Bind(const SocketAddress& addr) = 0;
158 virtual int Connect(const SocketAddress& addr) = 0;
160 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr) = 0;
162 virtual int RecvFrom(void *pv, size_t cb, SocketAddress *paddr) = 0;
164 virtual Socket *Accept(SocketAddress *paddr) = 0;
Dasyncudpsocket.h44 const SocketAddress& address);
48 virtual SocketAddress GetLocalAddress(bool* allocated) const;
49 virtual SocketAddress GetRemoteAddress() const;
51 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr);
/external/chromium/third_party/libjingle/source/talk/p2p/client/
Dbasicportallocator.h47 const talk_base::SocketAddress& stun_server,
48 const talk_base::SocketAddress& relay_server_udp,
49 const talk_base::SocketAddress& relay_server_tcp,
50 const talk_base::SocketAddress& relay_server_ssl);
57 const talk_base::SocketAddress& stun_address() const { in stun_address()
60 const talk_base::SocketAddress& relay_address_udp() const { in relay_address_udp()
63 const talk_base::SocketAddress& relay_address_tcp() const { in relay_address_tcp()
66 const talk_base::SocketAddress& relay_address_ssl() const { in relay_address_ssl()
92 const talk_base::SocketAddress stun_address_;
93 const talk_base::SocketAddress relay_address_udp_;
[all …]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dstunport.h53 const talk_base::SocketAddress& server_addr) { in Create()
64 const talk_base::SocketAddress& server_addr() const { return server_addr_; } in server_addr()
65 void set_server_addr(const talk_base::SocketAddress& addr) { in set_server_addr()
69 const talk_base::SocketAddress& server_addr2() const { return server_addr2_; } in server_addr2()
70 void set_server_addr2(const talk_base::SocketAddress& addr) { in set_server_addr2()
88 const talk_base::SocketAddress& server_addr);
92 const talk_base::SocketAddress& addr, bool payload);
96 const talk_base::SocketAddress& remote_addr);
105 talk_base::SocketAddress server_addr_;
106 talk_base::SocketAddress server_addr2_;
Dstunserver.h50 const talk_base::SocketAddress& remote_addr);
54 const talk_base::SocketAddress& addr);
56 const talk_base::SocketAddress& addr);
58 const talk_base::SocketAddress& addr);
60 const talk_base::SocketAddress& addr);
64 const StunMessage& msg, const talk_base::SocketAddress& addr,
69 const talk_base::SocketAddress& addr);
Dstunserver.cc48 const talk_base::SocketAddress& remote_addr) { in OnPacket()
86 StunMessage* msg, const talk_base::SocketAddress& remote_addr) { in OnBindingRequest()
103 talk_base::SocketAddress local_addr = socket_->GetLocalAddress(&allocated); in OnBindingRequest()
121 StunMessage* msg, const talk_base::SocketAddress& addr) { in OnAllocateRequest()
126 StunMessage* msg, const talk_base::SocketAddress& addr) { in OnSharedSecretRequest()
131 const talk_base::SocketAddress& addr) { in OnSendRequest()
136 const StunMessage& msg, const talk_base::SocketAddress& addr, in SendErrorResponse()
153 const StunMessage& msg, const talk_base::SocketAddress& addr) { in SendResponse()
Drelayserver.h85 bool HasConnection(const talk_base::SocketAddress& address) const;
106 const talk_base::SocketAddress& remote_addr);
109 const talk_base::SocketAddress& remote_addr);
115 const talk_base::SocketAddress& remote_addr,
165 const talk_base::SocketAddress& ext_addr);
179 const talk_base::SocketAddress& default_destination() const { in default_destination()
182 void set_default_destination(const talk_base::SocketAddress& addr) { in set_default_destination()
191 talk_base::SocketAddress default_dest_;
225 const talk_base::SocketAddress& ext_addr);
227 const talk_base::SocketAddress& ext_addr);
Dport.h66 talk_base::SocketAddress address;
69 ProtocolAddress(const talk_base::SocketAddress& a, ProtocolType p) in ProtocolAddress()
140 typedef std::map<talk_base::SocketAddress, Connection*> AddressMap;
144 Connection* GetConnection(const talk_base::SocketAddress& remote_addr);
157 const void* data, size_t size, const talk_base::SocketAddress& addr,
163 sigslot::signal4<Port*, const talk_base::SocketAddress&, StunMessage*,
170 const talk_base::SocketAddress& addr);
172 StunMessage* request, const talk_base::SocketAddress& addr,
196 sigslot::signal4<Port*, const char*, size_t, const talk_base::SocketAddress&>
217 void AddAddress(const talk_base::SocketAddress& address,
[all …]
Dtcpport.h81 const talk_base::SocketAddress& addr, bool payload);
89 talk_base::SocketAddress addr;
94 const talk_base::SocketAddress& addr, bool remove = false);
99 const talk_base::SocketAddress& remote_addr);
102 const talk_base::SocketAddress& address);
131 const talk_base::SocketAddress& remote_addr);
Dstunport.cc47 const talk_base::SocketAddress& addr) in StunPortBindingRequest()
55 const talk_base::SocketAddress& server_addr() const { return server_addr_; } in server_addr()
69 talk_base::SocketAddress addr(addr_attr->ip(), addr_attr->port()); in OnResponse()
121 talk_base::SocketAddress server_addr_;
131 const talk_base::SocketAddress& server_addr) in StunPort()
143 talk_base::SocketAddress(ip_, 0), min_port_, max_port_); in Init()
186 const talk_base::SocketAddress& addr, bool payload) { in SendTo()
206 const talk_base::SocketAddress& remote_addr) { in OnReadPacket()
Drelayport.cc56 talk_base::SocketAddress GetAddress() const { in GetAddress()
95 RelayEntry(RelayPort* port, const talk_base::SocketAddress& ext_addr);
100 const talk_base::SocketAddress& address() const { return ext_addr_; } in address()
101 void set_address(const talk_base::SocketAddress& addr) { ext_addr_ = addr; } in set_address()
120 void OnConnect(const talk_base::SocketAddress& mapped_addr,
126 const talk_base::SocketAddress& addr);
146 talk_base::SocketAddress ext_addr_;
159 const talk_base::SocketAddress& remote_addr);
198 new RelayEntry(this, talk_base::SocketAddress())); in RelayPort()
295 const talk_base::SocketAddress& addr, bool payload) { in SendTo()
[all …]

12345