#include "quiche/quic/platform/api/quic_socket_address.h"
#include <cstring>
#include <limits>
#include <string>
#include "absl/strings/str_cat.h"
#include "quiche/quic/platform/api/quic_bug_tracker.h"
#include "quiche/quic/platform/api/quic_ip_address.h"
#include "quiche/quic/platform/api/quic_ip_address_family.h"
namespace quic {
namespace {
uint32_t HashIP(const QuicIpAddress& ip) { … }
}
QuicSocketAddress::QuicSocketAddress(QuicIpAddress address, uint16_t port)
: … { … }
QuicSocketAddress::QuicSocketAddress(const struct sockaddr_storage& saddr) { … }
QuicSocketAddress::QuicSocketAddress(const sockaddr* saddr, socklen_t len) { … }
bool operator==(const QuicSocketAddress& lhs, const QuicSocketAddress& rhs) { … }
bool operator!=(const QuicSocketAddress& lhs, const QuicSocketAddress& rhs) { … }
bool QuicSocketAddress::IsInitialized() const { … }
std::string QuicSocketAddress::ToString() const { … }
int QuicSocketAddress::FromSocket(int fd) { … }
QuicSocketAddress QuicSocketAddress::Normalized() const { … }
QuicIpAddress QuicSocketAddress::host() const { … }
uint16_t QuicSocketAddress::port() const { … }
sockaddr_storage QuicSocketAddress::generic_address() const { … }
uint32_t QuicSocketAddress::Hash() const { … }
}