Home
last modified time | relevance | path

Searched refs:IPEndPoint (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium/net/base/
Dip_endpoint_unittest.cc46 IPEndPoint endpoint; in TEST_F()
50 IPEndPoint endpoint(tests[index].ip_address, 80); in TEST_F()
58 IPEndPoint src(tests[index].ip_address, index); in TEST_F()
59 IPEndPoint dest = src; in TEST_F()
68 IPEndPoint src(tests[index].ip_address, index); in TEST_F()
69 IPEndPoint dest(src); in TEST_F()
78 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F()
93 IPEndPoint ip_endpoint2; in TEST_F()
102 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F()
113 IPEndPoint src(tests[index].ip_address, index); in TEST_F()
[all …]
Dip_endpoint.cc17 IPEndPoint::IPEndPoint() : port_(0) {} in IPEndPoint() function in net::IPEndPoint
19 IPEndPoint::~IPEndPoint() {} in ~IPEndPoint()
21 IPEndPoint::IPEndPoint(const IPAddressNumber& address, int port) in IPEndPoint() function in net::IPEndPoint
25 IPEndPoint::IPEndPoint(const IPEndPoint& endpoint) { in IPEndPoint() function in net::IPEndPoint
30 int IPEndPoint::GetFamily() const { in GetFamily()
45 bool IPEndPoint::ToSockAddr(struct sockaddr* address, in ToSockAddr()
81 bool IPEndPoint::FromSockAddr(const struct sockaddr* address, in FromSockAddr()
109 std::string IPEndPoint::ToString() const { in ToString()
119 bool IPEndPoint::operator<(const IPEndPoint& that) const { in operator <()
130 bool IPEndPoint::operator==(const IPEndPoint& that) const { in operator ==()
Dip_endpoint.h19 class IPEndPoint {
21 IPEndPoint();
22 virtual ~IPEndPoint();
23 IPEndPoint(const IPAddressNumber& address, int port);
24 IPEndPoint(const IPEndPoint& endpoint);
52 bool operator<(const IPEndPoint& that) const;
53 bool operator==(const IPEndPoint& that) const;
Dnet_util_posix.cc72 IPEndPoint address; in GetNetworkList()
/external/chromium/net/udp/
Dudp_socket_win.h32 int Connect(const IPEndPoint& address);
37 int Bind(const IPEndPoint& address);
43 int GetPeerAddress(IPEndPoint* address) const;
47 int GetLocalAddress(IPEndPoint* address) const;
78 IPEndPoint* address,
92 const IPEndPoint& address,
127 bool ProcessSuccessfulRead(int num_bytes, IPEndPoint* address);
131 int CreateSocket(const IPEndPoint& address);
138 const IPEndPoint* address,
141 int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address);
[all …]
Dudp_socket_libevent.h30 int Connect(const IPEndPoint& address);
35 int Bind(const IPEndPoint& address);
41 int GetPeerAddress(IPEndPoint* address) const;
45 int GetLocalAddress(IPEndPoint* address) const;
76 IPEndPoint* address,
90 const IPEndPoint& address,
143 int CreateSocket(const IPEndPoint& address);
150 const IPEndPoint* address,
153 int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address);
154 int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address);
[all …]
Dudp_socket_unittest.cc54 const IPEndPoint& address) { in SendToSocket()
113 IPEndPoint recv_from_address_;
117 void CreateUDPAddress(std::string ip_str, int port, IPEndPoint* address) { in CreateUDPAddress()
122 *address = IPEndPoint(ip_number, port); in CreateUDPAddress()
130 IPEndPoint bind_address; in TEST_F()
137 IPEndPoint server_address; in TEST_F()
175 IPEndPoint bind_address; in TEST_F()
188 IPEndPoint server_address; in TEST_F()
203 IPEndPoint client_address; in TEST_F()
239 net::IPEndPoint remote_address(ip_number, 80); in TEST_F()
[all …]
Dudp_server_socket.h15 class IPEndPoint; variable
26 virtual int Listen(const IPEndPoint& address);
29 IPEndPoint* address,
33 const IPEndPoint& address,
36 virtual int GetPeerAddress(IPEndPoint* address) const;
37 virtual int GetLocalAddress(IPEndPoint* address) const;
Dudp_socket_libevent.cc81 int UDPSocketLibevent::GetPeerAddress(IPEndPoint* address) const { in GetPeerAddress()
93 scoped_ptr<IPEndPoint> address(new IPEndPoint()); in GetPeerAddress()
103 int UDPSocketLibevent::GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
115 scoped_ptr<IPEndPoint> address(new IPEndPoint()); in GetLocalAddress()
133 IPEndPoint* address, in RecvFrom()
168 const IPEndPoint& address, in SendTo()
175 const IPEndPoint* address, in SendToOrWrite()
203 send_to_address_.reset(new IPEndPoint(*address)); in SendToOrWrite()
209 int UDPSocketLibevent::Connect(const IPEndPoint& address) { in Connect()
226 remote_address_.reset(new IPEndPoint(address)); in Connect()
[all …]
Dudp_socket_win.cc77 int UDPSocketWin::GetPeerAddress(IPEndPoint* address) const { in GetPeerAddress()
89 scoped_ptr<IPEndPoint> address(new IPEndPoint()); in GetPeerAddress()
99 int UDPSocketWin::GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
111 scoped_ptr<IPEndPoint> address(new IPEndPoint()); in GetLocalAddress()
129 IPEndPoint* address, in RecvFrom()
156 const IPEndPoint& address, in SendTo()
163 const IPEndPoint* address, in SendToOrWrite()
180 int UDPSocketWin::Connect(const IPEndPoint& address) { in Connect()
197 remote_address_.reset(new IPEndPoint(address)); in Connect()
201 int UDPSocketWin::Bind(const IPEndPoint& address) { in Bind()
[all …]
Dudp_server_socket.cc17 int UDPServerSocket::Listen(const IPEndPoint& address) { in Listen()
23 IPEndPoint* address, in RecvFrom()
30 const IPEndPoint& address, in SendTo()
39 int UDPServerSocket::GetPeerAddress(IPEndPoint* address) const { in GetPeerAddress()
43 int UDPServerSocket::GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
Ddatagram_server_socket.h14 class IPEndPoint; variable
24 virtual int Listen(const IPEndPoint& address) = 0;
41 IPEndPoint* address,
55 const IPEndPoint& address,
Ddatagram_socket.h11 class IPEndPoint; variable
23 virtual int GetPeerAddress(IPEndPoint* address) const = 0;
27 virtual int GetLocalAddress(IPEndPoint* address) const = 0;
Dudp_client_socket.h25 virtual int Connect(const IPEndPoint& address);
29 virtual int GetPeerAddress(IPEndPoint* address) const;
30 virtual int GetLocalAddress(IPEndPoint* address) const;
Dudp_client_socket.cc20 int UDPClientSocket::Connect(const IPEndPoint& address) { in Connect()
40 int UDPClientSocket::GetPeerAddress(IPEndPoint* address) const { in GetPeerAddress()
44 int UDPClientSocket::GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
Ddatagram_client_socket.h14 class IPEndPoint; variable
22 virtual int Connect(const IPEndPoint& address) = 0;
/external/chromium/net/socket/
Dtcp_server_socket_unittest.cc30 IPEndPoint address; in SetUp()
36 void ParseAddress(std::string ip_str, int port, IPEndPoint* address) { in ParseAddress()
41 *address = IPEndPoint(ip_number, port); in ParseAddress()
44 static IPEndPoint GetPeerAddress(ClientSocket* socket) { in GetPeerAddress()
47 IPEndPoint endpoint; in GetPeerAddress()
54 IPEndPoint local_address_;
Dserver_socket.h14 class IPEndPoint; variable
23 virtual int Listen(const net::IPEndPoint& address, int backlog) = 0;
26 virtual int GetLocalAddress(IPEndPoint* address) const = 0;
Dtcp_server_socket_libevent.h17 class IPEndPoint; variable
28 virtual int Listen(const net::IPEndPoint& address, int backlog);
29 virtual int GetLocalAddress(IPEndPoint* address) const;
Dtcp_server_socket_win.h19 class IPEndPoint; variable
30 virtual int Listen(const net::IPEndPoint& address, int backlog);
31 virtual int GetLocalAddress(IPEndPoint* address) const;
Dclient_socket.h15 class IPEndPoint; variable
68 virtual int GetLocalAddress(IPEndPoint* address) const = 0;
Dtcp_server_socket_libevent.cc56 int TCPServerSocketLibevent::Listen(const IPEndPoint& address, int backlog) { in Listen()
98 int TCPServerSocketLibevent::GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
153 IPEndPoint address; in AcceptInternal()
Dtcp_server_socket_win.cc37 int TCPServerSocketWin::Listen(const IPEndPoint& address, int backlog) { in Listen()
86 int TCPServerSocketWin::GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
137 IPEndPoint address; in AcceptInternal()
Dtransport_client_socket_pool_unittest.cc36 void SetIPv4Address(IPEndPoint* address) { in SetIPv4Address()
39 *address = IPEndPoint(number, 80); in SetIPv4Address()
42 void SetIPv6Address(IPEndPoint* address) { in SetIPv6Address()
45 *address = IPEndPoint(number, 80); in SetIPv6Address()
71 virtual int GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
127 virtual int GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
195 virtual int GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
1097 IPEndPoint endpoint; in TEST_F()
1141 IPEndPoint endpoint; in TEST_F()
1174 IPEndPoint endpoint; in TEST_F()
[all …]
/external/chromium/net/spdy/
Dspdy_stream.h27 class IPEndPoint; variable
147 int GetLocalAddress(IPEndPoint* address) const;

123