Lines Matching refs:IPEndpoint
149 const IPEndpoint IPEndpoint::kAnyV4() { in kAnyV4()
150 return IPEndpoint{}; in kAnyV4()
154 const IPEndpoint IPEndpoint::kAnyV6() { in kAnyV6()
155 return IPEndpoint{IPAddress::kAnyV6(), 0}; in kAnyV6()
158 IPEndpoint::operator bool() const { in operator bool()
163 ErrorOr<IPEndpoint> IPEndpoint::Parse(const std::string& s) { in Parse()
205 return IPEndpoint{address.value(), static_cast<uint16_t>(port)}; in Parse()
208 bool operator==(const IPEndpoint& a, const IPEndpoint& b) { in operator ==()
212 bool operator!=(const IPEndpoint& a, const IPEndpoint& b) { in operator !=()
228 bool operator<(const IPEndpoint& a, const IPEndpoint& b) { in operator <()
266 std::ostream& operator<<(std::ostream& out, const IPEndpoint& endpoint) { in operator <<()
277 std::string IPEndpoint::ToString() const { in ToString()